forked from vejlebib/ding_staff
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ding_staff.views_default.inc
1031 lines (1022 loc) · 63.5 KB
/
ding_staff.views_default.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/**
* @file
* ding_staff.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function ding_staff_views_default_views() {
$export = array();
$view = new view();
$view->name = 'ding_staff';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'profile';
$view->human_name = 'Ding staff';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Staff';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Gendan';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['pager']['options']['tags']['first'] = '« første';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ forrige';
$handler->display->display_options['pager']['options']['tags']['next'] = 'næste ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'sidste »';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
/* No results behavior: Global: Text area */
$handler->display->display_options['empty']['area']['id'] = 'area';
$handler->display->display_options['empty']['area']['table'] = 'views';
$handler->display->display_options['empty']['area']['field'] = 'area';
$handler->display->display_options['empty']['area']['label'] = 'Empty text';
$handler->display->display_options['empty']['area']['empty'] = TRUE;
$handler->display->display_options['empty']['area']['content'] = 'No staff was found related to the library selected.';
$handler->display->display_options['empty']['area']['format'] = 'ding_wysiwyg';
/* Field: User uid (excluded) */
$handler->display->display_options['fields']['user']['id'] = 'user';
$handler->display->display_options['fields']['user']['table'] = 'profile';
$handler->display->display_options['fields']['user']['field'] = 'user';
$handler->display->display_options['fields']['user']['ui_name'] = 'User uid (excluded)';
$handler->display->display_options['fields']['user']['label'] = '';
$handler->display->display_options['fields']['user']['exclude'] = TRUE;
$handler->display->display_options['fields']['user']['element_label_colon'] = FALSE;
/* Field: Forename (excluded) */
$handler->display->display_options['fields']['field_ding_staff_forename']['id'] = 'field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['table'] = 'field_data_field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['field'] = 'field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['ui_name'] = 'Forename (excluded)';
$handler->display->display_options['fields']['field_ding_staff_forename']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_forename']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_forename']['element_label_colon'] = FALSE;
/* Field: Profile: Image */
$handler->display->display_options['fields']['field_ding_staff_image']['id'] = 'field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['table'] = 'field_data_field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['field'] = 'field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_staff_image']['type'] = 'cs_adaptive_image';
$handler->display->display_options['fields']['field_ding_staff_image']['settings'] = array(
'image_link' => '',
'styles' => array(
'breakpoint_1' => '',
'style_1' => '',
'breakpoint_2' => '',
'style_2' => '',
'max_style' => 'ding_staff_thumbnail',
'fallback_style' => 'ding_staff_thumbnail',
),
);
/* Field: Surname Forename (Link) */
$handler->display->display_options['fields']['field_ding_staff_surname']['id'] = 'field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['table'] = 'field_data_field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['field'] = 'field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['ui_name'] = 'Surname Forename (Link)';
$handler->display->display_options['fields']['field_ding_staff_surname']['label'] = 'Name';
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['text'] = '[field_ding_staff_surname], [field_ding_staff_forename]';
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['trim_whitespace'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['element_class'] = 'staff-name';
$handler->display->display_options['fields']['field_ding_staff_surname']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_surname']['element_default_classes'] = FALSE;
/* Field: Profile: Position */
$handler->display->display_options['fields']['field_ding_staff_position']['id'] = 'field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['table'] = 'field_data_field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['field'] = 'field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['element_label_colon'] = FALSE;
/* Field: Profile: Department */
$handler->display->display_options['fields']['field_ding_staff_department']['id'] = 'field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['table'] = 'field_data_field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['field'] = 'field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_department']['type'] = 'taxonomy_term_reference_plain';
$handler->display->display_options['fields']['field_ding_staff_department']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_ding_staff_department']['separator'] = '<br/>';
/* Field: Profile: Phone */
$handler->display->display_options['fields']['field_ding_staff_phone']['id'] = 'field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['table'] = 'field_data_field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['field'] = 'field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_label_colon'] = FALSE;
/* Field: Profile: Email */
$handler->display->display_options['fields']['field_ding_staff_email']['id'] = 'field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['table'] = 'field_data_field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['field'] = 'field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['label'] = 'E-mail';
$handler->display->display_options['fields']['field_ding_staff_email']['element_label_colon'] = FALSE;
/* Sort criterion: Profile: Surname (field_ding_staff_surname) */
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['id'] = 'field_ding_staff_surname_value';
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['table'] = 'field_data_field_ding_staff_surname';
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['field'] = 'field_ding_staff_surname_value';
/* Filter criterion: Profile: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'profile';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'ding_staff_profile' => 'ding_staff_profile',
);
/* Display: All staff list */
$handler = $view->new_display('panel_pane', 'All staff list', 'ding_staff_list_all');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'All libraries: Staff';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['grouping'] = array(
0 => array(
'field' => 'gid',
'rendered' => 0,
'rendered_strip' => 0,
),
);
$handler->display->display_options['style_options']['row_class'] = 'list staff-list-item';
$handler->display->display_options['style_options']['class'] = 'list staff-list-all';
$handler->display->display_options['style_options']['wrapper_class'] = '';
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: OG membership: Group Node from OG membership */
$handler->display->display_options['relationships']['og_membership_related_node_group']['id'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['table'] = 'og_membership';
$handler->display->display_options['relationships']['og_membership_related_node_group']['field'] = 'og_membership_related_node_group';
/* Relationship: Profile: User uid */
$handler->display->display_options['relationships']['user']['id'] = 'user';
$handler->display->display_options['relationships']['user']['table'] = 'profile';
$handler->display->display_options['relationships']['user']['field'] = 'user';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Library node title (as token for header)(excluded) */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['relationship'] = 'og_membership_related_node_group';
$handler->display->display_options['fields']['title']['ui_name'] = 'Library node title (as token for header)(excluded)';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['exclude'] = TRUE;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
/* Field: GID from OG membership (for group header)(excluded) */
$handler->display->display_options['fields']['gid']['id'] = 'gid';
$handler->display->display_options['fields']['gid']['table'] = 'og_membership';
$handler->display->display_options['fields']['gid']['field'] = 'gid';
$handler->display->display_options['fields']['gid']['ui_name'] = 'GID from OG membership (for group header)(excluded)';
$handler->display->display_options['fields']['gid']['label'] = '';
$handler->display->display_options['fields']['gid']['exclude'] = TRUE;
$handler->display->display_options['fields']['gid']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['gid']['alter']['text'] = '[title]';
$handler->display->display_options['fields']['gid']['element_label_colon'] = FALSE;
/* Field: User uid (excluded) */
$handler->display->display_options['fields']['user']['id'] = 'user';
$handler->display->display_options['fields']['user']['table'] = 'profile';
$handler->display->display_options['fields']['user']['field'] = 'user';
$handler->display->display_options['fields']['user']['ui_name'] = 'User uid (excluded)';
$handler->display->display_options['fields']['user']['label'] = '';
$handler->display->display_options['fields']['user']['exclude'] = TRUE;
$handler->display->display_options['fields']['user']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['user']['separator'] = '';
/* Field: Forename (excluded) */
$handler->display->display_options['fields']['field_ding_staff_forename']['id'] = 'field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['table'] = 'field_data_field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['field'] = 'field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['ui_name'] = 'Forename (excluded)';
$handler->display->display_options['fields']['field_ding_staff_forename']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_forename']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_forename']['element_label_colon'] = FALSE;
/* Field: Profile: Image */
$handler->display->display_options['fields']['field_ding_staff_image']['id'] = 'field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['table'] = 'field_data_field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['field'] = 'field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_image']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_image']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_image']['element_wrapper_class'] = 'staff-image-wrapper';
$handler->display->display_options['fields']['field_ding_staff_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_staff_image']['settings'] = array(
'image_style' => 'ding_staff_thumbnail',
'image_link' => '',
);
/* Field: Surname Forename (Link) */
$handler->display->display_options['fields']['field_ding_staff_surname']['id'] = 'field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['table'] = 'field_data_field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['field'] = 'field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['ui_name'] = 'Surname Forename (Link)';
$handler->display->display_options['fields']['field_ding_staff_surname']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['text'] = '[field_ding_staff_surname], [field_ding_staff_forename]';
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['trim_whitespace'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_surname']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_surname']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_surname']['element_wrapper_class'] = 'staff-name';
$handler->display->display_options['fields']['field_ding_staff_surname']['element_default_classes'] = FALSE;
/* Field: Profile: Position */
$handler->display->display_options['fields']['field_ding_staff_position']['id'] = 'field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['table'] = 'field_data_field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['field'] = 'field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_position']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_position']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_position']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_position']['element_wrapper_class'] = 'staff-position';
$handler->display->display_options['fields']['field_ding_staff_position']['element_default_classes'] = FALSE;
/* Field: Profile: Phone */
$handler->display->display_options['fields']['field_ding_staff_phone']['id'] = 'field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['table'] = 'field_data_field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['field'] = 'field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['label'] = 'Ph';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_wrapper_class'] = 'staff-phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_default_classes'] = FALSE;
/* Field: Profile: Email */
$handler->display->display_options['fields']['field_ding_staff_email']['id'] = 'field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['table'] = 'field_data_field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['field'] = 'field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['label'] = 'E-mail';
$handler->display->display_options['fields']['field_ding_staff_email']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_email']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_email']['element_wrapper_class'] = 'staff-email';
$handler->display->display_options['fields']['field_ding_staff_email']['element_default_classes'] = FALSE;
/* Field: Profile: Department */
$handler->display->display_options['fields']['field_ding_staff_department']['id'] = 'field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['table'] = 'field_data_field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['field'] = 'field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['label'] = 'Department(s)';
$handler->display->display_options['fields']['field_ding_staff_department']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_department']['element_label_type'] = 'strong';
$handler->display->display_options['fields']['field_ding_staff_department']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_department']['element_wrapper_class'] = 'staff-departments';
$handler->display->display_options['fields']['field_ding_staff_department']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_department']['type'] = 'taxonomy_term_reference_plain';
$handler->display->display_options['fields']['field_ding_staff_department']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_ding_staff_department']['separator'] = '<br/>';
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Sort criterion: Content: Title */
$handler->display->display_options['sorts']['title']['id'] = 'title';
$handler->display->display_options['sorts']['title']['table'] = 'node';
$handler->display->display_options['sorts']['title']['field'] = 'title';
$handler->display->display_options['sorts']['title']['relationship'] = 'og_membership_related_node_group';
/* Sort criterion: Profile: Surname (field_ding_staff_surname) */
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['id'] = 'field_ding_staff_surname_value';
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['table'] = 'field_data_field_ding_staff_surname';
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['field'] = 'field_ding_staff_surname_value';
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Profile: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'profile';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'ding_staff_profile' => 'ding_staff_profile',
);
/* Filter criterion: User: Roles */
$handler->display->display_options['filters']['rid']['id'] = 'rid';
$handler->display->display_options['filters']['rid']['table'] = 'users_roles';
$handler->display->display_options['filters']['rid']['field'] = 'rid';
$handler->display->display_options['filters']['rid']['relationship'] = 'user';
$handler->display->display_options['filters']['rid']['value'] = array(
9 => 9,
);
$handler->display->display_options['pane_category']['name'] = 'Bruger';
$handler->display->display_options['pane_category']['weight'] = '0';
/* Display: Library departments list */
$handler = $view->new_display('panel_pane', 'Library departments list', 'ding_staff_library_departments');
$handler->display->display_options['display_description'] = 'Department grouped list, not using tables';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['grouping'] = array(
0 => array(
'field' => 'field_ding_staff_department',
'rendered' => 1,
'rendered_strip' => 0,
),
);
$handler->display->display_options['style_options']['row_class'] = 'list staff-list-item';
$handler->display->display_options['style_options']['default_row_class'] = FALSE;
$handler->display->display_options['style_options']['class'] = 'list staff-list';
$handler->display->display_options['style_options']['wrapper_class'] = '';
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['row_options']['hide_empty'] = TRUE;
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: Profile: Department (field_ding_staff_department) */
$handler->display->display_options['relationships']['field_ding_staff_department_tid']['id'] = 'field_ding_staff_department_tid';
$handler->display->display_options['relationships']['field_ding_staff_department_tid']['table'] = 'field_data_field_ding_staff_department';
$handler->display->display_options['relationships']['field_ding_staff_department_tid']['field'] = 'field_ding_staff_department_tid';
/* Relationship: OG membership: Group Node from OG membership */
$handler->display->display_options['relationships']['og_membership_related_node_group']['id'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['table'] = 'og_membership';
$handler->display->display_options['relationships']['og_membership_related_node_group']['field'] = 'og_membership_related_node_group';
/* Relationship: Profile: User uid */
$handler->display->display_options['relationships']['user']['id'] = 'user';
$handler->display->display_options['relationships']['user']['table'] = 'profile';
$handler->display->display_options['relationships']['user']['field'] = 'user';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Department (for group header)(excluded) */
$handler->display->display_options['fields']['field_ding_staff_department']['id'] = 'field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['table'] = 'field_data_field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['field'] = 'field_ding_staff_department';
$handler->display->display_options['fields']['field_ding_staff_department']['ui_name'] = 'Department (for group header)(excluded)';
$handler->display->display_options['fields']['field_ding_staff_department']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_department']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_department']['element_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_department']['element_class'] = 'staff-list-department';
$handler->display->display_options['fields']['field_ding_staff_department']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_department']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_department']['element_wrapper_class'] = 'staff-list-department';
$handler->display->display_options['fields']['field_ding_staff_department']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_department']['type'] = 'taxonomy_term_reference_plain';
$handler->display->display_options['fields']['field_ding_staff_department']['group_rows'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_department']['delta_offset'] = '0';
/* Field: User uid (excluded) */
$handler->display->display_options['fields']['user']['id'] = 'user';
$handler->display->display_options['fields']['user']['table'] = 'profile';
$handler->display->display_options['fields']['user']['field'] = 'user';
$handler->display->display_options['fields']['user']['ui_name'] = 'User uid (excluded)';
$handler->display->display_options['fields']['user']['label'] = '';
$handler->display->display_options['fields']['user']['exclude'] = TRUE;
$handler->display->display_options['fields']['user']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['user']['separator'] = '';
/* Field: Forename (excluded) */
$handler->display->display_options['fields']['field_ding_staff_forename']['id'] = 'field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['table'] = 'field_data_field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['field'] = 'field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['ui_name'] = 'Forename (excluded)';
$handler->display->display_options['fields']['field_ding_staff_forename']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_forename']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_forename']['element_label_colon'] = FALSE;
/* Field: Profile: Image */
$handler->display->display_options['fields']['field_ding_staff_image']['id'] = 'field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['table'] = 'field_data_field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['field'] = 'field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_image']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_image']['element_wrapper_class'] = 'staff-image-wrapper';
$handler->display->display_options['fields']['field_ding_staff_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_staff_image']['settings'] = array(
'image_style' => 'ding_staff_thumbnail',
'image_link' => '',
);
/* Field: Forename Surname (Link) */
$handler->display->display_options['fields']['field_ding_staff_surname']['id'] = 'field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['table'] = 'field_data_field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['field'] = 'field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['ui_name'] = 'Forename Surname (Link)';
$handler->display->display_options['fields']['field_ding_staff_surname']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['text'] = '[field_ding_staff_forename] [field_ding_staff_surname]';
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['make_link'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['path'] = 'user/[user]';
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['absolute'] = TRUE;
$handler->display->display_options['fields']['field_ding_staff_surname']['alter']['alt'] = '[field_ding_staff_forename] [field_ding_staff_surname]';
$handler->display->display_options['fields']['field_ding_staff_surname']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_surname']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_surname']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_surname']['element_wrapper_class'] = 'staff-name';
$handler->display->display_options['fields']['field_ding_staff_surname']['element_default_classes'] = FALSE;
/* Field: Profile: Position */
$handler->display->display_options['fields']['field_ding_staff_position']['id'] = 'field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['table'] = 'field_data_field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['field'] = 'field_ding_staff_position';
$handler->display->display_options['fields']['field_ding_staff_position']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_position']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_position']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_position']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_position']['element_wrapper_class'] = 'staff-position';
$handler->display->display_options['fields']['field_ding_staff_position']['element_default_classes'] = FALSE;
/* Field: Profile: Phone */
$handler->display->display_options['fields']['field_ding_staff_phone']['id'] = 'field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['table'] = 'field_data_field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['field'] = 'field_ding_staff_phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['label'] = 'Ph';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_wrapper_class'] = 'staff-phone';
$handler->display->display_options['fields']['field_ding_staff_phone']['element_default_classes'] = FALSE;
/* Field: Profile: Email */
$handler->display->display_options['fields']['field_ding_staff_email']['id'] = 'field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['table'] = 'field_data_field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['field'] = 'field_ding_staff_email';
$handler->display->display_options['fields']['field_ding_staff_email']['label'] = 'E-mail';
$handler->display->display_options['fields']['field_ding_staff_email']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_staff_email']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_staff_email']['element_wrapper_class'] = 'staff-email';
$handler->display->display_options['fields']['field_ding_staff_email']['element_default_classes'] = FALSE;
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Sort criterion: Taxonomy term: Weight */
$handler->display->display_options['sorts']['weight']['id'] = 'weight';
$handler->display->display_options['sorts']['weight']['table'] = 'taxonomy_term_data';
$handler->display->display_options['sorts']['weight']['field'] = 'weight';
$handler->display->display_options['sorts']['weight']['relationship'] = 'field_ding_staff_department_tid';
/* Sort criterion: Profile: Surname (field_ding_staff_surname) */
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['id'] = 'field_ding_staff_surname_value';
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['table'] = 'field_data_field_ding_staff_surname';
$handler->display->display_options['sorts']['field_ding_staff_surname_value']['field'] = 'field_ding_staff_surname_value';
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Contextual filter: Content: Slug (field_ding_library_slug) */
$handler->display->display_options['arguments']['field_ding_library_slug_value']['id'] = 'field_ding_library_slug_value';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['table'] = 'field_data_field_ding_library_slug';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['field'] = 'field_ding_library_slug_value';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['relationship'] = 'og_membership_related_node_group';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['default_action'] = 'default';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['exception']['title'] = 'Alle';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['default_argument_type'] = 'raw';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['default_argument_options']['index'] = '1';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['arguments']['field_ding_library_slug_value']['limit'] = '0';
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Profile: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'profile';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'ding_staff_profile' => 'ding_staff_profile',
);
/* Filter criterion: User: Roles */
$handler->display->display_options['filters']['rid']['id'] = 'rid';
$handler->display->display_options['filters']['rid']['table'] = 'users_roles';
$handler->display->display_options['filters']['rid']['field'] = 'rid';
$handler->display->display_options['filters']['rid']['relationship'] = 'user';
$handler->display->display_options['filters']['rid']['value'] = array(
9 => 9,
);
$handler->display->display_options['pane_category']['name'] = 'Bruger';
$handler->display->display_options['pane_category']['weight'] = '0';
$handler->display->display_options['allow']['use_pager'] = 0;
$handler->display->display_options['allow']['items_per_page'] = 0;
$handler->display->display_options['allow']['offset'] = 0;
$handler->display->display_options['allow']['link_to_view'] = 0;
$handler->display->display_options['allow']['more_link'] = 0;
$handler->display->display_options['allow']['path_override'] = 0;
$handler->display->display_options['allow']['title_override'] = 'title_override';
$handler->display->display_options['allow']['exposed_form'] = 0;
$handler->display->display_options['allow']['fields_override'] = 0;
$handler->display->display_options['argument_input'] = array(
'field_ding_library_slug_value' => array(
'type' => 'panel',
'context' => 'entity:comment.author',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Content: Slug (field_ding_library_slug)',
),
);
$translatables['ding_staff'] = array(
t('Master'),
t('Staff'),
t('more'),
t('Apply'),
t('Gendan'),
t('Sort by'),
t('Asc'),
t('Desc'),
t('Items per page'),
t('- All -'),
t('Offset'),
t('« første'),
t('‹ forrige'),
t('næste ›'),
t('sidste »'),
t('Empty text'),
t('No staff was found related to the library selected.'),
t('.'),
t(','),
t('Name'),
t('[field_ding_staff_surname], [field_ding_staff_forename]'),
t('Position'),
t('Department'),
t('Phone'),
t('E-mail'),
t('All staff list'),
t('All libraries: Staff'),
t('Group node from OG membership'),
t('User'),
t('[title]'),
t('Ph'),
t('Department(s)'),
t('Bruger'),
t('Library departments list'),
t('Department grouped list, not using tables'),
t('term from field_ding_staff_department'),
t('[field_ding_staff_forename] [field_ding_staff_surname]'),
t('Alle'),
);
$export['ding_staff'] = $view;
$view = new view();
$view->name = 'ding_staff_admin_users';
$view->description = 'List, add, and edit Ding! users.';
$view->tag = 'default';
$view->base_table = 'users';
$view->human_name = 'Administration: Ding users';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'People (D!ng users)';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Gendan';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '50';
$handler->display->display_options['pager']['options']['tags']['first'] = '« første';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ forrige';
$handler->display->display_options['pager']['options']['tags']['next'] = 'næste ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'sidste »';
$handler->display->display_options['style_plugin'] = 'table';
$handler->display->display_options['style_options']['columns'] = array(
'views_bulk_operations' => 'views_bulk_operations',
'name' => 'name',
'data' => 'name',
'mail' => 'name',
'rid' => 'rid',
'field_ding_staff_forename' => 'field_ding_staff_forename',
'field_ding_staff_surname' => 'field_ding_staff_forename',
'status' => 'status',
'created' => 'created',
'access' => 'access',
'edit_node' => 'edit_node',
'cancel_node' => 'edit_node',
);
$handler->display->display_options['style_options']['default'] = 'access';
$handler->display->display_options['style_options']['info'] = array(
'views_bulk_operations' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'name' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '<br />',
'empty_column' => 0,
),
'data' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'mail' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'rid' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_ding_staff_forename' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => ' ',
'empty_column' => 0,
),
'field_ding_staff_surname' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'status' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'created' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'access' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'edit_node' => array(
'align' => '',
'separator' => ' ',
'empty_column' => 0,
),
'cancel_node' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
);
$handler->display->display_options['style_options']['sticky'] = TRUE;
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
$handler->display->display_options['empty']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['empty']['area_text_custom']['content'] = 'No users available.';
/* Relationship: Profile: staff */
$handler->display->display_options['relationships']['profile']['id'] = 'profile';
$handler->display->display_options['relationships']['profile']['table'] = 'users';
$handler->display->display_options['relationships']['profile']['field'] = 'profile';
$handler->display->display_options['relationships']['profile']['ui_name'] = 'Profile: staff';
$handler->display->display_options['relationships']['profile']['bundle_types'] = array(
'ding_staff_profile' => 'ding_staff_profile',
);
/* Field: Bulk operations: User */
$handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
$handler->display->display_options['fields']['views_bulk_operations']['table'] = 'users';
$handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
$handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
'action::user_block_user_action' => array(
'selected' => 1,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 0,
'label' => '',
),
'action::role_delegation_delegate_roles_action' => array(
'selected' => 1,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 1,
'label' => 'Edit user roles',
),
'action::views_bulk_operations_user_roles_action' => array(
'selected' => 0,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 1,
'label' => 'Change user roles',
),
'action::views_bulk_operations_modify_action' => array(
'selected' => 1,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 1,
'label' => 'Ret brugerindstillinger',
'settings' => array(
'show_all_tokens' => 0,
'display_values' => array(
'name' => 'name',
'mail' => 'mail',
'status' => 'status',
'theme' => 'theme',
'language' => 'language',
'user::group_audience' => 'user::group_audience',
),
),
),
'action::views_bulk_operations_argument_selector_action' => array(
'selected' => 0,
'skip_confirmation' => 0,
'override_label' => 0,
'label' => '',
'settings' => array(
'url' => '',
),
),
'action::system_send_email_action' => array(
'selected' => 1,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 1,
'label' => 'Send e-mail',
),
'action::views_bulk_operations_delete_item' => array(
'selected' => 1,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 1,
'label' => 'Slet',
),
'action::flag_user_action' => array(
'selected' => 0,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 0,
'label' => '',
),
'action::views_bulk_operations_script_action' => array(
'selected' => 0,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 0,
'label' => '',
),
'action::pathauto_user_update_action' => array(
'selected' => 0,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 0,
'label' => '',
),
);
/* Field: Profile: Image */
$handler->display->display_options['fields']['field_ding_staff_image']['id'] = 'field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['table'] = 'field_data_field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['field'] = 'field_ding_staff_image';
$handler->display->display_options['fields']['field_ding_staff_image']['relationship'] = 'profile';
$handler->display->display_options['fields']['field_ding_staff_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_staff_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_staff_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_staff_image']['settings'] = array(
'image_style' => 'ding_staff_thumbnail',
'image_link' => '',
);
/* Field: User: Name */
$handler->display->display_options['fields']['name']['id'] = 'name';
$handler->display->display_options['fields']['name']['table'] = 'users';
$handler->display->display_options['fields']['name']['field'] = 'name';
$handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
/* Field: User: E-mail */
$handler->display->display_options['fields']['mail']['id'] = 'mail';
$handler->display->display_options['fields']['mail']['table'] = 'users';
$handler->display->display_options['fields']['mail']['field'] = 'mail';
$handler->display->display_options['fields']['mail']['label'] = '';
$handler->display->display_options['fields']['mail']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['mail']['link_to_user'] = '0';
/* Field: User: Roles */
$handler->display->display_options['fields']['rid']['id'] = 'rid';
$handler->display->display_options['fields']['rid']['table'] = 'users_roles';
$handler->display->display_options['fields']['rid']['field'] = 'rid';
$handler->display->display_options['fields']['rid']['type'] = 'ul';
/* Field: Profile: Forename */
$handler->display->display_options['fields']['field_ding_staff_forename']['id'] = 'field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['table'] = 'field_data_field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['field'] = 'field_ding_staff_forename';
$handler->display->display_options['fields']['field_ding_staff_forename']['relationship'] = 'profile';
$handler->display->display_options['fields']['field_ding_staff_forename']['label'] = 'Name (in Staff)';
/* Field: Profile: Surname */
$handler->display->display_options['fields']['field_ding_staff_surname']['id'] = 'field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['table'] = 'field_data_field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['field'] = 'field_ding_staff_surname';
$handler->display->display_options['fields']['field_ding_staff_surname']['relationship'] = 'profile';
$handler->display->display_options['fields']['field_ding_staff_surname']['label'] = 'Surname (Staff)';
/* Field: User: Active */
$handler->display->display_options['fields']['status']['id'] = 'status';
$handler->display->display_options['fields']['status']['table'] = 'users';
$handler->display->display_options['fields']['status']['field'] = 'status';
$handler->display->display_options['fields']['status']['label'] = 'Status';
$handler->display->display_options['fields']['status']['type'] = 'active-blocked';
$handler->display->display_options['fields']['status']['not'] = 0;
/* Field: User: Created date */
$handler->display->display_options['fields']['created']['id'] = 'created';
$handler->display->display_options['fields']['created']['table'] = 'users';
$handler->display->display_options['fields']['created']['field'] = 'created';
$handler->display->display_options['fields']['created']['label'] = 'Medlem i';
$handler->display->display_options['fields']['created']['date_format'] = 'raw time ago';
/* Field: User: Last access */
$handler->display->display_options['fields']['access']['id'] = 'access';
$handler->display->display_options['fields']['access']['table'] = 'users';
$handler->display->display_options['fields']['access']['field'] = 'access';
$handler->display->display_options['fields']['access']['date_format'] = 'raw time ago';
/* Field: User: Edit link */
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
$handler->display->display_options['fields']['edit_node']['table'] = 'users';
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
$handler->display->display_options['fields']['edit_node']['label'] = 'Handlinger';
/* Field: User: Cancel link */
$handler->display->display_options['fields']['cancel_node']['id'] = 'cancel_node';
$handler->display->display_options['fields']['cancel_node']['table'] = 'users';
$handler->display->display_options['fields']['cancel_node']['field'] = 'cancel_node';
$handler->display->display_options['fields']['cancel_node']['label'] = '';
$handler->display->display_options['fields']['cancel_node']['element_label_colon'] = FALSE;
/* Sort criterion: User: Created date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'users';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Filter criterion: User: Name */
$handler->display->display_options['filters']['uid']['id'] = 'uid';
$handler->display->display_options['filters']['uid']['table'] = 'users';
$handler->display->display_options['filters']['uid']['field'] = 'uid';
$handler->display->display_options['filters']['uid']['operator'] = 'not in';
$handler->display->display_options['filters']['uid']['value'] = array(
0 => 0,
);
$handler->display->display_options['filters']['uid']['group'] = 1;
/* Filter criterion: User: Name (raw) */
$handler->display->display_options['filters']['name']['id'] = 'name';
$handler->display->display_options['filters']['name']['table'] = 'users';
$handler->display->display_options['filters']['name']['field'] = 'name';
$handler->display->display_options['filters']['name']['operator'] = 'contains';
$handler->display->display_options['filters']['name']['group'] = 1;
$handler->display->display_options['filters']['name']['exposed'] = TRUE;
$handler->display->display_options['filters']['name']['expose']['operator_id'] = 'name_op';
$handler->display->display_options['filters']['name']['expose']['label'] = 'Brugernavn';
$handler->display->display_options['filters']['name']['expose']['operator'] = 'name_op';
$handler->display->display_options['filters']['name']['expose']['identifier'] = 'name';
$handler->display->display_options['filters']['name']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
4 => 0,
5 => 0,
6 => 0,
7 => 0,
3 => 0,
8 => 0,
);
/* Filter criterion: User: E-mail */
$handler->display->display_options['filters']['mail']['id'] = 'mail';
$handler->display->display_options['filters']['mail']['table'] = 'users';
$handler->display->display_options['filters']['mail']['field'] = 'mail';
$handler->display->display_options['filters']['mail']['operator'] = 'contains';
$handler->display->display_options['filters']['mail']['group'] = 1;
$handler->display->display_options['filters']['mail']['exposed'] = TRUE;
$handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
$handler->display->display_options['filters']['mail']['expose']['label'] = 'E-mail';
$handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
$handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
$handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
4 => 0,
5 => 0,
6 => 0,
7 => 0,
3 => 0,
8 => 0,
);
/* Filter criterion: User: Active */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'users';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 'All';
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['exposed'] = TRUE;
$handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
$handler->display->display_options['filters']['status']['expose']['label'] = 'Aktiv';
$handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
$handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
$handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
$handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
4 => 0,
5 => 0,
6 => 0,
7 => 0,
3 => 0,
8 => 0,
);
/* Filter criterion: User: Roles */
$handler->display->display_options['filters']['rid']['id'] = 'rid';
$handler->display->display_options['filters']['rid']['table'] = 'users_roles';
$handler->display->display_options['filters']['rid']['field'] = 'rid';
$handler->display->display_options['filters']['rid']['group'] = 1;
$handler->display->display_options['filters']['rid']['exposed'] = TRUE;
$handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
$handler->display->display_options['filters']['rid']['expose']['label'] = 'Rolle';
$handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
$handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
$handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
$handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
4 => 0,
5 => 0,
6 => 0,
7 => 0,
3 => 0,
8 => 0,
);
/* Filter criterion: Profile: Forename (field_ding_staff_forename) */
$handler->display->display_options['filters']['field_ding_staff_forename_value']['id'] = 'field_ding_staff_forename_value';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['table'] = 'field_data_field_ding_staff_forename';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['field'] = 'field_ding_staff_forename_value';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['relationship'] = 'profile';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['operator'] = 'contains';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['group'] = 1;
$handler->display->display_options['filters']['field_ding_staff_forename_value']['exposed'] = TRUE;
$handler->display->display_options['filters']['field_ding_staff_forename_value']['expose']['operator_id'] = 'field_ding_staff_forename_value_op';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['expose']['label'] = 'Forename (Staff)';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['expose']['operator'] = 'field_ding_staff_forename_value_op';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['expose']['identifier'] = 'field_ding_staff_forename_value';
$handler->display->display_options['filters']['field_ding_staff_forename_value']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
4 => 0,
5 => 0,
6 => 0,
7 => 0,
3 => 0,
8 => 0,
);
/* Filter criterion: Profile: Surname (field_ding_staff_surname) */
$handler->display->display_options['filters']['field_ding_staff_surname_value']['id'] = 'field_ding_staff_surname_value';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['table'] = 'field_data_field_ding_staff_surname';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['field'] = 'field_ding_staff_surname_value';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['relationship'] = 'profile';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['operator'] = 'contains';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['group'] = 1;
$handler->display->display_options['filters']['field_ding_staff_surname_value']['exposed'] = TRUE;
$handler->display->display_options['filters']['field_ding_staff_surname_value']['expose']['operator_id'] = 'field_ding_staff_surname_value_op';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['expose']['label'] = 'Surname (Staff)';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['expose']['operator'] = 'field_ding_staff_surname_value_op';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['expose']['identifier'] = 'field_ding_staff_surname_value';
$handler->display->display_options['filters']['field_ding_staff_surname_value']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
4 => 0,
5 => 0,
6 => 0,
7 => 0,
3 => 0,
8 => 0,
);
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'ding_staff_people_list');
$handler->display->display_options['defaults']['access'] = FALSE;
$handler->display->display_options['access']['type'] = 'role';
$handler->display->display_options['access']['role'] = array(
7 => '7',
8 => '8',
);
$handler->display->display_options['path'] = 'admin/ding_users';
$handler->display->display_options['menu']['type'] = 'normal';
$handler->display->display_options['menu']['title'] = 'People (+staff)';
$handler->display->display_options['menu']['description'] = 'Administer users - incl. staff profiles';
$handler->display->display_options['menu']['weight'] = '10';
$handler->display->display_options['menu']['name'] = 'management';
$handler->display->display_options['menu']['context'] = 0;
$handler->display->display_options['menu']['context_only_inline'] = 0;
$translatables['ding_staff_admin_users'] = array(
t('Master'),
t('People (D!ng users)'),
t('more'),
t('Apply'),
t('Gendan'),
t('Sort by'),
t('Asc'),
t('Desc'),
t('Items per page'),
t('- All -'),
t('Offset'),
t('« første'),