materio_administration.views_default.inc 256 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372
  1. <?php
  2. /**
  3. * @file
  4. * materio_administration.views_default.inc
  5. */
  6. /**
  7. * Implements hook_views_default_views().
  8. */
  9. function materio_administration_views_default_views() {
  10. $export = array();
  11. $view = new view();
  12. $view->name = 'admin_content_node';
  13. $view->description = 'View, edit, and delete your site\'s content.';
  14. $view->tag = 'admin';
  15. $view->base_table = 'node';
  16. $view->human_name = '';
  17. $view->core = 0;
  18. $view->api_version = '3.0';
  19. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  20. /* Display: Defaults */
  21. $handler = $view->new_display('default', 'Defaults', 'default');
  22. $handler->display->display_options['title'] = 'Contenu';
  23. $handler->display->display_options['use_ajax'] = TRUE;
  24. $handler->display->display_options['use_more_always'] = FALSE;
  25. $handler->display->display_options['use_more_text'] = 'plus';
  26. $handler->display->display_options['access']['type'] = 'perm';
  27. $handler->display->display_options['access']['perm'] = 'administer nodes';
  28. $handler->display->display_options['cache']['type'] = 'none';
  29. $handler->display->display_options['query']['type'] = 'views_query';
  30. $handler->display->display_options['exposed_form']['type'] = 'basic';
  31. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  32. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  33. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  34. $handler->display->display_options['pager']['type'] = 'full';
  35. $handler->display->display_options['pager']['options']['items_per_page'] = 50;
  36. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  37. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  38. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  39. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  40. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  41. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  42. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  43. $handler->display->display_options['style_plugin'] = 'table';
  44. $handler->display->display_options['style_options']['grouping'] = '';
  45. $handler->display->display_options['style_options']['columns'] = array(
  46. 'title' => 'title',
  47. 'type' => 'title',
  48. 'name' => 'name',
  49. 'status' => 'status',
  50. 'changed' => 'changed',
  51. 'edit_node' => 'title',
  52. 'delete_node' => 'delete_node',
  53. );
  54. $handler->display->display_options['style_options']['default'] = '-1';
  55. $handler->display->display_options['style_options']['info'] = array(
  56. 'title' => array(
  57. 'sortable' => 0,
  58. 'default_sort_order' => 'asc',
  59. 'align' => '',
  60. 'separator' => '',
  61. ),
  62. 'type' => array(
  63. 'sortable' => 0,
  64. 'default_sort_order' => 'asc',
  65. 'align' => '',
  66. 'separator' => '',
  67. ),
  68. 'name' => array(
  69. 'sortable' => 0,
  70. 'default_sort_order' => 'asc',
  71. 'align' => '',
  72. 'separator' => '',
  73. ),
  74. 'status' => array(
  75. 'sortable' => 0,
  76. 'default_sort_order' => 'asc',
  77. 'align' => '',
  78. 'separator' => '',
  79. ),
  80. 'changed' => array(
  81. 'sortable' => 0,
  82. 'default_sort_order' => 'asc',
  83. 'align' => '',
  84. 'separator' => '',
  85. ),
  86. 'edit_node' => array(
  87. 'align' => '',
  88. 'separator' => '',
  89. ),
  90. 'delete_node' => array(
  91. 'align' => '',
  92. 'separator' => '',
  93. ),
  94. );
  95. /* Relation: Révision de contenu : Utilisateur */
  96. $handler->display->display_options['relationships']['uid']['id'] = 'uid';
  97. $handler->display->display_options['relationships']['uid']['table'] = 'node_revision';
  98. $handler->display->display_options['relationships']['uid']['field'] = 'uid';
  99. $handler->display->display_options['relationships']['uid']['label'] = 'Utilisateur';
  100. $handler->display->display_options['relationships']['uid']['required'] = TRUE;
  101. /* Relation: Contenu : Termes de taxonomie du nœud */
  102. $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid';
  103. $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node';
  104. $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid';
  105. /* Champ: Contenu : Titre */
  106. $handler->display->display_options['fields']['title']['id'] = 'title';
  107. $handler->display->display_options['fields']['title']['table'] = 'node';
  108. $handler->display->display_options['fields']['title']['field'] = 'title';
  109. /* Champ: Contenu : Type */
  110. $handler->display->display_options['fields']['type']['id'] = 'type';
  111. $handler->display->display_options['fields']['type']['table'] = 'node';
  112. $handler->display->display_options['fields']['type']['field'] = 'type';
  113. /* Champ: Contenu : Publié */
  114. $handler->display->display_options['fields']['status']['id'] = 'status';
  115. $handler->display->display_options['fields']['status']['table'] = 'node';
  116. $handler->display->display_options['fields']['status']['field'] = 'status';
  117. $handler->display->display_options['fields']['status']['not'] = 0;
  118. /* Champ: Contenu : Date de mise à jour */
  119. $handler->display->display_options['fields']['changed']['id'] = 'changed';
  120. $handler->display->display_options['fields']['changed']['table'] = 'node';
  121. $handler->display->display_options['fields']['changed']['field'] = 'changed';
  122. $handler->display->display_options['fields']['changed']['label'] = 'Mis à jour';
  123. /* Champ: Contenu : Lien de modification */
  124. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  125. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  126. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  127. $handler->display->display_options['fields']['edit_node']['label'] = '';
  128. /* Champ: Contenu : Lien de suppression */
  129. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  130. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  131. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  132. $handler->display->display_options['fields']['delete_node']['label'] = '';
  133. /* Critère de tri: Contenu : Date de publication */
  134. $handler->display->display_options['sorts']['created']['id'] = 'created';
  135. $handler->display->display_options['sorts']['created']['table'] = 'node';
  136. $handler->display->display_options['sorts']['created']['field'] = 'created';
  137. $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  138. $handler->display->display_options['filter_groups']['groups'] = array(
  139. 1 => 'AND',
  140. 2 => 'AND',
  141. );
  142. /* Critère de filtrage: Contenu : Titre */
  143. $handler->display->display_options['filters']['title']['id'] = 'title';
  144. $handler->display->display_options['filters']['title']['table'] = 'node';
  145. $handler->display->display_options['filters']['title']['field'] = 'title';
  146. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  147. $handler->display->display_options['filters']['title']['group'] = 1;
  148. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  149. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  150. $handler->display->display_options['filters']['title']['expose']['label'] = 'Titre';
  151. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  152. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  153. /* Critère de filtrage: Contenu : Type */
  154. $handler->display->display_options['filters']['type']['id'] = 'type';
  155. $handler->display->display_options['filters']['type']['table'] = 'node';
  156. $handler->display->display_options['filters']['type']['field'] = 'type';
  157. $handler->display->display_options['filters']['type']['group'] = 1;
  158. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  159. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  160. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type';
  161. $handler->display->display_options['filters']['type']['expose']['use_operator'] = TRUE;
  162. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  163. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  164. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  165. /* Critère de filtrage: Utilisateur : Nom */
  166. $handler->display->display_options['filters']['uid']['id'] = 'uid';
  167. $handler->display->display_options['filters']['uid']['table'] = 'users';
  168. $handler->display->display_options['filters']['uid']['field'] = 'uid';
  169. $handler->display->display_options['filters']['uid']['relationship'] = 'uid';
  170. $handler->display->display_options['filters']['uid']['value'] = '';
  171. $handler->display->display_options['filters']['uid']['group'] = 1;
  172. $handler->display->display_options['filters']['uid']['exposed'] = TRUE;
  173. $handler->display->display_options['filters']['uid']['expose']['operator_id'] = 'uid_op';
  174. $handler->display->display_options['filters']['uid']['expose']['label'] = 'Auteur';
  175. $handler->display->display_options['filters']['uid']['expose']['operator'] = 'uid_op';
  176. $handler->display->display_options['filters']['uid']['expose']['identifier'] = 'name';
  177. /* Critère de filtrage: Contenu : Publié */
  178. $handler->display->display_options['filters']['status']['id'] = 'status';
  179. $handler->display->display_options['filters']['status']['table'] = 'node';
  180. $handler->display->display_options['filters']['status']['field'] = 'status';
  181. $handler->display->display_options['filters']['status']['value'] = 'All';
  182. $handler->display->display_options['filters']['status']['group'] = 1;
  183. $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  184. $handler->display->display_options['filters']['status']['expose']['label'] = 'Publié';
  185. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  186. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  187. /* Critère de filtrage: Terme de taxonomie : Vocabulaire */
  188. $handler->display->display_options['filters']['vid']['id'] = 'vid';
  189. $handler->display->display_options['filters']['vid']['table'] = 'taxonomy_term_data';
  190. $handler->display->display_options['filters']['vid']['field'] = 'vid';
  191. $handler->display->display_options['filters']['vid']['relationship'] = 'term_node_tid';
  192. $handler->display->display_options['filters']['vid']['group'] = 1;
  193. $handler->display->display_options['filters']['vid']['exposed'] = TRUE;
  194. $handler->display->display_options['filters']['vid']['expose']['operator_id'] = 'vid_op';
  195. $handler->display->display_options['filters']['vid']['expose']['label'] = 'Vocabulaire';
  196. $handler->display->display_options['filters']['vid']['expose']['operator'] = 'vid_op';
  197. $handler->display->display_options['filters']['vid']['expose']['identifier'] = 'vid';
  198. $handler->display->display_options['filters']['vid']['expose']['remember'] = TRUE;
  199. /* Display: System */
  200. $handler = $view->new_display('system', 'System', 'system_1');
  201. $translatables['admin_content_node'] = array(
  202. t('Defaults'),
  203. t('Contenu'),
  204. t('plus'),
  205. t('Appliquer'),
  206. t('Réinitialiser'),
  207. t('Trier par'),
  208. t('Asc'),
  209. t('Desc'),
  210. t('Éléments par page'),
  211. t('- Tout -'),
  212. t('Décalage'),
  213. t('« premier'),
  214. t('‹ précédent'),
  215. t('suivant ›'),
  216. t('dernier »'),
  217. t('Utilisateur'),
  218. t('terme'),
  219. t('Titre'),
  220. t('Type'),
  221. t('Publié'),
  222. t('Mis à jour'),
  223. t('Auteur'),
  224. t('Vocabulaire'),
  225. t('System'),
  226. );
  227. $export['admin_content_node'] = $view;
  228. $view = new view();
  229. $view->name = 'admin_contents';
  230. $view->description = 'Administrative view for content';
  231. $view->tag = 'default';
  232. $view->base_table = 'node';
  233. $view->human_name = 'Admin Content';
  234. $view->core = 7;
  235. $view->api_version = '3.0';
  236. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  237. /* Display: Master */
  238. $handler = $view->new_display('default', 'Master', 'default');
  239. $handler->display->display_options['title'] = 'Contenu';
  240. $handler->display->display_options['use_more_always'] = FALSE;
  241. $handler->display->display_options['use_more_text'] = 'plus';
  242. $handler->display->display_options['access']['type'] = 'role';
  243. $handler->display->display_options['access']['role'] = array(
  244. 3 => '3',
  245. 4 => '4',
  246. );
  247. $handler->display->display_options['cache']['type'] = 'none';
  248. $handler->display->display_options['query']['type'] = 'views_query';
  249. $handler->display->display_options['query']['options']['distinct'] = TRUE;
  250. $handler->display->display_options['exposed_form']['type'] = 'basic';
  251. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Filtrer';
  252. $handler->display->display_options['exposed_form']['options']['reset_button'] = TRUE;
  253. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'réinitialiser';
  254. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  255. $handler->display->display_options['pager']['type'] = 'mini';
  256. $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  257. $handler->display->display_options['pager']['options']['offset'] = '0';
  258. $handler->display->display_options['pager']['options']['id'] = '0';
  259. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  260. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  261. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  262. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  263. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  264. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  265. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  266. $handler->display->display_options['style_plugin'] = 'table';
  267. $handler->display->display_options['style_options']['columns'] = array(
  268. 'views_bulk_operations' => 'views_bulk_operations',
  269. 'field_materiau_image' => 'field_materiau_image',
  270. 'field_visuel' => 'field_materiau_image',
  271. 'type' => 'title_field',
  272. 'title_field' => 'title_field',
  273. 'field_reference_materio' => 'title_field',
  274. 'field_localisation_1' => 'field_reference_materio',
  275. 'edit_node' => 'title_field',
  276. 'field_company_fab' => 'field_company_fab',
  277. 'field_company_distrib' => 'field_company_fab',
  278. 'field_onthologie' => 'field_onthologie',
  279. 'field_tags_libres' => 'field_tags_libres',
  280. 'field_materiau_ref' => 'field_materiau_ref',
  281. 'field_breve_ref' => 'field_materiau_ref',
  282. 'field_memo' => 'field_memo',
  283. 'field_attachments' => 'field_attachments',
  284. 'field_localisation' => 'field_localisation',
  285. 'sid' => 'sid',
  286. 'delete_node' => 'sid',
  287. );
  288. $handler->display->display_options['style_options']['default'] = '-1';
  289. $handler->display->display_options['style_options']['info'] = array(
  290. 'views_bulk_operations' => array(
  291. 'align' => '',
  292. 'separator' => '',
  293. 'empty_column' => 0,
  294. ),
  295. 'field_materiau_image' => array(
  296. 'align' => '',
  297. 'separator' => '',
  298. 'empty_column' => 0,
  299. ),
  300. 'field_visuel' => array(
  301. 'align' => '',
  302. 'separator' => '',
  303. 'empty_column' => 0,
  304. ),
  305. 'type' => array(
  306. 'sortable' => 0,
  307. 'default_sort_order' => 'asc',
  308. 'align' => '',
  309. 'separator' => '',
  310. 'empty_column' => 0,
  311. ),
  312. 'title_field' => array(
  313. 'sortable' => 0,
  314. 'default_sort_order' => 'asc',
  315. 'align' => '',
  316. 'separator' => '<br />',
  317. 'empty_column' => 0,
  318. ),
  319. 'field_reference_materio' => array(
  320. 'sortable' => 0,
  321. 'default_sort_order' => 'asc',
  322. 'align' => '',
  323. 'separator' => '',
  324. 'empty_column' => 0,
  325. ),
  326. 'field_localisation_1' => array(
  327. 'sortable' => 0,
  328. 'default_sort_order' => 'asc',
  329. 'align' => '',
  330. 'separator' => '',
  331. 'empty_column' => 0,
  332. ),
  333. 'edit_node' => array(
  334. 'align' => '',
  335. 'separator' => '',
  336. 'empty_column' => 0,
  337. ),
  338. 'field_company_fab' => array(
  339. 'align' => '',
  340. 'separator' => '<br />',
  341. 'empty_column' => 0,
  342. ),
  343. 'field_company_distrib' => array(
  344. 'align' => '',
  345. 'separator' => '',
  346. 'empty_column' => 0,
  347. ),
  348. 'field_onthologie' => array(
  349. 'align' => '',
  350. 'separator' => '',
  351. 'empty_column' => 0,
  352. ),
  353. 'field_tags_libres' => array(
  354. 'align' => '',
  355. 'separator' => '',
  356. 'empty_column' => 0,
  357. ),
  358. 'field_materiau_ref' => array(
  359. 'align' => '',
  360. 'separator' => '<br />',
  361. 'empty_column' => 0,
  362. ),
  363. 'field_breve_ref' => array(
  364. 'align' => '',
  365. 'separator' => '',
  366. 'empty_column' => 0,
  367. ),
  368. 'field_memo' => array(
  369. 'sortable' => 0,
  370. 'default_sort_order' => 'asc',
  371. 'align' => '',
  372. 'separator' => '',
  373. 'empty_column' => 0,
  374. ),
  375. 'field_attachments' => array(
  376. 'align' => '',
  377. 'separator' => '',
  378. 'empty_column' => 0,
  379. ),
  380. 'field_localisation' => array(
  381. 'sortable' => 0,
  382. 'default_sort_order' => 'asc',
  383. 'align' => '',
  384. 'separator' => '',
  385. 'empty_column' => 0,
  386. ),
  387. 'sid' => array(
  388. 'sortable' => 0,
  389. 'default_sort_order' => 'asc',
  390. 'align' => '',
  391. 'separator' => '<br />',
  392. 'empty_column' => 0,
  393. ),
  394. 'delete_node' => array(
  395. 'align' => '',
  396. 'separator' => '',
  397. 'empty_column' => 0,
  398. ),
  399. );
  400. $handler->display->display_options['style_options']['override'] = FALSE;
  401. /* Entête: Global : Résumé des résultats */
  402. $handler->display->display_options['header']['result']['id'] = 'result';
  403. $handler->display->display_options['header']['result']['table'] = 'views';
  404. $handler->display->display_options['header']['result']['field'] = 'result';
  405. $handler->display->display_options['header']['result']['label'] = 'Résumé';
  406. /* Champ: Contenu : Type */
  407. $handler->display->display_options['fields']['type']['id'] = 'type';
  408. $handler->display->display_options['fields']['type']['table'] = 'node';
  409. $handler->display->display_options['fields']['type']['field'] = 'type';
  410. /* Champ: Contenu : Titre */
  411. $handler->display->display_options['fields']['title']['id'] = 'title';
  412. $handler->display->display_options['fields']['title']['table'] = 'node';
  413. $handler->display->display_options['fields']['title']['field'] = 'title';
  414. $handler->display->display_options['fields']['title']['label'] = 'Title / Name';
  415. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  416. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  417. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  418. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  419. /* Champ: Contenu : Référence Materio */
  420. $handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio';
  421. $handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio';
  422. $handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio';
  423. /* Champ: Contenu : Lien de modification */
  424. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  425. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  426. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  427. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  428. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  429. /* Champ: Contenu : Manufacturer */
  430. $handler->display->display_options['fields']['field_company_fab']['id'] = 'field_company_fab';
  431. $handler->display->display_options['fields']['field_company_fab']['table'] = 'field_data_field_company_fab';
  432. $handler->display->display_options['fields']['field_company_fab']['field'] = 'field_company_fab';
  433. $handler->display->display_options['fields']['field_company_fab']['label'] = 'Fabricants / Distributeurs';
  434. $handler->display->display_options['fields']['field_company_fab']['delta_offset'] = '0';
  435. /* Champ: Contenu : Distributor */
  436. $handler->display->display_options['fields']['field_company_distrib']['id'] = 'field_company_distrib';
  437. $handler->display->display_options['fields']['field_company_distrib']['table'] = 'field_data_field_company_distrib';
  438. $handler->display->display_options['fields']['field_company_distrib']['field'] = 'field_company_distrib';
  439. $handler->display->display_options['fields']['field_company_distrib']['delta_offset'] = '0';
  440. /* Champ: Contenu : Langue */
  441. $handler->display->display_options['fields']['language']['id'] = 'language';
  442. $handler->display->display_options['fields']['language']['table'] = 'node';
  443. $handler->display->display_options['fields']['language']['field'] = 'language';
  444. /* Champ: Traduction du contenu : Lien de traduction */
  445. $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
  446. $handler->display->display_options['fields']['translate_node']['table'] = 'node';
  447. $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
  448. $handler->display->display_options['fields']['translate_node']['alter']['text'] = '<span class="button">[translate_node]</span>';
  449. /* Champ: Traduction du contenu : Statut de la traduction */
  450. $handler->display->display_options['fields']['translate']['id'] = 'translate';
  451. $handler->display->display_options['fields']['translate']['table'] = 'node';
  452. $handler->display->display_options['fields']['translate']['field'] = 'translate';
  453. $handler->display->display_options['fields']['translate']['exclude'] = TRUE;
  454. $handler->display->display_options['fields']['translate']['not'] = 0;
  455. /* Champ: Processus : État actuel */
  456. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  457. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  458. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  459. /* Champ: Contenu : Date de mise à jour */
  460. $handler->display->display_options['fields']['changed']['id'] = 'changed';
  461. $handler->display->display_options['fields']['changed']['table'] = 'node';
  462. $handler->display->display_options['fields']['changed']['field'] = 'changed';
  463. $handler->display->display_options['fields']['changed']['date_format'] = 'short';
  464. /* Champ: Champ : Mémo */
  465. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  466. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  467. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  468. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  469. /* Champ: Contenu : Lien de suppression */
  470. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  471. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  472. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  473. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  474. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  475. /* Critère de tri: Contenu : Date de mise à jour */
  476. $handler->display->display_options['sorts']['changed']['id'] = 'changed';
  477. $handler->display->display_options['sorts']['changed']['table'] = 'node';
  478. $handler->display->display_options['sorts']['changed']['field'] = 'changed';
  479. $handler->display->display_options['sorts']['changed']['order'] = 'DESC';
  480. $handler->display->display_options['sorts']['changed']['granularity'] = 'minute';
  481. /* Critère de filtrage: Contenu : Titre */
  482. $handler->display->display_options['filters']['title']['id'] = 'title';
  483. $handler->display->display_options['filters']['title']['table'] = 'node';
  484. $handler->display->display_options['filters']['title']['field'] = 'title';
  485. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  486. $handler->display->display_options['filters']['title']['group'] = 1;
  487. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  488. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  489. $handler->display->display_options['filters']['title']['expose']['label'] = 'Le titre contient';
  490. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  491. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  492. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  493. /* Critère de filtrage: Processus : État actuel */
  494. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  495. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  496. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  497. $handler->display->display_options['filters']['sid']['group'] = 1;
  498. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  499. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  500. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  501. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  502. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  503. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  504. /* Critère de filtrage: Contenu : Type */
  505. $handler->display->display_options['filters']['type']['id'] = 'type';
  506. $handler->display->display_options['filters']['type']['table'] = 'node';
  507. $handler->display->display_options['filters']['type']['field'] = 'type';
  508. $handler->display->display_options['filters']['type']['value'] = array(
  509. 'breve' => 'breve',
  510. 'materiau' => 'materiau',
  511. 'page' => 'page',
  512. );
  513. $handler->display->display_options['filters']['type']['group'] = 1;
  514. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  515. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  516. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu';
  517. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  518. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  519. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  520. $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
  521. /* Critère de filtrage: Champ : Mémo (field_memo) */
  522. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  523. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  524. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  525. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  526. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  527. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  528. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  529. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  530. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  531. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  532. /* Display: Page : all */
  533. $handler = $view->new_display('page', 'Page : all', 'page');
  534. $handler->display->display_options['enabled'] = FALSE;
  535. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  536. $handler->display->display_options['defaults']['pager'] = FALSE;
  537. $handler->display->display_options['pager']['type'] = 'full';
  538. $handler->display->display_options['pager']['options']['items_per_page'] = '25';
  539. $handler->display->display_options['pager']['options']['offset'] = '0';
  540. $handler->display->display_options['pager']['options']['id'] = '0';
  541. $handler->display->display_options['pager']['options']['quantity'] = '9';
  542. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  543. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  544. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  545. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  546. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  547. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  548. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  549. $handler->display->display_options['path'] = 'admin/content/nodes';
  550. $handler->display->display_options['menu']['type'] = 'tab';
  551. $handler->display->display_options['menu']['title'] = 'Content';
  552. $handler->display->display_options['menu']['weight'] = '-100';
  553. $handler->display->display_options['menu']['context'] = 0;
  554. $handler->display->display_options['tab_options']['type'] = 'normal';
  555. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  556. $handler->display->display_options['tab_options']['weight'] = '0';
  557. /* Display: Block */
  558. $handler = $view->new_display('block', 'Block', 'block_1');
  559. $handler->display->display_options['defaults']['title'] = FALSE;
  560. $handler->display->display_options['title'] = 'Recent Content';
  561. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  562. $handler->display->display_options['defaults']['pager'] = FALSE;
  563. $handler->display->display_options['pager']['type'] = 'some';
  564. $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  565. $handler->display->display_options['pager']['options']['offset'] = '0';
  566. $handler->display->display_options['defaults']['fields'] = FALSE;
  567. /* Champ: Contenu : Type */
  568. $handler->display->display_options['fields']['type']['id'] = 'type';
  569. $handler->display->display_options['fields']['type']['table'] = 'node';
  570. $handler->display->display_options['fields']['type']['field'] = 'type';
  571. $handler->display->display_options['fields']['type']['hide_alter_empty'] = FALSE;
  572. /* Champ: Contenu : Titre */
  573. $handler->display->display_options['fields']['title']['id'] = 'title';
  574. $handler->display->display_options['fields']['title']['table'] = 'node';
  575. $handler->display->display_options['fields']['title']['field'] = 'title';
  576. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  577. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  578. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  579. /* Champ: Contenu : Lien de modification */
  580. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  581. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  582. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  583. $handler->display->display_options['fields']['edit_node']['label'] = 'Modifier';
  584. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  585. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  586. $handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = FALSE;
  587. /* Champ: Contenu : Publié */
  588. $handler->display->display_options['fields']['status']['id'] = 'status';
  589. $handler->display->display_options['fields']['status']['table'] = 'node';
  590. $handler->display->display_options['fields']['status']['field'] = 'status';
  591. $handler->display->display_options['fields']['status']['element_label_colon'] = FALSE;
  592. $handler->display->display_options['fields']['status']['hide_alter_empty'] = FALSE;
  593. $handler->display->display_options['fields']['status']['not'] = 0;
  594. /* Champ: Contenu : Langue */
  595. $handler->display->display_options['fields']['language']['id'] = 'language';
  596. $handler->display->display_options['fields']['language']['table'] = 'node';
  597. $handler->display->display_options['fields']['language']['field'] = 'language';
  598. $handler->display->display_options['fields']['language']['element_label_colon'] = FALSE;
  599. $handler->display->display_options['fields']['language']['hide_alter_empty'] = FALSE;
  600. /* Champ: Traduction du contenu : Lien de traduction */
  601. $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
  602. $handler->display->display_options['fields']['translate_node']['table'] = 'node';
  603. $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
  604. $handler->display->display_options['fields']['translate_node']['element_label_colon'] = FALSE;
  605. $handler->display->display_options['fields']['translate_node']['hide_alter_empty'] = FALSE;
  606. $handler->display->display_options['fields']['translate_node']['text'] = 'Traduire';
  607. /* Display: Page : materiaux */
  608. $handler = $view->new_display('page', 'Page : materiaux', 'page_1');
  609. $handler->display->display_options['defaults']['title'] = FALSE;
  610. $handler->display->display_options['title'] = 'Materiaux/brèves';
  611. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  612. $handler->display->display_options['defaults']['pager'] = FALSE;
  613. $handler->display->display_options['pager']['type'] = 'full';
  614. $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  615. $handler->display->display_options['pager']['options']['offset'] = '0';
  616. $handler->display->display_options['pager']['options']['id'] = '0';
  617. $handler->display->display_options['pager']['options']['quantity'] = '9';
  618. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  619. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  620. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  621. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  622. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  623. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  624. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  625. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  626. $handler->display->display_options['style_plugin'] = 'table';
  627. $handler->display->display_options['style_options']['columns'] = array(
  628. 'views_bulk_operations' => 'views_bulk_operations',
  629. 'field_materiau_image' => 'field_materiau_image',
  630. 'field_visuel' => 'field_materiau_image',
  631. 'type' => 'title_field',
  632. 'title_field' => 'title_field',
  633. 'field_reference_materio' => 'title_field',
  634. 'field_localisation_1' => 'field_reference_materio',
  635. 'edit_node' => 'title_field',
  636. 'field_company_fab' => 'field_company_fab',
  637. 'field_company_distrib' => 'field_company_fab',
  638. 'field_onthologie' => 'field_onthologie',
  639. 'field_tags_libres' => 'field_tags_libres',
  640. 'field_materiau_ref' => 'field_materiau_ref',
  641. 'field_breve_ref' => 'field_materiau_ref',
  642. 'field_memo' => 'field_memo',
  643. 'field_attachments' => 'field_attachments',
  644. 'field_localisation' => 'field_localisation',
  645. 'sid' => 'sid',
  646. 'delete_node' => 'sid',
  647. );
  648. $handler->display->display_options['style_options']['default'] = '-1';
  649. $handler->display->display_options['style_options']['info'] = array(
  650. 'views_bulk_operations' => array(
  651. 'align' => '',
  652. 'separator' => '',
  653. 'empty_column' => 0,
  654. ),
  655. 'field_materiau_image' => array(
  656. 'align' => '',
  657. 'separator' => '',
  658. 'empty_column' => 0,
  659. ),
  660. 'field_visuel' => array(
  661. 'align' => '',
  662. 'separator' => '',
  663. 'empty_column' => 0,
  664. ),
  665. 'type' => array(
  666. 'sortable' => 0,
  667. 'default_sort_order' => 'asc',
  668. 'align' => '',
  669. 'separator' => '',
  670. 'empty_column' => 0,
  671. ),
  672. 'title_field' => array(
  673. 'sortable' => 0,
  674. 'default_sort_order' => 'asc',
  675. 'align' => '',
  676. 'separator' => '<br />',
  677. 'empty_column' => 0,
  678. ),
  679. 'field_reference_materio' => array(
  680. 'sortable' => 0,
  681. 'default_sort_order' => 'asc',
  682. 'align' => '',
  683. 'separator' => '',
  684. 'empty_column' => 0,
  685. ),
  686. 'field_localisation_1' => array(
  687. 'sortable' => 0,
  688. 'default_sort_order' => 'asc',
  689. 'align' => '',
  690. 'separator' => '',
  691. 'empty_column' => 0,
  692. ),
  693. 'edit_node' => array(
  694. 'align' => '',
  695. 'separator' => '',
  696. 'empty_column' => 0,
  697. ),
  698. 'field_company_fab' => array(
  699. 'align' => '',
  700. 'separator' => '<br />',
  701. 'empty_column' => 0,
  702. ),
  703. 'field_company_distrib' => array(
  704. 'align' => '',
  705. 'separator' => '',
  706. 'empty_column' => 0,
  707. ),
  708. 'field_onthologie' => array(
  709. 'align' => '',
  710. 'separator' => '',
  711. 'empty_column' => 0,
  712. ),
  713. 'field_tags_libres' => array(
  714. 'align' => '',
  715. 'separator' => '',
  716. 'empty_column' => 0,
  717. ),
  718. 'field_materiau_ref' => array(
  719. 'align' => '',
  720. 'separator' => '<br />',
  721. 'empty_column' => 0,
  722. ),
  723. 'field_breve_ref' => array(
  724. 'align' => '',
  725. 'separator' => '',
  726. 'empty_column' => 0,
  727. ),
  728. 'field_memo' => array(
  729. 'sortable' => 0,
  730. 'default_sort_order' => 'asc',
  731. 'align' => '',
  732. 'separator' => '',
  733. 'empty_column' => 0,
  734. ),
  735. 'field_attachments' => array(
  736. 'align' => '',
  737. 'separator' => '',
  738. 'empty_column' => 0,
  739. ),
  740. 'field_localisation' => array(
  741. 'sortable' => 0,
  742. 'default_sort_order' => 'asc',
  743. 'align' => '',
  744. 'separator' => '',
  745. 'empty_column' => 0,
  746. ),
  747. 'sid' => array(
  748. 'sortable' => 0,
  749. 'default_sort_order' => 'asc',
  750. 'align' => '',
  751. 'separator' => '<br />',
  752. 'empty_column' => 0,
  753. ),
  754. 'delete_node' => array(
  755. 'align' => '',
  756. 'separator' => '',
  757. 'empty_column' => 0,
  758. ),
  759. );
  760. $handler->display->display_options['style_options']['override'] = FALSE;
  761. $handler->display->display_options['defaults']['style_options'] = FALSE;
  762. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  763. $handler->display->display_options['defaults']['row_options'] = FALSE;
  764. $handler->display->display_options['defaults']['fields'] = FALSE;
  765. /* Champ: Opérations en masse : Contenu */
  766. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  767. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
  768. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  769. $handler->display->display_options['fields']['views_bulk_operations']['label'] = '';
  770. $handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE;
  771. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  772. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  773. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  774. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  775. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  776. 'action::workflow_select_given_state_action' => array(
  777. 'selected' => 1,
  778. 'skip_confirmation' => 0,
  779. 'override_label' => 0,
  780. 'label' => '',
  781. 'postpone_processing' => 0,
  782. ),
  783. );
  784. /* Champ: Contenu : Image */
  785. $handler->display->display_options['fields']['field_materiau_image']['id'] = 'field_materiau_image';
  786. $handler->display->display_options['fields']['field_materiau_image']['table'] = 'field_data_field_materiau_image';
  787. $handler->display->display_options['fields']['field_materiau_image']['field'] = 'field_materiau_image';
  788. $handler->display->display_options['fields']['field_materiau_image']['click_sort_column'] = 'fid';
  789. $handler->display->display_options['fields']['field_materiau_image']['settings'] = array(
  790. 'image_style' => 'thumbnail',
  791. 'image_link' => 'content',
  792. );
  793. $handler->display->display_options['fields']['field_materiau_image']['delta_limit'] = '1';
  794. $handler->display->display_options['fields']['field_materiau_image']['delta_offset'] = '0';
  795. /* Champ: Contenu : Image */
  796. $handler->display->display_options['fields']['field_visuel']['id'] = 'field_visuel';
  797. $handler->display->display_options['fields']['field_visuel']['table'] = 'field_data_field_visuel';
  798. $handler->display->display_options['fields']['field_visuel']['field'] = 'field_visuel';
  799. $handler->display->display_options['fields']['field_visuel']['click_sort_column'] = 'fid';
  800. $handler->display->display_options['fields']['field_visuel']['settings'] = array(
  801. 'image_style' => 'thumbnail',
  802. 'image_link' => 'content',
  803. );
  804. $handler->display->display_options['fields']['field_visuel']['delta_limit'] = '1';
  805. $handler->display->display_options['fields']['field_visuel']['delta_offset'] = '0';
  806. /* Champ: Contenu : Type */
  807. $handler->display->display_options['fields']['type']['id'] = 'type';
  808. $handler->display->display_options['fields']['type']['table'] = 'node';
  809. $handler->display->display_options['fields']['type']['field'] = 'type';
  810. /* Champ: Contenu : Title */
  811. $handler->display->display_options['fields']['title_field']['id'] = 'title_field';
  812. $handler->display->display_options['fields']['title_field']['table'] = 'field_data_title_field';
  813. $handler->display->display_options['fields']['title_field']['field'] = 'title_field';
  814. $handler->display->display_options['fields']['title_field']['label'] = 'Titre';
  815. $handler->display->display_options['fields']['title_field']['element_type'] = 'strong';
  816. $handler->display->display_options['fields']['title_field']['link_to_entity'] = 1;
  817. /* Champ: Contenu : Référence Materio */
  818. $handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio';
  819. $handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio';
  820. $handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio';
  821. /* Champ: Contenu : Lien de modification */
  822. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  823. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  824. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  825. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  826. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  827. /* Champ: Contenu : Manufacturer */
  828. $handler->display->display_options['fields']['field_company_fab']['id'] = 'field_company_fab';
  829. $handler->display->display_options['fields']['field_company_fab']['table'] = 'field_data_field_company_fab';
  830. $handler->display->display_options['fields']['field_company_fab']['field'] = 'field_company_fab';
  831. $handler->display->display_options['fields']['field_company_fab']['label'] = 'Fabricants/Distributeurs';
  832. $handler->display->display_options['fields']['field_company_fab']['alter']['alter_text'] = TRUE;
  833. $handler->display->display_options['fields']['field_company_fab']['alter']['text'] = 'Fab :<br/>
  834. [field_company_fab] ';
  835. $handler->display->display_options['fields']['field_company_fab']['delta_offset'] = '0';
  836. /* Champ: Contenu : Distributor */
  837. $handler->display->display_options['fields']['field_company_distrib']['id'] = 'field_company_distrib';
  838. $handler->display->display_options['fields']['field_company_distrib']['table'] = 'field_data_field_company_distrib';
  839. $handler->display->display_options['fields']['field_company_distrib']['field'] = 'field_company_distrib';
  840. $handler->display->display_options['fields']['field_company_distrib']['alter']['alter_text'] = TRUE;
  841. $handler->display->display_options['fields']['field_company_distrib']['alter']['text'] = 'Distrib : <br />
  842. [field_company_distrib]';
  843. $handler->display->display_options['fields']['field_company_distrib']['delta_offset'] = '0';
  844. /* Champ: Contenu : Onthologie */
  845. $handler->display->display_options['fields']['field_onthologie']['id'] = 'field_onthologie';
  846. $handler->display->display_options['fields']['field_onthologie']['table'] = 'field_data_field_onthologie';
  847. $handler->display->display_options['fields']['field_onthologie']['field'] = 'field_onthologie';
  848. $handler->display->display_options['fields']['field_onthologie']['type'] = 'i18n_taxonomy_term_reference_plain';
  849. $handler->display->display_options['fields']['field_onthologie']['delta_limit'] = '5';
  850. $handler->display->display_options['fields']['field_onthologie']['delta_offset'] = '0';
  851. $handler->display->display_options['fields']['field_onthologie']['multi_type'] = 'ol';
  852. /* Champ: Contenu : Tags libres */
  853. $handler->display->display_options['fields']['field_tags_libres']['id'] = 'field_tags_libres';
  854. $handler->display->display_options['fields']['field_tags_libres']['table'] = 'field_data_field_tags_libres';
  855. $handler->display->display_options['fields']['field_tags_libres']['field'] = 'field_tags_libres';
  856. $handler->display->display_options['fields']['field_tags_libres']['type'] = 'i18n_taxonomy_term_reference_plain';
  857. $handler->display->display_options['fields']['field_tags_libres']['delta_limit'] = '4';
  858. $handler->display->display_options['fields']['field_tags_libres']['delta_offset'] = '0';
  859. $handler->display->display_options['fields']['field_tags_libres']['multi_type'] = 'ul';
  860. /* Champ: Contenu : Materiau(x) lié(s) */
  861. $handler->display->display_options['fields']['field_materiau_ref']['id'] = 'field_materiau_ref';
  862. $handler->display->display_options['fields']['field_materiau_ref']['table'] = 'field_data_field_materiau_ref';
  863. $handler->display->display_options['fields']['field_materiau_ref']['field'] = 'field_materiau_ref';
  864. $handler->display->display_options['fields']['field_materiau_ref']['alter']['text'] = 'Materiaux :<br />[field_materiau_ref]
  865. ';
  866. $handler->display->display_options['fields']['field_materiau_ref']['hide_empty'] = TRUE;
  867. $handler->display->display_options['fields']['field_materiau_ref']['settings'] = array(
  868. 'link' => 1,
  869. );
  870. $handler->display->display_options['fields']['field_materiau_ref']['delta_offset'] = '0';
  871. /* Champ: Contenu : Brève(s) liée(s) */
  872. $handler->display->display_options['fields']['field_breve_ref']['id'] = 'field_breve_ref';
  873. $handler->display->display_options['fields']['field_breve_ref']['table'] = 'field_data_field_breve_ref';
  874. $handler->display->display_options['fields']['field_breve_ref']['field'] = 'field_breve_ref';
  875. $handler->display->display_options['fields']['field_breve_ref']['alter']['text'] = 'Brèves :<br />[field_breve_ref]';
  876. $handler->display->display_options['fields']['field_breve_ref']['hide_empty'] = TRUE;
  877. $handler->display->display_options['fields']['field_breve_ref']['settings'] = array(
  878. 'link' => 1,
  879. );
  880. $handler->display->display_options['fields']['field_breve_ref']['delta_offset'] = '0';
  881. /* Champ: Champ : Mémo */
  882. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  883. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  884. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  885. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  886. $handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300';
  887. $handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE;
  888. $handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE;
  889. /* Champ: Contenu : Fichiers joints */
  890. $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments';
  891. $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments';
  892. $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments';
  893. $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid';
  894. $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0';
  895. /* Champ: Contenu : Localisation */
  896. $handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation';
  897. $handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation';
  898. $handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation';
  899. /* Champ: Processus : État actuel */
  900. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  901. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  902. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  903. /* Champ: Contenu : Lien de suppression */
  904. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  905. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  906. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  907. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  908. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  909. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  910. $handler->display->display_options['defaults']['filters'] = FALSE;
  911. /* Critère de filtrage: Contenu : Type */
  912. $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  913. $handler->display->display_options['filters']['type_1']['table'] = 'node';
  914. $handler->display->display_options['filters']['type_1']['field'] = 'type';
  915. $handler->display->display_options['filters']['type_1']['operator'] = 'not in';
  916. $handler->display->display_options['filters']['type_1']['value'] = array(
  917. 'company' => 'company',
  918. 'didactique' => 'didactique',
  919. 'faq' => 'faq',
  920. 'page' => 'page',
  921. 'panel' => 'panel',
  922. 'product' => 'product',
  923. 'simplenews' => 'simplenews',
  924. 'webform' => 'webform',
  925. 'looping_embed_video' => 'looping_embed_video',
  926. );
  927. $handler->display->display_options['filters']['type_1']['group'] = 1;
  928. /* Critère de filtrage: Contenu : Titre */
  929. $handler->display->display_options['filters']['title']['id'] = 'title';
  930. $handler->display->display_options['filters']['title']['table'] = 'node';
  931. $handler->display->display_options['filters']['title']['field'] = 'title';
  932. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  933. $handler->display->display_options['filters']['title']['group'] = 1;
  934. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  935. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  936. $handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains';
  937. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  938. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  939. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  940. /* Critère de filtrage: Champ : Mémo (field_memo) */
  941. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  942. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  943. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  944. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  945. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  946. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  947. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  948. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  949. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  950. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  951. /* Critère de filtrage: Processus : État actuel */
  952. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  953. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  954. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  955. $handler->display->display_options['filters']['sid']['group'] = 1;
  956. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  957. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  958. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  959. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  960. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  961. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  962. /* Critère de filtrage: Contenu : Type */
  963. $handler->display->display_options['filters']['type']['id'] = 'type';
  964. $handler->display->display_options['filters']['type']['table'] = 'node';
  965. $handler->display->display_options['filters']['type']['field'] = 'type';
  966. $handler->display->display_options['filters']['type']['value'] = array(
  967. 'breve' => 'breve',
  968. 'materiau' => 'materiau',
  969. );
  970. $handler->display->display_options['filters']['type']['group'] = 1;
  971. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  972. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  973. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu';
  974. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  975. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  976. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  977. $handler->display->display_options['filters']['type']['expose']['remember_roles'] = array(
  978. 2 => '2',
  979. 1 => 0,
  980. 9 => 0,
  981. 7 => 0,
  982. 10 => 0,
  983. 6 => 0,
  984. 8 => 0,
  985. 5 => 0,
  986. 3 => 0,
  987. 4 => 0,
  988. );
  989. $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
  990. /* Critère de filtrage: Contenu : Famille (field_famille) */
  991. $handler->display->display_options['filters']['field_famille_value']['id'] = 'field_famille_value';
  992. $handler->display->display_options['filters']['field_famille_value']['table'] = 'field_data_field_famille';
  993. $handler->display->display_options['filters']['field_famille_value']['field'] = 'field_famille_value';
  994. $handler->display->display_options['filters']['field_famille_value']['group'] = 1;
  995. $handler->display->display_options['filters']['field_famille_value']['exposed'] = TRUE;
  996. $handler->display->display_options['filters']['field_famille_value']['expose']['operator_id'] = 'field_famille_value_op';
  997. $handler->display->display_options['filters']['field_famille_value']['expose']['label'] = 'Famille';
  998. $handler->display->display_options['filters']['field_famille_value']['expose']['operator'] = 'field_famille_value_op';
  999. $handler->display->display_options['filters']['field_famille_value']['expose']['identifier'] = 'field_famille_value';
  1000. $handler->display->display_options['filters']['field_famille_value']['expose']['remember'] = TRUE;
  1001. /* Critère de filtrage: Contenu : Référence Materio (field_reference_materio) */
  1002. $handler->display->display_options['filters']['field_reference_materio_value']['id'] = 'field_reference_materio_value';
  1003. $handler->display->display_options['filters']['field_reference_materio_value']['table'] = 'field_data_field_reference_materio';
  1004. $handler->display->display_options['filters']['field_reference_materio_value']['field'] = 'field_reference_materio_value';
  1005. $handler->display->display_options['filters']['field_reference_materio_value']['operator'] = 'contains';
  1006. $handler->display->display_options['filters']['field_reference_materio_value']['group'] = 1;
  1007. $handler->display->display_options['filters']['field_reference_materio_value']['exposed'] = TRUE;
  1008. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator_id'] = 'field_reference_materio_value_op';
  1009. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['label'] = 'Référence';
  1010. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator'] = 'field_reference_materio_value_op';
  1011. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['identifier'] = 'field_reference_materio_value';
  1012. /* Critère de filtrage: Contenu : Localisation (field_localisation) */
  1013. $handler->display->display_options['filters']['field_localisation_value']['id'] = 'field_localisation_value';
  1014. $handler->display->display_options['filters']['field_localisation_value']['table'] = 'field_data_field_localisation';
  1015. $handler->display->display_options['filters']['field_localisation_value']['field'] = 'field_localisation_value';
  1016. $handler->display->display_options['filters']['field_localisation_value']['operator'] = 'contains';
  1017. $handler->display->display_options['filters']['field_localisation_value']['group'] = 1;
  1018. $handler->display->display_options['filters']['field_localisation_value']['exposed'] = TRUE;
  1019. $handler->display->display_options['filters']['field_localisation_value']['expose']['operator_id'] = 'field_localisation_value_op';
  1020. $handler->display->display_options['filters']['field_localisation_value']['expose']['label'] = 'Localisation';
  1021. $handler->display->display_options['filters']['field_localisation_value']['expose']['operator'] = 'field_localisation_value_op';
  1022. $handler->display->display_options['filters']['field_localisation_value']['expose']['identifier'] = 'field_localisation_value';
  1023. $handler->display->display_options['filters']['field_localisation_value']['expose']['remember_roles'] = array(
  1024. 2 => '2',
  1025. 1 => 0,
  1026. 9 => 0,
  1027. 7 => 0,
  1028. 10 => 0,
  1029. 11 => 0,
  1030. 6 => 0,
  1031. 5 => 0,
  1032. 8 => 0,
  1033. 3 => 0,
  1034. 4 => 0,
  1035. );
  1036. /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */
  1037. $handler->display->display_options['filters']['tid']['id'] = 'tid';
  1038. $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index';
  1039. $handler->display->display_options['filters']['tid']['field'] = 'tid';
  1040. $handler->display->display_options['filters']['tid']['value'] = '';
  1041. $handler->display->display_options['filters']['tid']['group'] = 1;
  1042. $handler->display->display_options['filters']['tid']['exposed'] = TRUE;
  1043. $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op';
  1044. $handler->display->display_options['filters']['tid']['expose']['label'] = 'Onto';
  1045. $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op';
  1046. $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid';
  1047. $handler->display->display_options['filters']['tid']['expose']['remember_roles'] = array(
  1048. 2 => '2',
  1049. 1 => 0,
  1050. 9 => 0,
  1051. 7 => 0,
  1052. 10 => 0,
  1053. 6 => 0,
  1054. 8 => 0,
  1055. 5 => 0,
  1056. 3 => 0,
  1057. 4 => 0,
  1058. );
  1059. $handler->display->display_options['filters']['tid']['reduce_duplicates'] = TRUE;
  1060. $handler->display->display_options['filters']['tid']['vocabulary'] = 'onthologie';
  1061. /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */
  1062. $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1';
  1063. $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index';
  1064. $handler->display->display_options['filters']['tid_1']['field'] = 'tid';
  1065. $handler->display->display_options['filters']['tid_1']['value'] = '';
  1066. $handler->display->display_options['filters']['tid_1']['group'] = 1;
  1067. $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE;
  1068. $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op';
  1069. $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Tag libres';
  1070. $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op';
  1071. $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1';
  1072. $handler->display->display_options['filters']['tid_1']['expose']['remember_roles'] = array(
  1073. 2 => '2',
  1074. 1 => 0,
  1075. 7 => 0,
  1076. 6 => 0,
  1077. 5 => 0,
  1078. 3 => 0,
  1079. 4 => 0,
  1080. );
  1081. $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'tag_libres';
  1082. /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */
  1083. $handler->display->display_options['filters']['tid_2']['id'] = 'tid_2';
  1084. $handler->display->display_options['filters']['tid_2']['table'] = 'taxonomy_index';
  1085. $handler->display->display_options['filters']['tid_2']['field'] = 'tid';
  1086. $handler->display->display_options['filters']['tid_2']['value'] = '';
  1087. $handler->display->display_options['filters']['tid_2']['group'] = 1;
  1088. $handler->display->display_options['filters']['tid_2']['exposed'] = TRUE;
  1089. $handler->display->display_options['filters']['tid_2']['expose']['operator_id'] = 'tid_2_op';
  1090. $handler->display->display_options['filters']['tid_2']['expose']['label'] = 'Société';
  1091. $handler->display->display_options['filters']['tid_2']['expose']['operator'] = 'tid_2_op';
  1092. $handler->display->display_options['filters']['tid_2']['expose']['identifier'] = 'tid_2';
  1093. $handler->display->display_options['filters']['tid_2']['expose']['remember_roles'] = array(
  1094. 2 => '2',
  1095. 1 => 0,
  1096. 7 => 0,
  1097. 6 => 0,
  1098. 5 => 0,
  1099. 3 => 0,
  1100. 4 => 0,
  1101. );
  1102. $handler->display->display_options['filters']['tid_2']['vocabulary'] = 'company';
  1103. /* Critère de filtrage: Contenu : Publié */
  1104. $handler->display->display_options['filters']['status']['id'] = 'status';
  1105. $handler->display->display_options['filters']['status']['table'] = 'node';
  1106. $handler->display->display_options['filters']['status']['field'] = 'status';
  1107. $handler->display->display_options['filters']['status']['value'] = '1';
  1108. $handler->display->display_options['filters']['status']['group'] = 1;
  1109. $handler->display->display_options['path'] = 'admin/content/materiaux';
  1110. $handler->display->display_options['menu']['type'] = 'tab';
  1111. $handler->display->display_options['menu']['title'] = 'Materiaux/Brèves';
  1112. $handler->display->display_options['menu']['description'] = 'Materiaux/Brèves';
  1113. $handler->display->display_options['menu']['weight'] = '-100';
  1114. $handler->display->display_options['menu']['context'] = 0;
  1115. $handler->display->display_options['menu']['context_only_inline'] = 0;
  1116. $handler->display->display_options['tab_options']['type'] = 'normal';
  1117. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1118. $handler->display->display_options['tab_options']['weight'] = '0';
  1119. /* Display: Page : companies */
  1120. $handler = $view->new_display('page', 'Page : companies', 'page_2');
  1121. $handler->display->display_options['defaults']['title'] = FALSE;
  1122. $handler->display->display_options['title'] = 'Companies';
  1123. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  1124. $handler->display->display_options['defaults']['group_by'] = FALSE;
  1125. $handler->display->display_options['defaults']['pager'] = FALSE;
  1126. $handler->display->display_options['pager']['type'] = 'full';
  1127. $handler->display->display_options['pager']['options']['items_per_page'] = '25';
  1128. $handler->display->display_options['pager']['options']['offset'] = '0';
  1129. $handler->display->display_options['pager']['options']['id'] = '0';
  1130. $handler->display->display_options['pager']['options']['quantity'] = '9';
  1131. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1132. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1133. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1134. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1135. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1136. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1137. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1138. $handler->display->display_options['defaults']['relationships'] = FALSE;
  1139. $handler->display->display_options['defaults']['fields'] = FALSE;
  1140. /* Champ: Opérations en masse : Contenu */
  1141. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  1142. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
  1143. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  1144. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  1145. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  1146. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  1147. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  1148. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  1149. 'action::workflow_select_given_state_action' => array(
  1150. 'selected' => 1,
  1151. 'skip_confirmation' => 0,
  1152. 'override_label' => 0,
  1153. 'label' => '',
  1154. 'postpone_processing' => 0,
  1155. ),
  1156. );
  1157. /* Champ: Contenu : Titre */
  1158. $handler->display->display_options['fields']['title']['id'] = 'title';
  1159. $handler->display->display_options['fields']['title']['table'] = 'node';
  1160. $handler->display->display_options['fields']['title']['field'] = 'title';
  1161. $handler->display->display_options['fields']['title']['label'] = 'Title / Name';
  1162. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  1163. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  1164. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  1165. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  1166. /* Champ: Contenu : Date de publication */
  1167. $handler->display->display_options['fields']['created']['id'] = 'created';
  1168. $handler->display->display_options['fields']['created']['table'] = 'node';
  1169. $handler->display->display_options['fields']['created']['field'] = 'created';
  1170. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  1171. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y/m/d';
  1172. /* Champ: Contenu : Lien de modification */
  1173. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  1174. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  1175. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  1176. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  1177. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  1178. /* Champ: Contenu : Adresse */
  1179. $handler->display->display_options['fields']['field_public_address']['id'] = 'field_public_address';
  1180. $handler->display->display_options['fields']['field_public_address']['table'] = 'field_data_field_public_address';
  1181. $handler->display->display_options['fields']['field_public_address']['field'] = 'field_public_address';
  1182. $handler->display->display_options['fields']['field_public_address']['click_sort_column'] = 'country';
  1183. $handler->display->display_options['fields']['field_public_address']['settings'] = array(
  1184. 'use_widget_handlers' => 1,
  1185. 'format_handlers' => array(
  1186. 'address' => 'address',
  1187. ),
  1188. );
  1189. /* Champ: Contenu : Phone */
  1190. $handler->display->display_options['fields']['field_public_phone']['id'] = 'field_public_phone';
  1191. $handler->display->display_options['fields']['field_public_phone']['table'] = 'field_data_field_public_phone';
  1192. $handler->display->display_options['fields']['field_public_phone']['field'] = 'field_public_phone';
  1193. $handler->display->display_options['fields']['field_public_phone']['label'] = 'Téléphone';
  1194. $handler->display->display_options['fields']['field_public_phone']['click_sort_column'] = 'number';
  1195. $handler->display->display_options['fields']['field_public_phone']['delta_offset'] = '0';
  1196. /* Champ: Contenu : Langue */
  1197. $handler->display->display_options['fields']['language']['id'] = 'language';
  1198. $handler->display->display_options['fields']['language']['table'] = 'node';
  1199. $handler->display->display_options['fields']['language']['field'] = 'language';
  1200. /* Champ: Traduction du contenu : Lien de traduction */
  1201. $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
  1202. $handler->display->display_options['fields']['translate_node']['table'] = 'node';
  1203. $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
  1204. $handler->display->display_options['fields']['translate_node']['alter']['text'] = '<span class="button">[translate_node]</span>';
  1205. /* Champ: Traduction du contenu : Statut de la traduction */
  1206. $handler->display->display_options['fields']['translate']['id'] = 'translate';
  1207. $handler->display->display_options['fields']['translate']['table'] = 'node';
  1208. $handler->display->display_options['fields']['translate']['field'] = 'translate';
  1209. $handler->display->display_options['fields']['translate']['exclude'] = TRUE;
  1210. $handler->display->display_options['fields']['translate']['not'] = 0;
  1211. /* Champ: Contenu : website */
  1212. $handler->display->display_options['fields']['field_website']['id'] = 'field_website';
  1213. $handler->display->display_options['fields']['field_website']['table'] = 'field_data_field_website';
  1214. $handler->display->display_options['fields']['field_website']['field'] = 'field_website';
  1215. $handler->display->display_options['fields']['field_website']['click_sort_column'] = 'url';
  1216. /* Champ: Contenu : Email */
  1217. $handler->display->display_options['fields']['field_public_email']['id'] = 'field_public_email';
  1218. $handler->display->display_options['fields']['field_public_email']['table'] = 'field_data_field_public_email';
  1219. $handler->display->display_options['fields']['field_public_email']['field'] = 'field_public_email';
  1220. $handler->display->display_options['fields']['field_public_email']['label'] = 'Courriel';
  1221. /* Champ: Contenu : Note */
  1222. $handler->display->display_options['fields']['field_note']['id'] = 'field_note';
  1223. $handler->display->display_options['fields']['field_note']['table'] = 'field_data_field_note';
  1224. $handler->display->display_options['fields']['field_note']['field'] = 'field_note';
  1225. /* Champ: Contenu : Fichiers joints */
  1226. $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments';
  1227. $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments';
  1228. $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments';
  1229. $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid';
  1230. $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0';
  1231. /* Champ: Champ : Mémo */
  1232. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  1233. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  1234. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  1235. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  1236. /* Champ: Processus : État actuel */
  1237. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  1238. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  1239. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  1240. /* Champ: Contenu : Lien de suppression */
  1241. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  1242. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  1243. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  1244. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  1245. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  1246. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  1247. $handler->display->display_options['defaults']['filters'] = FALSE;
  1248. /* Critère de filtrage: Contenu : Titre */
  1249. $handler->display->display_options['filters']['title']['id'] = 'title';
  1250. $handler->display->display_options['filters']['title']['table'] = 'node';
  1251. $handler->display->display_options['filters']['title']['field'] = 'title';
  1252. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  1253. $handler->display->display_options['filters']['title']['group'] = 1;
  1254. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  1255. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  1256. $handler->display->display_options['filters']['title']['expose']['label'] = 'Le nom contient';
  1257. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  1258. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  1259. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  1260. /* Critère de filtrage: Processus : État actuel */
  1261. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  1262. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  1263. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  1264. $handler->display->display_options['filters']['sid']['group'] = 1;
  1265. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  1266. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  1267. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  1268. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  1269. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  1270. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  1271. /* Critère de filtrage: Champ : Mémo (field_memo) */
  1272. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  1273. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  1274. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  1275. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  1276. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  1277. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  1278. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  1279. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  1280. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  1281. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  1282. /* Critère de filtrage: Contenu : Type */
  1283. $handler->display->display_options['filters']['type_2']['id'] = 'type_2';
  1284. $handler->display->display_options['filters']['type_2']['table'] = 'node';
  1285. $handler->display->display_options['filters']['type_2']['field'] = 'type';
  1286. $handler->display->display_options['filters']['type_2']['operator'] = 'not in';
  1287. $handler->display->display_options['filters']['type_2']['value'] = array(
  1288. 'breve' => 'breve',
  1289. 'didactique' => 'didactique',
  1290. 'faq' => 'faq',
  1291. 'materiau' => 'materiau',
  1292. 'page' => 'page',
  1293. 'panel' => 'panel',
  1294. 'product' => 'product',
  1295. 'simplenews' => 'simplenews',
  1296. 'webform' => 'webform',
  1297. 'looping_embed_video' => 'looping_embed_video',
  1298. );
  1299. $handler->display->display_options['filters']['type_2']['group'] = 1;
  1300. /* Critère de filtrage: Contenu : Adresse - Code postal */
  1301. $handler->display->display_options['filters']['field_public_address_postal_code']['id'] = 'field_public_address_postal_code';
  1302. $handler->display->display_options['filters']['field_public_address_postal_code']['table'] = 'field_data_field_public_address';
  1303. $handler->display->display_options['filters']['field_public_address_postal_code']['field'] = 'field_public_address_postal_code';
  1304. $handler->display->display_options['filters']['field_public_address_postal_code']['group'] = 1;
  1305. $handler->display->display_options['filters']['field_public_address_postal_code']['exposed'] = TRUE;
  1306. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['operator_id'] = 'field_public_address_postal_code_op';
  1307. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['label'] = 'Adresse - Code postal';
  1308. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['operator'] = 'field_public_address_postal_code_op';
  1309. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['identifier'] = 'field_public_address_postal_code';
  1310. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['remember_roles'] = array(
  1311. 2 => '2',
  1312. 1 => 0,
  1313. 9 => 0,
  1314. 7 => 0,
  1315. 10 => 0,
  1316. 11 => 0,
  1317. 6 => 0,
  1318. 5 => 0,
  1319. 8 => 0,
  1320. 3 => 0,
  1321. 4 => 0,
  1322. );
  1323. /* Critère de filtrage: Contenu : Adresse - Localité (c&#039;est-à-dire Ville) */
  1324. $handler->display->display_options['filters']['field_public_address_locality']['id'] = 'field_public_address_locality';
  1325. $handler->display->display_options['filters']['field_public_address_locality']['table'] = 'field_data_field_public_address';
  1326. $handler->display->display_options['filters']['field_public_address_locality']['field'] = 'field_public_address_locality';
  1327. $handler->display->display_options['filters']['field_public_address_locality']['group'] = 1;
  1328. $handler->display->display_options['filters']['field_public_address_locality']['exposed'] = TRUE;
  1329. $handler->display->display_options['filters']['field_public_address_locality']['expose']['operator_id'] = 'field_public_address_locality_op';
  1330. $handler->display->display_options['filters']['field_public_address_locality']['expose']['label'] = 'Adresse - Localité (Ville)';
  1331. $handler->display->display_options['filters']['field_public_address_locality']['expose']['operator'] = 'field_public_address_locality_op';
  1332. $handler->display->display_options['filters']['field_public_address_locality']['expose']['identifier'] = 'field_public_address_locality';
  1333. $handler->display->display_options['filters']['field_public_address_locality']['expose']['remember_roles'] = array(
  1334. 2 => '2',
  1335. 1 => 0,
  1336. 9 => 0,
  1337. 7 => 0,
  1338. 10 => 0,
  1339. 11 => 0,
  1340. 6 => 0,
  1341. 5 => 0,
  1342. 8 => 0,
  1343. 3 => 0,
  1344. 4 => 0,
  1345. );
  1346. $handler->display->display_options['path'] = 'admin/content/companies';
  1347. $handler->display->display_options['menu']['type'] = 'tab';
  1348. $handler->display->display_options['menu']['title'] = 'Companies';
  1349. $handler->display->display_options['menu']['description'] = 'Companies';
  1350. $handler->display->display_options['menu']['weight'] = '-99';
  1351. $handler->display->display_options['menu']['context'] = 0;
  1352. $handler->display->display_options['tab_options']['type'] = 'normal';
  1353. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1354. $handler->display->display_options['tab_options']['weight'] = '0';
  1355. /* Display: Page : page/publicationfaq/didactique */
  1356. $handler = $view->new_display('page', 'Page : page/publicationfaq/didactique', 'page_3');
  1357. $handler->display->display_options['defaults']['title'] = FALSE;
  1358. $handler->display->display_options['title'] = 'page/publication/didactique/faq';
  1359. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  1360. $handler->display->display_options['defaults']['pager'] = FALSE;
  1361. $handler->display->display_options['pager']['type'] = 'full';
  1362. $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  1363. $handler->display->display_options['pager']['options']['offset'] = '0';
  1364. $handler->display->display_options['pager']['options']['id'] = '0';
  1365. $handler->display->display_options['pager']['options']['quantity'] = '9';
  1366. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1367. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1368. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1369. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1370. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1371. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1372. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1373. $handler->display->display_options['defaults']['fields'] = FALSE;
  1374. /* Champ: Opérations en masse : Contenu */
  1375. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  1376. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
  1377. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  1378. $handler->display->display_options['fields']['views_bulk_operations']['label'] = '';
  1379. $handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE;
  1380. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  1381. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  1382. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  1383. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  1384. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  1385. 'action::workflow_select_given_state_action' => array(
  1386. 'selected' => 1,
  1387. 'skip_confirmation' => 0,
  1388. 'override_label' => 0,
  1389. 'label' => '',
  1390. 'postpone_processing' => 0,
  1391. ),
  1392. );
  1393. /* Champ: Contenu : Type */
  1394. $handler->display->display_options['fields']['type']['id'] = 'type';
  1395. $handler->display->display_options['fields']['type']['table'] = 'node';
  1396. $handler->display->display_options['fields']['type']['field'] = 'type';
  1397. /* Champ: Contenu : Titre */
  1398. $handler->display->display_options['fields']['title']['id'] = 'title';
  1399. $handler->display->display_options['fields']['title']['table'] = 'node';
  1400. $handler->display->display_options['fields']['title']['field'] = 'title';
  1401. $handler->display->display_options['fields']['title']['label'] = 'Title/Name';
  1402. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  1403. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  1404. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  1405. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  1406. /* Champ: Contenu : Lien de modification */
  1407. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  1408. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  1409. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  1410. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  1411. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  1412. /* Champ: Champ : Mémo */
  1413. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  1414. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  1415. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  1416. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  1417. $handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300';
  1418. $handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE;
  1419. $handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE;
  1420. /* Champ: Contenu : Fichiers joints */
  1421. $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments';
  1422. $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments';
  1423. $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments';
  1424. $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid';
  1425. $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0';
  1426. /* Champ: Contenu : Localisation */
  1427. $handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation';
  1428. $handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation';
  1429. $handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation';
  1430. /* Champ: Processus : État actuel */
  1431. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  1432. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  1433. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  1434. /* Champ: Contenu : Lien de suppression */
  1435. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  1436. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  1437. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  1438. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  1439. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  1440. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  1441. $handler->display->display_options['defaults']['filters'] = FALSE;
  1442. /* Critère de filtrage: Contenu : Type */
  1443. $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  1444. $handler->display->display_options['filters']['type_1']['table'] = 'node';
  1445. $handler->display->display_options['filters']['type_1']['field'] = 'type';
  1446. $handler->display->display_options['filters']['type_1']['operator'] = 'not in';
  1447. $handler->display->display_options['filters']['type_1']['value'] = array(
  1448. 'breve' => 'breve',
  1449. 'company' => 'company',
  1450. 'materiau' => 'materiau',
  1451. 'panel' => 'panel',
  1452. 'product' => 'product',
  1453. 'simplenews' => 'simplenews',
  1454. 'webform' => 'webform',
  1455. );
  1456. $handler->display->display_options['filters']['type_1']['group'] = 1;
  1457. /* Critère de filtrage: Contenu : Titre */
  1458. $handler->display->display_options['filters']['title']['id'] = 'title';
  1459. $handler->display->display_options['filters']['title']['table'] = 'node';
  1460. $handler->display->display_options['filters']['title']['field'] = 'title';
  1461. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  1462. $handler->display->display_options['filters']['title']['group'] = 1;
  1463. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  1464. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  1465. $handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains';
  1466. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  1467. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  1468. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  1469. /* Critère de filtrage: Champ : Mémo (field_memo) */
  1470. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  1471. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  1472. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  1473. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  1474. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  1475. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  1476. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  1477. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  1478. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  1479. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  1480. /* Critère de filtrage: Processus : État actuel */
  1481. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  1482. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  1483. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  1484. $handler->display->display_options['filters']['sid']['group'] = 1;
  1485. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  1486. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  1487. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  1488. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  1489. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  1490. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  1491. /* Critère de filtrage: Contenu : Type */
  1492. $handler->display->display_options['filters']['type']['id'] = 'type';
  1493. $handler->display->display_options['filters']['type']['table'] = 'node';
  1494. $handler->display->display_options['filters']['type']['field'] = 'type';
  1495. $handler->display->display_options['filters']['type']['value'] = array(
  1496. 'didactique' => 'didactique',
  1497. 'faq' => 'faq',
  1498. 'page' => 'page',
  1499. 'publication' => 'publication',
  1500. );
  1501. $handler->display->display_options['filters']['type']['group'] = 1;
  1502. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  1503. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  1504. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu';
  1505. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  1506. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  1507. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  1508. $handler->display->display_options['filters']['type']['expose']['remember_roles'] = array(
  1509. 2 => '2',
  1510. 1 => 0,
  1511. 9 => 0,
  1512. 7 => 0,
  1513. 10 => 0,
  1514. 11 => 0,
  1515. 6 => 0,
  1516. 5 => 0,
  1517. 8 => 0,
  1518. 3 => 0,
  1519. 4 => 0,
  1520. );
  1521. $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
  1522. /* Critère de filtrage: Contenu : Référence Materio (field_reference_materio) */
  1523. $handler->display->display_options['filters']['field_reference_materio_value']['id'] = 'field_reference_materio_value';
  1524. $handler->display->display_options['filters']['field_reference_materio_value']['table'] = 'field_data_field_reference_materio';
  1525. $handler->display->display_options['filters']['field_reference_materio_value']['field'] = 'field_reference_materio_value';
  1526. $handler->display->display_options['filters']['field_reference_materio_value']['operator'] = 'contains';
  1527. $handler->display->display_options['filters']['field_reference_materio_value']['group'] = 1;
  1528. $handler->display->display_options['filters']['field_reference_materio_value']['exposed'] = TRUE;
  1529. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator_id'] = 'field_reference_materio_value_op';
  1530. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['label'] = 'Référence';
  1531. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator'] = 'field_reference_materio_value_op';
  1532. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['identifier'] = 'field_reference_materio_value';
  1533. $handler->display->display_options['path'] = 'admin/content/pages';
  1534. $handler->display->display_options['menu']['type'] = 'tab';
  1535. $handler->display->display_options['menu']['title'] = 'Page/faq/didactique';
  1536. $handler->display->display_options['menu']['description'] = 'Materiaux / Brèves';
  1537. $handler->display->display_options['menu']['weight'] = '-100';
  1538. $handler->display->display_options['menu']['context'] = 0;
  1539. $handler->display->display_options['menu']['context_only_inline'] = 0;
  1540. $handler->display->display_options['tab_options']['type'] = 'normal';
  1541. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1542. $handler->display->display_options['tab_options']['weight'] = '0';
  1543. $translatables['admin_contents'] = array(
  1544. t('Master'),
  1545. t('Contenu'),
  1546. t('plus'),
  1547. t('Filtrer'),
  1548. t('réinitialiser'),
  1549. t('Trier par'),
  1550. t('Asc'),
  1551. t('Desc'),
  1552. t('Éléments par page'),
  1553. t('- Tout -'),
  1554. t('Décalage'),
  1555. t('« premier'),
  1556. t('‹ précédent'),
  1557. t('suivant ›'),
  1558. t('dernier »'),
  1559. t('Résumé'),
  1560. t('Displaying @start - @end of @total'),
  1561. t('Type'),
  1562. t('Title / Name'),
  1563. t('Référence Materio'),
  1564. t('Lien de modification'),
  1565. t('<span class="node-edit">[edit_node]</span>'),
  1566. t('Fabricants / Distributeurs'),
  1567. t('Distributor'),
  1568. t('Langue'),
  1569. t('Lien de traduction'),
  1570. t('<span class="button">[translate_node]</span>'),
  1571. t('Statut de la traduction'),
  1572. t('État actuel'),
  1573. t('Date de mise à jour'),
  1574. t('Mémo'),
  1575. t('Lien de suppression'),
  1576. t('<span class="node-delete">[delete_node]</span>'),
  1577. t('Le titre contient'),
  1578. t('Processus'),
  1579. t('Type de contenu'),
  1580. t('Mémo contient'),
  1581. t('Page : all'),
  1582. t('Block'),
  1583. t('Recent Content'),
  1584. t('Titre'),
  1585. t('Modifier'),
  1586. t('Publié'),
  1587. t('Traduire'),
  1588. t('Page : materiaux'),
  1589. t('Materiaux/brèves'),
  1590. t('- Choisir une opération -'),
  1591. t('Image'),
  1592. t('Fabricants/Distributeurs'),
  1593. t('Fab :<br/>
  1594. [field_company_fab] '),
  1595. t('Distrib : <br />
  1596. [field_company_distrib]'),
  1597. t('Onthologie'),
  1598. t('Tags libres'),
  1599. t('Materiau(x) lié(s)'),
  1600. t('Materiaux :<br />[field_materiau_ref]
  1601. '),
  1602. t('Brève(s) liée(s)'),
  1603. t('Brèves :<br />[field_breve_ref]'),
  1604. t('Fichiers joints'),
  1605. t('Localisation'),
  1606. t('Title / Name contains'),
  1607. t('Famille'),
  1608. t('Référence'),
  1609. t('Onto'),
  1610. t('Tag libres'),
  1611. t('Société'),
  1612. t('Page : companies'),
  1613. t('Companies'),
  1614. t('Date de publication'),
  1615. t('Adresse'),
  1616. t('Téléphone'),
  1617. t('website'),
  1618. t('Courriel'),
  1619. t('Note'),
  1620. t('Le nom contient'),
  1621. t('Adresse - Code postal'),
  1622. t('Adresse - Localité (Ville)'),
  1623. t('Page : page/publicationfaq/didactique'),
  1624. t('page/publication/didactique/faq'),
  1625. t('Title/Name'),
  1626. );
  1627. $export['admin_contents'] = $view;
  1628. $view = new view();
  1629. $view->name = 'admin_peoples';
  1630. $view->description = 'Administrative view for peoples';
  1631. $view->tag = 'default';
  1632. $view->base_table = 'users';
  1633. $view->human_name = 'Admin Peoples';
  1634. $view->core = 7;
  1635. $view->api_version = '3.0';
  1636. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  1637. /* Display: Master */
  1638. $handler = $view->new_display('default', 'Master', 'default');
  1639. $handler->display->display_options['title'] = 'Admin Users';
  1640. $handler->display->display_options['use_more'] = TRUE;
  1641. $handler->display->display_options['use_more_always'] = FALSE;
  1642. $handler->display->display_options['use_more_text'] = 'plus';
  1643. $handler->display->display_options['access']['type'] = 'role';
  1644. $handler->display->display_options['access']['role'] = array(
  1645. 3 => '3',
  1646. 4 => '4',
  1647. );
  1648. $handler->display->display_options['cache']['type'] = 'none';
  1649. $handler->display->display_options['query']['type'] = 'views_query';
  1650. $handler->display->display_options['query']['options']['distinct'] = TRUE;
  1651. $handler->display->display_options['exposed_form']['type'] = 'basic';
  1652. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  1653. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  1654. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  1655. $handler->display->display_options['pager']['type'] = 'full';
  1656. $handler->display->display_options['pager']['options']['items_per_page'] = '25';
  1657. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1658. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1659. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1660. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1661. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1662. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1663. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1664. $handler->display->display_options['style_plugin'] = 'table';
  1665. $handler->display->display_options['style_options']['columns'] = array(
  1666. 'views_bulk_operations' => 'views_bulk_operations',
  1667. 'uid' => 'uid',
  1668. 'field_private_name_title' => 'mail',
  1669. 'field_first_name' => 'field_first_name',
  1670. 'field_name' => 'mail',
  1671. 'mail' => 'mail',
  1672. 'edit_node' => 'mail',
  1673. 'rid' => 'expiration',
  1674. 'expiration' => 'expiration',
  1675. 'field_company' => 'field_company',
  1676. 'field_organization' => 'field_company',
  1677. 'field_service' => 'field_company',
  1678. 'field_private_quality' => 'field_company',
  1679. 'field_siret' => 'field_company',
  1680. 'field_employee' => 'field_company',
  1681. 'field_user_website' => 'field_adresse',
  1682. 'field_adresse' => 'field_adresse',
  1683. 'field_private_phone' => 'field_adresse',
  1684. 'php_2' => 'php_2',
  1685. 'field_memo' => 'field_memo',
  1686. 'created' => 'created',
  1687. 'access' => 'access',
  1688. 'language' => 'language',
  1689. 'status' => 'status',
  1690. 'value' => 'value',
  1691. 'views_send' => 'views_send',
  1692. 'php_1' => 'php_1',
  1693. );
  1694. $handler->display->display_options['style_options']['default'] = 'created';
  1695. $handler->display->display_options['style_options']['info'] = array(
  1696. 'views_bulk_operations' => array(
  1697. 'align' => '',
  1698. 'separator' => '',
  1699. 'empty_column' => 0,
  1700. ),
  1701. 'uid' => array(
  1702. 'sortable' => 0,
  1703. 'default_sort_order' => 'asc',
  1704. 'align' => '',
  1705. 'separator' => '',
  1706. 'empty_column' => 0,
  1707. ),
  1708. 'field_private_name_title' => array(
  1709. 'sortable' => 0,
  1710. 'default_sort_order' => 'asc',
  1711. 'align' => '',
  1712. 'separator' => '',
  1713. 'empty_column' => 0,
  1714. ),
  1715. 'field_first_name' => array(
  1716. 'sortable' => 0,
  1717. 'default_sort_order' => 'asc',
  1718. 'align' => '',
  1719. 'separator' => '',
  1720. 'empty_column' => 0,
  1721. ),
  1722. 'field_name' => array(
  1723. 'sortable' => 0,
  1724. 'default_sort_order' => 'asc',
  1725. 'align' => '',
  1726. 'separator' => '',
  1727. 'empty_column' => 0,
  1728. ),
  1729. 'mail' => array(
  1730. 'sortable' => 1,
  1731. 'default_sort_order' => 'asc',
  1732. 'align' => '',
  1733. 'separator' => '<br />',
  1734. 'empty_column' => 0,
  1735. ),
  1736. 'edit_node' => array(
  1737. 'align' => '',
  1738. 'separator' => '',
  1739. 'empty_column' => 0,
  1740. ),
  1741. 'rid' => array(
  1742. 'align' => '',
  1743. 'separator' => '<br />',
  1744. 'empty_column' => 0,
  1745. ),
  1746. 'expiration' => array(
  1747. 'sortable' => 1,
  1748. 'default_sort_order' => 'asc',
  1749. 'align' => '',
  1750. 'separator' => '<br />',
  1751. 'empty_column' => 0,
  1752. ),
  1753. 'field_company' => array(
  1754. 'sortable' => 1,
  1755. 'default_sort_order' => 'asc',
  1756. 'align' => '',
  1757. 'separator' => '<br />',
  1758. 'empty_column' => 0,
  1759. ),
  1760. 'field_organization' => array(
  1761. 'sortable' => 0,
  1762. 'default_sort_order' => 'asc',
  1763. 'align' => '',
  1764. 'separator' => '',
  1765. 'empty_column' => 0,
  1766. ),
  1767. 'field_service' => array(
  1768. 'sortable' => 0,
  1769. 'default_sort_order' => 'asc',
  1770. 'align' => '',
  1771. 'separator' => '',
  1772. 'empty_column' => 0,
  1773. ),
  1774. 'field_private_quality' => array(
  1775. 'sortable' => 0,
  1776. 'default_sort_order' => 'asc',
  1777. 'align' => '',
  1778. 'separator' => '',
  1779. 'empty_column' => 0,
  1780. ),
  1781. 'field_siret' => array(
  1782. 'sortable' => 0,
  1783. 'default_sort_order' => 'asc',
  1784. 'align' => '',
  1785. 'separator' => '',
  1786. 'empty_column' => 0,
  1787. ),
  1788. 'field_employee' => array(
  1789. 'sortable' => 0,
  1790. 'default_sort_order' => 'asc',
  1791. 'align' => '',
  1792. 'separator' => '',
  1793. 'empty_column' => 0,
  1794. ),
  1795. 'field_user_website' => array(
  1796. 'sortable' => 0,
  1797. 'default_sort_order' => 'asc',
  1798. 'align' => '',
  1799. 'separator' => '',
  1800. 'empty_column' => 0,
  1801. ),
  1802. 'field_adresse' => array(
  1803. 'sortable' => 0,
  1804. 'default_sort_order' => 'asc',
  1805. 'align' => '',
  1806. 'separator' => '<br />',
  1807. 'empty_column' => 0,
  1808. ),
  1809. 'field_private_phone' => array(
  1810. 'sortable' => 0,
  1811. 'default_sort_order' => 'asc',
  1812. 'align' => '',
  1813. 'separator' => '<br />',
  1814. 'empty_column' => 0,
  1815. ),
  1816. 'php_2' => array(
  1817. 'align' => '',
  1818. 'separator' => '',
  1819. 'empty_column' => 0,
  1820. ),
  1821. 'field_memo' => array(
  1822. 'sortable' => 0,
  1823. 'default_sort_order' => 'asc',
  1824. 'align' => '',
  1825. 'separator' => '',
  1826. 'empty_column' => 0,
  1827. ),
  1828. 'created' => array(
  1829. 'sortable' => 1,
  1830. 'default_sort_order' => 'desc',
  1831. 'align' => '',
  1832. 'separator' => '',
  1833. 'empty_column' => 0,
  1834. ),
  1835. 'access' => array(
  1836. 'sortable' => 1,
  1837. 'default_sort_order' => 'desc',
  1838. 'align' => '',
  1839. 'separator' => '',
  1840. 'empty_column' => 0,
  1841. ),
  1842. 'language' => array(
  1843. 'sortable' => 0,
  1844. 'default_sort_order' => 'asc',
  1845. 'align' => '',
  1846. 'separator' => '',
  1847. 'empty_column' => 0,
  1848. ),
  1849. 'status' => array(
  1850. 'sortable' => 0,
  1851. 'default_sort_order' => 'asc',
  1852. 'align' => '',
  1853. 'separator' => '',
  1854. 'empty_column' => 0,
  1855. ),
  1856. 'value' => array(
  1857. 'sortable' => 1,
  1858. 'default_sort_order' => 'asc',
  1859. 'align' => '',
  1860. 'separator' => '',
  1861. 'empty_column' => 0,
  1862. ),
  1863. 'views_send' => array(
  1864. 'align' => '',
  1865. 'separator' => '',
  1866. 'empty_column' => 0,
  1867. ),
  1868. 'php_1' => array(
  1869. 'align' => '',
  1870. 'separator' => '',
  1871. 'empty_column' => 0,
  1872. ),
  1873. );
  1874. /* Entête: Global : Résumé des résultats */
  1875. $handler->display->display_options['header']['result']['id'] = 'result';
  1876. $handler->display->display_options['header']['result']['table'] = 'views';
  1877. $handler->display->display_options['header']['result']['field'] = 'result';
  1878. $handler->display->display_options['header']['result']['label'] = 'Résumé';
  1879. /* Relation: Utilisateur : Profil */
  1880. $handler->display->display_options['relationships']['profile']['id'] = 'profile';
  1881. $handler->display->display_options['relationships']['profile']['table'] = 'users';
  1882. $handler->display->display_options['relationships']['profile']['field'] = 'profile';
  1883. $handler->display->display_options['relationships']['profile']['bundle_types'] = array(
  1884. 'adherent' => 'adherent',
  1885. );
  1886. /* Champ: Opérations en masse : Utilisateur */
  1887. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  1888. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'users';
  1889. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  1890. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  1891. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  1892. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  1893. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  1894. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  1895. 'action::views_bulk_operations_user_cancel_action' => array(
  1896. 'selected' => 1,
  1897. 'postpone_processing' => 0,
  1898. 'skip_confirmation' => 0,
  1899. 'override_label' => 0,
  1900. 'label' => '',
  1901. ),
  1902. 'action::user_block_user_action' => array(
  1903. 'selected' => 1,
  1904. 'postpone_processing' => 0,
  1905. 'skip_confirmation' => 0,
  1906. 'override_label' => 0,
  1907. 'label' => '',
  1908. ),
  1909. 'action::views_bulk_operations_modify_action' => array(
  1910. 'selected' => 1,
  1911. 'postpone_processing' => 0,
  1912. 'skip_confirmation' => 0,
  1913. 'override_label' => 0,
  1914. 'label' => '',
  1915. 'settings' => array(
  1916. 'show_all_tokens' => 1,
  1917. 'display_values' => array(
  1918. 'status' => 'status',
  1919. 'user::field_memo' => 'user::field_memo',
  1920. ),
  1921. ),
  1922. ),
  1923. );
  1924. /* Champ: Utilisateur : Uid */
  1925. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  1926. $handler->display->display_options['fields']['uid']['table'] = 'users';
  1927. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  1928. $handler->display->display_options['fields']['uid']['label'] = '';
  1929. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  1930. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  1931. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  1932. /* Champ: Profil : Title */
  1933. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  1934. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  1935. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  1936. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  1937. $handler->display->display_options['fields']['field_private_name_title']['label'] = 'Titre';
  1938. /* Champ: Profil : First name */
  1939. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  1940. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  1941. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  1942. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  1943. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  1944. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  1945. /* Champ: Profil : Name */
  1946. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  1947. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  1948. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  1949. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  1950. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  1951. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  1952. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  1953. /* Champ: Utilisateur : Courriel */
  1954. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  1955. $handler->display->display_options['fields']['mail']['table'] = 'users';
  1956. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  1957. /* Champ: Utilisateur : Lien de modification */
  1958. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  1959. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  1960. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  1961. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  1962. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  1963. /* Champ: Utilisateur : Rôles */
  1964. $handler->display->display_options['fields']['rid']['id'] = 'rid';
  1965. $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  1966. $handler->display->display_options['fields']['rid']['field'] = 'rid';
  1967. /* Champ: Utilisateur : Ubercart Role expiration date/time */
  1968. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  1969. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  1970. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  1971. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  1972. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  1973. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  1974. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  1975. /* Champ: Utilisateur : Company */
  1976. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  1977. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  1978. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  1979. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  1980. /* Champ: Profil : Organization */
  1981. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  1982. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  1983. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  1984. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  1985. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  1986. /* Champ: Profil : service */
  1987. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  1988. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  1989. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  1990. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  1991. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  1992. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  1993. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  1994. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  1995. /* Champ: Profil : Quality */
  1996. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  1997. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  1998. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  1999. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  2000. $handler->display->display_options['fields']['field_private_quality']['label'] = 'Qualité';
  2001. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  2002. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  2003. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  2004. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  2005. /* Champ: Profil : SIRET */
  2006. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  2007. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  2008. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  2009. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  2010. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  2011. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  2012. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  2013. /* Champ: Profil : Employee */
  2014. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  2015. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  2016. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  2017. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  2018. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  2019. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  2020. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  2021. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  2022. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  2023. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  2024. 'thousand_separator' => ' ',
  2025. 'prefix_suffix' => 1,
  2026. );
  2027. /* Champ: Profil : Website */
  2028. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  2029. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  2030. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  2031. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  2032. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  2033. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  2034. /* Champ: Profil : Adresse */
  2035. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  2036. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  2037. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  2038. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  2039. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  2040. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  2041. 'use_widget_handlers' => 1,
  2042. 'format_handlers' => array(
  2043. 'address' => 'address',
  2044. ),
  2045. );
  2046. /* Champ: Profil : Phone */
  2047. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  2048. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  2049. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  2050. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  2051. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  2052. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  2053. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  2054. /* Champ: Global : PHP */
  2055. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  2056. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  2057. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  2058. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  2059. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  2060. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  2061. //dsm($subscriber);
  2062. foreach($subscriber->tids as $tid){
  2063. $new = simplenews_category_load($tid);
  2064. $news[] = $new->name;
  2065. }
  2066. return $news;';
  2067. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  2068. print implode($value, \'<br>\');
  2069. ?>';
  2070. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  2071. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  2072. /* Champ: Champ : Mémo */
  2073. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  2074. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  2075. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  2076. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  2077. /* Champ: Utilisateur : Date de création */
  2078. $handler->display->display_options['fields']['created']['id'] = 'created';
  2079. $handler->display->display_options['fields']['created']['table'] = 'users';
  2080. $handler->display->display_options['fields']['created']['field'] = 'created';
  2081. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  2082. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  2083. /* Champ: Utilisateur : Dernier accès */
  2084. $handler->display->display_options['fields']['access']['id'] = 'access';
  2085. $handler->display->display_options['fields']['access']['table'] = 'users';
  2086. $handler->display->display_options['fields']['access']['field'] = 'access';
  2087. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  2088. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  2089. /* Champ: Utilisateur : Langue */
  2090. $handler->display->display_options['fields']['language']['id'] = 'language';
  2091. $handler->display->display_options['fields']['language']['table'] = 'users';
  2092. $handler->display->display_options['fields']['language']['field'] = 'language';
  2093. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  2094. /* Champ: Utilisateur : Actif */
  2095. $handler->display->display_options['fields']['status']['id'] = 'status';
  2096. $handler->display->display_options['fields']['status']['table'] = 'users';
  2097. $handler->display->display_options['fields']['status']['field'] = 'status';
  2098. /* Champ: User Stats : Valeur */
  2099. $handler->display->display_options['fields']['value']['id'] = 'value';
  2100. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  2101. $handler->display->display_options['fields']['value']['field'] = 'value';
  2102. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  2103. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  2104. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  2105. /* Champ: Global : Envoyer le courriel */
  2106. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  2107. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  2108. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  2109. /* Champ: Global : PHP */
  2110. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  2111. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  2112. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  2113. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  2114. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  2115. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  2116. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  2117. $account = user_load($row->uid);
  2118. print user_pass_reset_url($account);
  2119. ?>';
  2120. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  2121. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  2122. /* Critère de filtrage: Utilisateur : Actif */
  2123. $handler->display->display_options['filters']['status']['id'] = 'status';
  2124. $handler->display->display_options['filters']['status']['table'] = 'users';
  2125. $handler->display->display_options['filters']['status']['field'] = 'status';
  2126. $handler->display->display_options['filters']['status']['value'] = '1';
  2127. $handler->display->display_options['filters']['status']['group'] = 1;
  2128. $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  2129. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  2130. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  2131. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  2132. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  2133. $handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
  2134. $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
  2135. 2 => '2',
  2136. 1 => 0,
  2137. 9 => 0,
  2138. 7 => 0,
  2139. 10 => 0,
  2140. 11 => 0,
  2141. 6 => 0,
  2142. 5 => 0,
  2143. 8 => 0,
  2144. 3 => 0,
  2145. 4 => 0,
  2146. );
  2147. /* Critère de filtrage: Utilisateur : Rôles */
  2148. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  2149. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  2150. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  2151. $handler->display->display_options['filters']['rid']['value'] = array(
  2152. 9 => '9',
  2153. 7 => '7',
  2154. 10 => '10',
  2155. 6 => '6',
  2156. 5 => '5',
  2157. 8 => '8',
  2158. 3 => '3',
  2159. );
  2160. $handler->display->display_options['filters']['rid']['group'] = 1;
  2161. $handler->display->display_options['filters']['rid']['exposed'] = TRUE;
  2162. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  2163. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  2164. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  2165. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  2166. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  2167. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  2168. 2 => 0,
  2169. 9 => '9',
  2170. 7 => '7',
  2171. 10 => '10',
  2172. 11 => '11',
  2173. 6 => '6',
  2174. 5 => '5',
  2175. 1 => 0,
  2176. 8 => 0,
  2177. 3 => 0,
  2178. 4 => 0,
  2179. );
  2180. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  2181. /* Critère de filtrage: Utilisateur : Company (field_company) */
  2182. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  2183. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  2184. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  2185. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  2186. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  2187. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  2188. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  2189. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  2190. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  2191. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  2192. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  2193. /* Critère de filtrage: Profil : Organization (field_organization) */
  2194. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  2195. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  2196. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  2197. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  2198. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  2199. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  2200. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  2201. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  2202. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  2203. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  2204. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  2205. 2 => '2',
  2206. 1 => 0,
  2207. 9 => 0,
  2208. 7 => 0,
  2209. 10 => 0,
  2210. 6 => 0,
  2211. 8 => 0,
  2212. 5 => 0,
  2213. 3 => 0,
  2214. 4 => 0,
  2215. );
  2216. /* Critère de filtrage: Champ : Mémo (field_memo) */
  2217. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  2218. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  2219. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  2220. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  2221. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  2222. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  2223. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  2224. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  2225. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  2226. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  2227. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  2228. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  2229. 2 => '2',
  2230. 1 => 0,
  2231. 7 => 0,
  2232. 6 => 0,
  2233. 8 => 0,
  2234. 5 => 0,
  2235. 3 => 0,
  2236. 4 => 0,
  2237. );
  2238. /* Critère de filtrage: Utilisateur : Rôles */
  2239. $handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
  2240. $handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
  2241. $handler->display->display_options['filters']['rid_1']['field'] = 'rid';
  2242. $handler->display->display_options['filters']['rid_1']['operator'] = 'not';
  2243. $handler->display->display_options['filters']['rid_1']['value'] = array(
  2244. 4 => '4',
  2245. );
  2246. $handler->display->display_options['filters']['rid_1']['group'] = 1;
  2247. /* Critère de filtrage: Utilisateur : Courriel */
  2248. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  2249. $handler->display->display_options['filters']['mail']['table'] = 'users';
  2250. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  2251. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  2252. $handler->display->display_options['filters']['mail']['group'] = 1;
  2253. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  2254. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  2255. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  2256. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  2257. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  2258. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  2259. 2 => '2',
  2260. 1 => 0,
  2261. 7 => 0,
  2262. 6 => 0,
  2263. 5 => 0,
  2264. 3 => 0,
  2265. 4 => 0,
  2266. );
  2267. /* Critère de filtrage: Utilisateur : Langue */
  2268. $handler->display->display_options['filters']['language']['id'] = 'language';
  2269. $handler->display->display_options['filters']['language']['table'] = 'users';
  2270. $handler->display->display_options['filters']['language']['field'] = 'language';
  2271. $handler->display->display_options['filters']['language']['value'] = array(
  2272. 'en' => 'en',
  2273. 'fr' => 'fr',
  2274. );
  2275. $handler->display->display_options['filters']['language']['group'] = 1;
  2276. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  2277. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  2278. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  2279. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  2280. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  2281. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  2282. 2 => '2',
  2283. 1 => 0,
  2284. 7 => 0,
  2285. 6 => 0,
  2286. 8 => 0,
  2287. 5 => 0,
  2288. 3 => 0,
  2289. 4 => 0,
  2290. );
  2291. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  2292. /* Critère de filtrage: Utilisateur : Courriel */
  2293. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  2294. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  2295. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  2296. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  2297. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  2298. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  2299. /* Display: Page : all */
  2300. $handler = $view->new_display('page', 'Page : all', 'page');
  2301. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  2302. $handler->display->display_options['path'] = 'admin/users';
  2303. $handler->display->display_options['menu']['title'] = 'Peoples';
  2304. $handler->display->display_options['menu']['weight'] = '6';
  2305. $handler->display->display_options['menu']['context'] = 0;
  2306. $handler->display->display_options['menu']['context_only_inline'] = 0;
  2307. /* Display: Data export */
  2308. $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  2309. $handler->display->display_options['pager']['type'] = 'some';
  2310. $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  2311. $handler->display->display_options['path'] = 'admin/users/export';
  2312. /* Display: Page : members */
  2313. $handler = $view->new_display('page', 'Page : members', 'page_1');
  2314. $handler->display->display_options['defaults']['title'] = FALSE;
  2315. $handler->display->display_options['title'] = 'Admin Members';
  2316. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  2317. $handler->display->display_options['defaults']['fields'] = FALSE;
  2318. /* Champ: Opérations en masse : Utilisateur */
  2319. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  2320. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'users';
  2321. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  2322. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  2323. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  2324. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  2325. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  2326. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  2327. 'action::views_bulk_operations_user_cancel_action' => array(
  2328. 'selected' => 1,
  2329. 'postpone_processing' => 0,
  2330. 'skip_confirmation' => 0,
  2331. 'override_label' => 0,
  2332. 'label' => '',
  2333. ),
  2334. 'action::user_block_user_action' => array(
  2335. 'selected' => 1,
  2336. 'postpone_processing' => 0,
  2337. 'skip_confirmation' => 0,
  2338. 'override_label' => 0,
  2339. 'label' => '',
  2340. ),
  2341. 'action::views_bulk_operations_modify_action' => array(
  2342. 'selected' => 1,
  2343. 'postpone_processing' => 0,
  2344. 'skip_confirmation' => 0,
  2345. 'override_label' => 0,
  2346. 'label' => '',
  2347. 'settings' => array(
  2348. 'show_all_tokens' => 1,
  2349. 'display_values' => array(
  2350. 'status' => 'status',
  2351. 'user::field_memo' => 'user::field_memo',
  2352. ),
  2353. ),
  2354. ),
  2355. );
  2356. /* Champ: Utilisateur : Uid */
  2357. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  2358. $handler->display->display_options['fields']['uid']['table'] = 'users';
  2359. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  2360. $handler->display->display_options['fields']['uid']['label'] = '';
  2361. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  2362. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  2363. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  2364. /* Champ: Profil : Title */
  2365. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  2366. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  2367. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  2368. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  2369. $handler->display->display_options['fields']['field_private_name_title']['label'] = 'Titre';
  2370. /* Champ: Profil : First name */
  2371. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  2372. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  2373. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  2374. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  2375. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  2376. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  2377. /* Champ: Profil : Name */
  2378. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  2379. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  2380. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  2381. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  2382. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  2383. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  2384. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  2385. /* Champ: Utilisateur : Courriel */
  2386. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  2387. $handler->display->display_options['fields']['mail']['table'] = 'users';
  2388. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  2389. /* Champ: Utilisateur : Lien de modification */
  2390. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  2391. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  2392. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  2393. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  2394. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  2395. /* Champ: Utilisateur : Ubercart Role expiration date/time */
  2396. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  2397. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  2398. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  2399. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  2400. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  2401. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  2402. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  2403. /* Champ: Utilisateur : Company */
  2404. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  2405. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  2406. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  2407. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  2408. /* Champ: Profil : Organization */
  2409. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  2410. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  2411. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  2412. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  2413. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  2414. /* Champ: Profil : service */
  2415. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  2416. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  2417. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  2418. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  2419. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  2420. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  2421. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  2422. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  2423. /* Champ: Profil : Quality */
  2424. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  2425. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  2426. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  2427. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  2428. $handler->display->display_options['fields']['field_private_quality']['label'] = 'Qualité';
  2429. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  2430. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  2431. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  2432. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  2433. /* Champ: Profil : SIRET */
  2434. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  2435. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  2436. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  2437. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  2438. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  2439. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  2440. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  2441. /* Champ: Profil : Employee */
  2442. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  2443. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  2444. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  2445. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  2446. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  2447. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  2448. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  2449. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  2450. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  2451. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  2452. 'thousand_separator' => ' ',
  2453. 'prefix_suffix' => 1,
  2454. );
  2455. /* Champ: Profil : Website */
  2456. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  2457. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  2458. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  2459. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  2460. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  2461. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  2462. /* Champ: Profil : Adresse */
  2463. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  2464. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  2465. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  2466. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  2467. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  2468. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  2469. 'use_widget_handlers' => 1,
  2470. 'format_handlers' => array(
  2471. 'address' => 'address',
  2472. ),
  2473. );
  2474. /* Champ: Profil : Phone */
  2475. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  2476. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  2477. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  2478. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  2479. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  2480. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  2481. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  2482. /* Champ: Global : PHP */
  2483. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  2484. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  2485. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  2486. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  2487. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  2488. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  2489. //dsm($subscriber);
  2490. foreach($subscriber->tids as $tid){
  2491. $new = simplenews_category_load($tid);
  2492. $news[] = $new->name;
  2493. }
  2494. return $news;';
  2495. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  2496. print implode($value, \'<br>\');
  2497. ?>';
  2498. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  2499. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  2500. /* Champ: Champ : Mémo */
  2501. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  2502. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  2503. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  2504. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  2505. /* Champ: Utilisateur : Date de création */
  2506. $handler->display->display_options['fields']['created']['id'] = 'created';
  2507. $handler->display->display_options['fields']['created']['table'] = 'users';
  2508. $handler->display->display_options['fields']['created']['field'] = 'created';
  2509. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  2510. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  2511. /* Champ: Utilisateur : Dernier accès */
  2512. $handler->display->display_options['fields']['access']['id'] = 'access';
  2513. $handler->display->display_options['fields']['access']['table'] = 'users';
  2514. $handler->display->display_options['fields']['access']['field'] = 'access';
  2515. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  2516. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  2517. /* Champ: Utilisateur : Langue */
  2518. $handler->display->display_options['fields']['language']['id'] = 'language';
  2519. $handler->display->display_options['fields']['language']['table'] = 'users';
  2520. $handler->display->display_options['fields']['language']['field'] = 'language';
  2521. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  2522. /* Champ: User Stats : Valeur */
  2523. $handler->display->display_options['fields']['value']['id'] = 'value';
  2524. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  2525. $handler->display->display_options['fields']['value']['field'] = 'value';
  2526. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  2527. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  2528. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  2529. /* Champ: Global : Envoyer le courriel */
  2530. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  2531. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  2532. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  2533. /* Champ: Global : PHP */
  2534. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  2535. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  2536. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  2537. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  2538. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  2539. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  2540. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  2541. $account = user_load($row->uid);
  2542. print user_pass_reset_url($account);
  2543. ?>';
  2544. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  2545. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  2546. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  2547. $handler->display->display_options['defaults']['filters'] = FALSE;
  2548. /* Critère de filtrage: Utilisateur : Actif */
  2549. $handler->display->display_options['filters']['status']['id'] = 'status';
  2550. $handler->display->display_options['filters']['status']['table'] = 'users';
  2551. $handler->display->display_options['filters']['status']['field'] = 'status';
  2552. $handler->display->display_options['filters']['status']['value'] = '1';
  2553. $handler->display->display_options['filters']['status']['group'] = 1;
  2554. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  2555. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  2556. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  2557. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  2558. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  2559. /* Critère de filtrage: Utilisateur : Rôles */
  2560. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  2561. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  2562. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  2563. $handler->display->display_options['filters']['rid']['value'] = array(
  2564. 6 => '6',
  2565. );
  2566. $handler->display->display_options['filters']['rid']['group'] = 1;
  2567. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  2568. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  2569. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  2570. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  2571. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  2572. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  2573. 2 => '2',
  2574. 1 => 0,
  2575. 9 => 0,
  2576. 7 => 0,
  2577. 10 => 0,
  2578. 6 => 0,
  2579. 8 => 0,
  2580. 5 => 0,
  2581. 3 => 0,
  2582. 4 => 0,
  2583. );
  2584. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  2585. /* Critère de filtrage: Utilisateur : Company (field_company) */
  2586. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  2587. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  2588. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  2589. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  2590. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  2591. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  2592. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  2593. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  2594. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  2595. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  2596. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  2597. /* Critère de filtrage: Profil : Organization (field_organization) */
  2598. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  2599. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  2600. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  2601. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  2602. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  2603. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  2604. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  2605. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  2606. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  2607. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  2608. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  2609. 2 => '2',
  2610. 1 => 0,
  2611. 9 => 0,
  2612. 7 => 0,
  2613. 10 => 0,
  2614. 6 => 0,
  2615. 8 => 0,
  2616. 5 => 0,
  2617. 3 => 0,
  2618. 4 => 0,
  2619. );
  2620. /* Critère de filtrage: Champ : Mémo (field_memo) */
  2621. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  2622. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  2623. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  2624. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  2625. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  2626. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  2627. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  2628. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  2629. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  2630. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  2631. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  2632. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  2633. 2 => '2',
  2634. 1 => 0,
  2635. 7 => 0,
  2636. 6 => 0,
  2637. 8 => 0,
  2638. 5 => 0,
  2639. 3 => 0,
  2640. 4 => 0,
  2641. );
  2642. /* Critère de filtrage: Utilisateur : Courriel */
  2643. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  2644. $handler->display->display_options['filters']['mail']['table'] = 'users';
  2645. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  2646. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  2647. $handler->display->display_options['filters']['mail']['group'] = 1;
  2648. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  2649. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  2650. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  2651. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  2652. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  2653. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  2654. 2 => '2',
  2655. 1 => 0,
  2656. 7 => 0,
  2657. 6 => 0,
  2658. 5 => 0,
  2659. 3 => 0,
  2660. 4 => 0,
  2661. );
  2662. /* Critère de filtrage: Utilisateur : Langue */
  2663. $handler->display->display_options['filters']['language']['id'] = 'language';
  2664. $handler->display->display_options['filters']['language']['table'] = 'users';
  2665. $handler->display->display_options['filters']['language']['field'] = 'language';
  2666. $handler->display->display_options['filters']['language']['value'] = array(
  2667. 'en' => 'en',
  2668. 'fr' => 'fr',
  2669. );
  2670. $handler->display->display_options['filters']['language']['group'] = 1;
  2671. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  2672. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  2673. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  2674. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  2675. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  2676. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  2677. 2 => '2',
  2678. 1 => 0,
  2679. 7 => 0,
  2680. 6 => 0,
  2681. 8 => 0,
  2682. 5 => 0,
  2683. 3 => 0,
  2684. 4 => 0,
  2685. );
  2686. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  2687. /* Critère de filtrage: Utilisateur : Courriel */
  2688. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  2689. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  2690. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  2691. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  2692. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  2693. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  2694. $handler->display->display_options['path'] = 'admin/users/members';
  2695. $handler->display->display_options['menu']['title'] = 'Members';
  2696. $handler->display->display_options['menu']['weight'] = '6';
  2697. $handler->display->display_options['menu']['context'] = 0;
  2698. $handler->display->display_options['menu']['context_only_inline'] = 0;
  2699. /* Display: Page : industriels */
  2700. $handler = $view->new_display('page', 'Page : industriels', 'page_2');
  2701. $handler->display->display_options['defaults']['title'] = FALSE;
  2702. $handler->display->display_options['title'] = 'Admin Industriels';
  2703. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  2704. $handler->display->display_options['defaults']['fields'] = FALSE;
  2705. /* Champ: Opérations en masse : Utilisateur */
  2706. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  2707. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'users';
  2708. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  2709. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  2710. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  2711. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  2712. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  2713. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  2714. 'action::views_bulk_operations_user_cancel_action' => array(
  2715. 'selected' => 1,
  2716. 'postpone_processing' => 0,
  2717. 'skip_confirmation' => 0,
  2718. 'override_label' => 0,
  2719. 'label' => '',
  2720. ),
  2721. 'action::user_block_user_action' => array(
  2722. 'selected' => 1,
  2723. 'postpone_processing' => 0,
  2724. 'skip_confirmation' => 0,
  2725. 'override_label' => 0,
  2726. 'label' => '',
  2727. ),
  2728. 'action::views_bulk_operations_modify_action' => array(
  2729. 'selected' => 1,
  2730. 'postpone_processing' => 0,
  2731. 'skip_confirmation' => 0,
  2732. 'override_label' => 0,
  2733. 'label' => '',
  2734. 'settings' => array(
  2735. 'show_all_tokens' => 1,
  2736. 'display_values' => array(
  2737. 'status' => 'status',
  2738. 'user::field_memo' => 'user::field_memo',
  2739. ),
  2740. ),
  2741. ),
  2742. );
  2743. /* Champ: Utilisateur : Uid */
  2744. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  2745. $handler->display->display_options['fields']['uid']['table'] = 'users';
  2746. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  2747. $handler->display->display_options['fields']['uid']['label'] = '';
  2748. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  2749. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  2750. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  2751. /* Champ: Profil : Title */
  2752. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  2753. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  2754. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  2755. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  2756. $handler->display->display_options['fields']['field_private_name_title']['label'] = 'Titre';
  2757. /* Champ: Profil : First name */
  2758. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  2759. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  2760. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  2761. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  2762. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  2763. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  2764. /* Champ: Profil : Name */
  2765. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  2766. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  2767. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  2768. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  2769. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  2770. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  2771. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  2772. /* Champ: Utilisateur : Courriel */
  2773. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  2774. $handler->display->display_options['fields']['mail']['table'] = 'users';
  2775. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  2776. /* Champ: Utilisateur : Lien de modification */
  2777. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  2778. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  2779. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  2780. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  2781. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  2782. /* Champ: Utilisateur : Ubercart Role expiration date/time */
  2783. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  2784. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  2785. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  2786. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  2787. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  2788. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  2789. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  2790. /* Champ: Utilisateur : Company */
  2791. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  2792. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  2793. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  2794. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  2795. /* Champ: Profil : Organization */
  2796. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  2797. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  2798. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  2799. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  2800. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  2801. /* Champ: Profil : service */
  2802. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  2803. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  2804. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  2805. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  2806. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  2807. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  2808. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  2809. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  2810. /* Champ: Profil : Quality */
  2811. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  2812. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  2813. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  2814. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  2815. $handler->display->display_options['fields']['field_private_quality']['label'] = 'Qualité';
  2816. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  2817. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  2818. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  2819. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  2820. /* Champ: Profil : SIRET */
  2821. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  2822. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  2823. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  2824. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  2825. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  2826. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  2827. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  2828. /* Champ: Profil : Employee */
  2829. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  2830. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  2831. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  2832. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  2833. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  2834. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  2835. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  2836. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  2837. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  2838. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  2839. 'thousand_separator' => ' ',
  2840. 'prefix_suffix' => 1,
  2841. );
  2842. /* Champ: Profil : Website */
  2843. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  2844. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  2845. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  2846. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  2847. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  2848. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  2849. /* Champ: Profil : Adresse */
  2850. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  2851. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  2852. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  2853. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  2854. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  2855. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  2856. 'use_widget_handlers' => 1,
  2857. 'format_handlers' => array(
  2858. 'address' => 'address',
  2859. ),
  2860. );
  2861. /* Champ: Profil : Phone */
  2862. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  2863. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  2864. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  2865. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  2866. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  2867. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  2868. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  2869. /* Champ: Global : PHP */
  2870. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  2871. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  2872. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  2873. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  2874. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  2875. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  2876. //dsm($subscriber);
  2877. foreach($subscriber->tids as $tid){
  2878. $new = simplenews_category_load($tid);
  2879. $news[] = $new->name;
  2880. }
  2881. return $news;';
  2882. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  2883. print implode($value, \'<br>\');
  2884. ?>';
  2885. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  2886. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  2887. /* Champ: Champ : Mémo */
  2888. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  2889. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  2890. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  2891. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  2892. /* Champ: Utilisateur : Date de création */
  2893. $handler->display->display_options['fields']['created']['id'] = 'created';
  2894. $handler->display->display_options['fields']['created']['table'] = 'users';
  2895. $handler->display->display_options['fields']['created']['field'] = 'created';
  2896. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  2897. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  2898. /* Champ: Utilisateur : Dernier accès */
  2899. $handler->display->display_options['fields']['access']['id'] = 'access';
  2900. $handler->display->display_options['fields']['access']['table'] = 'users';
  2901. $handler->display->display_options['fields']['access']['field'] = 'access';
  2902. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  2903. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  2904. /* Champ: Utilisateur : Langue */
  2905. $handler->display->display_options['fields']['language']['id'] = 'language';
  2906. $handler->display->display_options['fields']['language']['table'] = 'users';
  2907. $handler->display->display_options['fields']['language']['field'] = 'language';
  2908. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  2909. /* Champ: User Stats : Valeur */
  2910. $handler->display->display_options['fields']['value']['id'] = 'value';
  2911. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  2912. $handler->display->display_options['fields']['value']['field'] = 'value';
  2913. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  2914. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  2915. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  2916. /* Champ: Global : Envoyer le courriel */
  2917. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  2918. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  2919. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  2920. /* Champ: Global : PHP */
  2921. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  2922. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  2923. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  2924. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  2925. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  2926. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  2927. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  2928. $account = user_load($row->uid);
  2929. print user_pass_reset_url($account);
  2930. ?>';
  2931. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  2932. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  2933. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  2934. $handler->display->display_options['defaults']['filters'] = FALSE;
  2935. /* Critère de filtrage: Utilisateur : Actif */
  2936. $handler->display->display_options['filters']['status']['id'] = 'status';
  2937. $handler->display->display_options['filters']['status']['table'] = 'users';
  2938. $handler->display->display_options['filters']['status']['field'] = 'status';
  2939. $handler->display->display_options['filters']['status']['value'] = '1';
  2940. $handler->display->display_options['filters']['status']['group'] = 1;
  2941. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  2942. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  2943. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  2944. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  2945. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  2946. /* Critère de filtrage: Utilisateur : Rôles */
  2947. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  2948. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  2949. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  2950. $handler->display->display_options['filters']['rid']['value'] = array(
  2951. 5 => '5',
  2952. );
  2953. $handler->display->display_options['filters']['rid']['group'] = 1;
  2954. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  2955. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  2956. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  2957. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  2958. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  2959. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  2960. 2 => '2',
  2961. 1 => 0,
  2962. 9 => 0,
  2963. 7 => 0,
  2964. 10 => 0,
  2965. 6 => 0,
  2966. 8 => 0,
  2967. 5 => 0,
  2968. 3 => 0,
  2969. 4 => 0,
  2970. );
  2971. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  2972. /* Critère de filtrage: Utilisateur : Company (field_company) */
  2973. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  2974. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  2975. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  2976. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  2977. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  2978. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  2979. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  2980. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  2981. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  2982. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  2983. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  2984. /* Critère de filtrage: Profil : Organization (field_organization) */
  2985. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  2986. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  2987. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  2988. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  2989. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  2990. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  2991. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  2992. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  2993. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  2994. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  2995. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  2996. 2 => '2',
  2997. 1 => 0,
  2998. 9 => 0,
  2999. 7 => 0,
  3000. 10 => 0,
  3001. 6 => 0,
  3002. 8 => 0,
  3003. 5 => 0,
  3004. 3 => 0,
  3005. 4 => 0,
  3006. );
  3007. /* Critère de filtrage: Champ : Mémo (field_memo) */
  3008. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  3009. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  3010. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  3011. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  3012. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  3013. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  3014. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  3015. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  3016. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  3017. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  3018. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  3019. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  3020. 2 => '2',
  3021. 1 => 0,
  3022. 7 => 0,
  3023. 6 => 0,
  3024. 8 => 0,
  3025. 5 => 0,
  3026. 3 => 0,
  3027. 4 => 0,
  3028. );
  3029. /* Critère de filtrage: Utilisateur : Courriel */
  3030. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  3031. $handler->display->display_options['filters']['mail']['table'] = 'users';
  3032. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  3033. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  3034. $handler->display->display_options['filters']['mail']['group'] = 1;
  3035. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  3036. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  3037. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  3038. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  3039. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  3040. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  3041. 2 => '2',
  3042. 1 => 0,
  3043. 7 => 0,
  3044. 6 => 0,
  3045. 5 => 0,
  3046. 3 => 0,
  3047. 4 => 0,
  3048. );
  3049. /* Critère de filtrage: Utilisateur : Langue */
  3050. $handler->display->display_options['filters']['language']['id'] = 'language';
  3051. $handler->display->display_options['filters']['language']['table'] = 'users';
  3052. $handler->display->display_options['filters']['language']['field'] = 'language';
  3053. $handler->display->display_options['filters']['language']['value'] = array(
  3054. 'en' => 'en',
  3055. 'fr' => 'fr',
  3056. );
  3057. $handler->display->display_options['filters']['language']['group'] = 1;
  3058. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  3059. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  3060. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  3061. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  3062. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  3063. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  3064. 2 => '2',
  3065. 1 => 0,
  3066. 7 => 0,
  3067. 6 => 0,
  3068. 8 => 0,
  3069. 5 => 0,
  3070. 3 => 0,
  3071. 4 => 0,
  3072. );
  3073. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  3074. /* Critère de filtrage: Utilisateur : Courriel */
  3075. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  3076. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  3077. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  3078. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  3079. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  3080. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  3081. $handler->display->display_options['path'] = 'admin/users/industriels';
  3082. $handler->display->display_options['menu']['title'] = 'Industriels';
  3083. $handler->display->display_options['menu']['weight'] = '6';
  3084. $handler->display->display_options['menu']['context'] = 0;
  3085. $handler->display->display_options['menu']['context_only_inline'] = 0;
  3086. /* Display: Page : students */
  3087. $handler = $view->new_display('page', 'Page : students', 'page_3');
  3088. $handler->display->display_options['defaults']['title'] = FALSE;
  3089. $handler->display->display_options['title'] = 'Admin Students';
  3090. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  3091. $handler->display->display_options['defaults']['fields'] = FALSE;
  3092. /* Champ: Opérations en masse : Utilisateur */
  3093. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  3094. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'users';
  3095. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  3096. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  3097. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  3098. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  3099. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  3100. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  3101. 'action::views_bulk_operations_user_cancel_action' => array(
  3102. 'selected' => 1,
  3103. 'postpone_processing' => 0,
  3104. 'skip_confirmation' => 0,
  3105. 'override_label' => 0,
  3106. 'label' => '',
  3107. ),
  3108. 'action::user_block_user_action' => array(
  3109. 'selected' => 1,
  3110. 'postpone_processing' => 0,
  3111. 'skip_confirmation' => 0,
  3112. 'override_label' => 0,
  3113. 'label' => '',
  3114. ),
  3115. 'action::views_bulk_operations_modify_action' => array(
  3116. 'selected' => 1,
  3117. 'postpone_processing' => 0,
  3118. 'skip_confirmation' => 0,
  3119. 'override_label' => 0,
  3120. 'label' => '',
  3121. 'settings' => array(
  3122. 'show_all_tokens' => 1,
  3123. 'display_values' => array(
  3124. 'status' => 'status',
  3125. 'user::field_memo' => 'user::field_memo',
  3126. ),
  3127. ),
  3128. ),
  3129. );
  3130. /* Champ: Utilisateur : Uid */
  3131. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  3132. $handler->display->display_options['fields']['uid']['table'] = 'users';
  3133. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  3134. $handler->display->display_options['fields']['uid']['label'] = '';
  3135. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  3136. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  3137. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  3138. /* Champ: Profil : Title */
  3139. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  3140. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  3141. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  3142. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  3143. $handler->display->display_options['fields']['field_private_name_title']['label'] = 'Titre';
  3144. /* Champ: Profil : First name */
  3145. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  3146. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  3147. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  3148. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  3149. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  3150. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  3151. /* Champ: Profil : Name */
  3152. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  3153. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  3154. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  3155. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  3156. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  3157. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  3158. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  3159. /* Champ: Utilisateur : Courriel */
  3160. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  3161. $handler->display->display_options['fields']['mail']['table'] = 'users';
  3162. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  3163. /* Champ: Utilisateur : Lien de modification */
  3164. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  3165. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  3166. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  3167. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  3168. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  3169. /* Champ: Utilisateur : Ubercart Role expiration date/time */
  3170. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  3171. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  3172. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  3173. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  3174. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  3175. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  3176. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  3177. /* Champ: Utilisateur : Company */
  3178. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  3179. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  3180. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  3181. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  3182. /* Champ: Profil : Organization */
  3183. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  3184. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  3185. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  3186. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  3187. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  3188. /* Champ: Profil : service */
  3189. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  3190. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  3191. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  3192. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  3193. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  3194. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  3195. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  3196. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  3197. /* Champ: Profil : Quality */
  3198. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  3199. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  3200. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  3201. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  3202. $handler->display->display_options['fields']['field_private_quality']['label'] = 'Qualité';
  3203. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  3204. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  3205. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  3206. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  3207. /* Champ: Profil : SIRET */
  3208. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  3209. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  3210. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  3211. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  3212. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  3213. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  3214. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  3215. /* Champ: Profil : Employee */
  3216. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  3217. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  3218. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  3219. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  3220. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  3221. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  3222. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  3223. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  3224. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  3225. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  3226. 'thousand_separator' => ' ',
  3227. 'prefix_suffix' => 1,
  3228. );
  3229. /* Champ: Profil : Website */
  3230. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  3231. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  3232. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  3233. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  3234. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  3235. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  3236. /* Champ: Profil : Adresse */
  3237. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  3238. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  3239. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  3240. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  3241. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  3242. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  3243. 'use_widget_handlers' => 1,
  3244. 'format_handlers' => array(
  3245. 'address' => 'address',
  3246. ),
  3247. );
  3248. /* Champ: Profil : Phone */
  3249. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  3250. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  3251. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  3252. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  3253. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  3254. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  3255. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  3256. /* Champ: Global : PHP */
  3257. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  3258. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  3259. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  3260. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  3261. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  3262. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  3263. //dsm($subscriber);
  3264. foreach($subscriber->tids as $tid){
  3265. $new = simplenews_category_load($tid);
  3266. $news[] = $new->name;
  3267. }
  3268. return $news;';
  3269. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  3270. print implode($value, \'<br>\');
  3271. ?>';
  3272. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  3273. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  3274. /* Champ: Champ : Mémo */
  3275. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  3276. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  3277. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  3278. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  3279. /* Champ: Utilisateur : Date de création */
  3280. $handler->display->display_options['fields']['created']['id'] = 'created';
  3281. $handler->display->display_options['fields']['created']['table'] = 'users';
  3282. $handler->display->display_options['fields']['created']['field'] = 'created';
  3283. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  3284. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  3285. /* Champ: Utilisateur : Dernier accès */
  3286. $handler->display->display_options['fields']['access']['id'] = 'access';
  3287. $handler->display->display_options['fields']['access']['table'] = 'users';
  3288. $handler->display->display_options['fields']['access']['field'] = 'access';
  3289. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  3290. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  3291. /* Champ: Utilisateur : Langue */
  3292. $handler->display->display_options['fields']['language']['id'] = 'language';
  3293. $handler->display->display_options['fields']['language']['table'] = 'users';
  3294. $handler->display->display_options['fields']['language']['field'] = 'language';
  3295. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  3296. /* Champ: User Stats : Valeur */
  3297. $handler->display->display_options['fields']['value']['id'] = 'value';
  3298. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  3299. $handler->display->display_options['fields']['value']['field'] = 'value';
  3300. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  3301. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  3302. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  3303. /* Champ: Global : Envoyer le courriel */
  3304. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  3305. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  3306. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  3307. /* Champ: Global : PHP */
  3308. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  3309. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  3310. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  3311. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  3312. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  3313. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  3314. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  3315. $account = user_load($row->uid);
  3316. print user_pass_reset_url($account);
  3317. ?>';
  3318. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  3319. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  3320. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  3321. $handler->display->display_options['defaults']['filters'] = FALSE;
  3322. /* Critère de filtrage: Utilisateur : Actif */
  3323. $handler->display->display_options['filters']['status']['id'] = 'status';
  3324. $handler->display->display_options['filters']['status']['table'] = 'users';
  3325. $handler->display->display_options['filters']['status']['field'] = 'status';
  3326. $handler->display->display_options['filters']['status']['value'] = '1';
  3327. $handler->display->display_options['filters']['status']['group'] = 1;
  3328. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  3329. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  3330. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  3331. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  3332. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  3333. /* Critère de filtrage: Utilisateur : Rôles */
  3334. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  3335. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  3336. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  3337. $handler->display->display_options['filters']['rid']['value'] = array(
  3338. 10 => '10',
  3339. );
  3340. $handler->display->display_options['filters']['rid']['group'] = 1;
  3341. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  3342. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  3343. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  3344. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  3345. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  3346. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  3347. 2 => '2',
  3348. 1 => 0,
  3349. 9 => 0,
  3350. 7 => 0,
  3351. 10 => 0,
  3352. 6 => 0,
  3353. 8 => 0,
  3354. 5 => 0,
  3355. 3 => 0,
  3356. 4 => 0,
  3357. );
  3358. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  3359. /* Critère de filtrage: Utilisateur : Company (field_company) */
  3360. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  3361. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  3362. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  3363. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  3364. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  3365. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  3366. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  3367. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  3368. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  3369. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  3370. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  3371. /* Critère de filtrage: Profil : Organization (field_organization) */
  3372. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  3373. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  3374. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  3375. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  3376. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  3377. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  3378. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  3379. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  3380. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  3381. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  3382. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  3383. 2 => '2',
  3384. 1 => 0,
  3385. 9 => 0,
  3386. 7 => 0,
  3387. 10 => 0,
  3388. 6 => 0,
  3389. 8 => 0,
  3390. 5 => 0,
  3391. 3 => 0,
  3392. 4 => 0,
  3393. );
  3394. /* Critère de filtrage: Champ : Mémo (field_memo) */
  3395. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  3396. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  3397. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  3398. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  3399. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  3400. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  3401. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  3402. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  3403. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  3404. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  3405. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  3406. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  3407. 2 => '2',
  3408. 1 => 0,
  3409. 7 => 0,
  3410. 6 => 0,
  3411. 8 => 0,
  3412. 5 => 0,
  3413. 3 => 0,
  3414. 4 => 0,
  3415. );
  3416. /* Critère de filtrage: Utilisateur : Courriel */
  3417. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  3418. $handler->display->display_options['filters']['mail']['table'] = 'users';
  3419. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  3420. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  3421. $handler->display->display_options['filters']['mail']['group'] = 1;
  3422. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  3423. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  3424. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  3425. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  3426. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  3427. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  3428. 2 => '2',
  3429. 1 => 0,
  3430. 7 => 0,
  3431. 6 => 0,
  3432. 5 => 0,
  3433. 3 => 0,
  3434. 4 => 0,
  3435. );
  3436. /* Critère de filtrage: Utilisateur : Langue */
  3437. $handler->display->display_options['filters']['language']['id'] = 'language';
  3438. $handler->display->display_options['filters']['language']['table'] = 'users';
  3439. $handler->display->display_options['filters']['language']['field'] = 'language';
  3440. $handler->display->display_options['filters']['language']['value'] = array(
  3441. 'en' => 'en',
  3442. 'fr' => 'fr',
  3443. );
  3444. $handler->display->display_options['filters']['language']['group'] = 1;
  3445. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  3446. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  3447. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  3448. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  3449. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  3450. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  3451. 2 => '2',
  3452. 1 => 0,
  3453. 7 => 0,
  3454. 6 => 0,
  3455. 8 => 0,
  3456. 5 => 0,
  3457. 3 => 0,
  3458. 4 => 0,
  3459. );
  3460. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  3461. /* Critère de filtrage: Utilisateur : Courriel */
  3462. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  3463. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  3464. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  3465. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  3466. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  3467. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  3468. $handler->display->display_options['path'] = 'admin/users/students';
  3469. $handler->display->display_options['menu']['title'] = 'Students';
  3470. $handler->display->display_options['menu']['weight'] = '6';
  3471. $handler->display->display_options['menu']['context'] = 0;
  3472. $handler->display->display_options['menu']['context_only_inline'] = 0;
  3473. /* Display: Page : Gratuits */
  3474. $handler = $view->new_display('page', 'Page : Gratuits', 'page_4');
  3475. $handler->display->display_options['defaults']['title'] = FALSE;
  3476. $handler->display->display_options['title'] = 'Admin Gratuit';
  3477. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  3478. $handler->display->display_options['defaults']['fields'] = FALSE;
  3479. /* Champ: Opérations en masse : Utilisateur */
  3480. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  3481. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'users';
  3482. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  3483. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  3484. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  3485. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  3486. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  3487. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  3488. 'action::views_bulk_operations_user_cancel_action' => array(
  3489. 'selected' => 1,
  3490. 'postpone_processing' => 0,
  3491. 'skip_confirmation' => 0,
  3492. 'override_label' => 0,
  3493. 'label' => '',
  3494. ),
  3495. 'action::user_block_user_action' => array(
  3496. 'selected' => 1,
  3497. 'postpone_processing' => 0,
  3498. 'skip_confirmation' => 0,
  3499. 'override_label' => 0,
  3500. 'label' => '',
  3501. ),
  3502. 'action::views_bulk_operations_modify_action' => array(
  3503. 'selected' => 1,
  3504. 'postpone_processing' => 0,
  3505. 'skip_confirmation' => 0,
  3506. 'override_label' => 0,
  3507. 'label' => '',
  3508. 'settings' => array(
  3509. 'show_all_tokens' => 1,
  3510. 'display_values' => array(
  3511. 'status' => 'status',
  3512. 'user::field_memo' => 'user::field_memo',
  3513. ),
  3514. ),
  3515. ),
  3516. );
  3517. /* Champ: Utilisateur : Uid */
  3518. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  3519. $handler->display->display_options['fields']['uid']['table'] = 'users';
  3520. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  3521. $handler->display->display_options['fields']['uid']['label'] = '';
  3522. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  3523. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  3524. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  3525. /* Champ: Profil : Title */
  3526. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  3527. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  3528. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  3529. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  3530. $handler->display->display_options['fields']['field_private_name_title']['label'] = 'Titre';
  3531. /* Champ: Profil : First name */
  3532. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  3533. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  3534. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  3535. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  3536. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  3537. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  3538. /* Champ: Profil : Name */
  3539. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  3540. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  3541. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  3542. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  3543. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  3544. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  3545. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  3546. /* Champ: Utilisateur : Courriel */
  3547. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  3548. $handler->display->display_options['fields']['mail']['table'] = 'users';
  3549. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  3550. /* Champ: Utilisateur : Lien de modification */
  3551. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  3552. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  3553. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  3554. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  3555. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  3556. /* Champ: Utilisateur : Ubercart Role expiration date/time */
  3557. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  3558. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  3559. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  3560. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  3561. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  3562. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  3563. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  3564. /* Champ: Utilisateur : Company */
  3565. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  3566. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  3567. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  3568. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  3569. /* Champ: Profil : Organization */
  3570. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  3571. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  3572. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  3573. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  3574. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  3575. /* Champ: Profil : service */
  3576. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  3577. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  3578. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  3579. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  3580. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  3581. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  3582. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  3583. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  3584. /* Champ: Profil : Quality */
  3585. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  3586. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  3587. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  3588. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  3589. $handler->display->display_options['fields']['field_private_quality']['label'] = 'Qualité';
  3590. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  3591. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  3592. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  3593. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  3594. /* Champ: Profil : SIRET */
  3595. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  3596. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  3597. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  3598. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  3599. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  3600. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  3601. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  3602. /* Champ: Profil : Employee */
  3603. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  3604. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  3605. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  3606. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  3607. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  3608. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  3609. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  3610. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  3611. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  3612. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  3613. 'thousand_separator' => ' ',
  3614. 'prefix_suffix' => 1,
  3615. );
  3616. /* Champ: Profil : Website */
  3617. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  3618. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  3619. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  3620. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  3621. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  3622. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  3623. /* Champ: Profil : Adresse */
  3624. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  3625. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  3626. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  3627. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  3628. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  3629. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  3630. 'use_widget_handlers' => 1,
  3631. 'format_handlers' => array(
  3632. 'address' => 'address',
  3633. ),
  3634. );
  3635. /* Champ: Profil : Phone */
  3636. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  3637. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  3638. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  3639. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  3640. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  3641. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  3642. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  3643. /* Champ: Global : PHP */
  3644. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  3645. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  3646. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  3647. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  3648. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  3649. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  3650. //dsm($subscriber);
  3651. foreach($subscriber->tids as $tid){
  3652. $new = simplenews_category_load($tid);
  3653. $news[] = $new->name;
  3654. }
  3655. return $news;';
  3656. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  3657. print implode($value, \'<br>\');
  3658. ?>';
  3659. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  3660. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  3661. /* Champ: Champ : Mémo */
  3662. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  3663. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  3664. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  3665. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  3666. /* Champ: Utilisateur : Date de création */
  3667. $handler->display->display_options['fields']['created']['id'] = 'created';
  3668. $handler->display->display_options['fields']['created']['table'] = 'users';
  3669. $handler->display->display_options['fields']['created']['field'] = 'created';
  3670. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  3671. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  3672. /* Champ: Utilisateur : Dernier accès */
  3673. $handler->display->display_options['fields']['access']['id'] = 'access';
  3674. $handler->display->display_options['fields']['access']['table'] = 'users';
  3675. $handler->display->display_options['fields']['access']['field'] = 'access';
  3676. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  3677. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  3678. /* Champ: Utilisateur : Langue */
  3679. $handler->display->display_options['fields']['language']['id'] = 'language';
  3680. $handler->display->display_options['fields']['language']['table'] = 'users';
  3681. $handler->display->display_options['fields']['language']['field'] = 'language';
  3682. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  3683. /* Champ: User Stats : Valeur */
  3684. $handler->display->display_options['fields']['value']['id'] = 'value';
  3685. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  3686. $handler->display->display_options['fields']['value']['field'] = 'value';
  3687. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  3688. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  3689. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  3690. /* Champ: Global : Envoyer le courriel */
  3691. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  3692. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  3693. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  3694. /* Champ: Global : PHP */
  3695. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  3696. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  3697. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  3698. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  3699. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  3700. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  3701. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  3702. $account = user_load($row->uid);
  3703. print user_pass_reset_url($account);
  3704. ?>';
  3705. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  3706. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  3707. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  3708. $handler->display->display_options['defaults']['filters'] = FALSE;
  3709. /* Critère de filtrage: Utilisateur : Rôles */
  3710. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  3711. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  3712. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  3713. $handler->display->display_options['filters']['rid']['value'] = array(
  3714. 9 => '9',
  3715. 7 => '7',
  3716. );
  3717. $handler->display->display_options['filters']['rid']['group'] = 1;
  3718. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  3719. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  3720. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  3721. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  3722. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  3723. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  3724. 2 => '2',
  3725. 1 => 0,
  3726. 9 => 0,
  3727. 7 => 0,
  3728. 10 => 0,
  3729. 6 => 0,
  3730. 8 => 0,
  3731. 5 => 0,
  3732. 3 => 0,
  3733. 4 => 0,
  3734. );
  3735. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  3736. $handler->display->display_options['filters']['rid']['reduce_duplicates'] = TRUE;
  3737. /* Critère de filtrage: Utilisateur : Company (field_company) */
  3738. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  3739. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  3740. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  3741. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  3742. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  3743. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  3744. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  3745. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  3746. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  3747. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  3748. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  3749. /* Critère de filtrage: Profil : Organization (field_organization) */
  3750. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  3751. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  3752. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  3753. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  3754. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  3755. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  3756. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  3757. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  3758. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  3759. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  3760. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  3761. 2 => '2',
  3762. 1 => 0,
  3763. 9 => 0,
  3764. 7 => 0,
  3765. 10 => 0,
  3766. 6 => 0,
  3767. 8 => 0,
  3768. 5 => 0,
  3769. 3 => 0,
  3770. 4 => 0,
  3771. );
  3772. /* Critère de filtrage: Champ : Mémo (field_memo) */
  3773. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  3774. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  3775. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  3776. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  3777. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  3778. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  3779. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  3780. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  3781. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  3782. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  3783. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  3784. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  3785. 2 => '2',
  3786. 1 => 0,
  3787. 7 => 0,
  3788. 6 => 0,
  3789. 8 => 0,
  3790. 5 => 0,
  3791. 3 => 0,
  3792. 4 => 0,
  3793. );
  3794. /* Critère de filtrage: Utilisateur : Courriel */
  3795. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  3796. $handler->display->display_options['filters']['mail']['table'] = 'users';
  3797. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  3798. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  3799. $handler->display->display_options['filters']['mail']['group'] = 1;
  3800. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  3801. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  3802. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  3803. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  3804. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  3805. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  3806. 2 => '2',
  3807. 1 => 0,
  3808. 7 => 0,
  3809. 6 => 0,
  3810. 5 => 0,
  3811. 3 => 0,
  3812. 4 => 0,
  3813. );
  3814. /* Critère de filtrage: Utilisateur : Langue */
  3815. $handler->display->display_options['filters']['language']['id'] = 'language';
  3816. $handler->display->display_options['filters']['language']['table'] = 'users';
  3817. $handler->display->display_options['filters']['language']['field'] = 'language';
  3818. $handler->display->display_options['filters']['language']['value'] = array(
  3819. 'en' => 'en',
  3820. 'fr' => 'fr',
  3821. );
  3822. $handler->display->display_options['filters']['language']['group'] = 1;
  3823. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  3824. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  3825. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  3826. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  3827. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  3828. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  3829. 2 => '2',
  3830. 1 => 0,
  3831. 7 => 0,
  3832. 6 => 0,
  3833. 8 => 0,
  3834. 5 => 0,
  3835. 3 => 0,
  3836. 4 => 0,
  3837. );
  3838. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  3839. /* Critère de filtrage: Utilisateur : Courriel */
  3840. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  3841. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  3842. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  3843. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  3844. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  3845. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  3846. /* Critère de filtrage: Utilisateur : Rôles */
  3847. $handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
  3848. $handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
  3849. $handler->display->display_options['filters']['rid_1']['field'] = 'rid';
  3850. $handler->display->display_options['filters']['rid_1']['operator'] = 'not';
  3851. $handler->display->display_options['filters']['rid_1']['value'] = array(
  3852. 10 => '10',
  3853. 11 => '11',
  3854. 6 => '6',
  3855. 5 => '5',
  3856. 8 => '8',
  3857. 3 => '3',
  3858. 4 => '4',
  3859. );
  3860. $handler->display->display_options['path'] = 'admin/users/gratuits';
  3861. $handler->display->display_options['menu']['title'] = 'Gratuits';
  3862. $handler->display->display_options['menu']['weight'] = '6';
  3863. $handler->display->display_options['menu']['context'] = 0;
  3864. $handler->display->display_options['menu']['context_only_inline'] = 0;
  3865. $translatables['admin_peoples'] = array(
  3866. t('Master'),
  3867. t('Admin Users'),
  3868. t('plus'),
  3869. t('Appliquer'),
  3870. t('Réinitialiser'),
  3871. t('Trier par'),
  3872. t('Asc'),
  3873. t('Desc'),
  3874. t('Éléments par page'),
  3875. t('- Tout -'),
  3876. t('Décalage'),
  3877. t('« premier'),
  3878. t('‹ précédent'),
  3879. t('suivant ›'),
  3880. t('dernier »'),
  3881. t('Résumé'),
  3882. t('Displaying @start - @end of @total'),
  3883. t('Profil'),
  3884. t('Utilisateur'),
  3885. t('- Choisir une opération -'),
  3886. t('Titre'),
  3887. t('Prénom'),
  3888. t('Nom'),
  3889. t('[field_first_name] [field_name]'),
  3890. t('Courriel'),
  3891. t('Lien de modification'),
  3892. t('<span class="node-edit">[edit_node]</span>'),
  3893. t('Rôles'),
  3894. t('Expiration'),
  3895. t('Société'),
  3896. t('Organisation'),
  3897. t('service'),
  3898. t('service : [field_service]'),
  3899. t('Qualité'),
  3900. t('quality : [field_private_quality]'),
  3901. t('SIRET'),
  3902. t('siret : [field_siret]'),
  3903. t('Employé'),
  3904. t('employee : [field_employee]'),
  3905. t('Site internet'),
  3906. t('Adresse'),
  3907. t('Téléphone'),
  3908. t('Lettres d’information'),
  3909. t('Mémo'),
  3910. t('Date de création'),
  3911. t('Dernier accès'),
  3912. t('Langue'),
  3913. t('Actif'),
  3914. t('Login count (?)'),
  3915. t('.'),
  3916. t(','),
  3917. t('Envoyer le courriel'),
  3918. t('One time login'),
  3919. t('Mémo Contient'),
  3920. t('Page : all'),
  3921. t('Data export'),
  3922. t('Page : members'),
  3923. t('Admin Members'),
  3924. t('Page : industriels'),
  3925. t('Admin Industriels'),
  3926. t('Page : students'),
  3927. t('Admin Students'),
  3928. t('Page : Gratuits'),
  3929. t('Admin Gratuit'),
  3930. );
  3931. $export['admin_peoples'] = $view;
  3932. $view = new view();
  3933. $view->name = 'admin_taxo';
  3934. $view->description = '';
  3935. $view->tag = 'default';
  3936. $view->base_table = 'taxonomy_term_data';
  3937. $view->human_name = 'Admin Taxo';
  3938. $view->core = 7;
  3939. $view->api_version = '3.0';
  3940. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  3941. /* Display: Master */
  3942. $handler = $view->new_display('default', 'Master', 'default');
  3943. $handler->display->display_options['title'] = 'Admin Taxo';
  3944. $handler->display->display_options['use_more_always'] = FALSE;
  3945. $handler->display->display_options['use_more_text'] = 'plus';
  3946. $handler->display->display_options['access']['type'] = 'perm';
  3947. $handler->display->display_options['cache']['type'] = 'none';
  3948. $handler->display->display_options['query']['type'] = 'views_query';
  3949. $handler->display->display_options['query']['options']['distinct'] = TRUE;
  3950. $handler->display->display_options['exposed_form']['type'] = 'basic';
  3951. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  3952. $handler->display->display_options['exposed_form']['options']['reset_button'] = TRUE;
  3953. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  3954. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  3955. $handler->display->display_options['pager']['type'] = 'full';
  3956. $handler->display->display_options['pager']['options']['items_per_page'] = '100';
  3957. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  3958. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  3959. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  3960. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  3961. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  3962. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  3963. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  3964. $handler->display->display_options['style_plugin'] = 'table';
  3965. $handler->display->display_options['style_options']['columns'] = array(
  3966. 'views_bulk_operations' => 'views_bulk_operations',
  3967. 'vid' => 'vid',
  3968. 'name_1' => 'name_1',
  3969. 'tid' => 'tid',
  3970. 'name_field_et_1' => 'name_field_et_1',
  3971. 'name_field_et' => 'name_field_et',
  3972. 'synonyms_synonym_et_1' => 'synonyms_synonym_et_1',
  3973. 'synonyms_synonym_et' => 'synonyms_synonym_et',
  3974. 'edit_term' => 'edit_term',
  3975. );
  3976. $handler->display->display_options['style_options']['default'] = 'tid';
  3977. $handler->display->display_options['style_options']['info'] = array(
  3978. 'views_bulk_operations' => array(
  3979. 'align' => '',
  3980. 'separator' => '',
  3981. 'empty_column' => 0,
  3982. ),
  3983. 'vid' => array(
  3984. 'sortable' => 1,
  3985. 'default_sort_order' => 'asc',
  3986. 'align' => '',
  3987. 'separator' => '',
  3988. 'empty_column' => 0,
  3989. ),
  3990. 'name_1' => array(
  3991. 'sortable' => 0,
  3992. 'default_sort_order' => 'asc',
  3993. 'align' => '',
  3994. 'separator' => ' | ',
  3995. 'empty_column' => 0,
  3996. ),
  3997. 'tid' => array(
  3998. 'sortable' => 1,
  3999. 'default_sort_order' => 'asc',
  4000. 'align' => '',
  4001. 'separator' => '',
  4002. 'empty_column' => 0,
  4003. ),
  4004. 'name_field_et_1' => array(
  4005. 'sortable' => 1,
  4006. 'default_sort_order' => 'asc',
  4007. 'align' => '',
  4008. 'separator' => '',
  4009. 'empty_column' => 0,
  4010. ),
  4011. 'name_field_et' => array(
  4012. 'sortable' => 1,
  4013. 'default_sort_order' => 'asc',
  4014. 'align' => '',
  4015. 'separator' => '',
  4016. 'empty_column' => 0,
  4017. ),
  4018. 'synonyms_synonym_et_1' => array(
  4019. 'align' => '',
  4020. 'separator' => '',
  4021. 'empty_column' => 0,
  4022. ),
  4023. 'synonyms_synonym_et' => array(
  4024. 'align' => '',
  4025. 'separator' => '',
  4026. 'empty_column' => 0,
  4027. ),
  4028. 'edit_term' => array(
  4029. 'align' => '',
  4030. 'separator' => '',
  4031. 'empty_column' => 0,
  4032. ),
  4033. );
  4034. /* Champ: Opérations en masse : Terme de taxonomie */
  4035. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  4036. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'taxonomy_term_data';
  4037. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  4038. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  4039. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  4040. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['row_clickable'] = 1;
  4041. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  4042. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  4043. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  4044. 'action::pathauto_taxonomy_term_update_action' => array(
  4045. 'selected' => 1,
  4046. 'postpone_processing' => 0,
  4047. 'skip_confirmation' => 0,
  4048. 'override_label' => 0,
  4049. 'label' => '',
  4050. ),
  4051. 'action::entity_translation_actions_modify_action' => array(
  4052. 'selected' => 1,
  4053. 'postpone_processing' => 0,
  4054. 'skip_confirmation' => 0,
  4055. 'override_label' => 0,
  4056. 'label' => '',
  4057. ),
  4058. 'action::views_bulk_operations_delete_revision' => array(
  4059. 'selected' => 1,
  4060. 'postpone_processing' => 0,
  4061. 'skip_confirmation' => 0,
  4062. 'override_label' => 0,
  4063. 'label' => '',
  4064. ),
  4065. );
  4066. /* Champ: Vocabulaire de taxonomie : Identifiant (ID) de vocabulaire */
  4067. $handler->display->display_options['fields']['vid']['id'] = 'vid';
  4068. $handler->display->display_options['fields']['vid']['table'] = 'taxonomy_vocabulary';
  4069. $handler->display->display_options['fields']['vid']['field'] = 'vid';
  4070. $handler->display->display_options['fields']['vid']['label'] = 'vid';
  4071. /* Champ: Vocabulaire de taxonomie : Nom */
  4072. $handler->display->display_options['fields']['name_1']['id'] = 'name_1';
  4073. $handler->display->display_options['fields']['name_1']['table'] = 'taxonomy_vocabulary';
  4074. $handler->display->display_options['fields']['name_1']['field'] = 'name';
  4075. $handler->display->display_options['fields']['name_1']['label'] = 'voc';
  4076. /* Champ: Terme de taxonomie : Identifiant (ID) du terme */
  4077. $handler->display->display_options['fields']['tid']['id'] = 'tid';
  4078. $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  4079. $handler->display->display_options['fields']['tid']['field'] = 'tid';
  4080. $handler->display->display_options['fields']['tid']['label'] = 'tid';
  4081. $handler->display->display_options['fields']['tid']['separator'] = '';
  4082. /* Champ: Traduction d'entité : Nom: translated */
  4083. $handler->display->display_options['fields']['name_field_et_1']['id'] = 'name_field_et_1';
  4084. $handler->display->display_options['fields']['name_field_et_1']['table'] = 'field_data_name_field';
  4085. $handler->display->display_options['fields']['name_field_et_1']['field'] = 'name_field_et';
  4086. $handler->display->display_options['fields']['name_field_et_1']['label'] = 'Nom EN';
  4087. $handler->display->display_options['fields']['name_field_et_1']['language'] = 'en';
  4088. /* Champ: Traduction d'entité : Nom: translated */
  4089. $handler->display->display_options['fields']['name_field_et']['id'] = 'name_field_et';
  4090. $handler->display->display_options['fields']['name_field_et']['table'] = 'field_data_name_field';
  4091. $handler->display->display_options['fields']['name_field_et']['field'] = 'name_field_et';
  4092. $handler->display->display_options['fields']['name_field_et']['label'] = 'Nom FR';
  4093. $handler->display->display_options['fields']['name_field_et']['hide_empty'] = TRUE;
  4094. $handler->display->display_options['fields']['name_field_et']['empty_zero'] = TRUE;
  4095. $handler->display->display_options['fields']['name_field_et']['language'] = 'fr';
  4096. /* Champ: Traduction d'entité : Synonyms: translated */
  4097. $handler->display->display_options['fields']['synonyms_synonym_et_1']['id'] = 'synonyms_synonym_et_1';
  4098. $handler->display->display_options['fields']['synonyms_synonym_et_1']['table'] = 'field_data_synonyms_synonym';
  4099. $handler->display->display_options['fields']['synonyms_synonym_et_1']['field'] = 'synonyms_synonym_et';
  4100. $handler->display->display_options['fields']['synonyms_synonym_et_1']['label'] = 'Synonyms EN';
  4101. $handler->display->display_options['fields']['synonyms_synonym_et_1']['delta_offset'] = '0';
  4102. $handler->display->display_options['fields']['synonyms_synonym_et_1']['language'] = 'en';
  4103. /* Champ: Traduction d'entité : Synonyms: translated */
  4104. $handler->display->display_options['fields']['synonyms_synonym_et']['id'] = 'synonyms_synonym_et';
  4105. $handler->display->display_options['fields']['synonyms_synonym_et']['table'] = 'field_data_synonyms_synonym';
  4106. $handler->display->display_options['fields']['synonyms_synonym_et']['field'] = 'synonyms_synonym_et';
  4107. $handler->display->display_options['fields']['synonyms_synonym_et']['label'] = 'Synonyms FR';
  4108. $handler->display->display_options['fields']['synonyms_synonym_et']['delta_offset'] = '0';
  4109. $handler->display->display_options['fields']['synonyms_synonym_et']['language'] = 'fr';
  4110. /* Champ: Terme de taxonomie : Lien de modification du terme */
  4111. $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  4112. $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  4113. $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  4114. $handler->display->display_options['fields']['edit_term']['text'] = 'modifier';
  4115. /* Critère de filtrage: Terme de taxonomie : Vocabulaire */
  4116. $handler->display->display_options['filters']['vid']['id'] = 'vid';
  4117. $handler->display->display_options['filters']['vid']['table'] = 'taxonomy_term_data';
  4118. $handler->display->display_options['filters']['vid']['field'] = 'vid';
  4119. $handler->display->display_options['filters']['vid']['value'] = array(
  4120. 15 => '15',
  4121. 4 => '4',
  4122. );
  4123. $handler->display->display_options['filters']['vid']['exposed'] = TRUE;
  4124. $handler->display->display_options['filters']['vid']['expose']['operator_id'] = 'vid_op';
  4125. $handler->display->display_options['filters']['vid']['expose']['label'] = 'Vocabulaire';
  4126. $handler->display->display_options['filters']['vid']['expose']['operator'] = 'vid_op';
  4127. $handler->display->display_options['filters']['vid']['expose']['identifier'] = 'vid';
  4128. $handler->display->display_options['filters']['vid']['expose']['remember_roles'] = array(
  4129. 2 => '2',
  4130. 1 => 0,
  4131. 9 => 0,
  4132. 7 => 0,
  4133. 10 => 0,
  4134. 11 => 0,
  4135. 6 => 0,
  4136. 5 => 0,
  4137. 8 => 0,
  4138. 3 => 0,
  4139. 4 => 0,
  4140. );
  4141. $handler->display->display_options['filters']['vid']['expose']['reduce'] = TRUE;
  4142. /* Critère de filtrage: Terme de taxonomie : Identifiant (ID) du terme */
  4143. $handler->display->display_options['filters']['tid_raw']['id'] = 'tid_raw';
  4144. $handler->display->display_options['filters']['tid_raw']['table'] = 'taxonomy_term_data';
  4145. $handler->display->display_options['filters']['tid_raw']['field'] = 'tid_raw';
  4146. $handler->display->display_options['filters']['tid_raw']['exposed'] = TRUE;
  4147. $handler->display->display_options['filters']['tid_raw']['expose']['operator_id'] = 'tid_raw_op';
  4148. $handler->display->display_options['filters']['tid_raw']['expose']['label'] = 'TID';
  4149. $handler->display->display_options['filters']['tid_raw']['expose']['operator'] = 'tid_raw_op';
  4150. $handler->display->display_options['filters']['tid_raw']['expose']['identifier'] = 'tid_raw';
  4151. $handler->display->display_options['filters']['tid_raw']['expose']['remember_roles'] = array(
  4152. 2 => '2',
  4153. 1 => 0,
  4154. 9 => 0,
  4155. 7 => 0,
  4156. 10 => 0,
  4157. 11 => 0,
  4158. 6 => 0,
  4159. 5 => 0,
  4160. 8 => 0,
  4161. 3 => 0,
  4162. 4 => 0,
  4163. );
  4164. /* Critère de filtrage: Terme de taxonomie : Nom (name_field) */
  4165. $handler->display->display_options['filters']['name_field_value']['id'] = 'name_field_value';
  4166. $handler->display->display_options['filters']['name_field_value']['table'] = 'field_data_name_field';
  4167. $handler->display->display_options['filters']['name_field_value']['field'] = 'name_field_value';
  4168. $handler->display->display_options['filters']['name_field_value']['operator'] = 'contains';
  4169. $handler->display->display_options['filters']['name_field_value']['exposed'] = TRUE;
  4170. $handler->display->display_options['filters']['name_field_value']['expose']['operator_id'] = 'name_field_value_op';
  4171. $handler->display->display_options['filters']['name_field_value']['expose']['label'] = 'Nom';
  4172. $handler->display->display_options['filters']['name_field_value']['expose']['operator'] = 'name_field_value_op';
  4173. $handler->display->display_options['filters']['name_field_value']['expose']['identifier'] = 'name_field_value';
  4174. $handler->display->display_options['filters']['name_field_value']['expose']['remember_roles'] = array(
  4175. 2 => '2',
  4176. 1 => 0,
  4177. 9 => 0,
  4178. 7 => 0,
  4179. 10 => 0,
  4180. 11 => 0,
  4181. 6 => 0,
  4182. 5 => 0,
  4183. 8 => 0,
  4184. 3 => 0,
  4185. 4 => 0,
  4186. );
  4187. /* Critère de filtrage: Terme de taxonomie : Vocabulaire */
  4188. $handler->display->display_options['filters']['vid_1']['id'] = 'vid_1';
  4189. $handler->display->display_options['filters']['vid_1']['table'] = 'taxonomy_term_data';
  4190. $handler->display->display_options['filters']['vid_1']['field'] = 'vid';
  4191. $handler->display->display_options['filters']['vid_1']['operator'] = 'not in';
  4192. $handler->display->display_options['filters']['vid_1']['value'] = array(
  4193. 14 => '14',
  4194. 16 => '16',
  4195. 17 => '17',
  4196. 18 => '18',
  4197. );
  4198. /* Display: Page */
  4199. $handler = $view->new_display('page', 'Page', 'page');
  4200. $handler->display->display_options['path'] = 'admin/structure/taxonomie/admin-taxo';
  4201. $translatables['admin_taxo'] = array(
  4202. t('Master'),
  4203. t('Admin Taxo'),
  4204. t('plus'),
  4205. t('Appliquer'),
  4206. t('Réinitialiser'),
  4207. t('Trier par'),
  4208. t('Asc'),
  4209. t('Desc'),
  4210. t('Éléments par page'),
  4211. t('- Tout -'),
  4212. t('Décalage'),
  4213. t('« premier'),
  4214. t('‹ précédent'),
  4215. t('suivant ›'),
  4216. t('dernier »'),
  4217. t('Terme de taxonomie'),
  4218. t('- Choisir une opération -'),
  4219. t('vid'),
  4220. t('.'),
  4221. t(','),
  4222. t('voc'),
  4223. t('tid'),
  4224. t('Nom EN'),
  4225. t('Nom FR'),
  4226. t('Synonyms EN'),
  4227. t('Synonyms FR'),
  4228. t('Lien de modification du terme'),
  4229. t('modifier'),
  4230. t('Vocabulaire'),
  4231. t('TID'),
  4232. t('Nom'),
  4233. t('Page'),
  4234. );
  4235. $export['admin_taxo'] = $view;
  4236. $view = new view();
  4237. $view->name = 'taxonomy_companies_manager';
  4238. $view->description = '';
  4239. $view->tag = 'default';
  4240. $view->base_table = 'taxonomy_term_data';
  4241. $view->human_name = 'taxonomy companies manager';
  4242. $view->core = 7;
  4243. $view->api_version = '3.0';
  4244. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  4245. /* Display: Master */
  4246. $handler = $view->new_display('default', 'Master', 'default');
  4247. $handler->display->display_options['title'] = 'taxonomy companies manager';
  4248. $handler->display->display_options['use_more_always'] = FALSE;
  4249. $handler->display->display_options['use_more_text'] = 'plus';
  4250. $handler->display->display_options['access']['type'] = 'perm';
  4251. $handler->display->display_options['cache']['type'] = 'none';
  4252. $handler->display->display_options['query']['type'] = 'views_query';
  4253. $handler->display->display_options['exposed_form']['type'] = 'basic';
  4254. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  4255. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  4256. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  4257. $handler->display->display_options['pager']['type'] = 'full';
  4258. $handler->display->display_options['pager']['options']['items_per_page'] = '100';
  4259. $handler->display->display_options['pager']['options']['offset'] = '0';
  4260. $handler->display->display_options['pager']['options']['id'] = '0';
  4261. $handler->display->display_options['pager']['options']['quantity'] = '9';
  4262. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  4263. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  4264. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  4265. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  4266. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  4267. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  4268. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  4269. $handler->display->display_options['style_plugin'] = 'table';
  4270. /* Champ: Opérations en masse : Terme de taxonomie */
  4271. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  4272. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'taxonomy_term_data';
  4273. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  4274. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  4275. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  4276. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  4277. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  4278. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  4279. 'action::views_bulk_operations_delete_item' => array(
  4280. 'selected' => 1,
  4281. 'skip_confirmation' => 1,
  4282. 'override_label' => 0,
  4283. 'label' => '',
  4284. 'postpone_processing' => 0,
  4285. ),
  4286. );
  4287. /* Champ: Terme de taxonomie : Nom */
  4288. $handler->display->display_options['fields']['name']['id'] = 'name';
  4289. $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  4290. $handler->display->display_options['fields']['name']['field'] = 'name';
  4291. $handler->display->display_options['fields']['name']['label'] = '';
  4292. $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  4293. $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  4294. $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  4295. /* Critère de filtrage: Vocabulaire de taxonomie : Nom système */
  4296. $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  4297. $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  4298. $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  4299. $handler->display->display_options['filters']['machine_name']['value'] = array(
  4300. 'onthologie' => 'onthologie',
  4301. 'tag_libres' => 'tag_libres',
  4302. 'company' => 'company',
  4303. );
  4304. $handler->display->display_options['filters']['machine_name']['exposed'] = TRUE;
  4305. $handler->display->display_options['filters']['machine_name']['expose']['operator_id'] = 'machine_name_op';
  4306. $handler->display->display_options['filters']['machine_name']['expose']['label'] = 'Vocabulaire';
  4307. $handler->display->display_options['filters']['machine_name']['expose']['operator'] = 'machine_name_op';
  4308. $handler->display->display_options['filters']['machine_name']['expose']['identifier'] = 'machine_name';
  4309. $handler->display->display_options['filters']['machine_name']['expose']['reduce'] = TRUE;
  4310. /* Critère de filtrage: Vocabulaire de taxonomie : Nom système */
  4311. $handler->display->display_options['filters']['machine_name_1']['id'] = 'machine_name_1';
  4312. $handler->display->display_options['filters']['machine_name_1']['table'] = 'taxonomy_vocabulary';
  4313. $handler->display->display_options['filters']['machine_name_1']['field'] = 'machine_name';
  4314. $handler->display->display_options['filters']['machine_name_1']['value'] = array(
  4315. 'onthologie' => 'onthologie',
  4316. 'tag_libres' => 'tag_libres',
  4317. 'company' => 'company',
  4318. );
  4319. /* Display: Page */
  4320. $handler = $view->new_display('page', 'Page', 'page');
  4321. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  4322. $handler->display->display_options['path'] = 'taxonomy-companies-manager';
  4323. $translatables['taxonomy_companies_manager'] = array(
  4324. t('Master'),
  4325. t('taxonomy companies manager'),
  4326. t('plus'),
  4327. t('Appliquer'),
  4328. t('Réinitialiser'),
  4329. t('Trier par'),
  4330. t('Asc'),
  4331. t('Desc'),
  4332. t('Éléments par page'),
  4333. t('- Tout -'),
  4334. t('Décalage'),
  4335. t('« premier'),
  4336. t('‹ précédent'),
  4337. t('suivant ›'),
  4338. t('dernier »'),
  4339. t('Terme de taxonomie'),
  4340. t('- Choisir une opération -'),
  4341. t('Vocabulaire'),
  4342. t('Page'),
  4343. );
  4344. $export['taxonomy_companies_manager'] = $view;
  4345. return $export;
  4346. }