materio_administration.views_default.inc 281 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968
  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'] = 'views_entity_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: Samples (field_location:location) */
  1056. $handler->display->display_options['filters']['field_location_location']['id'] = 'field_location_location';
  1057. $handler->display->display_options['filters']['field_location_location']['table'] = 'field_data_field_location';
  1058. $handler->display->display_options['filters']['field_location_location']['field'] = 'field_location_location';
  1059. $handler->display->display_options['filters']['field_location_location']['operator'] = 'contains';
  1060. $handler->display->display_options['filters']['field_location_location']['group'] = 1;
  1061. $handler->display->display_options['filters']['field_location_location']['exposed'] = TRUE;
  1062. $handler->display->display_options['filters']['field_location_location']['expose']['operator_id'] = 'field_location_location_op';
  1063. $handler->display->display_options['filters']['field_location_location']['expose']['label'] = 'Samples';
  1064. $handler->display->display_options['filters']['field_location_location']['expose']['operator'] = 'field_location_location_op';
  1065. $handler->display->display_options['filters']['field_location_location']['expose']['identifier'] = 'field_location_location';
  1066. $handler->display->display_options['filters']['field_location_location']['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. 12 => 0,
  1077. 13 => 0,
  1078. 3 => 0,
  1079. 4 => 0,
  1080. );
  1081. /* Filter criterion: Content: Has taxonomy term */
  1082. $handler->display->display_options['filters']['tid']['id'] = 'tid';
  1083. $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index';
  1084. $handler->display->display_options['filters']['tid']['field'] = 'tid';
  1085. $handler->display->display_options['filters']['tid']['value'] = '';
  1086. $handler->display->display_options['filters']['tid']['group'] = 1;
  1087. $handler->display->display_options['filters']['tid']['exposed'] = TRUE;
  1088. $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op';
  1089. $handler->display->display_options['filters']['tid']['expose']['label'] = 'Onto';
  1090. $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op';
  1091. $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid';
  1092. $handler->display->display_options['filters']['tid']['expose']['remember_roles'] = array(
  1093. 2 => '2',
  1094. 1 => 0,
  1095. 9 => 0,
  1096. 7 => 0,
  1097. 10 => 0,
  1098. 6 => 0,
  1099. 8 => 0,
  1100. 5 => 0,
  1101. 3 => 0,
  1102. 4 => 0,
  1103. );
  1104. $handler->display->display_options['filters']['tid']['reduce_duplicates'] = TRUE;
  1105. $handler->display->display_options['filters']['tid']['vocabulary'] = 'onthologie';
  1106. /* Filter criterion: Content: Has taxonomy term */
  1107. $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1';
  1108. $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index';
  1109. $handler->display->display_options['filters']['tid_1']['field'] = 'tid';
  1110. $handler->display->display_options['filters']['tid_1']['value'] = '';
  1111. $handler->display->display_options['filters']['tid_1']['group'] = 1;
  1112. $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE;
  1113. $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op';
  1114. $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Tag libres';
  1115. $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op';
  1116. $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1';
  1117. $handler->display->display_options['filters']['tid_1']['expose']['remember_roles'] = array(
  1118. 2 => '2',
  1119. 1 => 0,
  1120. 7 => 0,
  1121. 6 => 0,
  1122. 5 => 0,
  1123. 3 => 0,
  1124. 4 => 0,
  1125. );
  1126. $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'tag_libres';
  1127. /* Filter criterion: Content: Has taxonomy term */
  1128. $handler->display->display_options['filters']['tid_2']['id'] = 'tid_2';
  1129. $handler->display->display_options['filters']['tid_2']['table'] = 'taxonomy_index';
  1130. $handler->display->display_options['filters']['tid_2']['field'] = 'tid';
  1131. $handler->display->display_options['filters']['tid_2']['value'] = '';
  1132. $handler->display->display_options['filters']['tid_2']['group'] = 1;
  1133. $handler->display->display_options['filters']['tid_2']['exposed'] = TRUE;
  1134. $handler->display->display_options['filters']['tid_2']['expose']['operator_id'] = 'tid_2_op';
  1135. $handler->display->display_options['filters']['tid_2']['expose']['label'] = 'Société';
  1136. $handler->display->display_options['filters']['tid_2']['expose']['operator'] = 'tid_2_op';
  1137. $handler->display->display_options['filters']['tid_2']['expose']['identifier'] = 'tid_2';
  1138. $handler->display->display_options['filters']['tid_2']['expose']['remember_roles'] = array(
  1139. 2 => '2',
  1140. 1 => 0,
  1141. 7 => 0,
  1142. 6 => 0,
  1143. 5 => 0,
  1144. 3 => 0,
  1145. 4 => 0,
  1146. );
  1147. $handler->display->display_options['filters']['tid_2']['vocabulary'] = 'company';
  1148. /* Filter criterion: Content: Published */
  1149. $handler->display->display_options['filters']['status']['id'] = 'status';
  1150. $handler->display->display_options['filters']['status']['table'] = 'node';
  1151. $handler->display->display_options['filters']['status']['field'] = 'status';
  1152. $handler->display->display_options['filters']['status']['value'] = '1';
  1153. $handler->display->display_options['filters']['status']['group'] = 1;
  1154. $handler->display->display_options['path'] = 'admin/content/materiaux';
  1155. $handler->display->display_options['menu']['type'] = 'tab';
  1156. $handler->display->display_options['menu']['title'] = 'Materiaux/Brèves';
  1157. $handler->display->display_options['menu']['description'] = 'Materiaux/Brèves';
  1158. $handler->display->display_options['menu']['weight'] = '-100';
  1159. $handler->display->display_options['menu']['context'] = 0;
  1160. $handler->display->display_options['menu']['context_only_inline'] = 0;
  1161. $handler->display->display_options['tab_options']['type'] = 'normal';
  1162. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1163. $handler->display->display_options['tab_options']['weight'] = '0';
  1164. /* Display: Page : companies */
  1165. $handler = $view->new_display('page', 'Page : companies', 'page_2');
  1166. $handler->display->display_options['defaults']['title'] = FALSE;
  1167. $handler->display->display_options['title'] = 'Companies';
  1168. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  1169. $handler->display->display_options['defaults']['group_by'] = FALSE;
  1170. $handler->display->display_options['defaults']['access'] = FALSE;
  1171. $handler->display->display_options['access']['type'] = 'role';
  1172. $handler->display->display_options['access']['role'] = array(
  1173. 3 => '3',
  1174. 4 => '4',
  1175. );
  1176. $handler->display->display_options['defaults']['pager'] = FALSE;
  1177. $handler->display->display_options['pager']['type'] = 'full';
  1178. $handler->display->display_options['pager']['options']['items_per_page'] = '25';
  1179. $handler->display->display_options['pager']['options']['offset'] = '0';
  1180. $handler->display->display_options['pager']['options']['id'] = '0';
  1181. $handler->display->display_options['pager']['options']['quantity'] = '9';
  1182. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1183. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1184. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1185. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1186. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1187. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1188. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1189. $handler->display->display_options['defaults']['relationships'] = FALSE;
  1190. $handler->display->display_options['defaults']['fields'] = FALSE;
  1191. /* Field: Bulk operations: Content */
  1192. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  1193. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_node';
  1194. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  1195. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  1196. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  1197. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  1198. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  1199. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  1200. 'action::workflow_select_given_state_action' => array(
  1201. 'selected' => 1,
  1202. 'skip_confirmation' => 0,
  1203. 'override_label' => 0,
  1204. 'label' => '',
  1205. 'postpone_processing' => 0,
  1206. ),
  1207. );
  1208. /* Field: Content: Title */
  1209. $handler->display->display_options['fields']['title']['id'] = 'title';
  1210. $handler->display->display_options['fields']['title']['table'] = 'node';
  1211. $handler->display->display_options['fields']['title']['field'] = 'title';
  1212. $handler->display->display_options['fields']['title']['label'] = 'Title / Name';
  1213. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  1214. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  1215. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  1216. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  1217. /* Field: Content: Post date */
  1218. $handler->display->display_options['fields']['created']['id'] = 'created';
  1219. $handler->display->display_options['fields']['created']['table'] = 'node';
  1220. $handler->display->display_options['fields']['created']['field'] = 'created';
  1221. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  1222. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y/m/d';
  1223. /* Field: Content: Edit link */
  1224. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  1225. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  1226. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  1227. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  1228. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  1229. /* Field: Content: Adresse */
  1230. $handler->display->display_options['fields']['field_public_address']['id'] = 'field_public_address';
  1231. $handler->display->display_options['fields']['field_public_address']['table'] = 'field_data_field_public_address';
  1232. $handler->display->display_options['fields']['field_public_address']['field'] = 'field_public_address';
  1233. $handler->display->display_options['fields']['field_public_address']['click_sort_column'] = 'country';
  1234. $handler->display->display_options['fields']['field_public_address']['settings'] = array(
  1235. 'use_widget_handlers' => 1,
  1236. 'format_handlers' => array(
  1237. 'address' => 'address',
  1238. ),
  1239. );
  1240. /* Field: Content: Phone */
  1241. $handler->display->display_options['fields']['field_public_phone']['id'] = 'field_public_phone';
  1242. $handler->display->display_options['fields']['field_public_phone']['table'] = 'field_data_field_public_phone';
  1243. $handler->display->display_options['fields']['field_public_phone']['field'] = 'field_public_phone';
  1244. $handler->display->display_options['fields']['field_public_phone']['label'] = 'Téléphone';
  1245. $handler->display->display_options['fields']['field_public_phone']['click_sort_column'] = 'number';
  1246. $handler->display->display_options['fields']['field_public_phone']['delta_offset'] = '0';
  1247. /* Field: Content: Language */
  1248. $handler->display->display_options['fields']['language']['id'] = 'language';
  1249. $handler->display->display_options['fields']['language']['table'] = 'node';
  1250. $handler->display->display_options['fields']['language']['field'] = 'language';
  1251. /* Field: Content translation: Translate link */
  1252. $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
  1253. $handler->display->display_options['fields']['translate_node']['table'] = 'node';
  1254. $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
  1255. $handler->display->display_options['fields']['translate_node']['alter']['text'] = '<span class="button">[translate_node]</span>';
  1256. /* Field: Content translation: Translation status */
  1257. $handler->display->display_options['fields']['translate']['id'] = 'translate';
  1258. $handler->display->display_options['fields']['translate']['table'] = 'node';
  1259. $handler->display->display_options['fields']['translate']['field'] = 'translate';
  1260. $handler->display->display_options['fields']['translate']['exclude'] = TRUE;
  1261. $handler->display->display_options['fields']['translate']['not'] = 0;
  1262. /* Field: Content: website */
  1263. $handler->display->display_options['fields']['field_website']['id'] = 'field_website';
  1264. $handler->display->display_options['fields']['field_website']['table'] = 'field_data_field_website';
  1265. $handler->display->display_options['fields']['field_website']['field'] = 'field_website';
  1266. $handler->display->display_options['fields']['field_website']['click_sort_column'] = 'url';
  1267. /* Field: Content: Email */
  1268. $handler->display->display_options['fields']['field_public_email']['id'] = 'field_public_email';
  1269. $handler->display->display_options['fields']['field_public_email']['table'] = 'field_data_field_public_email';
  1270. $handler->display->display_options['fields']['field_public_email']['field'] = 'field_public_email';
  1271. $handler->display->display_options['fields']['field_public_email']['label'] = 'Courriel';
  1272. /* Field: Content: Note */
  1273. $handler->display->display_options['fields']['field_note']['id'] = 'field_note';
  1274. $handler->display->display_options['fields']['field_note']['table'] = 'field_data_field_note';
  1275. $handler->display->display_options['fields']['field_note']['field'] = 'field_note';
  1276. /* Field: Content: Fichiers joints */
  1277. $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments';
  1278. $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments';
  1279. $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments';
  1280. $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid';
  1281. $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0';
  1282. /* Field: Field: Mémo */
  1283. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  1284. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  1285. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  1286. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  1287. /* Field: Workflow: Current state */
  1288. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  1289. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  1290. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  1291. /* Field: Content: Delete link */
  1292. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  1293. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  1294. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  1295. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  1296. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  1297. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  1298. $handler->display->display_options['defaults']['filters'] = FALSE;
  1299. /* Filter criterion: Content: Title */
  1300. $handler->display->display_options['filters']['title']['id'] = 'title';
  1301. $handler->display->display_options['filters']['title']['table'] = 'node';
  1302. $handler->display->display_options['filters']['title']['field'] = 'title';
  1303. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  1304. $handler->display->display_options['filters']['title']['group'] = 1;
  1305. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  1306. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  1307. $handler->display->display_options['filters']['title']['expose']['label'] = 'Le nom contient';
  1308. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  1309. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  1310. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  1311. /* Filter criterion: Workflow: Current state */
  1312. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  1313. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  1314. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  1315. $handler->display->display_options['filters']['sid']['group'] = 1;
  1316. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  1317. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  1318. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  1319. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  1320. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  1321. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  1322. /* Filter criterion: Field: Mémo (field_memo) */
  1323. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  1324. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  1325. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  1326. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  1327. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  1328. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  1329. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  1330. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  1331. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  1332. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  1333. /* Filter criterion: Content: Type */
  1334. $handler->display->display_options['filters']['type_2']['id'] = 'type_2';
  1335. $handler->display->display_options['filters']['type_2']['table'] = 'node';
  1336. $handler->display->display_options['filters']['type_2']['field'] = 'type';
  1337. $handler->display->display_options['filters']['type_2']['operator'] = 'not in';
  1338. $handler->display->display_options['filters']['type_2']['value'] = array(
  1339. 'breve' => 'breve',
  1340. 'didactique' => 'didactique',
  1341. 'faq' => 'faq',
  1342. 'materiau' => 'materiau',
  1343. 'page' => 'page',
  1344. 'panel' => 'panel',
  1345. 'product' => 'product',
  1346. 'simplenews' => 'simplenews',
  1347. 'webform' => 'webform',
  1348. 'looping_embed_video' => 'looping_embed_video',
  1349. );
  1350. $handler->display->display_options['filters']['type_2']['group'] = 1;
  1351. /* Filter criterion: Content: Adresse - Postal code */
  1352. $handler->display->display_options['filters']['field_public_address_postal_code']['id'] = 'field_public_address_postal_code';
  1353. $handler->display->display_options['filters']['field_public_address_postal_code']['table'] = 'field_data_field_public_address';
  1354. $handler->display->display_options['filters']['field_public_address_postal_code']['field'] = 'field_public_address_postal_code';
  1355. $handler->display->display_options['filters']['field_public_address_postal_code']['group'] = 1;
  1356. $handler->display->display_options['filters']['field_public_address_postal_code']['exposed'] = TRUE;
  1357. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['operator_id'] = 'field_public_address_postal_code_op';
  1358. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['label'] = 'Adresse - Code postal';
  1359. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['operator'] = 'field_public_address_postal_code_op';
  1360. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['identifier'] = 'field_public_address_postal_code';
  1361. $handler->display->display_options['filters']['field_public_address_postal_code']['expose']['remember_roles'] = array(
  1362. 2 => '2',
  1363. 1 => 0,
  1364. 9 => 0,
  1365. 7 => 0,
  1366. 10 => 0,
  1367. 11 => 0,
  1368. 6 => 0,
  1369. 5 => 0,
  1370. 8 => 0,
  1371. 3 => 0,
  1372. 4 => 0,
  1373. );
  1374. /* Filter criterion: Content: Adresse - Locality (i.e. City) */
  1375. $handler->display->display_options['filters']['field_public_address_locality']['id'] = 'field_public_address_locality';
  1376. $handler->display->display_options['filters']['field_public_address_locality']['table'] = 'field_data_field_public_address';
  1377. $handler->display->display_options['filters']['field_public_address_locality']['field'] = 'field_public_address_locality';
  1378. $handler->display->display_options['filters']['field_public_address_locality']['group'] = 1;
  1379. $handler->display->display_options['filters']['field_public_address_locality']['exposed'] = TRUE;
  1380. $handler->display->display_options['filters']['field_public_address_locality']['expose']['operator_id'] = 'field_public_address_locality_op';
  1381. $handler->display->display_options['filters']['field_public_address_locality']['expose']['label'] = 'Adresse - Localité (Ville)';
  1382. $handler->display->display_options['filters']['field_public_address_locality']['expose']['operator'] = 'field_public_address_locality_op';
  1383. $handler->display->display_options['filters']['field_public_address_locality']['expose']['identifier'] = 'field_public_address_locality';
  1384. $handler->display->display_options['filters']['field_public_address_locality']['expose']['remember_roles'] = array(
  1385. 2 => '2',
  1386. 1 => 0,
  1387. 9 => 0,
  1388. 7 => 0,
  1389. 10 => 0,
  1390. 11 => 0,
  1391. 6 => 0,
  1392. 5 => 0,
  1393. 8 => 0,
  1394. 3 => 0,
  1395. 4 => 0,
  1396. );
  1397. $handler->display->display_options['path'] = 'admin/content/companies';
  1398. $handler->display->display_options['menu']['type'] = 'tab';
  1399. $handler->display->display_options['menu']['title'] = 'Companies';
  1400. $handler->display->display_options['menu']['description'] = 'Companies';
  1401. $handler->display->display_options['menu']['weight'] = '-99';
  1402. $handler->display->display_options['menu']['context'] = 0;
  1403. $handler->display->display_options['tab_options']['type'] = 'normal';
  1404. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1405. $handler->display->display_options['tab_options']['weight'] = '0';
  1406. /* Display: Page : page/publicationfaq/didactique */
  1407. $handler = $view->new_display('page', 'Page : page/publicationfaq/didactique', 'page_3');
  1408. $handler->display->display_options['defaults']['title'] = FALSE;
  1409. $handler->display->display_options['title'] = 'page/publication/didactique/faq';
  1410. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  1411. $handler->display->display_options['defaults']['pager'] = FALSE;
  1412. $handler->display->display_options['pager']['type'] = 'full';
  1413. $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  1414. $handler->display->display_options['pager']['options']['offset'] = '0';
  1415. $handler->display->display_options['pager']['options']['id'] = '0';
  1416. $handler->display->display_options['pager']['options']['quantity'] = '9';
  1417. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1418. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1419. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1420. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1421. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1422. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1423. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1424. $handler->display->display_options['defaults']['fields'] = FALSE;
  1425. /* Field: Bulk operations: Content */
  1426. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  1427. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_node';
  1428. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  1429. $handler->display->display_options['fields']['views_bulk_operations']['label'] = '';
  1430. $handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE;
  1431. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  1432. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  1433. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  1434. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  1435. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  1436. 'action::workflow_select_given_state_action' => array(
  1437. 'selected' => 1,
  1438. 'skip_confirmation' => 0,
  1439. 'override_label' => 0,
  1440. 'label' => '',
  1441. 'postpone_processing' => 0,
  1442. ),
  1443. );
  1444. /* Field: Content: Nid */
  1445. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  1446. $handler->display->display_options['fields']['nid']['table'] = 'node';
  1447. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  1448. $handler->display->display_options['fields']['nid']['label'] = '';
  1449. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  1450. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  1451. /* Field: Content: Type */
  1452. $handler->display->display_options['fields']['type']['id'] = 'type';
  1453. $handler->display->display_options['fields']['type']['table'] = 'node';
  1454. $handler->display->display_options['fields']['type']['field'] = 'type';
  1455. /* Field: Content: Title */
  1456. $handler->display->display_options['fields']['title']['id'] = 'title';
  1457. $handler->display->display_options['fields']['title']['table'] = 'node';
  1458. $handler->display->display_options['fields']['title']['field'] = 'title';
  1459. $handler->display->display_options['fields']['title']['label'] = 'Title/Name';
  1460. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  1461. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  1462. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  1463. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  1464. /* Field: Content: Edit link */
  1465. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  1466. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  1467. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  1468. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  1469. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  1470. /* Field: Global: Custom text */
  1471. $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  1472. $handler->display->display_options['fields']['nothing']['table'] = 'views';
  1473. $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  1474. $handler->display->display_options['fields']['nothing']['label'] = 'Translate';
  1475. $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a class="node-edit" href="/node/[nid]/translate">Translate</a>';
  1476. /* Field: Field: Mémo */
  1477. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  1478. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  1479. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  1480. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  1481. $handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300';
  1482. $handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE;
  1483. $handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE;
  1484. /* Field: Content: Fichiers joints */
  1485. $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments';
  1486. $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments';
  1487. $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments';
  1488. $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid';
  1489. $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0';
  1490. /* Field: Content: Localisation */
  1491. $handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation';
  1492. $handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation';
  1493. $handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation';
  1494. /* Field: Workflow: Current state */
  1495. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  1496. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  1497. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  1498. /* Field: Content: Delete link */
  1499. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  1500. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  1501. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  1502. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  1503. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  1504. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  1505. $handler->display->display_options['defaults']['filters'] = FALSE;
  1506. /* Filter criterion: Content: Type */
  1507. $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  1508. $handler->display->display_options['filters']['type_1']['table'] = 'node';
  1509. $handler->display->display_options['filters']['type_1']['field'] = 'type';
  1510. $handler->display->display_options['filters']['type_1']['operator'] = 'not in';
  1511. $handler->display->display_options['filters']['type_1']['value'] = array(
  1512. 'breve' => 'breve',
  1513. 'company' => 'company',
  1514. 'simplenews' => 'simplenews',
  1515. 'materiau' => 'materiau',
  1516. 'panel' => 'panel',
  1517. 'product' => 'product',
  1518. 'showroom' => 'showroom',
  1519. 'webform' => 'webform',
  1520. 'looping_embed_video' => 'looping_embed_video',
  1521. );
  1522. $handler->display->display_options['filters']['type_1']['group'] = 1;
  1523. /* Filter criterion: Content: Title */
  1524. $handler->display->display_options['filters']['title']['id'] = 'title';
  1525. $handler->display->display_options['filters']['title']['table'] = 'node';
  1526. $handler->display->display_options['filters']['title']['field'] = 'title';
  1527. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  1528. $handler->display->display_options['filters']['title']['group'] = 1;
  1529. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  1530. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  1531. $handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains';
  1532. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  1533. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  1534. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  1535. /* Filter criterion: Field: Mémo (field_memo) */
  1536. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  1537. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  1538. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  1539. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  1540. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  1541. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  1542. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  1543. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  1544. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  1545. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  1546. /* Filter criterion: Workflow: Current state */
  1547. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  1548. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  1549. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  1550. $handler->display->display_options['filters']['sid']['group'] = 1;
  1551. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  1552. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  1553. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  1554. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  1555. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  1556. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  1557. /* Filter criterion: Content: Type */
  1558. $handler->display->display_options['filters']['type']['id'] = 'type';
  1559. $handler->display->display_options['filters']['type']['table'] = 'node';
  1560. $handler->display->display_options['filters']['type']['field'] = 'type';
  1561. $handler->display->display_options['filters']['type']['value'] = array(
  1562. 'didactique' => 'didactique',
  1563. 'faq' => 'faq',
  1564. 'page' => 'page',
  1565. 'publication' => 'publication',
  1566. );
  1567. $handler->display->display_options['filters']['type']['group'] = 1;
  1568. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  1569. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  1570. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu';
  1571. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  1572. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  1573. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  1574. $handler->display->display_options['filters']['type']['expose']['remember_roles'] = array(
  1575. 2 => '2',
  1576. 1 => 0,
  1577. 9 => 0,
  1578. 7 => 0,
  1579. 10 => 0,
  1580. 11 => 0,
  1581. 6 => 0,
  1582. 5 => 0,
  1583. 8 => 0,
  1584. 3 => 0,
  1585. 4 => 0,
  1586. );
  1587. $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
  1588. /* Filter criterion: Content: Référence Materio (field_reference_materio) */
  1589. $handler->display->display_options['filters']['field_reference_materio_value']['id'] = 'field_reference_materio_value';
  1590. $handler->display->display_options['filters']['field_reference_materio_value']['table'] = 'field_data_field_reference_materio';
  1591. $handler->display->display_options['filters']['field_reference_materio_value']['field'] = 'field_reference_materio_value';
  1592. $handler->display->display_options['filters']['field_reference_materio_value']['operator'] = 'contains';
  1593. $handler->display->display_options['filters']['field_reference_materio_value']['group'] = 1;
  1594. $handler->display->display_options['filters']['field_reference_materio_value']['exposed'] = TRUE;
  1595. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator_id'] = 'field_reference_materio_value_op';
  1596. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['label'] = 'Référence';
  1597. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator'] = 'field_reference_materio_value_op';
  1598. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['identifier'] = 'field_reference_materio_value';
  1599. $handler->display->display_options['path'] = 'admin/content/pages';
  1600. $handler->display->display_options['menu']['type'] = 'tab';
  1601. $handler->display->display_options['menu']['title'] = 'Page/faq/didactique';
  1602. $handler->display->display_options['menu']['description'] = 'Materiaux / Brèves';
  1603. $handler->display->display_options['menu']['weight'] = '-100';
  1604. $handler->display->display_options['menu']['context'] = 0;
  1605. $handler->display->display_options['menu']['context_only_inline'] = 0;
  1606. $handler->display->display_options['tab_options']['type'] = 'normal';
  1607. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1608. $handler->display->display_options['tab_options']['weight'] = '0';
  1609. /* Display: Page : showrooms */
  1610. $handler = $view->new_display('page', 'Page : showrooms', 'page_4');
  1611. $handler->display->display_options['defaults']['title'] = FALSE;
  1612. $handler->display->display_options['title'] = 'Materiaux/brèves';
  1613. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  1614. $handler->display->display_options['defaults']['access'] = FALSE;
  1615. $handler->display->display_options['access']['type'] = 'role';
  1616. $handler->display->display_options['access']['role'] = array(
  1617. 3 => '3',
  1618. 4 => '4',
  1619. );
  1620. $handler->display->display_options['defaults']['pager'] = FALSE;
  1621. $handler->display->display_options['pager']['type'] = 'full';
  1622. $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  1623. $handler->display->display_options['pager']['options']['offset'] = '0';
  1624. $handler->display->display_options['pager']['options']['id'] = '0';
  1625. $handler->display->display_options['pager']['options']['quantity'] = '9';
  1626. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1627. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1628. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1629. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1630. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1631. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1632. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1633. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  1634. $handler->display->display_options['style_plugin'] = 'table';
  1635. $handler->display->display_options['style_options']['columns'] = array(
  1636. 'views_bulk_operations' => 'views_bulk_operations',
  1637. 'nid' => 'nid',
  1638. 'field_tode_showroom' => 'field_tode_showroom',
  1639. 'edit_node' => 'field_tode_showroom',
  1640. 'nothing' => 'field_tode_showroom',
  1641. 'field_public_email' => 'field_public_email',
  1642. 'field_public_phone' => 'field_public_phone',
  1643. 'field_public_address' => 'field_public_address',
  1644. 'body' => 'body',
  1645. 'field_memo' => 'field_memo',
  1646. 'sid' => 'sid',
  1647. 'delete_node' => 'sid',
  1648. );
  1649. $handler->display->display_options['style_options']['default'] = '-1';
  1650. $handler->display->display_options['style_options']['info'] = array(
  1651. 'views_bulk_operations' => array(
  1652. 'align' => '',
  1653. 'separator' => '',
  1654. 'empty_column' => 0,
  1655. ),
  1656. 'nid' => array(
  1657. 'sortable' => 0,
  1658. 'default_sort_order' => 'asc',
  1659. 'align' => '',
  1660. 'separator' => '',
  1661. 'empty_column' => 0,
  1662. ),
  1663. 'field_tode_showroom' => array(
  1664. 'sortable' => 0,
  1665. 'default_sort_order' => 'asc',
  1666. 'align' => '',
  1667. 'separator' => '<br />',
  1668. 'empty_column' => 0,
  1669. ),
  1670. 'edit_node' => array(
  1671. 'align' => '',
  1672. 'separator' => '',
  1673. 'empty_column' => 0,
  1674. ),
  1675. 'nothing' => array(
  1676. 'align' => '',
  1677. 'separator' => '<br />',
  1678. 'empty_column' => 0,
  1679. ),
  1680. 'field_public_email' => array(
  1681. 'sortable' => 0,
  1682. 'default_sort_order' => 'asc',
  1683. 'align' => '',
  1684. 'separator' => '',
  1685. 'empty_column' => 0,
  1686. ),
  1687. 'field_public_phone' => array(
  1688. 'align' => '',
  1689. 'separator' => '',
  1690. 'empty_column' => 0,
  1691. ),
  1692. 'field_public_address' => array(
  1693. 'sortable' => 0,
  1694. 'default_sort_order' => 'asc',
  1695. 'align' => '',
  1696. 'separator' => '',
  1697. 'empty_column' => 0,
  1698. ),
  1699. 'body' => array(
  1700. 'sortable' => 0,
  1701. 'default_sort_order' => 'asc',
  1702. 'align' => '',
  1703. 'separator' => '',
  1704. 'empty_column' => 0,
  1705. ),
  1706. 'field_memo' => array(
  1707. 'sortable' => 0,
  1708. 'default_sort_order' => 'asc',
  1709. 'align' => '',
  1710. 'separator' => '',
  1711. 'empty_column' => 0,
  1712. ),
  1713. 'sid' => array(
  1714. 'sortable' => 0,
  1715. 'default_sort_order' => 'asc',
  1716. 'align' => '',
  1717. 'separator' => '<br />',
  1718. 'empty_column' => 0,
  1719. ),
  1720. 'delete_node' => array(
  1721. 'align' => '',
  1722. 'separator' => '',
  1723. 'empty_column' => 0,
  1724. ),
  1725. );
  1726. $handler->display->display_options['style_options']['override'] = FALSE;
  1727. $handler->display->display_options['defaults']['style_options'] = FALSE;
  1728. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  1729. $handler->display->display_options['defaults']['row_options'] = FALSE;
  1730. $handler->display->display_options['defaults']['relationships'] = FALSE;
  1731. $handler->display->display_options['defaults']['fields'] = FALSE;
  1732. /* Field: Bulk operations: Content */
  1733. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  1734. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_node';
  1735. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  1736. $handler->display->display_options['fields']['views_bulk_operations']['label'] = '';
  1737. $handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE;
  1738. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  1739. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  1740. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  1741. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  1742. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  1743. 'action::workflow_select_given_state_action' => array(
  1744. 'selected' => 1,
  1745. 'skip_confirmation' => 0,
  1746. 'override_label' => 0,
  1747. 'label' => '',
  1748. 'postpone_processing' => 0,
  1749. ),
  1750. );
  1751. /* Field: Content: Nid */
  1752. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  1753. $handler->display->display_options['fields']['nid']['table'] = 'node';
  1754. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  1755. $handler->display->display_options['fields']['nid']['label'] = '';
  1756. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  1757. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  1758. /* Field: Content: Showroom */
  1759. $handler->display->display_options['fields']['field_tode_showroom']['id'] = 'field_tode_showroom';
  1760. $handler->display->display_options['fields']['field_tode_showroom']['table'] = 'field_data_field_tode_showroom';
  1761. $handler->display->display_options['fields']['field_tode_showroom']['field'] = 'field_tode_showroom';
  1762. /* Field: Content: Edit link */
  1763. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  1764. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  1765. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  1766. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  1767. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  1768. /* Field: Global: Custom text */
  1769. $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
  1770. $handler->display->display_options['fields']['nothing']['table'] = 'views';
  1771. $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
  1772. $handler->display->display_options['fields']['nothing']['label'] = 'Translation';
  1773. $handler->display->display_options['fields']['nothing']['alter']['text'] = '<span class="node-edit"><a href="/node/[nid]/translate">translate</a></span>';
  1774. /* Field: Content: Email */
  1775. $handler->display->display_options['fields']['field_public_email']['id'] = 'field_public_email';
  1776. $handler->display->display_options['fields']['field_public_email']['table'] = 'field_data_field_public_email';
  1777. $handler->display->display_options['fields']['field_public_email']['field'] = 'field_public_email';
  1778. $handler->display->display_options['fields']['field_public_email']['label'] = 'Courriel';
  1779. /* Field: Content: Phone */
  1780. $handler->display->display_options['fields']['field_public_phone']['id'] = 'field_public_phone';
  1781. $handler->display->display_options['fields']['field_public_phone']['table'] = 'field_data_field_public_phone';
  1782. $handler->display->display_options['fields']['field_public_phone']['field'] = 'field_public_phone';
  1783. /* Field: Content: Adresse */
  1784. $handler->display->display_options['fields']['field_public_address']['id'] = 'field_public_address';
  1785. $handler->display->display_options['fields']['field_public_address']['table'] = 'field_data_field_public_address';
  1786. $handler->display->display_options['fields']['field_public_address']['field'] = 'field_public_address';
  1787. $handler->display->display_options['fields']['field_public_address']['click_sort_column'] = 'country';
  1788. $handler->display->display_options['fields']['field_public_address']['settings'] = array(
  1789. 'use_widget_handlers' => 1,
  1790. 'format_handlers' => array(
  1791. 'address' => 'address',
  1792. ),
  1793. );
  1794. /* Field: Content: Body */
  1795. $handler->display->display_options['fields']['body']['id'] = 'body';
  1796. $handler->display->display_options['fields']['body']['table'] = 'field_data_body';
  1797. $handler->display->display_options['fields']['body']['field'] = 'body';
  1798. $handler->display->display_options['fields']['body']['label'] = 'Corps';
  1799. $handler->display->display_options['fields']['body']['type'] = 'text_summary_or_trimmed';
  1800. $handler->display->display_options['fields']['body']['settings'] = array(
  1801. 'trim_length' => '200',
  1802. );
  1803. /* Field: Field: Mémo */
  1804. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  1805. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  1806. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  1807. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  1808. $handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300';
  1809. $handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE;
  1810. $handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE;
  1811. /* Field: Workflow: Current state */
  1812. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  1813. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  1814. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  1815. /* Field: Content: Delete link */
  1816. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  1817. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  1818. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  1819. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  1820. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  1821. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  1822. $handler->display->display_options['defaults']['filters'] = FALSE;
  1823. /* Filter criterion: Content: Type */
  1824. $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  1825. $handler->display->display_options['filters']['type_1']['table'] = 'node';
  1826. $handler->display->display_options['filters']['type_1']['field'] = 'type';
  1827. $handler->display->display_options['filters']['type_1']['value'] = array(
  1828. 'showroom' => 'showroom',
  1829. );
  1830. $handler->display->display_options['filters']['type_1']['group'] = 1;
  1831. /* Filter criterion: Content: Title */
  1832. $handler->display->display_options['filters']['title']['id'] = 'title';
  1833. $handler->display->display_options['filters']['title']['table'] = 'node';
  1834. $handler->display->display_options['filters']['title']['field'] = 'title';
  1835. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  1836. $handler->display->display_options['filters']['title']['group'] = 1;
  1837. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  1838. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  1839. $handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains';
  1840. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  1841. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  1842. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  1843. /* Filter criterion: Field: Mémo (field_memo) */
  1844. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  1845. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  1846. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  1847. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  1848. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  1849. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  1850. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  1851. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  1852. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  1853. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  1854. /* Filter criterion: Workflow: Current state */
  1855. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  1856. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  1857. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  1858. $handler->display->display_options['filters']['sid']['group'] = 1;
  1859. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  1860. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  1861. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  1862. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  1863. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  1864. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  1865. /* Filter criterion: Content: Published */
  1866. $handler->display->display_options['filters']['status']['id'] = 'status';
  1867. $handler->display->display_options['filters']['status']['table'] = 'node';
  1868. $handler->display->display_options['filters']['status']['field'] = 'status';
  1869. $handler->display->display_options['filters']['status']['value'] = '1';
  1870. $handler->display->display_options['filters']['status']['group'] = 1;
  1871. $handler->display->display_options['path'] = 'admin/content/showrooms';
  1872. $handler->display->display_options['menu']['type'] = 'tab';
  1873. $handler->display->display_options['menu']['title'] = 'Showrooms';
  1874. $handler->display->display_options['menu']['description'] = 'showrooms';
  1875. $handler->display->display_options['menu']['weight'] = '-100';
  1876. $handler->display->display_options['menu']['context'] = 0;
  1877. $handler->display->display_options['menu']['context_only_inline'] = 0;
  1878. $handler->display->display_options['tab_options']['type'] = 'normal';
  1879. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1880. $handler->display->display_options['tab_options']['weight'] = '0';
  1881. $translatables['admin_contents'] = array(
  1882. t('Master'),
  1883. t('Contenu'),
  1884. t('plus'),
  1885. t('Filtrer'),
  1886. t('réinitialiser'),
  1887. t('Trier par'),
  1888. t('Asc'),
  1889. t('Desc'),
  1890. t('Éléments par page'),
  1891. t('- Tout -'),
  1892. t('Décalage'),
  1893. t('« premier'),
  1894. t('‹ précédent'),
  1895. t('suivant ›'),
  1896. t('dernier »'),
  1897. t('Résumé'),
  1898. t('Displaying @start - @end of @total'),
  1899. t('Type'),
  1900. t('Title / Name'),
  1901. t('Référence Materio'),
  1902. t('Edit link'),
  1903. t('<span class="node-edit">[edit_node]</span>'),
  1904. t('Fabricants / Distributeurs'),
  1905. t('Distributor'),
  1906. t('Language'),
  1907. t('Translate link'),
  1908. t('<span class="button">[translate_node]</span>'),
  1909. t('Translation status'),
  1910. t('Current state'),
  1911. t('Updated date'),
  1912. t('Mémo'),
  1913. t('Delete link'),
  1914. t('<span class="node-delete">[delete_node]</span>'),
  1915. t('Le titre contient'),
  1916. t('Processus'),
  1917. t('Type de contenu'),
  1918. t('Mémo contient'),
  1919. t('Page : all'),
  1920. t('more'),
  1921. t('Block'),
  1922. t('Recent Content'),
  1923. t('Title'),
  1924. t('Modifier'),
  1925. t('Published'),
  1926. t('Traduire'),
  1927. t('Page : materiaux'),
  1928. t('Materiaux/brèves'),
  1929. t('- Choose an operation -'),
  1930. t('Image'),
  1931. t('Titre'),
  1932. t('Translate'),
  1933. t('<a class="node-edit" href="/node/[nid]/translate">Translate</a>'),
  1934. t('Fabricants/Distributeurs'),
  1935. t('Fab :<br/>
  1936. [field_company_fab] '),
  1937. t('Distrib : <br />
  1938. [field_company_distrib]'),
  1939. t('Onthologie'),
  1940. t('Tags libres'),
  1941. t('Materiau(x) lié(s)'),
  1942. t('Materiaux :<br />[field_materiau_ref]
  1943. '),
  1944. t('Brève(s) liée(s)'),
  1945. t('Brèves :<br />[field_breve_ref]'),
  1946. t('Fichiers joints'),
  1947. t('Localisation'),
  1948. t('Location'),
  1949. t('Title / Name contains'),
  1950. t('Famille'),
  1951. t('Référence'),
  1952. t('Samples'),
  1953. t('Onto'),
  1954. t('Tag libres'),
  1955. t('Société'),
  1956. t('Page : companies'),
  1957. t('Companies'),
  1958. t('Content'),
  1959. t('Post date'),
  1960. t('Adresse'),
  1961. t('Téléphone'),
  1962. t('website'),
  1963. t('Courriel'),
  1964. t('Note'),
  1965. t('Le nom contient'),
  1966. t('Adresse - Code postal'),
  1967. t('Adresse - Localité (Ville)'),
  1968. t('Page : page/publicationfaq/didactique'),
  1969. t('page/publication/didactique/faq'),
  1970. t('Title/Name'),
  1971. t('Page : showrooms'),
  1972. t('Showroom'),
  1973. t('Translation'),
  1974. t('<span class="node-edit"><a href="/node/[nid]/translate">translate</a></span>'),
  1975. t('Phone'),
  1976. t('Corps'),
  1977. );
  1978. $export['admin_contents'] = $view;
  1979. $view = new view();
  1980. $view->name = 'admin_peoples';
  1981. $view->description = 'Administrative view for peoples';
  1982. $view->tag = 'default';
  1983. $view->base_table = 'users';
  1984. $view->human_name = 'Admin Peoples';
  1985. $view->core = 7;
  1986. $view->api_version = '3.0';
  1987. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  1988. /* Display: Master */
  1989. $handler = $view->new_display('default', 'Master', 'default');
  1990. $handler->display->display_options['title'] = 'Admin Users';
  1991. $handler->display->display_options['use_more'] = TRUE;
  1992. $handler->display->display_options['use_more_always'] = FALSE;
  1993. $handler->display->display_options['use_more_text'] = 'plus';
  1994. $handler->display->display_options['access']['type'] = 'role';
  1995. $handler->display->display_options['access']['role'] = array(
  1996. 3 => '3',
  1997. 4 => '4',
  1998. );
  1999. $handler->display->display_options['cache']['type'] = 'none';
  2000. $handler->display->display_options['query']['type'] = 'views_query';
  2001. $handler->display->display_options['query']['options']['distinct'] = TRUE;
  2002. $handler->display->display_options['exposed_form']['type'] = 'basic';
  2003. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  2004. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  2005. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  2006. $handler->display->display_options['pager']['type'] = 'full';
  2007. $handler->display->display_options['pager']['options']['items_per_page'] = '25';
  2008. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  2009. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  2010. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  2011. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  2012. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  2013. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  2014. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  2015. $handler->display->display_options['style_plugin'] = 'table';
  2016. $handler->display->display_options['style_options']['columns'] = array(
  2017. 'views_bulk_operations' => 'views_bulk_operations',
  2018. 'uid' => 'uid',
  2019. 'field_private_name_title' => 'mail',
  2020. 'field_first_name' => 'field_first_name',
  2021. 'field_name' => 'mail',
  2022. 'mail' => 'mail',
  2023. 'edit_node' => 'mail',
  2024. 'rid' => 'expiration',
  2025. 'expiration' => 'expiration',
  2026. 'field_company' => 'field_company',
  2027. 'field_organization' => 'field_company',
  2028. 'field_service' => 'field_company',
  2029. 'field_private_quality' => 'field_company',
  2030. 'field_siret' => 'field_company',
  2031. 'field_employee' => 'field_company',
  2032. 'field_user_website' => 'field_adresse',
  2033. 'field_adresse' => 'field_adresse',
  2034. 'field_private_phone' => 'field_adresse',
  2035. 'php_2' => 'php_2',
  2036. 'field_memo' => 'field_memo',
  2037. 'created' => 'created',
  2038. 'access' => 'access',
  2039. 'language' => 'language',
  2040. 'status' => 'status',
  2041. 'value' => 'value',
  2042. 'views_send' => 'views_send',
  2043. 'php_1' => 'php_1',
  2044. );
  2045. $handler->display->display_options['style_options']['default'] = 'created';
  2046. $handler->display->display_options['style_options']['info'] = array(
  2047. 'views_bulk_operations' => array(
  2048. 'align' => '',
  2049. 'separator' => '',
  2050. 'empty_column' => 0,
  2051. ),
  2052. 'uid' => array(
  2053. 'sortable' => 0,
  2054. 'default_sort_order' => 'asc',
  2055. 'align' => '',
  2056. 'separator' => '',
  2057. 'empty_column' => 0,
  2058. ),
  2059. 'field_private_name_title' => array(
  2060. 'sortable' => 0,
  2061. 'default_sort_order' => 'asc',
  2062. 'align' => '',
  2063. 'separator' => '',
  2064. 'empty_column' => 0,
  2065. ),
  2066. 'field_first_name' => array(
  2067. 'sortable' => 0,
  2068. 'default_sort_order' => 'asc',
  2069. 'align' => '',
  2070. 'separator' => '',
  2071. 'empty_column' => 0,
  2072. ),
  2073. 'field_name' => array(
  2074. 'sortable' => 0,
  2075. 'default_sort_order' => 'asc',
  2076. 'align' => '',
  2077. 'separator' => '',
  2078. 'empty_column' => 0,
  2079. ),
  2080. 'mail' => array(
  2081. 'sortable' => 1,
  2082. 'default_sort_order' => 'asc',
  2083. 'align' => '',
  2084. 'separator' => '<br />',
  2085. 'empty_column' => 0,
  2086. ),
  2087. 'edit_node' => array(
  2088. 'align' => '',
  2089. 'separator' => '',
  2090. 'empty_column' => 0,
  2091. ),
  2092. 'rid' => array(
  2093. 'align' => '',
  2094. 'separator' => '<br />',
  2095. 'empty_column' => 0,
  2096. ),
  2097. 'expiration' => array(
  2098. 'sortable' => 1,
  2099. 'default_sort_order' => 'asc',
  2100. 'align' => '',
  2101. 'separator' => '<br />',
  2102. 'empty_column' => 0,
  2103. ),
  2104. 'field_company' => array(
  2105. 'sortable' => 1,
  2106. 'default_sort_order' => 'asc',
  2107. 'align' => '',
  2108. 'separator' => '<br />',
  2109. 'empty_column' => 0,
  2110. ),
  2111. 'field_organization' => array(
  2112. 'sortable' => 0,
  2113. 'default_sort_order' => 'asc',
  2114. 'align' => '',
  2115. 'separator' => '',
  2116. 'empty_column' => 0,
  2117. ),
  2118. 'field_service' => array(
  2119. 'sortable' => 0,
  2120. 'default_sort_order' => 'asc',
  2121. 'align' => '',
  2122. 'separator' => '',
  2123. 'empty_column' => 0,
  2124. ),
  2125. 'field_private_quality' => array(
  2126. 'sortable' => 0,
  2127. 'default_sort_order' => 'asc',
  2128. 'align' => '',
  2129. 'separator' => '',
  2130. 'empty_column' => 0,
  2131. ),
  2132. 'field_siret' => array(
  2133. 'sortable' => 0,
  2134. 'default_sort_order' => 'asc',
  2135. 'align' => '',
  2136. 'separator' => '',
  2137. 'empty_column' => 0,
  2138. ),
  2139. 'field_employee' => array(
  2140. 'sortable' => 0,
  2141. 'default_sort_order' => 'asc',
  2142. 'align' => '',
  2143. 'separator' => '',
  2144. 'empty_column' => 0,
  2145. ),
  2146. 'field_user_website' => array(
  2147. 'sortable' => 0,
  2148. 'default_sort_order' => 'asc',
  2149. 'align' => '',
  2150. 'separator' => '',
  2151. 'empty_column' => 0,
  2152. ),
  2153. 'field_adresse' => array(
  2154. 'sortable' => 0,
  2155. 'default_sort_order' => 'asc',
  2156. 'align' => '',
  2157. 'separator' => '<br />',
  2158. 'empty_column' => 0,
  2159. ),
  2160. 'field_private_phone' => array(
  2161. 'sortable' => 0,
  2162. 'default_sort_order' => 'asc',
  2163. 'align' => '',
  2164. 'separator' => '<br />',
  2165. 'empty_column' => 0,
  2166. ),
  2167. 'php_2' => array(
  2168. 'align' => '',
  2169. 'separator' => '',
  2170. 'empty_column' => 0,
  2171. ),
  2172. 'field_memo' => array(
  2173. 'sortable' => 0,
  2174. 'default_sort_order' => 'asc',
  2175. 'align' => '',
  2176. 'separator' => '',
  2177. 'empty_column' => 0,
  2178. ),
  2179. 'created' => array(
  2180. 'sortable' => 1,
  2181. 'default_sort_order' => 'desc',
  2182. 'align' => '',
  2183. 'separator' => '',
  2184. 'empty_column' => 0,
  2185. ),
  2186. 'access' => array(
  2187. 'sortable' => 1,
  2188. 'default_sort_order' => 'desc',
  2189. 'align' => '',
  2190. 'separator' => '',
  2191. 'empty_column' => 0,
  2192. ),
  2193. 'language' => array(
  2194. 'sortable' => 0,
  2195. 'default_sort_order' => 'asc',
  2196. 'align' => '',
  2197. 'separator' => '',
  2198. 'empty_column' => 0,
  2199. ),
  2200. 'status' => array(
  2201. 'sortable' => 0,
  2202. 'default_sort_order' => 'asc',
  2203. 'align' => '',
  2204. 'separator' => '',
  2205. 'empty_column' => 0,
  2206. ),
  2207. 'value' => array(
  2208. 'sortable' => 1,
  2209. 'default_sort_order' => 'asc',
  2210. 'align' => '',
  2211. 'separator' => '',
  2212. 'empty_column' => 0,
  2213. ),
  2214. 'views_send' => array(
  2215. 'align' => '',
  2216. 'separator' => '',
  2217. 'empty_column' => 0,
  2218. ),
  2219. 'php_1' => array(
  2220. 'align' => '',
  2221. 'separator' => '',
  2222. 'empty_column' => 0,
  2223. ),
  2224. );
  2225. /* Header: Global: Result summary */
  2226. $handler->display->display_options['header']['result']['id'] = 'result';
  2227. $handler->display->display_options['header']['result']['table'] = 'views';
  2228. $handler->display->display_options['header']['result']['field'] = 'result';
  2229. $handler->display->display_options['header']['result']['label'] = 'Résumé';
  2230. /* Relationship: User: Profile */
  2231. $handler->display->display_options['relationships']['profile']['id'] = 'profile';
  2232. $handler->display->display_options['relationships']['profile']['table'] = 'users';
  2233. $handler->display->display_options['relationships']['profile']['field'] = 'profile';
  2234. $handler->display->display_options['relationships']['profile']['bundle_types'] = array(
  2235. 'adherent' => 'adherent',
  2236. );
  2237. /* Field: Bulk operations: User */
  2238. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  2239. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_user';
  2240. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  2241. $handler->display->display_options['fields']['views_bulk_operations']['label'] = 'Utilisateur';
  2242. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  2243. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  2244. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  2245. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  2246. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  2247. 'action::views_bulk_operations_user_cancel_action' => array(
  2248. 'selected' => 1,
  2249. 'postpone_processing' => 0,
  2250. 'skip_confirmation' => 0,
  2251. 'override_label' => 0,
  2252. 'label' => '',
  2253. ),
  2254. 'action::user_block_user_action' => array(
  2255. 'selected' => 1,
  2256. 'postpone_processing' => 0,
  2257. 'skip_confirmation' => 0,
  2258. 'override_label' => 0,
  2259. 'label' => '',
  2260. ),
  2261. 'action::views_bulk_operations_modify_action' => array(
  2262. 'selected' => 1,
  2263. 'postpone_processing' => 0,
  2264. 'skip_confirmation' => 0,
  2265. 'override_label' => 0,
  2266. 'label' => '',
  2267. 'settings' => array(
  2268. 'show_all_tokens' => 1,
  2269. 'display_values' => array(
  2270. 'status' => 'status',
  2271. 'user::field_memo' => 'user::field_memo',
  2272. ),
  2273. ),
  2274. ),
  2275. );
  2276. /* Field: User: Uid */
  2277. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  2278. $handler->display->display_options['fields']['uid']['table'] = 'users';
  2279. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  2280. $handler->display->display_options['fields']['uid']['label'] = '';
  2281. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  2282. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  2283. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  2284. /* Field: Profile: Title */
  2285. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  2286. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  2287. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  2288. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  2289. /* Field: Profile: First name */
  2290. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  2291. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  2292. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  2293. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  2294. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  2295. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  2296. /* Field: Profile: Name */
  2297. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  2298. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  2299. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  2300. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  2301. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  2302. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  2303. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  2304. /* Field: User: E-mail */
  2305. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  2306. $handler->display->display_options['fields']['mail']['table'] = 'users';
  2307. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  2308. /* Field: User: Edit link */
  2309. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  2310. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  2311. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  2312. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  2313. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  2314. /* Field: User: Roles */
  2315. $handler->display->display_options['fields']['rid']['id'] = 'rid';
  2316. $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  2317. $handler->display->display_options['fields']['rid']['field'] = 'rid';
  2318. /* Field: User: Ubercart Role expiration date/time */
  2319. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  2320. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  2321. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  2322. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  2323. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  2324. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  2325. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  2326. /* Field: User: Company */
  2327. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  2328. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  2329. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  2330. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  2331. /* Field: Profile: Organization */
  2332. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  2333. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  2334. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  2335. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  2336. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  2337. /* Field: Profile: service */
  2338. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  2339. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  2340. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  2341. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  2342. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  2343. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  2344. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  2345. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  2346. /* Field: Profile: Quality */
  2347. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  2348. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  2349. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  2350. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  2351. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  2352. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  2353. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  2354. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  2355. /* Field: Profile: SIRET */
  2356. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  2357. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  2358. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  2359. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  2360. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  2361. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  2362. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  2363. /* Field: Profile: Employee */
  2364. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  2365. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  2366. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  2367. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  2368. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  2369. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  2370. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  2371. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  2372. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  2373. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  2374. 'thousand_separator' => ' ',
  2375. 'prefix_suffix' => 1,
  2376. );
  2377. /* Field: Profile: Website */
  2378. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  2379. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  2380. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  2381. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  2382. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  2383. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  2384. /* Field: Profile: Adresse */
  2385. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  2386. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  2387. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  2388. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  2389. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  2390. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  2391. 'use_widget_handlers' => 1,
  2392. 'format_handlers' => array(
  2393. 'address' => 'address',
  2394. ),
  2395. );
  2396. /* Field: Profile: Phone */
  2397. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  2398. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  2399. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  2400. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  2401. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  2402. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  2403. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  2404. /* Field: Global: PHP */
  2405. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  2406. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  2407. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  2408. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  2409. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  2410. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  2411. //dsm($subscriber);
  2412. foreach($subscriber->tids as $tid){
  2413. $new = simplenews_category_load($tid);
  2414. $news[] = $new->name;
  2415. }
  2416. return $news;';
  2417. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  2418. print implode($value, \'<br>\');
  2419. ?>';
  2420. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  2421. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  2422. /* Field: Field: Mémo */
  2423. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  2424. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  2425. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  2426. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  2427. /* Field: User: Created date */
  2428. $handler->display->display_options['fields']['created']['id'] = 'created';
  2429. $handler->display->display_options['fields']['created']['table'] = 'users';
  2430. $handler->display->display_options['fields']['created']['field'] = 'created';
  2431. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  2432. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  2433. /* Field: User: Last access */
  2434. $handler->display->display_options['fields']['access']['id'] = 'access';
  2435. $handler->display->display_options['fields']['access']['table'] = 'users';
  2436. $handler->display->display_options['fields']['access']['field'] = 'access';
  2437. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  2438. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  2439. /* Field: User: Language */
  2440. $handler->display->display_options['fields']['language']['id'] = 'language';
  2441. $handler->display->display_options['fields']['language']['table'] = 'users';
  2442. $handler->display->display_options['fields']['language']['field'] = 'language';
  2443. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  2444. /* Field: User: Active */
  2445. $handler->display->display_options['fields']['status']['id'] = 'status';
  2446. $handler->display->display_options['fields']['status']['table'] = 'users';
  2447. $handler->display->display_options['fields']['status']['field'] = 'status';
  2448. /* Field: User Stats: Value */
  2449. $handler->display->display_options['fields']['value']['id'] = 'value';
  2450. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  2451. $handler->display->display_options['fields']['value']['field'] = 'value';
  2452. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  2453. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  2454. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  2455. /* Field: Global: Send e-mail */
  2456. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  2457. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  2458. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  2459. /* Field: Global: PHP */
  2460. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  2461. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  2462. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  2463. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  2464. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  2465. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  2466. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  2467. $account = user_load($row->uid);
  2468. print user_pass_reset_url($account);
  2469. ?>';
  2470. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  2471. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  2472. /* Filter criterion: User: Active */
  2473. $handler->display->display_options['filters']['status']['id'] = 'status';
  2474. $handler->display->display_options['filters']['status']['table'] = 'users';
  2475. $handler->display->display_options['filters']['status']['field'] = 'status';
  2476. $handler->display->display_options['filters']['status']['value'] = 'All';
  2477. $handler->display->display_options['filters']['status']['group'] = 1;
  2478. $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  2479. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  2480. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  2481. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  2482. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  2483. $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
  2484. 2 => '2',
  2485. 1 => 0,
  2486. 9 => 0,
  2487. 7 => 0,
  2488. 10 => 0,
  2489. 11 => 0,
  2490. 6 => 0,
  2491. 5 => 0,
  2492. 8 => 0,
  2493. 12 => 0,
  2494. 13 => 0,
  2495. 3 => 0,
  2496. 4 => 0,
  2497. );
  2498. /* Filter criterion: User: Roles */
  2499. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  2500. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  2501. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  2502. $handler->display->display_options['filters']['rid']['value'] = array(
  2503. 9 => '9',
  2504. 7 => '7',
  2505. 10 => '10',
  2506. 11 => '11',
  2507. 6 => '6',
  2508. 5 => '5',
  2509. 8 => '8',
  2510. 12 => '12',
  2511. 3 => '3',
  2512. );
  2513. $handler->display->display_options['filters']['rid']['group'] = 1;
  2514. $handler->display->display_options['filters']['rid']['exposed'] = TRUE;
  2515. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  2516. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  2517. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  2518. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  2519. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  2520. 2 => 0,
  2521. 9 => '9',
  2522. 7 => '7',
  2523. 10 => '10',
  2524. 11 => '11',
  2525. 6 => '6',
  2526. 5 => '5',
  2527. 1 => 0,
  2528. 8 => 0,
  2529. 12 => 0,
  2530. 3 => 0,
  2531. 4 => 0,
  2532. 13 => 0,
  2533. );
  2534. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  2535. /* Filter criterion: User: Company (field_company) */
  2536. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  2537. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  2538. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  2539. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  2540. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  2541. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  2542. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  2543. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  2544. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  2545. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  2546. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  2547. /* Filter criterion: Profile: Organization (field_organization) */
  2548. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  2549. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  2550. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  2551. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  2552. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  2553. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  2554. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  2555. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  2556. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  2557. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  2558. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  2559. 2 => '2',
  2560. 1 => 0,
  2561. 9 => 0,
  2562. 7 => 0,
  2563. 10 => 0,
  2564. 6 => 0,
  2565. 8 => 0,
  2566. 5 => 0,
  2567. 3 => 0,
  2568. 4 => 0,
  2569. );
  2570. /* Filter criterion: Field: Mémo (field_memo) */
  2571. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  2572. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  2573. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  2574. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  2575. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  2576. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  2577. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  2578. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  2579. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  2580. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  2581. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  2582. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  2583. 2 => '2',
  2584. 1 => 0,
  2585. 7 => 0,
  2586. 6 => 0,
  2587. 8 => 0,
  2588. 5 => 0,
  2589. 3 => 0,
  2590. 4 => 0,
  2591. );
  2592. /* Filter criterion: User: E-mail */
  2593. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  2594. $handler->display->display_options['filters']['mail']['table'] = 'users';
  2595. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  2596. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  2597. $handler->display->display_options['filters']['mail']['group'] = 1;
  2598. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  2599. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  2600. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  2601. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  2602. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  2603. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  2604. 2 => '2',
  2605. 1 => 0,
  2606. 7 => 0,
  2607. 6 => 0,
  2608. 5 => 0,
  2609. 3 => 0,
  2610. 4 => 0,
  2611. );
  2612. /* Filter criterion: User: Language */
  2613. $handler->display->display_options['filters']['language']['id'] = 'language';
  2614. $handler->display->display_options['filters']['language']['table'] = 'users';
  2615. $handler->display->display_options['filters']['language']['field'] = 'language';
  2616. $handler->display->display_options['filters']['language']['value'] = array(
  2617. 'en' => 'en',
  2618. 'fr' => 'fr',
  2619. 'zh-hans' => 'zh-hans',
  2620. 'cs' => 'cs',
  2621. );
  2622. $handler->display->display_options['filters']['language']['group'] = 1;
  2623. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  2624. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  2625. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  2626. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  2627. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  2628. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  2629. 2 => '2',
  2630. 1 => 0,
  2631. 9 => 0,
  2632. 7 => 0,
  2633. 10 => 0,
  2634. 11 => 0,
  2635. 6 => 0,
  2636. 5 => 0,
  2637. 8 => 0,
  2638. 12 => 0,
  2639. 3 => 0,
  2640. 4 => 0,
  2641. 13 => 0,
  2642. );
  2643. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  2644. /* Filter criterion: User: E-mail */
  2645. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  2646. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  2647. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  2648. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  2649. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  2650. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  2651. /* Display: Page : all */
  2652. $handler = $view->new_display('page', 'Page : all', 'page');
  2653. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  2654. $handler->display->display_options['defaults']['exposed_form'] = FALSE;
  2655. $handler->display->display_options['exposed_form']['type'] = 'input_required';
  2656. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  2657. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  2658. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  2659. $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';
  2660. $handler->display->display_options['exposed_form']['options']['text_input_required_format'] = 'filtred_html';
  2661. $handler->display->display_options['path'] = 'admin/users';
  2662. $handler->display->display_options['menu']['type'] = 'tab';
  2663. $handler->display->display_options['menu']['title'] = 'Peoples';
  2664. $handler->display->display_options['menu']['weight'] = '6';
  2665. $handler->display->display_options['menu']['context'] = 0;
  2666. $handler->display->display_options['menu']['context_only_inline'] = 0;
  2667. /* Display: Data export */
  2668. $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  2669. $handler->display->display_options['pager']['type'] = 'some';
  2670. $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  2671. $handler->display->display_options['path'] = 'admin/users/export';
  2672. /* Display: Page : members */
  2673. $handler = $view->new_display('page', 'Page : members', 'page_1');
  2674. $handler->display->display_options['defaults']['title'] = FALSE;
  2675. $handler->display->display_options['title'] = 'Admin Members';
  2676. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  2677. $handler->display->display_options['defaults']['fields'] = FALSE;
  2678. /* Field: Bulk operations: User */
  2679. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  2680. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_user';
  2681. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  2682. $handler->display->display_options['fields']['views_bulk_operations']['label'] = 'Utilisateur';
  2683. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  2684. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  2685. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  2686. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  2687. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  2688. 'action::views_bulk_operations_user_cancel_action' => array(
  2689. 'selected' => 1,
  2690. 'postpone_processing' => 0,
  2691. 'skip_confirmation' => 0,
  2692. 'override_label' => 0,
  2693. 'label' => '',
  2694. ),
  2695. 'action::user_block_user_action' => array(
  2696. 'selected' => 1,
  2697. 'postpone_processing' => 0,
  2698. 'skip_confirmation' => 0,
  2699. 'override_label' => 0,
  2700. 'label' => '',
  2701. ),
  2702. 'action::views_bulk_operations_modify_action' => array(
  2703. 'selected' => 1,
  2704. 'postpone_processing' => 0,
  2705. 'skip_confirmation' => 0,
  2706. 'override_label' => 0,
  2707. 'label' => '',
  2708. 'settings' => array(
  2709. 'show_all_tokens' => 1,
  2710. 'display_values' => array(
  2711. 'status' => 'status',
  2712. 'user::field_memo' => 'user::field_memo',
  2713. ),
  2714. ),
  2715. ),
  2716. );
  2717. /* Field: User: Uid */
  2718. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  2719. $handler->display->display_options['fields']['uid']['table'] = 'users';
  2720. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  2721. $handler->display->display_options['fields']['uid']['label'] = '';
  2722. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  2723. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  2724. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  2725. /* Field: Profile: Title */
  2726. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  2727. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  2728. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  2729. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  2730. /* Field: Profile: First name */
  2731. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  2732. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  2733. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  2734. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  2735. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  2736. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  2737. /* Field: Profile: Name */
  2738. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  2739. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  2740. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  2741. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  2742. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  2743. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  2744. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  2745. /* Field: User: E-mail */
  2746. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  2747. $handler->display->display_options['fields']['mail']['table'] = 'users';
  2748. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  2749. /* Field: User: Edit link */
  2750. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  2751. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  2752. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  2753. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  2754. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  2755. /* Field: User: Ubercart Role expiration date/time */
  2756. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  2757. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  2758. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  2759. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  2760. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  2761. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  2762. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  2763. /* Field: User: Company */
  2764. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  2765. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  2766. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  2767. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  2768. /* Field: Profile: Organization */
  2769. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  2770. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  2771. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  2772. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  2773. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  2774. /* Field: Profile: service */
  2775. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  2776. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  2777. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  2778. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  2779. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  2780. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  2781. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  2782. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  2783. /* Field: Profile: Quality */
  2784. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  2785. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  2786. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  2787. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  2788. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  2789. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  2790. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  2791. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  2792. /* Field: Profile: SIRET */
  2793. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  2794. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  2795. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  2796. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  2797. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  2798. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  2799. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  2800. /* Field: Profile: Employee */
  2801. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  2802. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  2803. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  2804. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  2805. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  2806. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  2807. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  2808. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  2809. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  2810. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  2811. 'thousand_separator' => ' ',
  2812. 'prefix_suffix' => 1,
  2813. );
  2814. /* Field: Profile: Website */
  2815. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  2816. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  2817. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  2818. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  2819. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  2820. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  2821. /* Field: Profile: Adresse */
  2822. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  2823. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  2824. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  2825. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  2826. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  2827. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  2828. 'use_widget_handlers' => 1,
  2829. 'format_handlers' => array(
  2830. 'address' => 'address',
  2831. ),
  2832. );
  2833. /* Field: Profile: Phone */
  2834. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  2835. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  2836. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  2837. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  2838. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  2839. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  2840. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  2841. /* Field: Global: PHP */
  2842. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  2843. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  2844. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  2845. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  2846. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 1;
  2847. $handler->display->display_options['fields']['php_2']['php_setup'] = '$simplenews = simplenews_category_list();
  2848. //dsm($simplenews);
  2849. $static = $simplenews;';
  2850. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  2851. //dsm($subscriber);
  2852. foreach($subscriber->tids as $tid){
  2853. //$new = simplenews_category_load($tid);
  2854. $news[] = $static[$tid];
  2855. }
  2856. return $news;';
  2857. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  2858. print implode($value, \'<br>\');
  2859. ?>';
  2860. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  2861. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  2862. /* Field: Field: Mémo */
  2863. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  2864. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  2865. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  2866. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  2867. /* Field: User: Created date */
  2868. $handler->display->display_options['fields']['created']['id'] = 'created';
  2869. $handler->display->display_options['fields']['created']['table'] = 'users';
  2870. $handler->display->display_options['fields']['created']['field'] = 'created';
  2871. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  2872. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  2873. /* Field: User: Last access */
  2874. $handler->display->display_options['fields']['access']['id'] = 'access';
  2875. $handler->display->display_options['fields']['access']['table'] = 'users';
  2876. $handler->display->display_options['fields']['access']['field'] = 'access';
  2877. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  2878. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  2879. /* Field: User: Language */
  2880. $handler->display->display_options['fields']['language']['id'] = 'language';
  2881. $handler->display->display_options['fields']['language']['table'] = 'users';
  2882. $handler->display->display_options['fields']['language']['field'] = 'language';
  2883. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  2884. /* Field: User Stats: Value */
  2885. $handler->display->display_options['fields']['value']['id'] = 'value';
  2886. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  2887. $handler->display->display_options['fields']['value']['field'] = 'value';
  2888. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  2889. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  2890. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  2891. /* Field: Global: Send e-mail */
  2892. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  2893. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  2894. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  2895. /* Field: Global: PHP */
  2896. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  2897. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  2898. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  2899. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  2900. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  2901. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  2902. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  2903. $account = user_load($row->uid);
  2904. print user_pass_reset_url($account);
  2905. ?>';
  2906. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  2907. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  2908. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  2909. $handler->display->display_options['defaults']['filters'] = FALSE;
  2910. /* Filter criterion: User: Active */
  2911. $handler->display->display_options['filters']['status']['id'] = 'status';
  2912. $handler->display->display_options['filters']['status']['table'] = 'users';
  2913. $handler->display->display_options['filters']['status']['field'] = 'status';
  2914. $handler->display->display_options['filters']['status']['value'] = '1';
  2915. $handler->display->display_options['filters']['status']['group'] = 1;
  2916. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  2917. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  2918. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  2919. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  2920. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  2921. /* Filter criterion: User: Roles */
  2922. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  2923. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  2924. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  2925. $handler->display->display_options['filters']['rid']['value'] = array(
  2926. 6 => '6',
  2927. );
  2928. $handler->display->display_options['filters']['rid']['group'] = 1;
  2929. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  2930. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  2931. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  2932. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  2933. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  2934. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  2935. 2 => '2',
  2936. 1 => 0,
  2937. 9 => 0,
  2938. 7 => 0,
  2939. 10 => 0,
  2940. 6 => 0,
  2941. 8 => 0,
  2942. 5 => 0,
  2943. 3 => 0,
  2944. 4 => 0,
  2945. );
  2946. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  2947. /* Filter criterion: User: Company (field_company) */
  2948. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  2949. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  2950. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  2951. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  2952. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  2953. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  2954. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  2955. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  2956. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  2957. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  2958. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  2959. /* Filter criterion: Profile: Organization (field_organization) */
  2960. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  2961. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  2962. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  2963. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  2964. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  2965. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  2966. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  2967. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  2968. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  2969. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  2970. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  2971. 2 => '2',
  2972. 1 => 0,
  2973. 9 => 0,
  2974. 7 => 0,
  2975. 10 => 0,
  2976. 6 => 0,
  2977. 8 => 0,
  2978. 5 => 0,
  2979. 3 => 0,
  2980. 4 => 0,
  2981. );
  2982. /* Filter criterion: Field: Mémo (field_memo) */
  2983. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  2984. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  2985. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  2986. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  2987. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  2988. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  2989. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  2990. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  2991. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  2992. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  2993. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  2994. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  2995. 2 => '2',
  2996. 1 => 0,
  2997. 7 => 0,
  2998. 6 => 0,
  2999. 8 => 0,
  3000. 5 => 0,
  3001. 3 => 0,
  3002. 4 => 0,
  3003. );
  3004. /* Filter criterion: User: E-mail */
  3005. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  3006. $handler->display->display_options['filters']['mail']['table'] = 'users';
  3007. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  3008. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  3009. $handler->display->display_options['filters']['mail']['group'] = 1;
  3010. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  3011. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  3012. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  3013. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  3014. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  3015. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  3016. 2 => '2',
  3017. 1 => 0,
  3018. 7 => 0,
  3019. 6 => 0,
  3020. 5 => 0,
  3021. 3 => 0,
  3022. 4 => 0,
  3023. );
  3024. /* Filter criterion: User: Language */
  3025. $handler->display->display_options['filters']['language']['id'] = 'language';
  3026. $handler->display->display_options['filters']['language']['table'] = 'users';
  3027. $handler->display->display_options['filters']['language']['field'] = 'language';
  3028. $handler->display->display_options['filters']['language']['value'] = array(
  3029. 'en' => 'en',
  3030. 'fr' => 'fr',
  3031. );
  3032. $handler->display->display_options['filters']['language']['group'] = 1;
  3033. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  3034. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  3035. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  3036. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  3037. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  3038. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  3039. 2 => '2',
  3040. 1 => 0,
  3041. 7 => 0,
  3042. 6 => 0,
  3043. 8 => 0,
  3044. 5 => 0,
  3045. 3 => 0,
  3046. 4 => 0,
  3047. );
  3048. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  3049. /* Filter criterion: User: E-mail */
  3050. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  3051. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  3052. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  3053. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  3054. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  3055. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  3056. $handler->display->display_options['path'] = 'admin/users/members';
  3057. $handler->display->display_options['menu']['title'] = 'Members';
  3058. $handler->display->display_options['menu']['weight'] = '6';
  3059. $handler->display->display_options['menu']['context'] = 0;
  3060. $handler->display->display_options['menu']['context_only_inline'] = 0;
  3061. /* Display: Page : industriels */
  3062. $handler = $view->new_display('page', 'Page : industriels', 'page_2');
  3063. $handler->display->display_options['defaults']['title'] = FALSE;
  3064. $handler->display->display_options['title'] = 'Admin Industriels';
  3065. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  3066. $handler->display->display_options['defaults']['relationships'] = FALSE;
  3067. $handler->display->display_options['defaults']['fields'] = FALSE;
  3068. /* Field: Bulk operations: User */
  3069. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  3070. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_user';
  3071. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  3072. $handler->display->display_options['fields']['views_bulk_operations']['label'] = 'Utilisateur';
  3073. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  3074. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  3075. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  3076. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  3077. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  3078. 'action::views_bulk_operations_user_cancel_action' => array(
  3079. 'selected' => 1,
  3080. 'postpone_processing' => 0,
  3081. 'skip_confirmation' => 0,
  3082. 'override_label' => 0,
  3083. 'label' => '',
  3084. ),
  3085. 'action::user_block_user_action' => array(
  3086. 'selected' => 1,
  3087. 'postpone_processing' => 0,
  3088. 'skip_confirmation' => 0,
  3089. 'override_label' => 0,
  3090. 'label' => '',
  3091. ),
  3092. 'action::views_bulk_operations_modify_action' => array(
  3093. 'selected' => 1,
  3094. 'postpone_processing' => 0,
  3095. 'skip_confirmation' => 0,
  3096. 'override_label' => 0,
  3097. 'label' => '',
  3098. 'settings' => array(
  3099. 'show_all_tokens' => 1,
  3100. 'display_values' => array(
  3101. 'status' => 'status',
  3102. 'user::field_memo' => 'user::field_memo',
  3103. ),
  3104. ),
  3105. ),
  3106. );
  3107. /* Field: User: Uid */
  3108. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  3109. $handler->display->display_options['fields']['uid']['table'] = 'users';
  3110. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  3111. $handler->display->display_options['fields']['uid']['label'] = '';
  3112. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  3113. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  3114. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  3115. /* Field: User: E-mail */
  3116. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  3117. $handler->display->display_options['fields']['mail']['table'] = 'users';
  3118. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  3119. /* Field: User: Edit link */
  3120. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  3121. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  3122. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  3123. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  3124. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  3125. /* Field: User: Company */
  3126. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  3127. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  3128. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  3129. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  3130. /* Field: Field: Mémo */
  3131. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  3132. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  3133. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  3134. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  3135. /* Field: User: Created date */
  3136. $handler->display->display_options['fields']['created']['id'] = 'created';
  3137. $handler->display->display_options['fields']['created']['table'] = 'users';
  3138. $handler->display->display_options['fields']['created']['field'] = 'created';
  3139. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  3140. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  3141. /* Field: User: Last access */
  3142. $handler->display->display_options['fields']['access']['id'] = 'access';
  3143. $handler->display->display_options['fields']['access']['table'] = 'users';
  3144. $handler->display->display_options['fields']['access']['field'] = 'access';
  3145. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  3146. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  3147. /* Field: User: Language */
  3148. $handler->display->display_options['fields']['language']['id'] = 'language';
  3149. $handler->display->display_options['fields']['language']['table'] = 'users';
  3150. $handler->display->display_options['fields']['language']['field'] = 'language';
  3151. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  3152. /* Field: User Stats: Value */
  3153. $handler->display->display_options['fields']['value']['id'] = 'value';
  3154. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  3155. $handler->display->display_options['fields']['value']['field'] = 'value';
  3156. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  3157. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  3158. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  3159. /* Field: Global: Send e-mail */
  3160. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  3161. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  3162. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  3163. /* Field: Global: PHP */
  3164. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  3165. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  3166. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  3167. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  3168. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  3169. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  3170. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  3171. $account = user_load($row->uid);
  3172. print user_pass_reset_url($account);
  3173. ?>';
  3174. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  3175. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  3176. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  3177. $handler->display->display_options['defaults']['filters'] = FALSE;
  3178. /* Filter criterion: User: Active */
  3179. $handler->display->display_options['filters']['status']['id'] = 'status';
  3180. $handler->display->display_options['filters']['status']['table'] = 'users';
  3181. $handler->display->display_options['filters']['status']['field'] = 'status';
  3182. $handler->display->display_options['filters']['status']['value'] = '1';
  3183. $handler->display->display_options['filters']['status']['group'] = 1;
  3184. $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  3185. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  3186. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  3187. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  3188. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  3189. $handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
  3190. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  3191. $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
  3192. 2 => '2',
  3193. 1 => 0,
  3194. 9 => 0,
  3195. 7 => 0,
  3196. 10 => 0,
  3197. 11 => 0,
  3198. 6 => 0,
  3199. 5 => 0,
  3200. 8 => 0,
  3201. 3 => 0,
  3202. 4 => 0,
  3203. );
  3204. /* Filter criterion: User: Roles */
  3205. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  3206. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  3207. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  3208. $handler->display->display_options['filters']['rid']['value'] = array(
  3209. 5 => '5',
  3210. );
  3211. $handler->display->display_options['filters']['rid']['group'] = 1;
  3212. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  3213. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  3214. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  3215. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  3216. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  3217. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  3218. 2 => '2',
  3219. 1 => 0,
  3220. 9 => 0,
  3221. 7 => 0,
  3222. 10 => 0,
  3223. 6 => 0,
  3224. 8 => 0,
  3225. 5 => 0,
  3226. 3 => 0,
  3227. 4 => 0,
  3228. );
  3229. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  3230. /* Filter criterion: User: Roles */
  3231. $handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
  3232. $handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
  3233. $handler->display->display_options['filters']['rid_1']['field'] = 'rid';
  3234. $handler->display->display_options['filters']['rid_1']['value'] = array(
  3235. 7 => '7',
  3236. 6 => '6',
  3237. );
  3238. $handler->display->display_options['filters']['rid_1']['group'] = 1;
  3239. $handler->display->display_options['filters']['rid_1']['exposed'] = TRUE;
  3240. $handler->display->display_options['filters']['rid_1']['expose']['operator_id'] = 'rid_1_op';
  3241. $handler->display->display_options['filters']['rid_1']['expose']['label'] = 'Rôles';
  3242. $handler->display->display_options['filters']['rid_1']['expose']['operator'] = 'rid_1_op';
  3243. $handler->display->display_options['filters']['rid_1']['expose']['identifier'] = 'rid_1';
  3244. $handler->display->display_options['filters']['rid_1']['expose']['remember_roles'] = array(
  3245. 2 => '2',
  3246. 1 => 0,
  3247. 9 => 0,
  3248. 7 => 0,
  3249. 10 => 0,
  3250. 11 => 0,
  3251. 6 => 0,
  3252. 5 => 0,
  3253. 8 => 0,
  3254. 12 => 0,
  3255. 3 => 0,
  3256. 4 => 0,
  3257. 13 => 0,
  3258. );
  3259. $handler->display->display_options['filters']['rid_1']['expose']['reduce'] = TRUE;
  3260. /* Filter criterion: User: Company (field_company) */
  3261. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  3262. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  3263. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  3264. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  3265. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  3266. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  3267. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  3268. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  3269. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  3270. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  3271. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  3272. /* Filter criterion: Field: Mémo (field_memo) */
  3273. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  3274. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  3275. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  3276. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  3277. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  3278. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  3279. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  3280. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  3281. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  3282. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  3283. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  3284. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  3285. 2 => '2',
  3286. 1 => 0,
  3287. 7 => 0,
  3288. 6 => 0,
  3289. 8 => 0,
  3290. 5 => 0,
  3291. 3 => 0,
  3292. 4 => 0,
  3293. );
  3294. /* Filter criterion: User: E-mail */
  3295. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  3296. $handler->display->display_options['filters']['mail']['table'] = 'users';
  3297. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  3298. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  3299. $handler->display->display_options['filters']['mail']['group'] = 1;
  3300. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  3301. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  3302. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  3303. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  3304. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  3305. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  3306. 2 => '2',
  3307. 1 => 0,
  3308. 7 => 0,
  3309. 6 => 0,
  3310. 5 => 0,
  3311. 3 => 0,
  3312. 4 => 0,
  3313. );
  3314. /* Filter criterion: User: Language */
  3315. $handler->display->display_options['filters']['language']['id'] = 'language';
  3316. $handler->display->display_options['filters']['language']['table'] = 'users';
  3317. $handler->display->display_options['filters']['language']['field'] = 'language';
  3318. $handler->display->display_options['filters']['language']['value'] = array(
  3319. 'en' => 'en',
  3320. 'fr' => 'fr',
  3321. );
  3322. $handler->display->display_options['filters']['language']['group'] = 1;
  3323. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  3324. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  3325. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  3326. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  3327. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  3328. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  3329. 2 => '2',
  3330. 1 => 0,
  3331. 7 => 0,
  3332. 6 => 0,
  3333. 8 => 0,
  3334. 5 => 0,
  3335. 3 => 0,
  3336. 4 => 0,
  3337. );
  3338. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  3339. /* Filter criterion: User: E-mail */
  3340. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  3341. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  3342. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  3343. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  3344. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  3345. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  3346. $handler->display->display_options['path'] = 'admin/users/industriels';
  3347. $handler->display->display_options['menu']['type'] = 'tab';
  3348. $handler->display->display_options['menu']['title'] = 'Industriels';
  3349. $handler->display->display_options['menu']['weight'] = '6';
  3350. $handler->display->display_options['menu']['context'] = 0;
  3351. $handler->display->display_options['menu']['context_only_inline'] = 0;
  3352. /* Display: Page : students */
  3353. $handler = $view->new_display('page', 'Page : students', 'page_3');
  3354. $handler->display->display_options['defaults']['title'] = FALSE;
  3355. $handler->display->display_options['title'] = 'Admin Students';
  3356. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  3357. $handler->display->display_options['defaults']['fields'] = FALSE;
  3358. /* Field: Bulk operations: User */
  3359. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  3360. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_user';
  3361. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  3362. $handler->display->display_options['fields']['views_bulk_operations']['label'] = 'Utilisateur';
  3363. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  3364. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  3365. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  3366. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  3367. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  3368. 'action::views_bulk_operations_user_cancel_action' => array(
  3369. 'selected' => 1,
  3370. 'postpone_processing' => 0,
  3371. 'skip_confirmation' => 0,
  3372. 'override_label' => 0,
  3373. 'label' => '',
  3374. ),
  3375. 'action::user_block_user_action' => array(
  3376. 'selected' => 1,
  3377. 'postpone_processing' => 0,
  3378. 'skip_confirmation' => 0,
  3379. 'override_label' => 0,
  3380. 'label' => '',
  3381. ),
  3382. 'action::views_bulk_operations_modify_action' => array(
  3383. 'selected' => 1,
  3384. 'postpone_processing' => 0,
  3385. 'skip_confirmation' => 0,
  3386. 'override_label' => 0,
  3387. 'label' => '',
  3388. 'settings' => array(
  3389. 'show_all_tokens' => 1,
  3390. 'display_values' => array(
  3391. 'status' => 'status',
  3392. 'user::field_memo' => 'user::field_memo',
  3393. ),
  3394. ),
  3395. ),
  3396. );
  3397. /* Field: User: Uid */
  3398. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  3399. $handler->display->display_options['fields']['uid']['table'] = 'users';
  3400. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  3401. $handler->display->display_options['fields']['uid']['label'] = '';
  3402. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  3403. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  3404. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  3405. /* Field: Profile: Title */
  3406. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  3407. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  3408. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  3409. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  3410. /* Field: Profile: First name */
  3411. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  3412. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  3413. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  3414. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  3415. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  3416. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  3417. /* Field: Profile: Name */
  3418. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  3419. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  3420. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  3421. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  3422. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  3423. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  3424. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  3425. /* Field: User: E-mail */
  3426. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  3427. $handler->display->display_options['fields']['mail']['table'] = 'users';
  3428. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  3429. /* Field: User: Edit link */
  3430. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  3431. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  3432. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  3433. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  3434. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  3435. /* Field: User: Ubercart Role expiration date/time */
  3436. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  3437. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  3438. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  3439. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  3440. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  3441. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  3442. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  3443. /* Field: User: Company */
  3444. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  3445. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  3446. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  3447. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  3448. /* Field: Profile: Organization */
  3449. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  3450. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  3451. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  3452. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  3453. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  3454. /* Field: Profile: service */
  3455. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  3456. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  3457. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  3458. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  3459. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  3460. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  3461. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  3462. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  3463. /* Field: Profile: Quality */
  3464. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  3465. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  3466. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  3467. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  3468. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  3469. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  3470. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  3471. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  3472. /* Field: Profile: SIRET */
  3473. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  3474. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  3475. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  3476. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  3477. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  3478. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  3479. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  3480. /* Field: Profile: Employee */
  3481. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  3482. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  3483. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  3484. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  3485. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  3486. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  3487. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  3488. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  3489. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  3490. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  3491. 'thousand_separator' => ' ',
  3492. 'prefix_suffix' => 1,
  3493. );
  3494. /* Field: Profile: Website */
  3495. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  3496. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  3497. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  3498. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  3499. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  3500. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  3501. /* Field: Profile: Adresse */
  3502. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  3503. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  3504. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  3505. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  3506. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  3507. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  3508. 'use_widget_handlers' => 1,
  3509. 'format_handlers' => array(
  3510. 'address' => 'address',
  3511. ),
  3512. );
  3513. /* Field: Profile: Phone */
  3514. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  3515. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  3516. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  3517. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  3518. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  3519. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  3520. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  3521. /* Field: Global: PHP */
  3522. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  3523. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  3524. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  3525. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  3526. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  3527. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  3528. //dsm($subscriber);
  3529. foreach($subscriber->tids as $tid){
  3530. $new = simplenews_category_load($tid);
  3531. $news[] = $new->name;
  3532. }
  3533. return $news;';
  3534. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  3535. print implode($value, \'<br>\');
  3536. ?>';
  3537. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  3538. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  3539. /* Field: Field: Mémo */
  3540. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  3541. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  3542. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  3543. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  3544. /* Field: User: Created date */
  3545. $handler->display->display_options['fields']['created']['id'] = 'created';
  3546. $handler->display->display_options['fields']['created']['table'] = 'users';
  3547. $handler->display->display_options['fields']['created']['field'] = 'created';
  3548. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  3549. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  3550. /* Field: User: Last access */
  3551. $handler->display->display_options['fields']['access']['id'] = 'access';
  3552. $handler->display->display_options['fields']['access']['table'] = 'users';
  3553. $handler->display->display_options['fields']['access']['field'] = 'access';
  3554. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  3555. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  3556. /* Field: User: Language */
  3557. $handler->display->display_options['fields']['language']['id'] = 'language';
  3558. $handler->display->display_options['fields']['language']['table'] = 'users';
  3559. $handler->display->display_options['fields']['language']['field'] = 'language';
  3560. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  3561. /* Field: User Stats: Value */
  3562. $handler->display->display_options['fields']['value']['id'] = 'value';
  3563. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  3564. $handler->display->display_options['fields']['value']['field'] = 'value';
  3565. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  3566. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  3567. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  3568. /* Field: Global: Send e-mail */
  3569. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  3570. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  3571. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  3572. /* Field: Global: PHP */
  3573. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  3574. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  3575. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  3576. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  3577. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  3578. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  3579. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  3580. $account = user_load($row->uid);
  3581. print user_pass_reset_url($account);
  3582. ?>';
  3583. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  3584. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  3585. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  3586. $handler->display->display_options['defaults']['filters'] = FALSE;
  3587. /* Filter criterion: User: Active */
  3588. $handler->display->display_options['filters']['status']['id'] = 'status';
  3589. $handler->display->display_options['filters']['status']['table'] = 'users';
  3590. $handler->display->display_options['filters']['status']['field'] = 'status';
  3591. $handler->display->display_options['filters']['status']['value'] = '1';
  3592. $handler->display->display_options['filters']['status']['group'] = 1;
  3593. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  3594. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  3595. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  3596. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  3597. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  3598. /* Filter criterion: User: Roles */
  3599. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  3600. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  3601. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  3602. $handler->display->display_options['filters']['rid']['value'] = array(
  3603. 10 => '10',
  3604. );
  3605. $handler->display->display_options['filters']['rid']['group'] = 1;
  3606. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  3607. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  3608. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  3609. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  3610. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  3611. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  3612. 2 => '2',
  3613. 1 => 0,
  3614. 9 => 0,
  3615. 7 => 0,
  3616. 10 => 0,
  3617. 6 => 0,
  3618. 8 => 0,
  3619. 5 => 0,
  3620. 3 => 0,
  3621. 4 => 0,
  3622. );
  3623. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  3624. /* Filter criterion: User: Company (field_company) */
  3625. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  3626. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  3627. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  3628. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  3629. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  3630. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  3631. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  3632. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  3633. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  3634. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  3635. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  3636. /* Filter criterion: Profile: Organization (field_organization) */
  3637. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  3638. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  3639. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  3640. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  3641. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  3642. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  3643. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  3644. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  3645. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  3646. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  3647. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  3648. 2 => '2',
  3649. 1 => 0,
  3650. 9 => 0,
  3651. 7 => 0,
  3652. 10 => 0,
  3653. 6 => 0,
  3654. 8 => 0,
  3655. 5 => 0,
  3656. 3 => 0,
  3657. 4 => 0,
  3658. );
  3659. /* Filter criterion: Field: Mémo (field_memo) */
  3660. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  3661. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  3662. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  3663. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  3664. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  3665. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  3666. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  3667. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  3668. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  3669. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  3670. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  3671. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  3672. 2 => '2',
  3673. 1 => 0,
  3674. 7 => 0,
  3675. 6 => 0,
  3676. 8 => 0,
  3677. 5 => 0,
  3678. 3 => 0,
  3679. 4 => 0,
  3680. );
  3681. /* Filter criterion: User: E-mail */
  3682. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  3683. $handler->display->display_options['filters']['mail']['table'] = 'users';
  3684. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  3685. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  3686. $handler->display->display_options['filters']['mail']['group'] = 1;
  3687. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  3688. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  3689. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  3690. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  3691. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  3692. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  3693. 2 => '2',
  3694. 1 => 0,
  3695. 7 => 0,
  3696. 6 => 0,
  3697. 5 => 0,
  3698. 3 => 0,
  3699. 4 => 0,
  3700. );
  3701. /* Filter criterion: User: Language */
  3702. $handler->display->display_options['filters']['language']['id'] = 'language';
  3703. $handler->display->display_options['filters']['language']['table'] = 'users';
  3704. $handler->display->display_options['filters']['language']['field'] = 'language';
  3705. $handler->display->display_options['filters']['language']['value'] = array(
  3706. 'en' => 'en',
  3707. 'fr' => 'fr',
  3708. );
  3709. $handler->display->display_options['filters']['language']['group'] = 1;
  3710. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  3711. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  3712. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  3713. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  3714. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  3715. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  3716. 2 => '2',
  3717. 1 => 0,
  3718. 7 => 0,
  3719. 6 => 0,
  3720. 8 => 0,
  3721. 5 => 0,
  3722. 3 => 0,
  3723. 4 => 0,
  3724. );
  3725. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  3726. /* Filter criterion: User: E-mail */
  3727. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  3728. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  3729. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  3730. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  3731. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  3732. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  3733. $handler->display->display_options['path'] = 'admin/users/students';
  3734. $handler->display->display_options['menu']['title'] = 'Students';
  3735. $handler->display->display_options['menu']['weight'] = '6';
  3736. $handler->display->display_options['menu']['context'] = 0;
  3737. $handler->display->display_options['menu']['context_only_inline'] = 0;
  3738. /* Display: Page : Gratuits */
  3739. $handler = $view->new_display('page', 'Page : Gratuits', 'page_4');
  3740. $handler->display->display_options['defaults']['title'] = FALSE;
  3741. $handler->display->display_options['title'] = 'Admin Gratuit';
  3742. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  3743. $handler->display->display_options['defaults']['fields'] = FALSE;
  3744. /* Field: Bulk operations: User */
  3745. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  3746. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_user';
  3747. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  3748. $handler->display->display_options['fields']['views_bulk_operations']['label'] = 'Utilisateur';
  3749. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  3750. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  3751. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  3752. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  3753. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  3754. 'action::views_bulk_operations_user_cancel_action' => array(
  3755. 'selected' => 1,
  3756. 'postpone_processing' => 0,
  3757. 'skip_confirmation' => 0,
  3758. 'override_label' => 0,
  3759. 'label' => '',
  3760. ),
  3761. 'action::user_block_user_action' => array(
  3762. 'selected' => 1,
  3763. 'postpone_processing' => 0,
  3764. 'skip_confirmation' => 0,
  3765. 'override_label' => 0,
  3766. 'label' => '',
  3767. ),
  3768. 'action::views_bulk_operations_modify_action' => array(
  3769. 'selected' => 1,
  3770. 'postpone_processing' => 0,
  3771. 'skip_confirmation' => 0,
  3772. 'override_label' => 0,
  3773. 'label' => '',
  3774. 'settings' => array(
  3775. 'show_all_tokens' => 1,
  3776. 'display_values' => array(
  3777. 'status' => 'status',
  3778. 'user::field_memo' => 'user::field_memo',
  3779. ),
  3780. ),
  3781. ),
  3782. );
  3783. /* Field: User: Uid */
  3784. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  3785. $handler->display->display_options['fields']['uid']['table'] = 'users';
  3786. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  3787. $handler->display->display_options['fields']['uid']['label'] = '';
  3788. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  3789. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  3790. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  3791. /* Field: Profile: Title */
  3792. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  3793. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  3794. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  3795. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  3796. /* Field: Profile: First name */
  3797. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  3798. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  3799. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  3800. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  3801. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  3802. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  3803. /* Field: Profile: Name */
  3804. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  3805. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  3806. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  3807. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  3808. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  3809. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  3810. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  3811. /* Field: User: E-mail */
  3812. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  3813. $handler->display->display_options['fields']['mail']['table'] = 'users';
  3814. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  3815. /* Field: User: Edit link */
  3816. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  3817. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  3818. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  3819. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  3820. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  3821. /* Field: User: Ubercart Role expiration date/time */
  3822. $handler->display->display_options['fields']['expiration']['id'] = 'expiration';
  3823. $handler->display->display_options['fields']['expiration']['table'] = 'uc_roles_expirations';
  3824. $handler->display->display_options['fields']['expiration']['field'] = 'expiration';
  3825. $handler->display->display_options['fields']['expiration']['label'] = 'Expiration';
  3826. $handler->display->display_options['fields']['expiration']['date_format'] = 'custom';
  3827. $handler->display->display_options['fields']['expiration']['custom_date_format'] = 'Y-m-d';
  3828. $handler->display->display_options['fields']['expiration']['second_date_format'] = 'long';
  3829. /* Field: User: Company */
  3830. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  3831. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  3832. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  3833. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  3834. /* Field: Profile: Organization */
  3835. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  3836. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  3837. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  3838. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  3839. $handler->display->display_options['fields']['field_organization']['label'] = 'Organisation';
  3840. /* Field: Profile: service */
  3841. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  3842. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  3843. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  3844. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  3845. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  3846. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  3847. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  3848. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  3849. /* Field: Profile: Quality */
  3850. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  3851. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  3852. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  3853. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  3854. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  3855. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  3856. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  3857. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  3858. /* Field: Profile: SIRET */
  3859. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  3860. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  3861. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  3862. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  3863. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  3864. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  3865. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  3866. /* Field: Profile: Employee */
  3867. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  3868. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  3869. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  3870. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  3871. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  3872. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  3873. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  3874. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  3875. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  3876. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  3877. 'thousand_separator' => ' ',
  3878. 'prefix_suffix' => 1,
  3879. );
  3880. /* Field: Profile: Website */
  3881. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  3882. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  3883. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  3884. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  3885. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  3886. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  3887. /* Field: Profile: Adresse */
  3888. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  3889. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  3890. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  3891. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  3892. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  3893. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  3894. 'use_widget_handlers' => 1,
  3895. 'format_handlers' => array(
  3896. 'address' => 'address',
  3897. ),
  3898. );
  3899. /* Field: Profile: Phone */
  3900. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  3901. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  3902. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  3903. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  3904. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  3905. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  3906. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  3907. /* Field: Global: PHP */
  3908. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  3909. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  3910. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  3911. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  3912. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  3913. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  3914. //dsm($subscriber);
  3915. foreach($subscriber->tids as $tid){
  3916. $new = simplenews_category_load($tid);
  3917. $news[] = $new->name;
  3918. }
  3919. return $news;';
  3920. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  3921. print implode($value, \'<br>\');
  3922. ?>';
  3923. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  3924. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  3925. /* Field: Field: Mémo */
  3926. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  3927. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  3928. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  3929. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  3930. /* Field: User: Created date */
  3931. $handler->display->display_options['fields']['created']['id'] = 'created';
  3932. $handler->display->display_options['fields']['created']['table'] = 'users';
  3933. $handler->display->display_options['fields']['created']['field'] = 'created';
  3934. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  3935. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  3936. /* Field: User: Last access */
  3937. $handler->display->display_options['fields']['access']['id'] = 'access';
  3938. $handler->display->display_options['fields']['access']['table'] = 'users';
  3939. $handler->display->display_options['fields']['access']['field'] = 'access';
  3940. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  3941. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  3942. /* Field: User: Language */
  3943. $handler->display->display_options['fields']['language']['id'] = 'language';
  3944. $handler->display->display_options['fields']['language']['table'] = 'users';
  3945. $handler->display->display_options['fields']['language']['field'] = 'language';
  3946. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  3947. /* Field: User Stats: Value */
  3948. $handler->display->display_options['fields']['value']['id'] = 'value';
  3949. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  3950. $handler->display->display_options['fields']['value']['field'] = 'value';
  3951. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  3952. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  3953. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  3954. /* Field: Global: Send e-mail */
  3955. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  3956. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  3957. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  3958. /* Field: Global: PHP */
  3959. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  3960. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  3961. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  3962. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  3963. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  3964. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  3965. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  3966. $account = user_load($row->uid);
  3967. print user_pass_reset_url($account);
  3968. ?>';
  3969. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  3970. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  3971. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  3972. $handler->display->display_options['defaults']['filters'] = FALSE;
  3973. /* Filter criterion: User: Roles */
  3974. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  3975. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  3976. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  3977. $handler->display->display_options['filters']['rid']['value'] = array(
  3978. 9 => '9',
  3979. 7 => '7',
  3980. );
  3981. $handler->display->display_options['filters']['rid']['group'] = 1;
  3982. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  3983. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  3984. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  3985. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  3986. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  3987. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  3988. 2 => '2',
  3989. 1 => 0,
  3990. 9 => 0,
  3991. 7 => 0,
  3992. 10 => 0,
  3993. 6 => 0,
  3994. 8 => 0,
  3995. 5 => 0,
  3996. 3 => 0,
  3997. 4 => 0,
  3998. );
  3999. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  4000. $handler->display->display_options['filters']['rid']['reduce_duplicates'] = TRUE;
  4001. /* Filter criterion: User: Company (field_company) */
  4002. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  4003. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  4004. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  4005. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  4006. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  4007. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  4008. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  4009. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  4010. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  4011. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  4012. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  4013. /* Filter criterion: Profile: Organization (field_organization) */
  4014. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  4015. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  4016. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  4017. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  4018. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  4019. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  4020. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  4021. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organisation';
  4022. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  4023. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  4024. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  4025. 2 => '2',
  4026. 1 => 0,
  4027. 9 => 0,
  4028. 7 => 0,
  4029. 10 => 0,
  4030. 6 => 0,
  4031. 8 => 0,
  4032. 5 => 0,
  4033. 3 => 0,
  4034. 4 => 0,
  4035. );
  4036. /* Filter criterion: Field: Mémo (field_memo) */
  4037. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  4038. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  4039. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  4040. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  4041. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  4042. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  4043. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  4044. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  4045. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  4046. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  4047. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  4048. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  4049. 2 => '2',
  4050. 1 => 0,
  4051. 7 => 0,
  4052. 6 => 0,
  4053. 8 => 0,
  4054. 5 => 0,
  4055. 3 => 0,
  4056. 4 => 0,
  4057. );
  4058. /* Filter criterion: User: E-mail */
  4059. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  4060. $handler->display->display_options['filters']['mail']['table'] = 'users';
  4061. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  4062. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  4063. $handler->display->display_options['filters']['mail']['group'] = 1;
  4064. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  4065. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  4066. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  4067. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  4068. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  4069. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  4070. 2 => '2',
  4071. 1 => 0,
  4072. 7 => 0,
  4073. 6 => 0,
  4074. 5 => 0,
  4075. 3 => 0,
  4076. 4 => 0,
  4077. );
  4078. /* Filter criterion: User: Language */
  4079. $handler->display->display_options['filters']['language']['id'] = 'language';
  4080. $handler->display->display_options['filters']['language']['table'] = 'users';
  4081. $handler->display->display_options['filters']['language']['field'] = 'language';
  4082. $handler->display->display_options['filters']['language']['value'] = array(
  4083. 'en' => 'en',
  4084. 'fr' => 'fr',
  4085. );
  4086. $handler->display->display_options['filters']['language']['group'] = 1;
  4087. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  4088. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  4089. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  4090. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  4091. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  4092. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  4093. 2 => '2',
  4094. 1 => 0,
  4095. 7 => 0,
  4096. 6 => 0,
  4097. 8 => 0,
  4098. 5 => 0,
  4099. 3 => 0,
  4100. 4 => 0,
  4101. );
  4102. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  4103. /* Filter criterion: User: E-mail */
  4104. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  4105. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  4106. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  4107. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  4108. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  4109. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  4110. /* Filter criterion: User: Roles */
  4111. $handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
  4112. $handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
  4113. $handler->display->display_options['filters']['rid_1']['field'] = 'rid';
  4114. $handler->display->display_options['filters']['rid_1']['operator'] = 'not';
  4115. $handler->display->display_options['filters']['rid_1']['value'] = array(
  4116. 10 => '10',
  4117. 11 => '11',
  4118. 6 => '6',
  4119. 5 => '5',
  4120. 8 => '8',
  4121. 3 => '3',
  4122. 4 => '4',
  4123. );
  4124. $handler->display->display_options['path'] = 'admin/users/gratuits';
  4125. $handler->display->display_options['menu']['title'] = 'Gratuits';
  4126. $handler->display->display_options['menu']['weight'] = '6';
  4127. $handler->display->display_options['menu']['context'] = 0;
  4128. $handler->display->display_options['menu']['context_only_inline'] = 0;
  4129. /* Display: Industriels lite */
  4130. $handler = $view->new_display('page', 'Industriels lite', 'page_5');
  4131. $handler->display->display_options['defaults']['query'] = FALSE;
  4132. $handler->display->display_options['query']['type'] = 'views_query';
  4133. $handler->display->display_options['query']['options']['distinct'] = TRUE;
  4134. $handler->display->display_options['defaults']['pager'] = FALSE;
  4135. $handler->display->display_options['pager']['type'] = 'full';
  4136. $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  4137. $handler->display->display_options['pager']['options']['offset'] = '0';
  4138. $handler->display->display_options['pager']['options']['id'] = '0';
  4139. $handler->display->display_options['pager']['options']['quantity'] = '9';
  4140. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  4141. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  4142. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  4143. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  4144. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  4145. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  4146. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  4147. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  4148. $handler->display->display_options['style_plugin'] = 'table';
  4149. $handler->display->display_options['style_options']['columns'] = array(
  4150. 'views_bulk_operations' => 'views_bulk_operations',
  4151. 'field_company' => 'field_company',
  4152. 'mail' => 'mail',
  4153. 'views_send' => 'views_send',
  4154. 'php_1' => 'php_1',
  4155. );
  4156. $handler->display->display_options['style_options']['default'] = '-1';
  4157. $handler->display->display_options['style_options']['info'] = array(
  4158. 'views_bulk_operations' => array(
  4159. 'align' => '',
  4160. 'separator' => '',
  4161. 'empty_column' => 0,
  4162. ),
  4163. 'field_company' => array(
  4164. 'sortable' => 1,
  4165. 'default_sort_order' => 'asc',
  4166. 'align' => '',
  4167. 'separator' => '<br />',
  4168. 'empty_column' => 0,
  4169. ),
  4170. 'mail' => array(
  4171. 'sortable' => 1,
  4172. 'default_sort_order' => 'asc',
  4173. 'align' => '',
  4174. 'separator' => '<br />',
  4175. 'empty_column' => 0,
  4176. ),
  4177. 'views_send' => array(
  4178. 'align' => '',
  4179. 'separator' => '',
  4180. 'empty_column' => 0,
  4181. ),
  4182. 'php_1' => array(
  4183. 'align' => '',
  4184. 'separator' => '',
  4185. 'empty_column' => 0,
  4186. ),
  4187. );
  4188. $handler->display->display_options['defaults']['style_options'] = FALSE;
  4189. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  4190. $handler->display->display_options['defaults']['row_options'] = FALSE;
  4191. $handler->display->display_options['defaults']['relationships'] = FALSE;
  4192. $handler->display->display_options['defaults']['fields'] = FALSE;
  4193. /* Field: Bulk operations: User */
  4194. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  4195. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_user';
  4196. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  4197. $handler->display->display_options['fields']['views_bulk_operations']['label'] = 'Utilisateur';
  4198. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  4199. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  4200. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['row_clickable'] = 1;
  4201. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  4202. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  4203. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  4204. 'action::views_bulk_operations_user_cancel_action' => array(
  4205. 'selected' => 1,
  4206. 'postpone_processing' => 0,
  4207. 'skip_confirmation' => 0,
  4208. 'skip_permission_check' => 0,
  4209. 'override_label' => 0,
  4210. 'label' => '',
  4211. ),
  4212. 'action::user_block_user_action' => array(
  4213. 'selected' => 1,
  4214. 'postpone_processing' => 0,
  4215. 'skip_confirmation' => 0,
  4216. 'skip_permission_check' => 0,
  4217. 'override_label' => 0,
  4218. 'label' => '',
  4219. ),
  4220. 'action::views_bulk_operations_modify_action' => array(
  4221. 'selected' => 1,
  4222. 'postpone_processing' => 0,
  4223. 'skip_confirmation' => 0,
  4224. 'skip_permission_check' => 0,
  4225. 'override_label' => 0,
  4226. 'label' => '',
  4227. 'settings' => array(
  4228. 'show_all_tokens' => 1,
  4229. 'display_values' => array(
  4230. 'status' => 'status',
  4231. 'user::field_memo' => 'user::field_memo',
  4232. ),
  4233. ),
  4234. ),
  4235. );
  4236. /* Field: User: Uid */
  4237. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  4238. $handler->display->display_options['fields']['uid']['table'] = 'users';
  4239. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  4240. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  4241. /* Field: User: Company */
  4242. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  4243. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  4244. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  4245. /* Field: User: E-mail */
  4246. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  4247. $handler->display->display_options['fields']['mail']['table'] = 'users';
  4248. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  4249. $handler->display->display_options['fields']['mail']['label'] = 'Courriel';
  4250. /* Field: Global: PHP */
  4251. $handler->display->display_options['fields']['php']['id'] = 'php';
  4252. $handler->display->display_options['fields']['php']['table'] = 'views';
  4253. $handler->display->display_options['fields']['php']['field'] = 'php';
  4254. $handler->display->display_options['fields']['php']['label'] = 'Newsletter';
  4255. $handler->display->display_options['fields']['php']['use_php_setup'] = 1;
  4256. $handler->display->display_options['fields']['php']['php_setup'] = '$simplenews = simplenews_category_list();
  4257. //dsm($simplenews);
  4258. $static = $simplenews;';
  4259. $handler->display->display_options['fields']['php']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  4260. //dsm($subscriber);
  4261. foreach($subscriber->tids as $tid){
  4262. //$new = simplenews_category_load($tid);
  4263. $news[] = $static[$tid];
  4264. }
  4265. return $news;';
  4266. $handler->display->display_options['fields']['php']['php_output'] = '<?php
  4267. print implode($value, \'<br>\');
  4268. ?>';
  4269. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  4270. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  4271. /* Field: Field: Mémo */
  4272. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  4273. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  4274. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  4275. /* Field: User: Edit link */
  4276. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  4277. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  4278. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  4279. $handler->display->display_options['fields']['edit_node']['label'] = 'Lien de modification';
  4280. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  4281. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  4282. /* Field: Global: Send e-mail */
  4283. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  4284. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  4285. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  4286. /* Field: Global: PHP */
  4287. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  4288. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  4289. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  4290. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  4291. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  4292. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  4293. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  4294. $account = user_load($row->uid);
  4295. print user_pass_reset_url($account);
  4296. ?>';
  4297. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  4298. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  4299. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  4300. $handler->display->display_options['defaults']['filters'] = FALSE;
  4301. /* Filter criterion: User: Roles */
  4302. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  4303. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  4304. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  4305. $handler->display->display_options['filters']['rid']['value'] = array(
  4306. 5 => '5',
  4307. );
  4308. /* Filter criterion: User: Active */
  4309. $handler->display->display_options['filters']['status']['id'] = 'status';
  4310. $handler->display->display_options['filters']['status']['table'] = 'users';
  4311. $handler->display->display_options['filters']['status']['field'] = 'status';
  4312. $handler->display->display_options['filters']['status']['value'] = '1';
  4313. $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  4314. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  4315. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  4316. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  4317. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  4318. $handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
  4319. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  4320. $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
  4321. 2 => '2',
  4322. 1 => 0,
  4323. 9 => 0,
  4324. 7 => 0,
  4325. 10 => 0,
  4326. 11 => 0,
  4327. 6 => 0,
  4328. 5 => 0,
  4329. 8 => 0,
  4330. 12 => 0,
  4331. 13 => 0,
  4332. 3 => 0,
  4333. 4 => 0,
  4334. );
  4335. /* Filter criterion: User: Company (field_company) */
  4336. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  4337. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  4338. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  4339. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  4340. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  4341. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  4342. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Company';
  4343. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  4344. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  4345. $handler->display->display_options['filters']['field_company_tid']['expose']['remember_roles'] = array(
  4346. 2 => '2',
  4347. 1 => 0,
  4348. 9 => 0,
  4349. 7 => 0,
  4350. 10 => 0,
  4351. 11 => 0,
  4352. 6 => 0,
  4353. 5 => 0,
  4354. 8 => 0,
  4355. 12 => 0,
  4356. 13 => 0,
  4357. 3 => 0,
  4358. 4 => 0,
  4359. );
  4360. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  4361. /* Filter criterion: Field: Mémo (field_memo) */
  4362. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  4363. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  4364. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  4365. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  4366. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  4367. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  4368. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo';
  4369. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  4370. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  4371. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  4372. 2 => '2',
  4373. 1 => 0,
  4374. 9 => 0,
  4375. 7 => 0,
  4376. 10 => 0,
  4377. 11 => 0,
  4378. 6 => 0,
  4379. 5 => 0,
  4380. 8 => 0,
  4381. 12 => 0,
  4382. 13 => 0,
  4383. 3 => 0,
  4384. 4 => 0,
  4385. );
  4386. $handler->display->display_options['path'] = 'admin/users/industriels2';
  4387. $handler->display->display_options['menu']['type'] = 'tab';
  4388. $handler->display->display_options['menu']['title'] = 'Industriels2';
  4389. $handler->display->display_options['menu']['description'] = 'industriels by company tag';
  4390. $handler->display->display_options['menu']['weight'] = '0';
  4391. $handler->display->display_options['menu']['context'] = 0;
  4392. $handler->display->display_options['menu']['context_only_inline'] = 0;
  4393. /* Display: indus Data export */
  4394. $handler = $view->new_display('views_data_export', 'indus Data export', 'views_data_export_2');
  4395. $handler->display->display_options['pager']['type'] = 'none';
  4396. $handler->display->display_options['pager']['options']['offset'] = '0';
  4397. $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
  4398. $handler->display->display_options['defaults']['relationships'] = FALSE;
  4399. $handler->display->display_options['defaults']['fields'] = FALSE;
  4400. /* Field: User: E-mail */
  4401. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  4402. $handler->display->display_options['fields']['mail']['table'] = 'users';
  4403. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  4404. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  4405. $handler->display->display_options['defaults']['filters'] = FALSE;
  4406. /* Filter criterion: User: Active */
  4407. $handler->display->display_options['filters']['status']['id'] = 'status';
  4408. $handler->display->display_options['filters']['status']['table'] = 'users';
  4409. $handler->display->display_options['filters']['status']['field'] = 'status';
  4410. $handler->display->display_options['filters']['status']['value'] = '1';
  4411. $handler->display->display_options['filters']['status']['group'] = 1;
  4412. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  4413. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  4414. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  4415. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  4416. $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
  4417. 2 => '2',
  4418. 1 => 0,
  4419. 9 => 0,
  4420. 7 => 0,
  4421. 10 => 0,
  4422. 11 => 0,
  4423. 6 => 0,
  4424. 5 => 0,
  4425. 8 => 0,
  4426. 12 => 0,
  4427. 13 => 0,
  4428. 3 => 0,
  4429. 4 => 0,
  4430. );
  4431. /* Filter criterion: User: Roles */
  4432. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  4433. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  4434. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  4435. $handler->display->display_options['filters']['rid']['value'] = array(
  4436. 5 => '5',
  4437. );
  4438. $handler->display->display_options['filters']['rid']['group'] = 1;
  4439. $handler->display->display_options['path'] = 'admin/users/export/industriels';
  4440. $translatables['admin_peoples'] = array(
  4441. t('Master'),
  4442. t('Admin Users'),
  4443. t('plus'),
  4444. t('Appliquer'),
  4445. t('Réinitialiser'),
  4446. t('Trier par'),
  4447. t('Asc'),
  4448. t('Desc'),
  4449. t('Éléments par page'),
  4450. t('- Tout -'),
  4451. t('Décalage'),
  4452. t('« premier'),
  4453. t('‹ précédent'),
  4454. t('suivant ›'),
  4455. t('dernier »'),
  4456. t('Résumé'),
  4457. t('Displaying @start - @end of @total'),
  4458. t('Profile'),
  4459. t('Utilisateur'),
  4460. t('- Choose an operation -'),
  4461. t('Title'),
  4462. t('Prénom'),
  4463. t('Nom'),
  4464. t('[field_first_name] [field_name]'),
  4465. t('E-mail'),
  4466. t('Edit link'),
  4467. t('<span class="node-edit">[edit_node]</span>'),
  4468. t('Roles'),
  4469. t('Expiration'),
  4470. t('Société'),
  4471. t('Organisation'),
  4472. t('service'),
  4473. t('service : [field_service]'),
  4474. t('Quality'),
  4475. t('quality : [field_private_quality]'),
  4476. t('SIRET'),
  4477. t('siret : [field_siret]'),
  4478. t('Employé'),
  4479. t('employee : [field_employee]'),
  4480. t('Site internet'),
  4481. t('Adresse'),
  4482. t('Téléphone'),
  4483. t('Lettres d’information'),
  4484. t('Mémo'),
  4485. t('Created date'),
  4486. t('Last access'),
  4487. t('Language'),
  4488. t('Active'),
  4489. t('Login count (?)'),
  4490. t('.'),
  4491. t(','),
  4492. t('Send e-mail'),
  4493. t('One time login'),
  4494. t('Actif'),
  4495. t('Rôles'),
  4496. t('Mémo Contient'),
  4497. t('Courriel'),
  4498. t('Langue'),
  4499. t('Page : all'),
  4500. t('more'),
  4501. t('Sélectionnez n\'importe quel filtre et cliquez sur Appliquer pour voir les résultats'),
  4502. t('Data export'),
  4503. t('Page : members'),
  4504. t('Admin Members'),
  4505. t('Page : industriels'),
  4506. t('Admin Industriels'),
  4507. t('Page : students'),
  4508. t('Admin Students'),
  4509. t('Page : Gratuits'),
  4510. t('Admin Gratuit'),
  4511. t('Industriels lite'),
  4512. t('Uid'),
  4513. t('Company'),
  4514. t('Newsletter'),
  4515. t('Lien de modification'),
  4516. t('indus Data export'),
  4517. );
  4518. $export['admin_peoples'] = $view;
  4519. $view = new view();
  4520. $view->name = 'admin_taxo';
  4521. $view->description = '';
  4522. $view->tag = 'default';
  4523. $view->base_table = 'taxonomy_term_data';
  4524. $view->human_name = 'Admin Taxo';
  4525. $view->core = 7;
  4526. $view->api_version = '3.0';
  4527. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  4528. /* Display: Master */
  4529. $handler = $view->new_display('default', 'Master', 'default');
  4530. $handler->display->display_options['title'] = 'Admin Taxo';
  4531. $handler->display->display_options['use_more_always'] = FALSE;
  4532. $handler->display->display_options['use_more_text'] = 'plus';
  4533. $handler->display->display_options['access']['type'] = 'role';
  4534. $handler->display->display_options['access']['role'] = array(
  4535. 3 => '3',
  4536. 4 => '4',
  4537. );
  4538. $handler->display->display_options['cache']['type'] = 'none';
  4539. $handler->display->display_options['query']['type'] = 'views_query';
  4540. $handler->display->display_options['query']['options']['distinct'] = TRUE;
  4541. $handler->display->display_options['exposed_form']['type'] = 'basic';
  4542. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  4543. $handler->display->display_options['exposed_form']['options']['reset_button'] = TRUE;
  4544. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  4545. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  4546. $handler->display->display_options['pager']['type'] = 'full';
  4547. $handler->display->display_options['pager']['options']['items_per_page'] = '100';
  4548. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  4549. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  4550. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  4551. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  4552. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  4553. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  4554. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  4555. $handler->display->display_options['style_plugin'] = 'table';
  4556. $handler->display->display_options['style_options']['columns'] = array(
  4557. 'views_bulk_operations' => 'views_bulk_operations',
  4558. 'vid' => 'vid',
  4559. 'name_1' => 'name_1',
  4560. 'tid' => 'tid',
  4561. 'name_field_et_1' => 'name_field_et_1',
  4562. 'name_field_et' => 'name_field_et',
  4563. 'synonyms_synonym_et_1' => 'synonyms_synonym_et_1',
  4564. 'synonyms_synonym_et' => 'synonyms_synonym_et',
  4565. 'edit_term' => 'edit_term',
  4566. );
  4567. $handler->display->display_options['style_options']['default'] = 'tid';
  4568. $handler->display->display_options['style_options']['info'] = array(
  4569. 'views_bulk_operations' => array(
  4570. 'align' => '',
  4571. 'separator' => '',
  4572. 'empty_column' => 0,
  4573. ),
  4574. 'vid' => array(
  4575. 'sortable' => 1,
  4576. 'default_sort_order' => 'asc',
  4577. 'align' => '',
  4578. 'separator' => '',
  4579. 'empty_column' => 0,
  4580. ),
  4581. 'name_1' => array(
  4582. 'sortable' => 0,
  4583. 'default_sort_order' => 'asc',
  4584. 'align' => '',
  4585. 'separator' => ' | ',
  4586. 'empty_column' => 0,
  4587. ),
  4588. 'tid' => array(
  4589. 'sortable' => 1,
  4590. 'default_sort_order' => 'asc',
  4591. 'align' => '',
  4592. 'separator' => '',
  4593. 'empty_column' => 0,
  4594. ),
  4595. 'name_field_et_1' => array(
  4596. 'sortable' => 1,
  4597. 'default_sort_order' => 'asc',
  4598. 'align' => '',
  4599. 'separator' => '',
  4600. 'empty_column' => 0,
  4601. ),
  4602. 'name_field_et' => array(
  4603. 'sortable' => 1,
  4604. 'default_sort_order' => 'asc',
  4605. 'align' => '',
  4606. 'separator' => '',
  4607. 'empty_column' => 0,
  4608. ),
  4609. 'synonyms_synonym_et_1' => array(
  4610. 'align' => '',
  4611. 'separator' => '',
  4612. 'empty_column' => 0,
  4613. ),
  4614. 'synonyms_synonym_et' => array(
  4615. 'align' => '',
  4616. 'separator' => '',
  4617. 'empty_column' => 0,
  4618. ),
  4619. 'edit_term' => array(
  4620. 'align' => '',
  4621. 'separator' => '',
  4622. 'empty_column' => 0,
  4623. ),
  4624. );
  4625. /* Field: Bulk operations: Taxonomy term */
  4626. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  4627. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_taxonomy_term';
  4628. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  4629. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  4630. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  4631. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['row_clickable'] = 1;
  4632. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  4633. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  4634. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  4635. 'action::pathauto_taxonomy_term_update_action' => array(
  4636. 'selected' => 1,
  4637. 'postpone_processing' => 0,
  4638. 'skip_confirmation' => 0,
  4639. 'override_label' => 0,
  4640. 'label' => '',
  4641. ),
  4642. 'action::entity_translation_actions_modify_action' => array(
  4643. 'selected' => 1,
  4644. 'postpone_processing' => 0,
  4645. 'skip_confirmation' => 0,
  4646. 'override_label' => 0,
  4647. 'label' => '',
  4648. ),
  4649. 'action::views_bulk_operations_delete_revision' => array(
  4650. 'selected' => 1,
  4651. 'postpone_processing' => 0,
  4652. 'skip_confirmation' => 0,
  4653. 'override_label' => 0,
  4654. 'label' => '',
  4655. ),
  4656. );
  4657. /* Field: Taxonomy vocabulary: Vocabulary ID */
  4658. $handler->display->display_options['fields']['vid']['id'] = 'vid';
  4659. $handler->display->display_options['fields']['vid']['table'] = 'taxonomy_vocabulary';
  4660. $handler->display->display_options['fields']['vid']['field'] = 'vid';
  4661. $handler->display->display_options['fields']['vid']['label'] = 'vid';
  4662. /* Field: Taxonomy vocabulary: Name */
  4663. $handler->display->display_options['fields']['name_1']['id'] = 'name_1';
  4664. $handler->display->display_options['fields']['name_1']['table'] = 'taxonomy_vocabulary';
  4665. $handler->display->display_options['fields']['name_1']['field'] = 'name';
  4666. $handler->display->display_options['fields']['name_1']['label'] = 'voc';
  4667. /* Field: Taxonomy term: Term ID */
  4668. $handler->display->display_options['fields']['tid']['id'] = 'tid';
  4669. $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  4670. $handler->display->display_options['fields']['tid']['field'] = 'tid';
  4671. $handler->display->display_options['fields']['tid']['label'] = 'tid';
  4672. $handler->display->display_options['fields']['tid']['separator'] = '';
  4673. /* Field: Entity translation: Nom: translated */
  4674. $handler->display->display_options['fields']['name_field_et_1']['id'] = 'name_field_et_1';
  4675. $handler->display->display_options['fields']['name_field_et_1']['table'] = 'field_data_name_field';
  4676. $handler->display->display_options['fields']['name_field_et_1']['field'] = 'name_field_et';
  4677. $handler->display->display_options['fields']['name_field_et_1']['label'] = 'Nom EN';
  4678. $handler->display->display_options['fields']['name_field_et_1']['language'] = 'en';
  4679. /* Field: Entity translation: Nom: translated */
  4680. $handler->display->display_options['fields']['name_field_et']['id'] = 'name_field_et';
  4681. $handler->display->display_options['fields']['name_field_et']['table'] = 'field_data_name_field';
  4682. $handler->display->display_options['fields']['name_field_et']['field'] = 'name_field_et';
  4683. $handler->display->display_options['fields']['name_field_et']['label'] = 'Nom FR';
  4684. $handler->display->display_options['fields']['name_field_et']['hide_empty'] = TRUE;
  4685. $handler->display->display_options['fields']['name_field_et']['empty_zero'] = TRUE;
  4686. $handler->display->display_options['fields']['name_field_et']['language'] = 'fr';
  4687. /* Field: Entity translation: Synonyms: translated */
  4688. $handler->display->display_options['fields']['synonyms_synonym_et_1']['id'] = 'synonyms_synonym_et_1';
  4689. $handler->display->display_options['fields']['synonyms_synonym_et_1']['table'] = 'field_data_synonyms_synonym';
  4690. $handler->display->display_options['fields']['synonyms_synonym_et_1']['field'] = 'synonyms_synonym_et';
  4691. $handler->display->display_options['fields']['synonyms_synonym_et_1']['label'] = 'Synonyms EN';
  4692. $handler->display->display_options['fields']['synonyms_synonym_et_1']['delta_offset'] = '0';
  4693. $handler->display->display_options['fields']['synonyms_synonym_et_1']['language'] = 'en';
  4694. /* Field: Entity translation: Synonyms: translated */
  4695. $handler->display->display_options['fields']['synonyms_synonym_et']['id'] = 'synonyms_synonym_et';
  4696. $handler->display->display_options['fields']['synonyms_synonym_et']['table'] = 'field_data_synonyms_synonym';
  4697. $handler->display->display_options['fields']['synonyms_synonym_et']['field'] = 'synonyms_synonym_et';
  4698. $handler->display->display_options['fields']['synonyms_synonym_et']['label'] = 'Synonyms FR';
  4699. $handler->display->display_options['fields']['synonyms_synonym_et']['delta_offset'] = '0';
  4700. $handler->display->display_options['fields']['synonyms_synonym_et']['language'] = 'fr';
  4701. /* Field: Taxonomy term: Term edit link */
  4702. $handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
  4703. $handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
  4704. $handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
  4705. $handler->display->display_options['fields']['edit_term']['text'] = 'modifier';
  4706. /* Filter criterion: Taxonomy term: Vocabulary */
  4707. $handler->display->display_options['filters']['vid']['id'] = 'vid';
  4708. $handler->display->display_options['filters']['vid']['table'] = 'taxonomy_term_data';
  4709. $handler->display->display_options['filters']['vid']['field'] = 'vid';
  4710. $handler->display->display_options['filters']['vid']['value'] = array(
  4711. 15 => '15',
  4712. 4 => '4',
  4713. );
  4714. $handler->display->display_options['filters']['vid']['exposed'] = TRUE;
  4715. $handler->display->display_options['filters']['vid']['expose']['operator_id'] = 'vid_op';
  4716. $handler->display->display_options['filters']['vid']['expose']['label'] = 'Vocabulaire';
  4717. $handler->display->display_options['filters']['vid']['expose']['operator'] = 'vid_op';
  4718. $handler->display->display_options['filters']['vid']['expose']['identifier'] = 'vid';
  4719. $handler->display->display_options['filters']['vid']['expose']['remember_roles'] = array(
  4720. 2 => '2',
  4721. 1 => 0,
  4722. 9 => 0,
  4723. 7 => 0,
  4724. 10 => 0,
  4725. 11 => 0,
  4726. 6 => 0,
  4727. 5 => 0,
  4728. 8 => 0,
  4729. 3 => 0,
  4730. 4 => 0,
  4731. );
  4732. $handler->display->display_options['filters']['vid']['expose']['reduce'] = TRUE;
  4733. /* Filter criterion: Taxonomy term: Term ID */
  4734. $handler->display->display_options['filters']['tid_raw']['id'] = 'tid_raw';
  4735. $handler->display->display_options['filters']['tid_raw']['table'] = 'taxonomy_term_data';
  4736. $handler->display->display_options['filters']['tid_raw']['field'] = 'tid_raw';
  4737. $handler->display->display_options['filters']['tid_raw']['exposed'] = TRUE;
  4738. $handler->display->display_options['filters']['tid_raw']['expose']['operator_id'] = 'tid_raw_op';
  4739. $handler->display->display_options['filters']['tid_raw']['expose']['label'] = 'TID';
  4740. $handler->display->display_options['filters']['tid_raw']['expose']['operator'] = 'tid_raw_op';
  4741. $handler->display->display_options['filters']['tid_raw']['expose']['identifier'] = 'tid_raw';
  4742. $handler->display->display_options['filters']['tid_raw']['expose']['remember_roles'] = array(
  4743. 2 => '2',
  4744. 1 => 0,
  4745. 9 => 0,
  4746. 7 => 0,
  4747. 10 => 0,
  4748. 11 => 0,
  4749. 6 => 0,
  4750. 5 => 0,
  4751. 8 => 0,
  4752. 3 => 0,
  4753. 4 => 0,
  4754. );
  4755. /* Filter criterion: Taxonomy term: Nom (name_field) */
  4756. $handler->display->display_options['filters']['name_field_value']['id'] = 'name_field_value';
  4757. $handler->display->display_options['filters']['name_field_value']['table'] = 'field_data_name_field';
  4758. $handler->display->display_options['filters']['name_field_value']['field'] = 'name_field_value';
  4759. $handler->display->display_options['filters']['name_field_value']['operator'] = 'contains';
  4760. $handler->display->display_options['filters']['name_field_value']['exposed'] = TRUE;
  4761. $handler->display->display_options['filters']['name_field_value']['expose']['operator_id'] = 'name_field_value_op';
  4762. $handler->display->display_options['filters']['name_field_value']['expose']['label'] = 'Nom';
  4763. $handler->display->display_options['filters']['name_field_value']['expose']['operator'] = 'name_field_value_op';
  4764. $handler->display->display_options['filters']['name_field_value']['expose']['identifier'] = 'name_field_value';
  4765. $handler->display->display_options['filters']['name_field_value']['expose']['remember_roles'] = array(
  4766. 2 => '2',
  4767. 1 => 0,
  4768. 9 => 0,
  4769. 7 => 0,
  4770. 10 => 0,
  4771. 11 => 0,
  4772. 6 => 0,
  4773. 5 => 0,
  4774. 8 => 0,
  4775. 3 => 0,
  4776. 4 => 0,
  4777. );
  4778. /* Filter criterion: Taxonomy term: Vocabulary */
  4779. $handler->display->display_options['filters']['vid_1']['id'] = 'vid_1';
  4780. $handler->display->display_options['filters']['vid_1']['table'] = 'taxonomy_term_data';
  4781. $handler->display->display_options['filters']['vid_1']['field'] = 'vid';
  4782. $handler->display->display_options['filters']['vid_1']['operator'] = 'not in';
  4783. $handler->display->display_options['filters']['vid_1']['value'] = array(
  4784. 14 => '14',
  4785. 16 => '16',
  4786. 17 => '17',
  4787. 18 => '18',
  4788. );
  4789. /* Display: Page */
  4790. $handler = $view->new_display('page', 'Page', 'page');
  4791. $handler->display->display_options['path'] = 'admin/structure/taxonomie/admin-taxo';
  4792. $translatables['admin_taxo'] = array(
  4793. t('Master'),
  4794. t('Admin Taxo'),
  4795. t('plus'),
  4796. t('Appliquer'),
  4797. t('Réinitialiser'),
  4798. t('Trier par'),
  4799. t('Asc'),
  4800. t('Desc'),
  4801. t('Éléments par page'),
  4802. t('- Tout -'),
  4803. t('Décalage'),
  4804. t('« premier'),
  4805. t('‹ précédent'),
  4806. t('suivant ›'),
  4807. t('dernier »'),
  4808. t('Taxonomy term'),
  4809. t('- Choose an operation -'),
  4810. t('vid'),
  4811. t('.'),
  4812. t(','),
  4813. t('voc'),
  4814. t('tid'),
  4815. t('Nom EN'),
  4816. t('Nom FR'),
  4817. t('Synonyms EN'),
  4818. t('Synonyms FR'),
  4819. t('Term edit link'),
  4820. t('modifier'),
  4821. t('Vocabulaire'),
  4822. t('TID'),
  4823. t('Nom'),
  4824. t('Page'),
  4825. t('more'),
  4826. );
  4827. $export['admin_taxo'] = $view;
  4828. $view = new view();
  4829. $view->name = 'taxonomy_companies_manager';
  4830. $view->description = '';
  4831. $view->tag = 'default';
  4832. $view->base_table = 'taxonomy_term_data';
  4833. $view->human_name = 'taxonomy companies manager';
  4834. $view->core = 7;
  4835. $view->api_version = '3.0';
  4836. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  4837. /* Display: Master */
  4838. $handler = $view->new_display('default', 'Master', 'default');
  4839. $handler->display->display_options['title'] = 'taxonomy companies manager';
  4840. $handler->display->display_options['use_more_always'] = FALSE;
  4841. $handler->display->display_options['use_more_text'] = 'plus';
  4842. $handler->display->display_options['access']['type'] = 'perm';
  4843. $handler->display->display_options['cache']['type'] = 'none';
  4844. $handler->display->display_options['query']['type'] = 'views_query';
  4845. $handler->display->display_options['exposed_form']['type'] = 'basic';
  4846. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  4847. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  4848. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  4849. $handler->display->display_options['pager']['type'] = 'full';
  4850. $handler->display->display_options['pager']['options']['items_per_page'] = '100';
  4851. $handler->display->display_options['pager']['options']['offset'] = '0';
  4852. $handler->display->display_options['pager']['options']['id'] = '0';
  4853. $handler->display->display_options['pager']['options']['quantity'] = '9';
  4854. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  4855. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  4856. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  4857. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  4858. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  4859. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  4860. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  4861. $handler->display->display_options['style_plugin'] = 'table';
  4862. /* Field: Bulk operations: Taxonomy term */
  4863. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  4864. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_taxonomy_term';
  4865. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  4866. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  4867. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  4868. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  4869. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  4870. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  4871. 'action::views_bulk_operations_delete_item' => array(
  4872. 'selected' => 1,
  4873. 'skip_confirmation' => 1,
  4874. 'override_label' => 0,
  4875. 'label' => '',
  4876. 'postpone_processing' => 0,
  4877. ),
  4878. );
  4879. /* Field: Taxonomy term: Name */
  4880. $handler->display->display_options['fields']['name']['id'] = 'name';
  4881. $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  4882. $handler->display->display_options['fields']['name']['field'] = 'name';
  4883. $handler->display->display_options['fields']['name']['label'] = '';
  4884. $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  4885. $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  4886. $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  4887. /* Filter criterion: Taxonomy vocabulary: Machine name */
  4888. $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  4889. $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  4890. $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  4891. $handler->display->display_options['filters']['machine_name']['value'] = array(
  4892. 'onthologie' => 'onthologie',
  4893. 'tag_libres' => 'tag_libres',
  4894. 'company' => 'company',
  4895. );
  4896. $handler->display->display_options['filters']['machine_name']['exposed'] = TRUE;
  4897. $handler->display->display_options['filters']['machine_name']['expose']['operator_id'] = 'machine_name_op';
  4898. $handler->display->display_options['filters']['machine_name']['expose']['label'] = 'Vocabulaire';
  4899. $handler->display->display_options['filters']['machine_name']['expose']['operator'] = 'machine_name_op';
  4900. $handler->display->display_options['filters']['machine_name']['expose']['identifier'] = 'machine_name';
  4901. $handler->display->display_options['filters']['machine_name']['expose']['reduce'] = TRUE;
  4902. /* Filter criterion: Taxonomy vocabulary: Machine name */
  4903. $handler->display->display_options['filters']['machine_name_1']['id'] = 'machine_name_1';
  4904. $handler->display->display_options['filters']['machine_name_1']['table'] = 'taxonomy_vocabulary';
  4905. $handler->display->display_options['filters']['machine_name_1']['field'] = 'machine_name';
  4906. $handler->display->display_options['filters']['machine_name_1']['value'] = array(
  4907. 'onthologie' => 'onthologie',
  4908. 'tag_libres' => 'tag_libres',
  4909. 'company' => 'company',
  4910. );
  4911. /* Display: Page */
  4912. $handler = $view->new_display('page', 'Page', 'page');
  4913. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  4914. $handler->display->display_options['path'] = 'taxonomy-companies-manager';
  4915. $translatables['taxonomy_companies_manager'] = array(
  4916. t('Master'),
  4917. t('taxonomy companies manager'),
  4918. t('plus'),
  4919. t('Appliquer'),
  4920. t('Réinitialiser'),
  4921. t('Trier par'),
  4922. t('Asc'),
  4923. t('Desc'),
  4924. t('Éléments par page'),
  4925. t('- Tout -'),
  4926. t('Décalage'),
  4927. t('« premier'),
  4928. t('‹ précédent'),
  4929. t('suivant ›'),
  4930. t('dernier »'),
  4931. t('Taxonomy term'),
  4932. t('- Choose an operation -'),
  4933. t('Vocabulaire'),
  4934. t('Page'),
  4935. t('more'),
  4936. );
  4937. $export['taxonomy_companies_manager'] = $view;
  4938. return $export;
  4939. }