materio_administration.views_default.inc 264 KB

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