materio_administration.views_default.inc 147 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845
  1. <?php
  2. /**
  3. * @file
  4. * materio_administration.views_default.inc
  5. */
  6. /**
  7. * Implements hook_views_default_views().
  8. */
  9. function materio_administration_views_default_views() {
  10. $export = array();
  11. $view = new view();
  12. $view->name = 'admin_content_node';
  13. $view->description = 'View, edit, and delete your site\'s content.';
  14. $view->tag = 'admin';
  15. $view->base_table = 'node';
  16. $view->human_name = '';
  17. $view->core = 0;
  18. $view->api_version = '3.0';
  19. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  20. /* Display: Defaults */
  21. $handler = $view->new_display('default', 'Defaults', 'default');
  22. $handler->display->display_options['title'] = 'Contenu';
  23. $handler->display->display_options['use_ajax'] = TRUE;
  24. $handler->display->display_options['use_more_always'] = FALSE;
  25. $handler->display->display_options['use_more_text'] = 'plus';
  26. $handler->display->display_options['access']['type'] = 'perm';
  27. $handler->display->display_options['access']['perm'] = 'administer nodes';
  28. $handler->display->display_options['cache']['type'] = 'none';
  29. $handler->display->display_options['query']['type'] = 'views_query';
  30. $handler->display->display_options['exposed_form']['type'] = 'basic';
  31. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  32. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  33. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  34. $handler->display->display_options['pager']['type'] = 'full';
  35. $handler->display->display_options['pager']['options']['items_per_page'] = 50;
  36. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  37. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  38. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  39. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  40. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  41. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  42. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  43. $handler->display->display_options['style_plugin'] = 'table';
  44. $handler->display->display_options['style_options']['grouping'] = '';
  45. $handler->display->display_options['style_options']['columns'] = array(
  46. 'title' => 'title',
  47. 'type' => 'title',
  48. 'name' => 'name',
  49. 'status' => 'status',
  50. 'changed' => 'changed',
  51. 'edit_node' => 'title',
  52. 'delete_node' => 'delete_node',
  53. );
  54. $handler->display->display_options['style_options']['default'] = '-1';
  55. $handler->display->display_options['style_options']['info'] = array(
  56. 'title' => array(
  57. 'sortable' => 0,
  58. 'default_sort_order' => 'asc',
  59. 'align' => '',
  60. 'separator' => '',
  61. ),
  62. 'type' => array(
  63. 'sortable' => 0,
  64. 'default_sort_order' => 'asc',
  65. 'align' => '',
  66. 'separator' => '',
  67. ),
  68. 'name' => array(
  69. 'sortable' => 0,
  70. 'default_sort_order' => 'asc',
  71. 'align' => '',
  72. 'separator' => '',
  73. ),
  74. 'status' => array(
  75. 'sortable' => 0,
  76. 'default_sort_order' => 'asc',
  77. 'align' => '',
  78. 'separator' => '',
  79. ),
  80. 'changed' => array(
  81. 'sortable' => 0,
  82. 'default_sort_order' => 'asc',
  83. 'align' => '',
  84. 'separator' => '',
  85. ),
  86. 'edit_node' => array(
  87. 'align' => '',
  88. 'separator' => '',
  89. ),
  90. 'delete_node' => array(
  91. 'align' => '',
  92. 'separator' => '',
  93. ),
  94. );
  95. /* Relation: Révision de contenu : Utilisateur */
  96. $handler->display->display_options['relationships']['uid']['id'] = 'uid';
  97. $handler->display->display_options['relationships']['uid']['table'] = 'node_revision';
  98. $handler->display->display_options['relationships']['uid']['field'] = 'uid';
  99. $handler->display->display_options['relationships']['uid']['label'] = 'Utilisateur';
  100. $handler->display->display_options['relationships']['uid']['required'] = TRUE;
  101. /* Relation: Contenu : Termes de taxonomie du nœud */
  102. $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid';
  103. $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node';
  104. $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid';
  105. /* Champ: Contenu : Titre */
  106. $handler->display->display_options['fields']['title']['id'] = 'title';
  107. $handler->display->display_options['fields']['title']['table'] = 'node';
  108. $handler->display->display_options['fields']['title']['field'] = 'title';
  109. /* Champ: Contenu : Type */
  110. $handler->display->display_options['fields']['type']['id'] = 'type';
  111. $handler->display->display_options['fields']['type']['table'] = 'node';
  112. $handler->display->display_options['fields']['type']['field'] = 'type';
  113. /* Champ: Contenu : Publié */
  114. $handler->display->display_options['fields']['status']['id'] = 'status';
  115. $handler->display->display_options['fields']['status']['table'] = 'node';
  116. $handler->display->display_options['fields']['status']['field'] = 'status';
  117. $handler->display->display_options['fields']['status']['not'] = 0;
  118. /* Champ: Contenu : Date de mise à jour */
  119. $handler->display->display_options['fields']['changed']['id'] = 'changed';
  120. $handler->display->display_options['fields']['changed']['table'] = 'node';
  121. $handler->display->display_options['fields']['changed']['field'] = 'changed';
  122. $handler->display->display_options['fields']['changed']['label'] = 'Mis à jour';
  123. /* Champ: Contenu : Lien de modification */
  124. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  125. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  126. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  127. $handler->display->display_options['fields']['edit_node']['label'] = '';
  128. /* Champ: Contenu : Lien de suppression */
  129. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  130. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  131. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  132. $handler->display->display_options['fields']['delete_node']['label'] = '';
  133. /* Critère de tri: Contenu : Date de publication */
  134. $handler->display->display_options['sorts']['created']['id'] = 'created';
  135. $handler->display->display_options['sorts']['created']['table'] = 'node';
  136. $handler->display->display_options['sorts']['created']['field'] = 'created';
  137. $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  138. $handler->display->display_options['filter_groups']['groups'] = array(
  139. 1 => 'AND',
  140. 2 => 'AND',
  141. );
  142. /* Critère de filtrage: Contenu : Titre */
  143. $handler->display->display_options['filters']['title']['id'] = 'title';
  144. $handler->display->display_options['filters']['title']['table'] = 'node';
  145. $handler->display->display_options['filters']['title']['field'] = 'title';
  146. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  147. $handler->display->display_options['filters']['title']['group'] = 1;
  148. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  149. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  150. $handler->display->display_options['filters']['title']['expose']['label'] = 'Titre';
  151. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  152. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  153. /* Critère de filtrage: Contenu : Type */
  154. $handler->display->display_options['filters']['type']['id'] = 'type';
  155. $handler->display->display_options['filters']['type']['table'] = 'node';
  156. $handler->display->display_options['filters']['type']['field'] = 'type';
  157. $handler->display->display_options['filters']['type']['group'] = 1;
  158. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  159. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  160. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type';
  161. $handler->display->display_options['filters']['type']['expose']['use_operator'] = TRUE;
  162. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  163. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  164. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  165. /* Critère de filtrage: Utilisateur : Nom */
  166. $handler->display->display_options['filters']['uid']['id'] = 'uid';
  167. $handler->display->display_options['filters']['uid']['table'] = 'users';
  168. $handler->display->display_options['filters']['uid']['field'] = 'uid';
  169. $handler->display->display_options['filters']['uid']['relationship'] = 'uid';
  170. $handler->display->display_options['filters']['uid']['value'] = '';
  171. $handler->display->display_options['filters']['uid']['group'] = 1;
  172. $handler->display->display_options['filters']['uid']['exposed'] = TRUE;
  173. $handler->display->display_options['filters']['uid']['expose']['operator_id'] = 'uid_op';
  174. $handler->display->display_options['filters']['uid']['expose']['label'] = 'Auteur';
  175. $handler->display->display_options['filters']['uid']['expose']['operator'] = 'uid_op';
  176. $handler->display->display_options['filters']['uid']['expose']['identifier'] = 'name';
  177. /* Critère de filtrage: Contenu : Publié */
  178. $handler->display->display_options['filters']['status']['id'] = 'status';
  179. $handler->display->display_options['filters']['status']['table'] = 'node';
  180. $handler->display->display_options['filters']['status']['field'] = 'status';
  181. $handler->display->display_options['filters']['status']['value'] = 'All';
  182. $handler->display->display_options['filters']['status']['group'] = 1;
  183. $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  184. $handler->display->display_options['filters']['status']['expose']['label'] = 'Publié';
  185. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  186. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  187. /* Critère de filtrage: Terme de taxonomie : Vocabulaire */
  188. $handler->display->display_options['filters']['vid']['id'] = 'vid';
  189. $handler->display->display_options['filters']['vid']['table'] = 'taxonomy_term_data';
  190. $handler->display->display_options['filters']['vid']['field'] = 'vid';
  191. $handler->display->display_options['filters']['vid']['relationship'] = 'term_node_tid';
  192. $handler->display->display_options['filters']['vid']['group'] = 1;
  193. $handler->display->display_options['filters']['vid']['exposed'] = TRUE;
  194. $handler->display->display_options['filters']['vid']['expose']['operator_id'] = 'vid_op';
  195. $handler->display->display_options['filters']['vid']['expose']['label'] = 'Vocabulaire';
  196. $handler->display->display_options['filters']['vid']['expose']['operator'] = 'vid_op';
  197. $handler->display->display_options['filters']['vid']['expose']['identifier'] = 'vid';
  198. $handler->display->display_options['filters']['vid']['expose']['remember'] = TRUE;
  199. /* Display: System */
  200. $handler = $view->new_display('system', 'System', 'system_1');
  201. $translatables['admin_content_node'] = array(
  202. t('Defaults'),
  203. t('Contenu'),
  204. t('plus'),
  205. t('Appliquer'),
  206. t('Réinitialiser'),
  207. t('Trier par'),
  208. t('Asc'),
  209. t('Desc'),
  210. t('Éléments par page'),
  211. t('- Tout -'),
  212. t('Décalage'),
  213. t('« premier'),
  214. t('‹ précédent'),
  215. t('suivant ›'),
  216. t('dernier »'),
  217. t('Utilisateur'),
  218. t('terme'),
  219. t('Titre'),
  220. t('Type'),
  221. t('Publié'),
  222. t('Mis à jour'),
  223. t('Auteur'),
  224. t('Vocabulaire'),
  225. t('System'),
  226. );
  227. $export['admin_content_node'] = $view;
  228. $view = new view();
  229. $view->name = 'admin_contents';
  230. $view->description = 'Administrative view for content';
  231. $view->tag = 'default';
  232. $view->base_table = 'node';
  233. $view->human_name = 'Admin Content';
  234. $view->core = 7;
  235. $view->api_version = '3.0';
  236. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  237. /* Display: Master */
  238. $handler = $view->new_display('default', 'Master', 'default');
  239. $handler->display->display_options['title'] = 'Contenu';
  240. $handler->display->display_options['use_more_always'] = FALSE;
  241. $handler->display->display_options['use_more_text'] = 'plus';
  242. $handler->display->display_options['access']['type'] = 'role';
  243. $handler->display->display_options['access']['role'] = array(
  244. 3 => '3',
  245. 4 => '4',
  246. );
  247. $handler->display->display_options['cache']['type'] = 'none';
  248. $handler->display->display_options['query']['type'] = 'views_query';
  249. $handler->display->display_options['query']['options']['distinct'] = TRUE;
  250. $handler->display->display_options['exposed_form']['type'] = 'basic';
  251. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Filtrer';
  252. $handler->display->display_options['exposed_form']['options']['reset_button'] = TRUE;
  253. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'réinitialiser';
  254. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  255. $handler->display->display_options['pager']['type'] = 'mini';
  256. $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  257. $handler->display->display_options['pager']['options']['offset'] = '0';
  258. $handler->display->display_options['pager']['options']['id'] = '0';
  259. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  260. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  261. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  262. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  263. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  264. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  265. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  266. $handler->display->display_options['style_plugin'] = 'table';
  267. $handler->display->display_options['style_options']['columns'] = array(
  268. 'views_bulk_operations' => 'views_bulk_operations',
  269. 'field_materiau_image' => 'field_materiau_image',
  270. 'field_visuel' => 'field_materiau_image',
  271. 'type' => 'title',
  272. 'title' => 'title',
  273. 'field_reference_materio' => 'title',
  274. 'edit_node' => 'title',
  275. 'field_company_fab' => 'field_company_fab',
  276. 'field_company_distrib' => 'field_company_fab',
  277. 'field_onthologie' => 'field_onthologie',
  278. 'field_tags_libres' => 'field_tags_libres',
  279. 'field_materiau_ref' => 'field_materiau_ref',
  280. 'field_breve_ref' => 'field_materiau_ref',
  281. 'field_memo' => 'field_memo',
  282. 'field_attachments' => 'field_attachments',
  283. 'field_localisation' => 'field_localisation',
  284. 'created' => 'created',
  285. 'sid' => 'sid',
  286. 'delete_node' => 'sid',
  287. );
  288. $handler->display->display_options['style_options']['default'] = '-1';
  289. $handler->display->display_options['style_options']['info'] = array(
  290. 'views_bulk_operations' => array(
  291. 'align' => '',
  292. 'separator' => '',
  293. 'empty_column' => 0,
  294. ),
  295. 'field_materiau_image' => array(
  296. 'align' => '',
  297. 'separator' => '',
  298. 'empty_column' => 0,
  299. ),
  300. 'field_visuel' => array(
  301. 'align' => '',
  302. 'separator' => '',
  303. 'empty_column' => 0,
  304. ),
  305. 'type' => array(
  306. 'sortable' => 0,
  307. 'default_sort_order' => 'asc',
  308. 'align' => '',
  309. 'separator' => '',
  310. 'empty_column' => 0,
  311. ),
  312. 'title' => array(
  313. 'sortable' => 0,
  314. 'default_sort_order' => 'asc',
  315. 'align' => '',
  316. 'separator' => '<br />',
  317. 'empty_column' => 0,
  318. ),
  319. 'field_reference_materio' => array(
  320. 'sortable' => 0,
  321. 'default_sort_order' => 'asc',
  322. 'align' => '',
  323. 'separator' => '',
  324. 'empty_column' => 0,
  325. ),
  326. 'edit_node' => array(
  327. 'align' => '',
  328. 'separator' => '',
  329. 'empty_column' => 0,
  330. ),
  331. 'field_company_fab' => array(
  332. 'align' => '',
  333. 'separator' => '<br />',
  334. 'empty_column' => 0,
  335. ),
  336. 'field_company_distrib' => array(
  337. 'align' => '',
  338. 'separator' => '',
  339. 'empty_column' => 0,
  340. ),
  341. 'field_onthologie' => array(
  342. 'align' => '',
  343. 'separator' => '',
  344. 'empty_column' => 0,
  345. ),
  346. 'field_tags_libres' => array(
  347. 'align' => '',
  348. 'separator' => '',
  349. 'empty_column' => 0,
  350. ),
  351. 'field_materiau_ref' => array(
  352. 'align' => '',
  353. 'separator' => '<br />',
  354. 'empty_column' => 0,
  355. ),
  356. 'field_breve_ref' => array(
  357. 'align' => '',
  358. 'separator' => '',
  359. 'empty_column' => 0,
  360. ),
  361. 'field_memo' => array(
  362. 'sortable' => 0,
  363. 'default_sort_order' => 'asc',
  364. 'align' => '',
  365. 'separator' => '',
  366. 'empty_column' => 0,
  367. ),
  368. 'field_attachments' => array(
  369. 'align' => '',
  370. 'separator' => '',
  371. 'empty_column' => 0,
  372. ),
  373. 'field_localisation' => array(
  374. 'sortable' => 0,
  375. 'default_sort_order' => 'asc',
  376. 'align' => '',
  377. 'separator' => '',
  378. 'empty_column' => 0,
  379. ),
  380. 'created' => array(
  381. 'sortable' => 1,
  382. 'default_sort_order' => 'desc',
  383. 'align' => '',
  384. 'separator' => '<br />',
  385. 'empty_column' => 0,
  386. ),
  387. 'sid' => array(
  388. 'sortable' => 0,
  389. 'default_sort_order' => 'asc',
  390. 'align' => '',
  391. 'separator' => '<br />',
  392. 'empty_column' => 0,
  393. ),
  394. 'delete_node' => array(
  395. 'align' => '',
  396. 'separator' => '',
  397. 'empty_column' => 0,
  398. ),
  399. );
  400. $handler->display->display_options['style_options']['override'] = FALSE;
  401. /* Entête: Global : Résumé des résultats */
  402. $handler->display->display_options['header']['result']['id'] = 'result';
  403. $handler->display->display_options['header']['result']['table'] = 'views';
  404. $handler->display->display_options['header']['result']['field'] = 'result';
  405. $handler->display->display_options['header']['result']['label'] = 'Résumé';
  406. /* Champ: Contenu : Type */
  407. $handler->display->display_options['fields']['type']['id'] = 'type';
  408. $handler->display->display_options['fields']['type']['table'] = 'node';
  409. $handler->display->display_options['fields']['type']['field'] = 'type';
  410. /* Champ: Contenu : Titre */
  411. $handler->display->display_options['fields']['title']['id'] = 'title';
  412. $handler->display->display_options['fields']['title']['table'] = 'node';
  413. $handler->display->display_options['fields']['title']['field'] = 'title';
  414. $handler->display->display_options['fields']['title']['label'] = 'Title / Name';
  415. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  416. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  417. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  418. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  419. /* Champ: Contenu : Référence Materio */
  420. $handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio';
  421. $handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio';
  422. $handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio';
  423. /* Champ: Contenu : Lien de modification */
  424. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  425. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  426. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  427. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  428. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  429. /* Champ: Contenu : Manufacturer */
  430. $handler->display->display_options['fields']['field_company_fab']['id'] = 'field_company_fab';
  431. $handler->display->display_options['fields']['field_company_fab']['table'] = 'field_data_field_company_fab';
  432. $handler->display->display_options['fields']['field_company_fab']['field'] = 'field_company_fab';
  433. $handler->display->display_options['fields']['field_company_fab']['label'] = 'Fabricants / Distributeurs';
  434. $handler->display->display_options['fields']['field_company_fab']['delta_offset'] = '0';
  435. /* Champ: Contenu : Distributor */
  436. $handler->display->display_options['fields']['field_company_distrib']['id'] = 'field_company_distrib';
  437. $handler->display->display_options['fields']['field_company_distrib']['table'] = 'field_data_field_company_distrib';
  438. $handler->display->display_options['fields']['field_company_distrib']['field'] = 'field_company_distrib';
  439. $handler->display->display_options['fields']['field_company_distrib']['delta_offset'] = '0';
  440. /* Champ: Contenu : Langue */
  441. $handler->display->display_options['fields']['language']['id'] = 'language';
  442. $handler->display->display_options['fields']['language']['table'] = 'node';
  443. $handler->display->display_options['fields']['language']['field'] = 'language';
  444. /* Champ: Traduction du contenu : Lien de traduction */
  445. $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
  446. $handler->display->display_options['fields']['translate_node']['table'] = 'node';
  447. $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
  448. $handler->display->display_options['fields']['translate_node']['alter']['text'] = '<span class="button">[translate_node]</span>';
  449. /* Champ: Traduction du contenu : Statut de la traduction */
  450. $handler->display->display_options['fields']['translate']['id'] = 'translate';
  451. $handler->display->display_options['fields']['translate']['table'] = 'node';
  452. $handler->display->display_options['fields']['translate']['field'] = 'translate';
  453. $handler->display->display_options['fields']['translate']['exclude'] = TRUE;
  454. $handler->display->display_options['fields']['translate']['not'] = 0;
  455. /* Champ: Processus : État actuel */
  456. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  457. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  458. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  459. /* Champ: Contenu : Date de mise à jour */
  460. $handler->display->display_options['fields']['changed']['id'] = 'changed';
  461. $handler->display->display_options['fields']['changed']['table'] = 'node';
  462. $handler->display->display_options['fields']['changed']['field'] = 'changed';
  463. $handler->display->display_options['fields']['changed']['date_format'] = 'short';
  464. /* Champ: Champ : Mémo */
  465. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  466. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  467. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  468. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  469. /* Champ: Contenu : Lien de suppression */
  470. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  471. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  472. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  473. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  474. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  475. /* Critère de tri: Contenu : Date de mise à jour */
  476. $handler->display->display_options['sorts']['changed']['id'] = 'changed';
  477. $handler->display->display_options['sorts']['changed']['table'] = 'node';
  478. $handler->display->display_options['sorts']['changed']['field'] = 'changed';
  479. $handler->display->display_options['sorts']['changed']['order'] = 'DESC';
  480. $handler->display->display_options['sorts']['changed']['granularity'] = 'minute';
  481. /* Critère de filtrage: Contenu : Titre */
  482. $handler->display->display_options['filters']['title']['id'] = 'title';
  483. $handler->display->display_options['filters']['title']['table'] = 'node';
  484. $handler->display->display_options['filters']['title']['field'] = 'title';
  485. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  486. $handler->display->display_options['filters']['title']['group'] = 1;
  487. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  488. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  489. $handler->display->display_options['filters']['title']['expose']['label'] = 'Le titre contient';
  490. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  491. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  492. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  493. /* Critère de filtrage: Processus : État actuel */
  494. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  495. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  496. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  497. $handler->display->display_options['filters']['sid']['group'] = 1;
  498. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  499. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  500. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  501. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  502. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  503. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  504. /* Critère de filtrage: Contenu : Type */
  505. $handler->display->display_options['filters']['type']['id'] = 'type';
  506. $handler->display->display_options['filters']['type']['table'] = 'node';
  507. $handler->display->display_options['filters']['type']['field'] = 'type';
  508. $handler->display->display_options['filters']['type']['value'] = array(
  509. 'breve' => 'breve',
  510. 'materiau' => 'materiau',
  511. 'page' => 'page',
  512. );
  513. $handler->display->display_options['filters']['type']['group'] = 1;
  514. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  515. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  516. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu';
  517. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  518. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  519. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  520. $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
  521. /* Critère de filtrage: Champ : Mémo (field_memo) */
  522. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  523. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  524. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  525. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  526. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  527. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  528. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  529. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  530. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  531. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  532. /* Display: Page : all */
  533. $handler = $view->new_display('page', 'Page : all', 'page');
  534. $handler->display->display_options['enabled'] = FALSE;
  535. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  536. $handler->display->display_options['defaults']['pager'] = FALSE;
  537. $handler->display->display_options['pager']['type'] = 'full';
  538. $handler->display->display_options['pager']['options']['items_per_page'] = '25';
  539. $handler->display->display_options['pager']['options']['offset'] = '0';
  540. $handler->display->display_options['pager']['options']['id'] = '0';
  541. $handler->display->display_options['pager']['options']['quantity'] = '9';
  542. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  543. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  544. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  545. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  546. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  547. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  548. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  549. $handler->display->display_options['path'] = 'admin/content/nodes';
  550. $handler->display->display_options['menu']['type'] = 'tab';
  551. $handler->display->display_options['menu']['title'] = 'Content';
  552. $handler->display->display_options['menu']['weight'] = '-100';
  553. $handler->display->display_options['menu']['context'] = 0;
  554. $handler->display->display_options['tab_options']['type'] = 'normal';
  555. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  556. $handler->display->display_options['tab_options']['weight'] = '0';
  557. /* Display: Block */
  558. $handler = $view->new_display('block', 'Block', 'block_1');
  559. $handler->display->display_options['defaults']['title'] = FALSE;
  560. $handler->display->display_options['title'] = 'Recent Content';
  561. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  562. $handler->display->display_options['defaults']['pager'] = FALSE;
  563. $handler->display->display_options['pager']['type'] = 'some';
  564. $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  565. $handler->display->display_options['pager']['options']['offset'] = '0';
  566. $handler->display->display_options['defaults']['fields'] = FALSE;
  567. /* Champ: Contenu : Type */
  568. $handler->display->display_options['fields']['type']['id'] = 'type';
  569. $handler->display->display_options['fields']['type']['table'] = 'node';
  570. $handler->display->display_options['fields']['type']['field'] = 'type';
  571. $handler->display->display_options['fields']['type']['hide_alter_empty'] = FALSE;
  572. /* Champ: Contenu : Titre */
  573. $handler->display->display_options['fields']['title']['id'] = 'title';
  574. $handler->display->display_options['fields']['title']['table'] = 'node';
  575. $handler->display->display_options['fields']['title']['field'] = 'title';
  576. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  577. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  578. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  579. /* Champ: Contenu : Lien de modification */
  580. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  581. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  582. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  583. $handler->display->display_options['fields']['edit_node']['label'] = 'Modifier';
  584. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  585. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  586. $handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = FALSE;
  587. /* Champ: Contenu : Publié */
  588. $handler->display->display_options['fields']['status']['id'] = 'status';
  589. $handler->display->display_options['fields']['status']['table'] = 'node';
  590. $handler->display->display_options['fields']['status']['field'] = 'status';
  591. $handler->display->display_options['fields']['status']['element_label_colon'] = FALSE;
  592. $handler->display->display_options['fields']['status']['hide_alter_empty'] = FALSE;
  593. $handler->display->display_options['fields']['status']['not'] = 0;
  594. /* Champ: Contenu : Langue */
  595. $handler->display->display_options['fields']['language']['id'] = 'language';
  596. $handler->display->display_options['fields']['language']['table'] = 'node';
  597. $handler->display->display_options['fields']['language']['field'] = 'language';
  598. $handler->display->display_options['fields']['language']['element_label_colon'] = FALSE;
  599. $handler->display->display_options['fields']['language']['hide_alter_empty'] = FALSE;
  600. /* Champ: Traduction du contenu : Lien de traduction */
  601. $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
  602. $handler->display->display_options['fields']['translate_node']['table'] = 'node';
  603. $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
  604. $handler->display->display_options['fields']['translate_node']['element_label_colon'] = FALSE;
  605. $handler->display->display_options['fields']['translate_node']['hide_alter_empty'] = FALSE;
  606. $handler->display->display_options['fields']['translate_node']['text'] = 'Traduire';
  607. /* Display: Page : materiaux */
  608. $handler = $view->new_display('page', 'Page : materiaux', 'page_1');
  609. $handler->display->display_options['defaults']['title'] = FALSE;
  610. $handler->display->display_options['title'] = 'Materiaux/brèves';
  611. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  612. $handler->display->display_options['defaults']['pager'] = FALSE;
  613. $handler->display->display_options['pager']['type'] = 'full';
  614. $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  615. $handler->display->display_options['pager']['options']['offset'] = '0';
  616. $handler->display->display_options['pager']['options']['id'] = '0';
  617. $handler->display->display_options['pager']['options']['quantity'] = '9';
  618. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  619. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  620. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  621. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  622. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  623. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  624. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  625. $handler->display->display_options['defaults']['fields'] = FALSE;
  626. /* Champ: Opérations en masse : Contenu */
  627. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  628. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
  629. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  630. $handler->display->display_options['fields']['views_bulk_operations']['label'] = '';
  631. $handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE;
  632. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  633. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  634. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  635. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  636. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  637. 'action::system_message_action' => array(
  638. 'selected' => 0,
  639. 'skip_confirmation' => 0,
  640. 'override_label' => 0,
  641. 'label' => '',
  642. 'postpone_processing' => 0,
  643. ),
  644. 'action::workflow_select_given_state_action' => array(
  645. 'selected' => 1,
  646. 'skip_confirmation' => 0,
  647. 'override_label' => 0,
  648. 'label' => '',
  649. 'postpone_processing' => 0,
  650. ),
  651. 'action::workflow_select_next_state_action' => array(
  652. 'selected' => 0,
  653. 'skip_confirmation' => 0,
  654. 'override_label' => 0,
  655. 'label' => '',
  656. 'postpone_processing' => 0,
  657. ),
  658. 'action::node_assign_owner_action' => array(
  659. 'selected' => 0,
  660. 'skip_confirmation' => 0,
  661. 'override_label' => 0,
  662. 'label' => '',
  663. 'postpone_processing' => 0,
  664. ),
  665. 'action::node_unpublish_action' => array(
  666. 'selected' => 0,
  667. 'skip_confirmation' => 0,
  668. 'override_label' => 0,
  669. 'label' => '',
  670. 'postpone_processing' => 0,
  671. ),
  672. 'action::node_unpublish_by_keyword_action' => array(
  673. 'selected' => 0,
  674. 'skip_confirmation' => 0,
  675. 'override_label' => 0,
  676. 'label' => '',
  677. 'postpone_processing' => 0,
  678. ),
  679. 'action::node_save_action' => array(
  680. 'selected' => 0,
  681. 'skip_confirmation' => 0,
  682. 'override_label' => 0,
  683. 'label' => '',
  684. 'postpone_processing' => 0,
  685. ),
  686. 'action::system_send_email_action' => array(
  687. 'selected' => 0,
  688. 'skip_confirmation' => 0,
  689. 'override_label' => 0,
  690. 'label' => '',
  691. 'postpone_processing' => 0,
  692. ),
  693. 'action::views_bulk_operations_script_action' => array(
  694. 'selected' => 0,
  695. 'skip_confirmation' => 0,
  696. 'override_label' => 0,
  697. 'label' => '',
  698. 'postpone_processing' => 0,
  699. ),
  700. 'action::views_bulk_operations_modify_action' => array(
  701. 'selected' => 0,
  702. 'skip_confirmation' => 0,
  703. 'override_label' => 0,
  704. 'label' => '',
  705. 'settings' => array(
  706. 'show_all_tokens' => 1,
  707. 'display_values' => array(
  708. 'breve::field_memo' => 'breve::field_memo',
  709. 'company::field_memo' => 'company::field_memo',
  710. 'materiau::field_memo' => 'materiau::field_memo',
  711. ),
  712. ),
  713. 'postpone_processing' => 0,
  714. ),
  715. 'action::views_bulk_operations_argument_selector_action' => array(
  716. 'selected' => 0,
  717. 'skip_confirmation' => 0,
  718. 'override_label' => 0,
  719. 'label' => '',
  720. 'settings' => array(
  721. 'url' => '',
  722. ),
  723. ),
  724. 'action::node_promote_action' => array(
  725. 'selected' => 0,
  726. 'skip_confirmation' => 0,
  727. 'override_label' => 0,
  728. 'label' => '',
  729. 'postpone_processing' => 0,
  730. ),
  731. 'action::node_publish_action' => array(
  732. 'selected' => 0,
  733. 'skip_confirmation' => 0,
  734. 'override_label' => 0,
  735. 'label' => '',
  736. 'postpone_processing' => 0,
  737. ),
  738. 'action::system_goto_action' => array(
  739. 'selected' => 0,
  740. 'skip_confirmation' => 0,
  741. 'override_label' => 0,
  742. 'label' => '',
  743. 'postpone_processing' => 0,
  744. ),
  745. 'action::node_unpromote_action' => array(
  746. 'selected' => 0,
  747. 'skip_confirmation' => 0,
  748. 'override_label' => 0,
  749. 'label' => '',
  750. 'postpone_processing' => 0,
  751. ),
  752. 'action::node_make_unsticky_action' => array(
  753. 'selected' => 0,
  754. 'skip_confirmation' => 0,
  755. 'override_label' => 0,
  756. 'label' => '',
  757. 'postpone_processing' => 0,
  758. ),
  759. 'action::views_bulk_operations_delete_item' => array(
  760. 'selected' => 0,
  761. 'skip_confirmation' => 0,
  762. 'override_label' => 0,
  763. 'label' => '',
  764. 'postpone_processing' => 0,
  765. ),
  766. 'action::pathauto_node_update_action' => array(
  767. 'selected' => 0,
  768. 'skip_confirmation' => 0,
  769. 'override_label' => 0,
  770. 'label' => '',
  771. 'postpone_processing' => 0,
  772. ),
  773. 'action::node_make_sticky_action' => array(
  774. 'selected' => 0,
  775. 'skip_confirmation' => 0,
  776. 'override_label' => 0,
  777. 'label' => '',
  778. 'postpone_processing' => 0,
  779. ),
  780. );
  781. /* Champ: Contenu : Image */
  782. $handler->display->display_options['fields']['field_materiau_image']['id'] = 'field_materiau_image';
  783. $handler->display->display_options['fields']['field_materiau_image']['table'] = 'field_data_field_materiau_image';
  784. $handler->display->display_options['fields']['field_materiau_image']['field'] = 'field_materiau_image';
  785. $handler->display->display_options['fields']['field_materiau_image']['click_sort_column'] = 'fid';
  786. $handler->display->display_options['fields']['field_materiau_image']['settings'] = array(
  787. 'image_style' => 'thumbnail',
  788. 'image_link' => 'content',
  789. );
  790. $handler->display->display_options['fields']['field_materiau_image']['delta_limit'] = '1';
  791. $handler->display->display_options['fields']['field_materiau_image']['delta_offset'] = '0';
  792. /* Champ: Contenu : Image */
  793. $handler->display->display_options['fields']['field_visuel']['id'] = 'field_visuel';
  794. $handler->display->display_options['fields']['field_visuel']['table'] = 'field_data_field_visuel';
  795. $handler->display->display_options['fields']['field_visuel']['field'] = 'field_visuel';
  796. $handler->display->display_options['fields']['field_visuel']['click_sort_column'] = 'fid';
  797. $handler->display->display_options['fields']['field_visuel']['settings'] = array(
  798. 'image_style' => 'thumbnail',
  799. 'image_link' => 'content',
  800. );
  801. $handler->display->display_options['fields']['field_visuel']['delta_limit'] = '1';
  802. $handler->display->display_options['fields']['field_visuel']['delta_offset'] = '0';
  803. /* Champ: Contenu : Type */
  804. $handler->display->display_options['fields']['type']['id'] = 'type';
  805. $handler->display->display_options['fields']['type']['table'] = 'node';
  806. $handler->display->display_options['fields']['type']['field'] = 'type';
  807. /* Champ: Contenu : Titre */
  808. $handler->display->display_options['fields']['title']['id'] = 'title';
  809. $handler->display->display_options['fields']['title']['table'] = 'node';
  810. $handler->display->display_options['fields']['title']['field'] = 'title';
  811. $handler->display->display_options['fields']['title']['label'] = 'Title/Name';
  812. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  813. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  814. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  815. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  816. /* Champ: Contenu : Référence Materio */
  817. $handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio';
  818. $handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio';
  819. $handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio';
  820. /* Champ: Contenu : Lien de modification */
  821. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  822. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  823. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  824. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  825. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  826. /* Champ: Contenu : Manufacturer */
  827. $handler->display->display_options['fields']['field_company_fab']['id'] = 'field_company_fab';
  828. $handler->display->display_options['fields']['field_company_fab']['table'] = 'field_data_field_company_fab';
  829. $handler->display->display_options['fields']['field_company_fab']['field'] = 'field_company_fab';
  830. $handler->display->display_options['fields']['field_company_fab']['label'] = 'Fabricants/Distributeurs';
  831. $handler->display->display_options['fields']['field_company_fab']['alter']['alter_text'] = TRUE;
  832. $handler->display->display_options['fields']['field_company_fab']['alter']['text'] = 'Fab :<br/>
  833. [field_company_fab] ';
  834. $handler->display->display_options['fields']['field_company_fab']['delta_offset'] = '0';
  835. /* Champ: Contenu : Distributor */
  836. $handler->display->display_options['fields']['field_company_distrib']['id'] = 'field_company_distrib';
  837. $handler->display->display_options['fields']['field_company_distrib']['table'] = 'field_data_field_company_distrib';
  838. $handler->display->display_options['fields']['field_company_distrib']['field'] = 'field_company_distrib';
  839. $handler->display->display_options['fields']['field_company_distrib']['alter']['alter_text'] = TRUE;
  840. $handler->display->display_options['fields']['field_company_distrib']['alter']['text'] = 'Distrib : <br />
  841. [field_company_distrib]';
  842. $handler->display->display_options['fields']['field_company_distrib']['delta_offset'] = '0';
  843. /* Champ: Contenu : Onthologie */
  844. $handler->display->display_options['fields']['field_onthologie']['id'] = 'field_onthologie';
  845. $handler->display->display_options['fields']['field_onthologie']['table'] = 'field_data_field_onthologie';
  846. $handler->display->display_options['fields']['field_onthologie']['field'] = 'field_onthologie';
  847. $handler->display->display_options['fields']['field_onthologie']['type'] = 'i18n_taxonomy_term_reference_plain';
  848. $handler->display->display_options['fields']['field_onthologie']['delta_limit'] = '5';
  849. $handler->display->display_options['fields']['field_onthologie']['delta_offset'] = '0';
  850. $handler->display->display_options['fields']['field_onthologie']['multi_type'] = 'ol';
  851. /* Champ: Contenu : Tags libres */
  852. $handler->display->display_options['fields']['field_tags_libres']['id'] = 'field_tags_libres';
  853. $handler->display->display_options['fields']['field_tags_libres']['table'] = 'field_data_field_tags_libres';
  854. $handler->display->display_options['fields']['field_tags_libres']['field'] = 'field_tags_libres';
  855. $handler->display->display_options['fields']['field_tags_libres']['type'] = 'i18n_taxonomy_term_reference_plain';
  856. $handler->display->display_options['fields']['field_tags_libres']['delta_limit'] = '4';
  857. $handler->display->display_options['fields']['field_tags_libres']['delta_offset'] = '0';
  858. $handler->display->display_options['fields']['field_tags_libres']['multi_type'] = 'ul';
  859. /* Champ: Contenu : Materiau(x) lié(s) */
  860. $handler->display->display_options['fields']['field_materiau_ref']['id'] = 'field_materiau_ref';
  861. $handler->display->display_options['fields']['field_materiau_ref']['table'] = 'field_data_field_materiau_ref';
  862. $handler->display->display_options['fields']['field_materiau_ref']['field'] = 'field_materiau_ref';
  863. $handler->display->display_options['fields']['field_materiau_ref']['alter']['text'] = 'Materiaux :<br />[field_materiau_ref]
  864. ';
  865. $handler->display->display_options['fields']['field_materiau_ref']['hide_empty'] = TRUE;
  866. $handler->display->display_options['fields']['field_materiau_ref']['settings'] = array(
  867. 'link' => 1,
  868. );
  869. $handler->display->display_options['fields']['field_materiau_ref']['delta_offset'] = '0';
  870. /* Champ: Contenu : Brève(s) liée(s) */
  871. $handler->display->display_options['fields']['field_breve_ref']['id'] = 'field_breve_ref';
  872. $handler->display->display_options['fields']['field_breve_ref']['table'] = 'field_data_field_breve_ref';
  873. $handler->display->display_options['fields']['field_breve_ref']['field'] = 'field_breve_ref';
  874. $handler->display->display_options['fields']['field_breve_ref']['alter']['text'] = 'Brèves :<br />[field_breve_ref]';
  875. $handler->display->display_options['fields']['field_breve_ref']['hide_empty'] = TRUE;
  876. $handler->display->display_options['fields']['field_breve_ref']['settings'] = array(
  877. 'link' => 1,
  878. );
  879. $handler->display->display_options['fields']['field_breve_ref']['delta_offset'] = '0';
  880. /* Champ: Champ : Mémo */
  881. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  882. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  883. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  884. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  885. $handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300';
  886. $handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE;
  887. $handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE;
  888. /* Champ: Contenu : Fichiers joints */
  889. $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments';
  890. $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments';
  891. $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments';
  892. $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid';
  893. $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0';
  894. /* Champ: Contenu : Localisation */
  895. $handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation';
  896. $handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation';
  897. $handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation';
  898. /* Champ: Processus : État actuel */
  899. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  900. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  901. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  902. /* Champ: Contenu : Lien de suppression */
  903. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  904. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  905. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  906. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  907. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  908. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  909. $handler->display->display_options['defaults']['filters'] = FALSE;
  910. /* Critère de filtrage: Contenu : Type */
  911. $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  912. $handler->display->display_options['filters']['type_1']['table'] = 'node';
  913. $handler->display->display_options['filters']['type_1']['field'] = 'type';
  914. $handler->display->display_options['filters']['type_1']['operator'] = 'not in';
  915. $handler->display->display_options['filters']['type_1']['value'] = array(
  916. 'company' => 'company',
  917. 'didactique' => 'didactique',
  918. 'faq' => 'faq',
  919. 'page' => 'page',
  920. 'panel' => 'panel',
  921. 'product' => 'product',
  922. 'simplenews' => 'simplenews',
  923. 'webform' => 'webform',
  924. 'looping_embed_video' => 'looping_embed_video',
  925. );
  926. $handler->display->display_options['filters']['type_1']['group'] = 1;
  927. /* Critère de filtrage: Contenu : Titre */
  928. $handler->display->display_options['filters']['title']['id'] = 'title';
  929. $handler->display->display_options['filters']['title']['table'] = 'node';
  930. $handler->display->display_options['filters']['title']['field'] = 'title';
  931. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  932. $handler->display->display_options['filters']['title']['group'] = 1;
  933. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  934. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  935. $handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains';
  936. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  937. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  938. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  939. /* Critère de filtrage: Champ : Mémo (field_memo) */
  940. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  941. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  942. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  943. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  944. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  945. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  946. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  947. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  948. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  949. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  950. /* Critère de filtrage: Processus : État actuel */
  951. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  952. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  953. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  954. $handler->display->display_options['filters']['sid']['group'] = 1;
  955. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  956. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  957. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  958. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  959. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  960. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  961. /* Critère de filtrage: Contenu : Type */
  962. $handler->display->display_options['filters']['type']['id'] = 'type';
  963. $handler->display->display_options['filters']['type']['table'] = 'node';
  964. $handler->display->display_options['filters']['type']['field'] = 'type';
  965. $handler->display->display_options['filters']['type']['value'] = array(
  966. 'breve' => 'breve',
  967. 'materiau' => 'materiau',
  968. );
  969. $handler->display->display_options['filters']['type']['group'] = 1;
  970. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  971. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  972. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu';
  973. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  974. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  975. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  976. $handler->display->display_options['filters']['type']['expose']['remember_roles'] = array(
  977. 2 => '2',
  978. 1 => 0,
  979. 9 => 0,
  980. 7 => 0,
  981. 10 => 0,
  982. 6 => 0,
  983. 8 => 0,
  984. 5 => 0,
  985. 3 => 0,
  986. 4 => 0,
  987. );
  988. $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
  989. /* Critère de filtrage: Contenu : Famille (field_famille) */
  990. $handler->display->display_options['filters']['field_famille_value']['id'] = 'field_famille_value';
  991. $handler->display->display_options['filters']['field_famille_value']['table'] = 'field_data_field_famille';
  992. $handler->display->display_options['filters']['field_famille_value']['field'] = 'field_famille_value';
  993. $handler->display->display_options['filters']['field_famille_value']['group'] = 1;
  994. $handler->display->display_options['filters']['field_famille_value']['exposed'] = TRUE;
  995. $handler->display->display_options['filters']['field_famille_value']['expose']['operator_id'] = 'field_famille_value_op';
  996. $handler->display->display_options['filters']['field_famille_value']['expose']['label'] = 'Famille';
  997. $handler->display->display_options['filters']['field_famille_value']['expose']['operator'] = 'field_famille_value_op';
  998. $handler->display->display_options['filters']['field_famille_value']['expose']['identifier'] = 'field_famille_value';
  999. $handler->display->display_options['filters']['field_famille_value']['expose']['remember'] = TRUE;
  1000. /* Critère de filtrage: Contenu : Référence Materio (field_reference_materio) */
  1001. $handler->display->display_options['filters']['field_reference_materio_value']['id'] = 'field_reference_materio_value';
  1002. $handler->display->display_options['filters']['field_reference_materio_value']['table'] = 'field_data_field_reference_materio';
  1003. $handler->display->display_options['filters']['field_reference_materio_value']['field'] = 'field_reference_materio_value';
  1004. $handler->display->display_options['filters']['field_reference_materio_value']['operator'] = 'contains';
  1005. $handler->display->display_options['filters']['field_reference_materio_value']['exposed'] = TRUE;
  1006. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator_id'] = 'field_reference_materio_value_op';
  1007. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['label'] = 'Référence';
  1008. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator'] = 'field_reference_materio_value_op';
  1009. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['identifier'] = 'field_reference_materio_value';
  1010. /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */
  1011. $handler->display->display_options['filters']['tid']['id'] = 'tid';
  1012. $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index';
  1013. $handler->display->display_options['filters']['tid']['field'] = 'tid';
  1014. $handler->display->display_options['filters']['tid']['value'] = '';
  1015. $handler->display->display_options['filters']['tid']['exposed'] = TRUE;
  1016. $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op';
  1017. $handler->display->display_options['filters']['tid']['expose']['label'] = 'Onto';
  1018. $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op';
  1019. $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid';
  1020. $handler->display->display_options['filters']['tid']['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']['tid']['reduce_duplicates'] = TRUE;
  1033. $handler->display->display_options['filters']['tid']['vocabulary'] = 'onthologie';
  1034. /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */
  1035. $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1';
  1036. $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index';
  1037. $handler->display->display_options['filters']['tid_1']['field'] = 'tid';
  1038. $handler->display->display_options['filters']['tid_1']['value'] = '';
  1039. $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE;
  1040. $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op';
  1041. $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Tag libres';
  1042. $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op';
  1043. $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1';
  1044. $handler->display->display_options['filters']['tid_1']['expose']['remember_roles'] = array(
  1045. 2 => '2',
  1046. 1 => 0,
  1047. 7 => 0,
  1048. 6 => 0,
  1049. 5 => 0,
  1050. 3 => 0,
  1051. 4 => 0,
  1052. );
  1053. $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'tag_libres';
  1054. /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */
  1055. $handler->display->display_options['filters']['tid_2']['id'] = 'tid_2';
  1056. $handler->display->display_options['filters']['tid_2']['table'] = 'taxonomy_index';
  1057. $handler->display->display_options['filters']['tid_2']['field'] = 'tid';
  1058. $handler->display->display_options['filters']['tid_2']['value'] = '';
  1059. $handler->display->display_options['filters']['tid_2']['exposed'] = TRUE;
  1060. $handler->display->display_options['filters']['tid_2']['expose']['operator_id'] = 'tid_2_op';
  1061. $handler->display->display_options['filters']['tid_2']['expose']['label'] = 'Société';
  1062. $handler->display->display_options['filters']['tid_2']['expose']['operator'] = 'tid_2_op';
  1063. $handler->display->display_options['filters']['tid_2']['expose']['identifier'] = 'tid_2';
  1064. $handler->display->display_options['filters']['tid_2']['expose']['remember_roles'] = array(
  1065. 2 => '2',
  1066. 1 => 0,
  1067. 7 => 0,
  1068. 6 => 0,
  1069. 5 => 0,
  1070. 3 => 0,
  1071. 4 => 0,
  1072. );
  1073. $handler->display->display_options['filters']['tid_2']['vocabulary'] = 'company';
  1074. /* Critère de filtrage: Contenu : Publié */
  1075. $handler->display->display_options['filters']['status']['id'] = 'status';
  1076. $handler->display->display_options['filters']['status']['table'] = 'node';
  1077. $handler->display->display_options['filters']['status']['field'] = 'status';
  1078. $handler->display->display_options['filters']['status']['value'] = '1';
  1079. $handler->display->display_options['path'] = 'admin/content/materiaux';
  1080. $handler->display->display_options['menu']['type'] = 'tab';
  1081. $handler->display->display_options['menu']['title'] = 'Materiaux/Brèves';
  1082. $handler->display->display_options['menu']['description'] = 'Materiaux/Brèves';
  1083. $handler->display->display_options['menu']['weight'] = '-100';
  1084. $handler->display->display_options['menu']['context'] = 0;
  1085. $handler->display->display_options['menu']['context_only_inline'] = 0;
  1086. $handler->display->display_options['tab_options']['type'] = 'normal';
  1087. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1088. $handler->display->display_options['tab_options']['weight'] = '0';
  1089. /* Display: Page : companies */
  1090. $handler = $view->new_display('page', 'Page : companies', 'page_2');
  1091. $handler->display->display_options['defaults']['title'] = FALSE;
  1092. $handler->display->display_options['title'] = 'Companies';
  1093. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  1094. $handler->display->display_options['defaults']['group_by'] = FALSE;
  1095. $handler->display->display_options['defaults']['pager'] = FALSE;
  1096. $handler->display->display_options['pager']['type'] = 'full';
  1097. $handler->display->display_options['pager']['options']['items_per_page'] = '25';
  1098. $handler->display->display_options['pager']['options']['offset'] = '0';
  1099. $handler->display->display_options['pager']['options']['id'] = '0';
  1100. $handler->display->display_options['pager']['options']['quantity'] = '9';
  1101. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1102. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1103. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1104. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1105. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1106. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1107. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1108. $handler->display->display_options['defaults']['relationships'] = FALSE;
  1109. /* Relation: Contenu : Name (field_tode_company) */
  1110. $handler->display->display_options['relationships']['field_tode_company_tid']['id'] = 'field_tode_company_tid';
  1111. $handler->display->display_options['relationships']['field_tode_company_tid']['table'] = 'field_data_field_tode_company';
  1112. $handler->display->display_options['relationships']['field_tode_company_tid']['field'] = 'field_tode_company_tid';
  1113. $handler->display->display_options['defaults']['fields'] = FALSE;
  1114. /* Champ: Opérations en masse : Contenu */
  1115. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  1116. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
  1117. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  1118. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  1119. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  1120. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  1121. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  1122. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  1123. 'action::system_message_action' => array(
  1124. 'selected' => 0,
  1125. 'skip_confirmation' => 0,
  1126. 'override_label' => 0,
  1127. 'label' => '',
  1128. 'postpone_processing' => 0,
  1129. ),
  1130. 'action::workflow_select_given_state_action' => array(
  1131. 'selected' => 1,
  1132. 'skip_confirmation' => 0,
  1133. 'override_label' => 0,
  1134. 'label' => '',
  1135. 'postpone_processing' => 0,
  1136. ),
  1137. 'action::workflow_select_next_state_action' => array(
  1138. 'selected' => 0,
  1139. 'skip_confirmation' => 0,
  1140. 'override_label' => 0,
  1141. 'label' => '',
  1142. 'postpone_processing' => 0,
  1143. ),
  1144. 'action::node_assign_owner_action' => array(
  1145. 'selected' => 0,
  1146. 'skip_confirmation' => 0,
  1147. 'override_label' => 0,
  1148. 'label' => '',
  1149. 'postpone_processing' => 0,
  1150. ),
  1151. 'action::node_unpublish_action' => array(
  1152. 'selected' => 0,
  1153. 'skip_confirmation' => 0,
  1154. 'override_label' => 0,
  1155. 'label' => '',
  1156. 'postpone_processing' => 0,
  1157. ),
  1158. 'action::node_unpublish_by_keyword_action' => array(
  1159. 'selected' => 0,
  1160. 'skip_confirmation' => 0,
  1161. 'override_label' => 0,
  1162. 'label' => '',
  1163. 'postpone_processing' => 0,
  1164. ),
  1165. 'action::node_save_action' => array(
  1166. 'selected' => 0,
  1167. 'skip_confirmation' => 0,
  1168. 'override_label' => 0,
  1169. 'label' => '',
  1170. 'postpone_processing' => 0,
  1171. ),
  1172. 'action::system_send_email_action' => array(
  1173. 'selected' => 0,
  1174. 'skip_confirmation' => 0,
  1175. 'override_label' => 0,
  1176. 'label' => '',
  1177. 'postpone_processing' => 0,
  1178. ),
  1179. 'action::views_bulk_operations_script_action' => array(
  1180. 'selected' => 0,
  1181. 'skip_confirmation' => 0,
  1182. 'override_label' => 0,
  1183. 'label' => '',
  1184. 'postpone_processing' => 0,
  1185. ),
  1186. 'action::views_bulk_operations_modify_action' => array(
  1187. 'selected' => 0,
  1188. 'skip_confirmation' => 0,
  1189. 'override_label' => 0,
  1190. 'label' => '',
  1191. 'settings' => array(
  1192. 'show_all_tokens' => 1,
  1193. 'display_values' => array(
  1194. 'breve::field_memo' => 'breve::field_memo',
  1195. 'company::field_memo' => 'company::field_memo',
  1196. 'materiau::field_memo' => 'materiau::field_memo',
  1197. ),
  1198. ),
  1199. 'postpone_processing' => 0,
  1200. ),
  1201. 'action::views_bulk_operations_argument_selector_action' => array(
  1202. 'selected' => 0,
  1203. 'skip_confirmation' => 0,
  1204. 'override_label' => 0,
  1205. 'label' => '',
  1206. 'settings' => array(
  1207. 'url' => '',
  1208. ),
  1209. ),
  1210. 'action::node_promote_action' => array(
  1211. 'selected' => 0,
  1212. 'skip_confirmation' => 0,
  1213. 'override_label' => 0,
  1214. 'label' => '',
  1215. 'postpone_processing' => 0,
  1216. ),
  1217. 'action::node_publish_action' => array(
  1218. 'selected' => 0,
  1219. 'skip_confirmation' => 0,
  1220. 'override_label' => 0,
  1221. 'label' => '',
  1222. 'postpone_processing' => 0,
  1223. ),
  1224. 'action::system_goto_action' => array(
  1225. 'selected' => 0,
  1226. 'skip_confirmation' => 0,
  1227. 'override_label' => 0,
  1228. 'label' => '',
  1229. 'postpone_processing' => 0,
  1230. ),
  1231. 'action::node_unpromote_action' => array(
  1232. 'selected' => 0,
  1233. 'skip_confirmation' => 0,
  1234. 'override_label' => 0,
  1235. 'label' => '',
  1236. 'postpone_processing' => 0,
  1237. ),
  1238. 'action::node_make_unsticky_action' => array(
  1239. 'selected' => 0,
  1240. 'skip_confirmation' => 0,
  1241. 'override_label' => 0,
  1242. 'label' => '',
  1243. 'postpone_processing' => 0,
  1244. ),
  1245. 'action::views_bulk_operations_delete_item' => array(
  1246. 'selected' => 0,
  1247. 'skip_confirmation' => 0,
  1248. 'override_label' => 0,
  1249. 'label' => '',
  1250. 'postpone_processing' => 0,
  1251. ),
  1252. 'action::pathauto_node_update_action' => array(
  1253. 'selected' => 0,
  1254. 'skip_confirmation' => 0,
  1255. 'override_label' => 0,
  1256. 'label' => '',
  1257. 'postpone_processing' => 0,
  1258. ),
  1259. 'action::node_make_sticky_action' => array(
  1260. 'selected' => 0,
  1261. 'skip_confirmation' => 0,
  1262. 'override_label' => 0,
  1263. 'label' => '',
  1264. 'postpone_processing' => 0,
  1265. ),
  1266. );
  1267. /* Champ: Contenu : Titre */
  1268. $handler->display->display_options['fields']['title']['id'] = 'title';
  1269. $handler->display->display_options['fields']['title']['table'] = 'node';
  1270. $handler->display->display_options['fields']['title']['field'] = 'title';
  1271. $handler->display->display_options['fields']['title']['label'] = 'Title / Name';
  1272. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  1273. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  1274. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  1275. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  1276. /* Champ: Contenu : Date de publication */
  1277. $handler->display->display_options['fields']['created']['id'] = 'created';
  1278. $handler->display->display_options['fields']['created']['table'] = 'node';
  1279. $handler->display->display_options['fields']['created']['field'] = 'created';
  1280. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  1281. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y/m/d';
  1282. /* Champ: Contenu : Lien de modification */
  1283. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  1284. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  1285. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  1286. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  1287. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  1288. /* Champ: Terme de taxonomie : Identifiant (ID) du terme */
  1289. $handler->display->display_options['fields']['tid']['id'] = 'tid';
  1290. $handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
  1291. $handler->display->display_options['fields']['tid']['field'] = 'tid';
  1292. $handler->display->display_options['fields']['tid']['relationship'] = 'field_tode_company_tid';
  1293. $handler->display->display_options['fields']['tid']['exclude'] = TRUE;
  1294. /* Champ: Global : PHP */
  1295. $handler->display->display_options['fields']['php']['id'] = 'php';
  1296. $handler->display->display_options['fields']['php']['table'] = 'views';
  1297. $handler->display->display_options['fields']['php']['field'] = 'php';
  1298. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  1299. $handler->display->display_options['fields']['php']['php_output'] = '<?php
  1300. //dsm($row);
  1301. //dsm($view);
  1302. //get a list of nodes that match your criteria
  1303. //$query = new EntityFieldQuery();
  1304. //$entities = $query->entityCondition(\'entity_type\', \'node\')
  1305. // ->entityCondition(\'bundle\', \'materiau\')
  1306. // ->fieldCondition(\'fabricant\', \'tid\', $row->tid)
  1307. // ->execute();
  1308. //foreach($entities as $nid){
  1309. // $node = node_load($nid);
  1310. // print $node->title.\'<br />\';
  1311. //}
  1312. ?>';
  1313. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  1314. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  1315. /* Champ: Contenu : Adresse */
  1316. $handler->display->display_options['fields']['field_public_address']['id'] = 'field_public_address';
  1317. $handler->display->display_options['fields']['field_public_address']['table'] = 'field_data_field_public_address';
  1318. $handler->display->display_options['fields']['field_public_address']['field'] = 'field_public_address';
  1319. $handler->display->display_options['fields']['field_public_address']['click_sort_column'] = 'country';
  1320. $handler->display->display_options['fields']['field_public_address']['settings'] = array(
  1321. 'use_widget_handlers' => 1,
  1322. 'format_handlers' => array(
  1323. 'address' => 'address',
  1324. ),
  1325. );
  1326. /* Champ: Contenu : Phone */
  1327. $handler->display->display_options['fields']['field_public_phone']['id'] = 'field_public_phone';
  1328. $handler->display->display_options['fields']['field_public_phone']['table'] = 'field_data_field_public_phone';
  1329. $handler->display->display_options['fields']['field_public_phone']['field'] = 'field_public_phone';
  1330. $handler->display->display_options['fields']['field_public_phone']['label'] = 'Téléphone';
  1331. $handler->display->display_options['fields']['field_public_phone']['click_sort_column'] = 'number';
  1332. $handler->display->display_options['fields']['field_public_phone']['delta_offset'] = '0';
  1333. /* Champ: Contenu : Langue */
  1334. $handler->display->display_options['fields']['language']['id'] = 'language';
  1335. $handler->display->display_options['fields']['language']['table'] = 'node';
  1336. $handler->display->display_options['fields']['language']['field'] = 'language';
  1337. /* Champ: Traduction du contenu : Lien de traduction */
  1338. $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
  1339. $handler->display->display_options['fields']['translate_node']['table'] = 'node';
  1340. $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
  1341. $handler->display->display_options['fields']['translate_node']['alter']['text'] = '<span class="button">[translate_node]</span>';
  1342. /* Champ: Traduction du contenu : Statut de la traduction */
  1343. $handler->display->display_options['fields']['translate']['id'] = 'translate';
  1344. $handler->display->display_options['fields']['translate']['table'] = 'node';
  1345. $handler->display->display_options['fields']['translate']['field'] = 'translate';
  1346. $handler->display->display_options['fields']['translate']['exclude'] = TRUE;
  1347. $handler->display->display_options['fields']['translate']['not'] = 0;
  1348. /* Champ: Contenu : website */
  1349. $handler->display->display_options['fields']['field_website']['id'] = 'field_website';
  1350. $handler->display->display_options['fields']['field_website']['table'] = 'field_data_field_website';
  1351. $handler->display->display_options['fields']['field_website']['field'] = 'field_website';
  1352. $handler->display->display_options['fields']['field_website']['click_sort_column'] = 'url';
  1353. /* Champ: Contenu : Email */
  1354. $handler->display->display_options['fields']['field_public_email']['id'] = 'field_public_email';
  1355. $handler->display->display_options['fields']['field_public_email']['table'] = 'field_data_field_public_email';
  1356. $handler->display->display_options['fields']['field_public_email']['field'] = 'field_public_email';
  1357. $handler->display->display_options['fields']['field_public_email']['label'] = 'Courriel';
  1358. /* Champ: Contenu : Note */
  1359. $handler->display->display_options['fields']['field_note']['id'] = 'field_note';
  1360. $handler->display->display_options['fields']['field_note']['table'] = 'field_data_field_note';
  1361. $handler->display->display_options['fields']['field_note']['field'] = 'field_note';
  1362. /* Champ: Contenu : Fichiers joints */
  1363. $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments';
  1364. $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments';
  1365. $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments';
  1366. $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid';
  1367. $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0';
  1368. /* Champ: Champ : Mémo */
  1369. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  1370. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  1371. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  1372. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  1373. /* Champ: Processus : État actuel */
  1374. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  1375. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  1376. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  1377. /* Champ: Contenu : Lien de suppression */
  1378. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  1379. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  1380. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  1381. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  1382. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  1383. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  1384. $handler->display->display_options['defaults']['filters'] = FALSE;
  1385. /* Critère de filtrage: Contenu : Titre */
  1386. $handler->display->display_options['filters']['title']['id'] = 'title';
  1387. $handler->display->display_options['filters']['title']['table'] = 'node';
  1388. $handler->display->display_options['filters']['title']['field'] = 'title';
  1389. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  1390. $handler->display->display_options['filters']['title']['group'] = 1;
  1391. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  1392. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  1393. $handler->display->display_options['filters']['title']['expose']['label'] = 'Le nom contient';
  1394. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  1395. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  1396. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  1397. /* Critère de filtrage: Processus : État actuel */
  1398. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  1399. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  1400. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  1401. $handler->display->display_options['filters']['sid']['group'] = 1;
  1402. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  1403. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  1404. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  1405. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  1406. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  1407. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  1408. /* Critère de filtrage: Champ : Mémo (field_memo) */
  1409. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  1410. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  1411. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  1412. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  1413. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  1414. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  1415. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  1416. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  1417. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  1418. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  1419. /* Critère de filtrage: Contenu : Type */
  1420. $handler->display->display_options['filters']['type_2']['id'] = 'type_2';
  1421. $handler->display->display_options['filters']['type_2']['table'] = 'node';
  1422. $handler->display->display_options['filters']['type_2']['field'] = 'type';
  1423. $handler->display->display_options['filters']['type_2']['operator'] = 'not in';
  1424. $handler->display->display_options['filters']['type_2']['value'] = array(
  1425. 'breve' => 'breve',
  1426. 'didactique' => 'didactique',
  1427. 'faq' => 'faq',
  1428. 'materiau' => 'materiau',
  1429. 'page' => 'page',
  1430. 'panel' => 'panel',
  1431. 'product' => 'product',
  1432. 'simplenews' => 'simplenews',
  1433. 'webform' => 'webform',
  1434. 'looping_embed_video' => 'looping_embed_video',
  1435. );
  1436. $handler->display->display_options['path'] = 'admin/content/companies';
  1437. $handler->display->display_options['menu']['type'] = 'tab';
  1438. $handler->display->display_options['menu']['title'] = 'Companies';
  1439. $handler->display->display_options['menu']['description'] = 'Companies';
  1440. $handler->display->display_options['menu']['weight'] = '-99';
  1441. $handler->display->display_options['menu']['context'] = 0;
  1442. $handler->display->display_options['tab_options']['type'] = 'normal';
  1443. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1444. $handler->display->display_options['tab_options']['weight'] = '0';
  1445. /* Display: Page : pages/faq/didactique */
  1446. $handler = $view->new_display('page', 'Page : pages/faq/didactique', 'page_3');
  1447. $handler->display->display_options['defaults']['title'] = FALSE;
  1448. $handler->display->display_options['title'] = 'pages/didactique/faq';
  1449. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  1450. $handler->display->display_options['defaults']['pager'] = FALSE;
  1451. $handler->display->display_options['pager']['type'] = 'full';
  1452. $handler->display->display_options['pager']['options']['items_per_page'] = '50';
  1453. $handler->display->display_options['pager']['options']['offset'] = '0';
  1454. $handler->display->display_options['pager']['options']['id'] = '0';
  1455. $handler->display->display_options['pager']['options']['quantity'] = '9';
  1456. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1457. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1458. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1459. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1460. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1461. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1462. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1463. $handler->display->display_options['defaults']['fields'] = FALSE;
  1464. /* Champ: Opérations en masse : Contenu */
  1465. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  1466. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
  1467. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  1468. $handler->display->display_options['fields']['views_bulk_operations']['label'] = '';
  1469. $handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE;
  1470. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  1471. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  1472. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  1473. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  1474. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  1475. 'action::system_message_action' => array(
  1476. 'selected' => 0,
  1477. 'skip_confirmation' => 0,
  1478. 'override_label' => 0,
  1479. 'label' => '',
  1480. 'postpone_processing' => 0,
  1481. ),
  1482. 'action::workflow_select_given_state_action' => array(
  1483. 'selected' => 1,
  1484. 'skip_confirmation' => 0,
  1485. 'override_label' => 0,
  1486. 'label' => '',
  1487. 'postpone_processing' => 0,
  1488. ),
  1489. 'action::workflow_select_next_state_action' => array(
  1490. 'selected' => 0,
  1491. 'skip_confirmation' => 0,
  1492. 'override_label' => 0,
  1493. 'label' => '',
  1494. 'postpone_processing' => 0,
  1495. ),
  1496. 'action::node_assign_owner_action' => array(
  1497. 'selected' => 0,
  1498. 'skip_confirmation' => 0,
  1499. 'override_label' => 0,
  1500. 'label' => '',
  1501. 'postpone_processing' => 0,
  1502. ),
  1503. 'action::node_unpublish_action' => array(
  1504. 'selected' => 0,
  1505. 'skip_confirmation' => 0,
  1506. 'override_label' => 0,
  1507. 'label' => '',
  1508. 'postpone_processing' => 0,
  1509. ),
  1510. 'action::node_unpublish_by_keyword_action' => array(
  1511. 'selected' => 0,
  1512. 'skip_confirmation' => 0,
  1513. 'override_label' => 0,
  1514. 'label' => '',
  1515. 'postpone_processing' => 0,
  1516. ),
  1517. 'action::node_save_action' => array(
  1518. 'selected' => 0,
  1519. 'skip_confirmation' => 0,
  1520. 'override_label' => 0,
  1521. 'label' => '',
  1522. 'postpone_processing' => 0,
  1523. ),
  1524. 'action::system_send_email_action' => array(
  1525. 'selected' => 0,
  1526. 'skip_confirmation' => 0,
  1527. 'override_label' => 0,
  1528. 'label' => '',
  1529. 'postpone_processing' => 0,
  1530. ),
  1531. 'action::views_bulk_operations_script_action' => array(
  1532. 'selected' => 0,
  1533. 'skip_confirmation' => 0,
  1534. 'override_label' => 0,
  1535. 'label' => '',
  1536. 'postpone_processing' => 0,
  1537. ),
  1538. 'action::views_bulk_operations_modify_action' => array(
  1539. 'selected' => 0,
  1540. 'skip_confirmation' => 0,
  1541. 'override_label' => 0,
  1542. 'label' => '',
  1543. 'settings' => array(
  1544. 'show_all_tokens' => 1,
  1545. 'display_values' => array(
  1546. 'breve::field_memo' => 'breve::field_memo',
  1547. 'company::field_memo' => 'company::field_memo',
  1548. 'materiau::field_memo' => 'materiau::field_memo',
  1549. ),
  1550. ),
  1551. 'postpone_processing' => 0,
  1552. ),
  1553. 'action::views_bulk_operations_argument_selector_action' => array(
  1554. 'selected' => 0,
  1555. 'skip_confirmation' => 0,
  1556. 'override_label' => 0,
  1557. 'label' => '',
  1558. 'settings' => array(
  1559. 'url' => '',
  1560. ),
  1561. ),
  1562. 'action::node_promote_action' => array(
  1563. 'selected' => 0,
  1564. 'skip_confirmation' => 0,
  1565. 'override_label' => 0,
  1566. 'label' => '',
  1567. 'postpone_processing' => 0,
  1568. ),
  1569. 'action::node_publish_action' => array(
  1570. 'selected' => 0,
  1571. 'skip_confirmation' => 0,
  1572. 'override_label' => 0,
  1573. 'label' => '',
  1574. 'postpone_processing' => 0,
  1575. ),
  1576. 'action::system_goto_action' => array(
  1577. 'selected' => 0,
  1578. 'skip_confirmation' => 0,
  1579. 'override_label' => 0,
  1580. 'label' => '',
  1581. 'postpone_processing' => 0,
  1582. ),
  1583. 'action::node_unpromote_action' => array(
  1584. 'selected' => 0,
  1585. 'skip_confirmation' => 0,
  1586. 'override_label' => 0,
  1587. 'label' => '',
  1588. 'postpone_processing' => 0,
  1589. ),
  1590. 'action::node_make_unsticky_action' => array(
  1591. 'selected' => 0,
  1592. 'skip_confirmation' => 0,
  1593. 'override_label' => 0,
  1594. 'label' => '',
  1595. 'postpone_processing' => 0,
  1596. ),
  1597. 'action::views_bulk_operations_delete_item' => array(
  1598. 'selected' => 0,
  1599. 'skip_confirmation' => 0,
  1600. 'override_label' => 0,
  1601. 'label' => '',
  1602. 'postpone_processing' => 0,
  1603. ),
  1604. 'action::pathauto_node_update_action' => array(
  1605. 'selected' => 0,
  1606. 'skip_confirmation' => 0,
  1607. 'override_label' => 0,
  1608. 'label' => '',
  1609. 'postpone_processing' => 0,
  1610. ),
  1611. 'action::node_make_sticky_action' => array(
  1612. 'selected' => 0,
  1613. 'skip_confirmation' => 0,
  1614. 'override_label' => 0,
  1615. 'label' => '',
  1616. 'postpone_processing' => 0,
  1617. ),
  1618. );
  1619. /* Champ: Contenu : Type */
  1620. $handler->display->display_options['fields']['type']['id'] = 'type';
  1621. $handler->display->display_options['fields']['type']['table'] = 'node';
  1622. $handler->display->display_options['fields']['type']['field'] = 'type';
  1623. /* Champ: Contenu : Titre */
  1624. $handler->display->display_options['fields']['title']['id'] = 'title';
  1625. $handler->display->display_options['fields']['title']['table'] = 'node';
  1626. $handler->display->display_options['fields']['title']['field'] = 'title';
  1627. $handler->display->display_options['fields']['title']['label'] = 'Title/Name';
  1628. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  1629. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  1630. $handler->display->display_options['fields']['title']['element_type'] = 'strong';
  1631. $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
  1632. /* Champ: Contenu : Lien de modification */
  1633. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  1634. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  1635. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  1636. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  1637. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  1638. /* Champ: Champ : Mémo */
  1639. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  1640. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  1641. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  1642. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  1643. $handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300';
  1644. $handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE;
  1645. $handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE;
  1646. /* Champ: Contenu : Fichiers joints */
  1647. $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments';
  1648. $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments';
  1649. $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments';
  1650. $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid';
  1651. $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0';
  1652. /* Champ: Contenu : Localisation */
  1653. $handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation';
  1654. $handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation';
  1655. $handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation';
  1656. /* Champ: Processus : État actuel */
  1657. $handler->display->display_options['fields']['sid']['id'] = 'sid';
  1658. $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
  1659. $handler->display->display_options['fields']['sid']['field'] = 'sid';
  1660. /* Champ: Contenu : Lien de suppression */
  1661. $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
  1662. $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
  1663. $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
  1664. $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
  1665. $handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
  1666. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  1667. $handler->display->display_options['defaults']['filters'] = FALSE;
  1668. /* Critère de filtrage: Contenu : Type */
  1669. $handler->display->display_options['filters']['type_1']['id'] = 'type_1';
  1670. $handler->display->display_options['filters']['type_1']['table'] = 'node';
  1671. $handler->display->display_options['filters']['type_1']['field'] = 'type';
  1672. $handler->display->display_options['filters']['type_1']['operator'] = 'not in';
  1673. $handler->display->display_options['filters']['type_1']['value'] = array(
  1674. 'breve' => 'breve',
  1675. 'company' => 'company',
  1676. 'materiau' => 'materiau',
  1677. 'panel' => 'panel',
  1678. 'product' => 'product',
  1679. 'simplenews' => 'simplenews',
  1680. 'webform' => 'webform',
  1681. );
  1682. $handler->display->display_options['filters']['type_1']['group'] = 1;
  1683. /* Critère de filtrage: Contenu : Titre */
  1684. $handler->display->display_options['filters']['title']['id'] = 'title';
  1685. $handler->display->display_options['filters']['title']['table'] = 'node';
  1686. $handler->display->display_options['filters']['title']['field'] = 'title';
  1687. $handler->display->display_options['filters']['title']['operator'] = 'contains';
  1688. $handler->display->display_options['filters']['title']['group'] = 1;
  1689. $handler->display->display_options['filters']['title']['exposed'] = TRUE;
  1690. $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
  1691. $handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains';
  1692. $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
  1693. $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
  1694. $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
  1695. /* Critère de filtrage: Champ : Mémo (field_memo) */
  1696. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  1697. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  1698. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  1699. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  1700. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  1701. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  1702. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  1703. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
  1704. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  1705. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  1706. /* Critère de filtrage: Processus : État actuel */
  1707. $handler->display->display_options['filters']['sid']['id'] = 'sid';
  1708. $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
  1709. $handler->display->display_options['filters']['sid']['field'] = 'sid';
  1710. $handler->display->display_options['filters']['sid']['group'] = 1;
  1711. $handler->display->display_options['filters']['sid']['exposed'] = TRUE;
  1712. $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
  1713. $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
  1714. $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
  1715. $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
  1716. $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
  1717. /* Critère de filtrage: Contenu : Type */
  1718. $handler->display->display_options['filters']['type']['id'] = 'type';
  1719. $handler->display->display_options['filters']['type']['table'] = 'node';
  1720. $handler->display->display_options['filters']['type']['field'] = 'type';
  1721. $handler->display->display_options['filters']['type']['value'] = array(
  1722. 'didactique' => 'didactique',
  1723. 'faq' => 'faq',
  1724. 'page' => 'page',
  1725. );
  1726. $handler->display->display_options['filters']['type']['group'] = 1;
  1727. $handler->display->display_options['filters']['type']['exposed'] = TRUE;
  1728. $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
  1729. $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu';
  1730. $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
  1731. $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
  1732. $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
  1733. $handler->display->display_options['filters']['type']['expose']['remember_roles'] = array(
  1734. 2 => '2',
  1735. 1 => 0,
  1736. 9 => 0,
  1737. 7 => 0,
  1738. 10 => 0,
  1739. 6 => 0,
  1740. 8 => 0,
  1741. 5 => 0,
  1742. 3 => 0,
  1743. 4 => 0,
  1744. );
  1745. $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
  1746. /* Critère de filtrage: Contenu : Référence Materio (field_reference_materio) */
  1747. $handler->display->display_options['filters']['field_reference_materio_value']['id'] = 'field_reference_materio_value';
  1748. $handler->display->display_options['filters']['field_reference_materio_value']['table'] = 'field_data_field_reference_materio';
  1749. $handler->display->display_options['filters']['field_reference_materio_value']['field'] = 'field_reference_materio_value';
  1750. $handler->display->display_options['filters']['field_reference_materio_value']['operator'] = 'contains';
  1751. $handler->display->display_options['filters']['field_reference_materio_value']['group'] = 1;
  1752. $handler->display->display_options['filters']['field_reference_materio_value']['exposed'] = TRUE;
  1753. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator_id'] = 'field_reference_materio_value_op';
  1754. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['label'] = 'Référence';
  1755. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator'] = 'field_reference_materio_value_op';
  1756. $handler->display->display_options['filters']['field_reference_materio_value']['expose']['identifier'] = 'field_reference_materio_value';
  1757. $handler->display->display_options['path'] = 'admin/content/pages';
  1758. $handler->display->display_options['menu']['type'] = 'tab';
  1759. $handler->display->display_options['menu']['title'] = 'Page/faq/didactique';
  1760. $handler->display->display_options['menu']['description'] = 'Materiaux / Brèves';
  1761. $handler->display->display_options['menu']['weight'] = '-100';
  1762. $handler->display->display_options['menu']['context'] = 0;
  1763. $handler->display->display_options['menu']['context_only_inline'] = 0;
  1764. $handler->display->display_options['tab_options']['type'] = 'normal';
  1765. $handler->display->display_options['tab_options']['title'] = 'dashboard';
  1766. $handler->display->display_options['tab_options']['weight'] = '0';
  1767. $translatables['admin_contents'] = array(
  1768. t('Master'),
  1769. t('Contenu'),
  1770. t('plus'),
  1771. t('Filtrer'),
  1772. t('réinitialiser'),
  1773. t('Trier par'),
  1774. t('Asc'),
  1775. t('Desc'),
  1776. t('Éléments par page'),
  1777. t('- Tout -'),
  1778. t('Décalage'),
  1779. t('« premier'),
  1780. t('‹ précédent'),
  1781. t('suivant ›'),
  1782. t('dernier »'),
  1783. t('Résumé'),
  1784. t('Displaying @start - @end of @total'),
  1785. t('Type'),
  1786. t('Title / Name'),
  1787. t('Référence Materio'),
  1788. t('Lien de modification'),
  1789. t('<span class="node-edit">[edit_node]</span>'),
  1790. t('Fabricants / Distributeurs'),
  1791. t('Distributor'),
  1792. t('Langue'),
  1793. t('Lien de traduction'),
  1794. t('<span class="button">[translate_node]</span>'),
  1795. t('Statut de la traduction'),
  1796. t('État actuel'),
  1797. t('Date de mise à jour'),
  1798. t('Mémo'),
  1799. t('Lien de suppression'),
  1800. t('<span class="node-delete">[delete_node]</span>'),
  1801. t('Le titre contient'),
  1802. t('Processus'),
  1803. t('Type de contenu'),
  1804. t('Mémo contient'),
  1805. t('Page : all'),
  1806. t('Block'),
  1807. t('Recent Content'),
  1808. t('Titre'),
  1809. t('Modifier'),
  1810. t('Publié'),
  1811. t('Traduire'),
  1812. t('Page : materiaux'),
  1813. t('Materiaux/brèves'),
  1814. t('Image'),
  1815. t('Title/Name'),
  1816. t('Fabricants/Distributeurs'),
  1817. t('Fab :<br/>
  1818. [field_company_fab] '),
  1819. t('Distrib : <br />
  1820. [field_company_distrib]'),
  1821. t('Onthologie'),
  1822. t('Tags libres'),
  1823. t('Materiau(x) lié(s)'),
  1824. t('Materiaux :<br />[field_materiau_ref]
  1825. '),
  1826. t('Brève(s) liée(s)'),
  1827. t('Brèves :<br />[field_breve_ref]'),
  1828. t('Fichiers joints'),
  1829. t('Localisation'),
  1830. t('Title / Name contains'),
  1831. t('Famille'),
  1832. t('Référence'),
  1833. t('Onto'),
  1834. t('Tag libres'),
  1835. t('Société'),
  1836. t('Page : companies'),
  1837. t('Companies'),
  1838. t('terme à partir de field_tode_company'),
  1839. t('Date de publication'),
  1840. t('Identifiant (ID) du terme'),
  1841. t('.'),
  1842. t(','),
  1843. t('PHP'),
  1844. t('Adresse'),
  1845. t('Téléphone'),
  1846. t('website'),
  1847. t('Courriel'),
  1848. t('Note'),
  1849. t('Le nom contient'),
  1850. t('Page : pages/faq/didactique'),
  1851. t('pages/didactique/faq'),
  1852. );
  1853. $export['admin_contents'] = $view;
  1854. $view = new view();
  1855. $view->name = 'admin_peoples';
  1856. $view->description = 'Administrative view for peoples';
  1857. $view->tag = 'default';
  1858. $view->base_table = 'users';
  1859. $view->human_name = 'Admin Peoples';
  1860. $view->core = 7;
  1861. $view->api_version = '3.0';
  1862. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  1863. /* Display: Master */
  1864. $handler = $view->new_display('default', 'Master', 'default');
  1865. $handler->display->display_options['title'] = 'Admin Users';
  1866. $handler->display->display_options['use_more'] = TRUE;
  1867. $handler->display->display_options['use_more_always'] = FALSE;
  1868. $handler->display->display_options['use_more_text'] = 'plus';
  1869. $handler->display->display_options['access']['type'] = 'role';
  1870. $handler->display->display_options['access']['role'] = array(
  1871. 3 => '3',
  1872. 4 => '4',
  1873. );
  1874. $handler->display->display_options['cache']['type'] = 'none';
  1875. $handler->display->display_options['query']['type'] = 'views_query';
  1876. $handler->display->display_options['exposed_form']['type'] = 'basic';
  1877. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  1878. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  1879. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  1880. $handler->display->display_options['pager']['type'] = 'full';
  1881. $handler->display->display_options['pager']['options']['items_per_page'] = '25';
  1882. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  1883. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  1884. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  1885. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  1886. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  1887. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  1888. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  1889. $handler->display->display_options['style_plugin'] = 'table';
  1890. $handler->display->display_options['style_options']['columns'] = array(
  1891. 'views_bulk_operations' => 'views_bulk_operations',
  1892. 'uid' => 'uid',
  1893. 'field_private_name_title' => 'mail',
  1894. 'field_first_name' => 'field_first_name',
  1895. 'field_name' => 'mail',
  1896. 'mail' => 'mail',
  1897. 'edit_node' => 'mail',
  1898. 'rid' => 'php',
  1899. 'php' => 'php',
  1900. 'field_company' => 'field_company',
  1901. 'field_organization' => 'field_company',
  1902. 'field_service' => 'field_company',
  1903. 'field_private_quality' => 'field_company',
  1904. 'field_siret' => 'field_company',
  1905. 'field_employee' => 'field_company',
  1906. 'field_user_website' => 'field_adresse',
  1907. 'field_adresse' => 'field_adresse',
  1908. 'field_private_phone' => 'field_adresse',
  1909. 'field_memo' => 'field_memo',
  1910. 'created' => 'created',
  1911. 'access' => 'access',
  1912. 'language' => 'language',
  1913. 'status' => 'status',
  1914. 'value' => 'value',
  1915. 'views_send' => 'views_send',
  1916. 'php_1' => 'php_1',
  1917. 'name' => 'name',
  1918. );
  1919. $handler->display->display_options['style_options']['default'] = 'created';
  1920. $handler->display->display_options['style_options']['info'] = array(
  1921. 'views_bulk_operations' => array(
  1922. 'align' => '',
  1923. 'separator' => '',
  1924. 'empty_column' => 0,
  1925. ),
  1926. 'uid' => array(
  1927. 'sortable' => 0,
  1928. 'default_sort_order' => 'asc',
  1929. 'align' => '',
  1930. 'separator' => '',
  1931. 'empty_column' => 0,
  1932. ),
  1933. 'field_private_name_title' => array(
  1934. 'sortable' => 0,
  1935. 'default_sort_order' => 'asc',
  1936. 'align' => '',
  1937. 'separator' => '',
  1938. 'empty_column' => 0,
  1939. ),
  1940. 'field_first_name' => array(
  1941. 'sortable' => 0,
  1942. 'default_sort_order' => 'asc',
  1943. 'align' => '',
  1944. 'separator' => '',
  1945. 'empty_column' => 0,
  1946. ),
  1947. 'field_name' => array(
  1948. 'sortable' => 0,
  1949. 'default_sort_order' => 'asc',
  1950. 'align' => '',
  1951. 'separator' => '',
  1952. 'empty_column' => 0,
  1953. ),
  1954. 'mail' => array(
  1955. 'sortable' => 0,
  1956. 'default_sort_order' => 'asc',
  1957. 'align' => '',
  1958. 'separator' => '<br />',
  1959. 'empty_column' => 0,
  1960. ),
  1961. 'edit_node' => array(
  1962. 'align' => '',
  1963. 'separator' => '',
  1964. 'empty_column' => 0,
  1965. ),
  1966. 'rid' => array(
  1967. 'align' => '',
  1968. 'separator' => '<br />',
  1969. 'empty_column' => 0,
  1970. ),
  1971. 'php' => array(
  1972. 'sortable' => 1,
  1973. 'default_sort_order' => 'desc',
  1974. 'align' => '',
  1975. 'separator' => '<br />',
  1976. 'empty_column' => 0,
  1977. ),
  1978. 'field_company' => array(
  1979. 'sortable' => 0,
  1980. 'default_sort_order' => 'asc',
  1981. 'align' => '',
  1982. 'separator' => '<br />',
  1983. 'empty_column' => 0,
  1984. ),
  1985. 'field_organization' => array(
  1986. 'sortable' => 0,
  1987. 'default_sort_order' => 'asc',
  1988. 'align' => '',
  1989. 'separator' => '',
  1990. 'empty_column' => 0,
  1991. ),
  1992. 'field_service' => array(
  1993. 'sortable' => 0,
  1994. 'default_sort_order' => 'asc',
  1995. 'align' => '',
  1996. 'separator' => '',
  1997. 'empty_column' => 0,
  1998. ),
  1999. 'field_private_quality' => array(
  2000. 'sortable' => 0,
  2001. 'default_sort_order' => 'asc',
  2002. 'align' => '',
  2003. 'separator' => '',
  2004. 'empty_column' => 0,
  2005. ),
  2006. 'field_siret' => array(
  2007. 'sortable' => 0,
  2008. 'default_sort_order' => 'asc',
  2009. 'align' => '',
  2010. 'separator' => '',
  2011. 'empty_column' => 0,
  2012. ),
  2013. 'field_employee' => array(
  2014. 'sortable' => 0,
  2015. 'default_sort_order' => 'asc',
  2016. 'align' => '',
  2017. 'separator' => '',
  2018. 'empty_column' => 0,
  2019. ),
  2020. 'field_user_website' => array(
  2021. 'sortable' => 0,
  2022. 'default_sort_order' => 'asc',
  2023. 'align' => '',
  2024. 'separator' => '',
  2025. 'empty_column' => 0,
  2026. ),
  2027. 'field_adresse' => array(
  2028. 'sortable' => 0,
  2029. 'default_sort_order' => 'asc',
  2030. 'align' => '',
  2031. 'separator' => '<br />',
  2032. 'empty_column' => 0,
  2033. ),
  2034. 'field_private_phone' => array(
  2035. 'sortable' => 0,
  2036. 'default_sort_order' => 'asc',
  2037. 'align' => '',
  2038. 'separator' => '<br />',
  2039. 'empty_column' => 0,
  2040. ),
  2041. 'field_memo' => array(
  2042. 'sortable' => 0,
  2043. 'default_sort_order' => 'asc',
  2044. 'align' => '',
  2045. 'separator' => '',
  2046. 'empty_column' => 0,
  2047. ),
  2048. 'created' => array(
  2049. 'sortable' => 1,
  2050. 'default_sort_order' => 'desc',
  2051. 'align' => '',
  2052. 'separator' => '',
  2053. 'empty_column' => 0,
  2054. ),
  2055. 'access' => array(
  2056. 'sortable' => 1,
  2057. 'default_sort_order' => 'desc',
  2058. 'align' => '',
  2059. 'separator' => '',
  2060. 'empty_column' => 0,
  2061. ),
  2062. 'language' => array(
  2063. 'sortable' => 0,
  2064. 'default_sort_order' => 'asc',
  2065. 'align' => '',
  2066. 'separator' => '',
  2067. 'empty_column' => 0,
  2068. ),
  2069. 'status' => array(
  2070. 'sortable' => 0,
  2071. 'default_sort_order' => 'asc',
  2072. 'align' => '',
  2073. 'separator' => '',
  2074. 'empty_column' => 0,
  2075. ),
  2076. 'value' => array(
  2077. 'sortable' => 1,
  2078. 'default_sort_order' => 'asc',
  2079. 'align' => '',
  2080. 'separator' => '',
  2081. 'empty_column' => 0,
  2082. ),
  2083. 'views_send' => array(
  2084. 'align' => '',
  2085. 'separator' => '',
  2086. 'empty_column' => 0,
  2087. ),
  2088. 'php_1' => array(
  2089. 'align' => '',
  2090. 'separator' => '',
  2091. 'empty_column' => 0,
  2092. ),
  2093. 'name' => array(
  2094. 'align' => '',
  2095. 'separator' => '',
  2096. 'empty_column' => 0,
  2097. ),
  2098. );
  2099. /* Entête: Global : Résumé des résultats */
  2100. $handler->display->display_options['header']['result']['id'] = 'result';
  2101. $handler->display->display_options['header']['result']['table'] = 'views';
  2102. $handler->display->display_options['header']['result']['field'] = 'result';
  2103. $handler->display->display_options['header']['result']['label'] = 'Résumé';
  2104. /* Relation: Utilisateur : Profil */
  2105. $handler->display->display_options['relationships']['profile']['id'] = 'profile';
  2106. $handler->display->display_options['relationships']['profile']['table'] = 'users';
  2107. $handler->display->display_options['relationships']['profile']['field'] = 'profile';
  2108. $handler->display->display_options['relationships']['profile']['bundle_types'] = array(
  2109. 'adherent' => 'adherent',
  2110. );
  2111. /* Champ: Opérations en masse : Utilisateur */
  2112. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  2113. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'users';
  2114. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  2115. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  2116. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  2117. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  2118. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  2119. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  2120. 'action::user_block_user_action' => array(
  2121. 'selected' => 1,
  2122. 'postpone_processing' => 0,
  2123. 'skip_confirmation' => 0,
  2124. 'override_label' => 0,
  2125. 'label' => '',
  2126. ),
  2127. 'action::role_delegation_delegate_roles_action' => array(
  2128. 'selected' => 0,
  2129. 'postpone_processing' => 0,
  2130. 'skip_confirmation' => 0,
  2131. 'override_label' => 0,
  2132. 'label' => '',
  2133. ),
  2134. 'action::system_send_email_action' => array(
  2135. 'selected' => 0,
  2136. 'postpone_processing' => 1,
  2137. 'skip_confirmation' => 0,
  2138. 'override_label' => 0,
  2139. 'label' => '',
  2140. ),
  2141. 'action::views_bulk_operations_script_action' => array(
  2142. 'selected' => 0,
  2143. 'postpone_processing' => 0,
  2144. 'skip_confirmation' => 0,
  2145. 'override_label' => 0,
  2146. 'label' => '',
  2147. ),
  2148. 'action::flag_user_action' => array(
  2149. 'selected' => 0,
  2150. 'postpone_processing' => 0,
  2151. 'skip_confirmation' => 0,
  2152. 'override_label' => 0,
  2153. 'label' => '',
  2154. ),
  2155. 'action::pathauto_user_update_action' => array(
  2156. 'selected' => 0,
  2157. 'postpone_processing' => 0,
  2158. 'skip_confirmation' => 0,
  2159. 'override_label' => 0,
  2160. 'label' => '',
  2161. ),
  2162. 'action::views_bulk_operations_user_roles_action' => array(
  2163. 'selected' => 0,
  2164. 'postpone_processing' => 0,
  2165. 'skip_confirmation' => 0,
  2166. 'override_label' => 0,
  2167. 'label' => '',
  2168. ),
  2169. 'action::views_bulk_operations_modify_action' => array(
  2170. 'selected' => 1,
  2171. 'postpone_processing' => 0,
  2172. 'skip_confirmation' => 0,
  2173. 'override_label' => 0,
  2174. 'label' => '',
  2175. 'settings' => array(
  2176. 'show_all_tokens' => 1,
  2177. 'display_values' => array(
  2178. 'status' => 'status',
  2179. 'user::field_memo' => 'user::field_memo',
  2180. ),
  2181. ),
  2182. ),
  2183. 'action::views_bulk_operations_argument_selector_action' => array(
  2184. 'selected' => 0,
  2185. 'skip_confirmation' => 0,
  2186. 'override_label' => 0,
  2187. 'label' => '',
  2188. 'settings' => array(
  2189. 'url' => '',
  2190. ),
  2191. ),
  2192. 'action::mimemail_send_email_action' => array(
  2193. 'selected' => 0,
  2194. 'postpone_processing' => 0,
  2195. 'skip_confirmation' => 0,
  2196. 'override_label' => 0,
  2197. 'label' => '',
  2198. ),
  2199. 'action::views_bulk_operations_delete_item' => array(
  2200. 'selected' => 1,
  2201. 'postpone_processing' => 0,
  2202. 'skip_confirmation' => 0,
  2203. 'override_label' => 0,
  2204. 'label' => '',
  2205. ),
  2206. );
  2207. /* Champ: Utilisateur : Uid */
  2208. $handler->display->display_options['fields']['uid']['id'] = 'uid';
  2209. $handler->display->display_options['fields']['uid']['table'] = 'users';
  2210. $handler->display->display_options['fields']['uid']['field'] = 'uid';
  2211. $handler->display->display_options['fields']['uid']['label'] = '';
  2212. $handler->display->display_options['fields']['uid']['exclude'] = TRUE;
  2213. $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
  2214. $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
  2215. /* Champ: Profil : Titre */
  2216. $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title';
  2217. $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title';
  2218. $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title';
  2219. $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile';
  2220. /* Champ: Profil : First name */
  2221. $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name';
  2222. $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name';
  2223. $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name';
  2224. $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile';
  2225. $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom';
  2226. $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE;
  2227. /* Champ: Profil : Name */
  2228. $handler->display->display_options['fields']['field_name']['id'] = 'field_name';
  2229. $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name';
  2230. $handler->display->display_options['fields']['field_name']['field'] = 'field_name';
  2231. $handler->display->display_options['fields']['field_name']['relationship'] = 'profile';
  2232. $handler->display->display_options['fields']['field_name']['label'] = 'Nom';
  2233. $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE;
  2234. $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]';
  2235. /* Champ: Utilisateur : Courriel */
  2236. $handler->display->display_options['fields']['mail']['id'] = 'mail';
  2237. $handler->display->display_options['fields']['mail']['table'] = 'users';
  2238. $handler->display->display_options['fields']['mail']['field'] = 'mail';
  2239. /* Champ: Utilisateur : Lien de modification */
  2240. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  2241. $handler->display->display_options['fields']['edit_node']['table'] = 'users';
  2242. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  2243. $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
  2244. $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
  2245. /* Champ: Utilisateur : Rôles */
  2246. $handler->display->display_options['fields']['rid']['id'] = 'rid';
  2247. $handler->display->display_options['fields']['rid']['table'] = 'users_roles';
  2248. $handler->display->display_options['fields']['rid']['field'] = 'rid';
  2249. /* Champ: Global : PHP */
  2250. $handler->display->display_options['fields']['php']['id'] = 'php';
  2251. $handler->display->display_options['fields']['php']['table'] = 'views';
  2252. $handler->display->display_options['fields']['php']['field'] = 'php';
  2253. $handler->display->display_options['fields']['php']['label'] = 'Expiration';
  2254. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  2255. $handler->display->display_options['fields']['php']['php_value'] = 'if(!isset($row->uid)){
  2256. return false;
  2257. }
  2258. $query = db_select(\'uc_roles_expirations\', \'e\')
  2259. ->fields(\'e\')
  2260. ->condition(\'e.uid\', $row->uid);
  2261. $result = $query->execute();
  2262. foreach($result as $r){
  2263. $expiration = $r->expiration;
  2264. break;
  2265. }
  2266. if(isset($expiration)){
  2267. return $expiration;
  2268. }else{
  2269. return false;
  2270. }';
  2271. $handler->display->display_options['fields']['php']['php_output'] = '<?php
  2272. if($value){
  2273. print format_date($value, \'custom\', \'d M Y\');
  2274. }
  2275. ?>';
  2276. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '4';
  2277. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  2278. /* Champ: Utilisateur : Company */
  2279. $handler->display->display_options['fields']['field_company']['id'] = 'field_company';
  2280. $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company';
  2281. $handler->display->display_options['fields']['field_company']['field'] = 'field_company';
  2282. $handler->display->display_options['fields']['field_company']['label'] = 'Société';
  2283. /* Champ: Profil : Organization */
  2284. $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization';
  2285. $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization';
  2286. $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization';
  2287. $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile';
  2288. /* Champ: Profil : service */
  2289. $handler->display->display_options['fields']['field_service']['id'] = 'field_service';
  2290. $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service';
  2291. $handler->display->display_options['fields']['field_service']['field'] = 'field_service';
  2292. $handler->display->display_options['fields']['field_service']['relationship'] = 'profile';
  2293. $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE;
  2294. $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]';
  2295. $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE;
  2296. $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE;
  2297. /* Champ: Profil : Qualité */
  2298. $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality';
  2299. $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality';
  2300. $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality';
  2301. $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile';
  2302. $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE;
  2303. $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]';
  2304. $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE;
  2305. $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE;
  2306. /* Champ: Profil : SIRET */
  2307. $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret';
  2308. $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret';
  2309. $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret';
  2310. $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile';
  2311. $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE;
  2312. $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]';
  2313. $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE;
  2314. /* Champ: Profil : Employee */
  2315. $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee';
  2316. $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee';
  2317. $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee';
  2318. $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile';
  2319. $handler->display->display_options['fields']['field_employee']['label'] = 'Employé';
  2320. $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE;
  2321. $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]';
  2322. $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE;
  2323. $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE;
  2324. $handler->display->display_options['fields']['field_employee']['settings'] = array(
  2325. 'thousand_separator' => ' ',
  2326. 'prefix_suffix' => 1,
  2327. );
  2328. /* Champ: Profil : Website */
  2329. $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website';
  2330. $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website';
  2331. $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website';
  2332. $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile';
  2333. $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet';
  2334. $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url';
  2335. /* Champ: Profil : Adresse */
  2336. $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse';
  2337. $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse';
  2338. $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse';
  2339. $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile';
  2340. $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country';
  2341. $handler->display->display_options['fields']['field_adresse']['settings'] = array(
  2342. 'use_widget_handlers' => 1,
  2343. 'format_handlers' => array(
  2344. 'address' => 'address',
  2345. ),
  2346. );
  2347. /* Champ: Profil : Phone */
  2348. $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone';
  2349. $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone';
  2350. $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone';
  2351. $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile';
  2352. $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone';
  2353. $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number';
  2354. $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0';
  2355. /* Champ: Global : PHP */
  2356. $handler->display->display_options['fields']['php_2']['id'] = 'php_2';
  2357. $handler->display->display_options['fields']['php_2']['table'] = 'views';
  2358. $handler->display->display_options['fields']['php_2']['field'] = 'php';
  2359. $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information';
  2360. $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0;
  2361. $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid);
  2362. //dsm($subscriber);
  2363. foreach($subscriber->tids as $tid){
  2364. $new = simplenews_category_load($tid);
  2365. $news[] = $new->name;
  2366. }
  2367. return $news;';
  2368. $handler->display->display_options['fields']['php_2']['php_output'] = '<?php
  2369. print implode($value, \'<br>\');
  2370. ?>';
  2371. $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0';
  2372. $handler->display->display_options['fields']['php_2']['php_click_sortable'] = '';
  2373. /* Champ: Champ : Mémo */
  2374. $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
  2375. $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
  2376. $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
  2377. $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
  2378. /* Champ: Utilisateur : Date de création */
  2379. $handler->display->display_options['fields']['created']['id'] = 'created';
  2380. $handler->display->display_options['fields']['created']['table'] = 'users';
  2381. $handler->display->display_options['fields']['created']['field'] = 'created';
  2382. $handler->display->display_options['fields']['created']['date_format'] = 'custom';
  2383. $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m';
  2384. /* Champ: Utilisateur : Dernier accès */
  2385. $handler->display->display_options['fields']['access']['id'] = 'access';
  2386. $handler->display->display_options['fields']['access']['table'] = 'users';
  2387. $handler->display->display_options['fields']['access']['field'] = 'access';
  2388. $handler->display->display_options['fields']['access']['date_format'] = 'custom';
  2389. $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m';
  2390. /* Champ: Utilisateur : Langue */
  2391. $handler->display->display_options['fields']['language']['id'] = 'language';
  2392. $handler->display->display_options['fields']['language']['table'] = 'users';
  2393. $handler->display->display_options['fields']['language']['field'] = 'language';
  2394. $handler->display->display_options['fields']['language']['link_to_user'] = FALSE;
  2395. /* Champ: Utilisateur : Actif */
  2396. $handler->display->display_options['fields']['status']['id'] = 'status';
  2397. $handler->display->display_options['fields']['status']['table'] = 'users';
  2398. $handler->display->display_options['fields']['status']['field'] = 'status';
  2399. /* Champ: User Stats : Valeur */
  2400. $handler->display->display_options['fields']['value']['id'] = 'value';
  2401. $handler->display->display_options['fields']['value']['table'] = 'user_stats_values';
  2402. $handler->display->display_options['fields']['value']['field'] = 'value';
  2403. $handler->display->display_options['fields']['value']['label'] = 'Login count (?)';
  2404. $handler->display->display_options['fields']['value']['hide_empty'] = TRUE;
  2405. $handler->display->display_options['fields']['value']['empty_zero'] = TRUE;
  2406. /* Champ: Global : Envoyer le courriel */
  2407. $handler->display->display_options['fields']['views_send']['id'] = 'views_send';
  2408. $handler->display->display_options['fields']['views_send']['table'] = 'views';
  2409. $handler->display->display_options['fields']['views_send']['field'] = 'views_send';
  2410. /* Champ: Global : PHP */
  2411. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  2412. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  2413. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  2414. $handler->display->display_options['fields']['php_1']['label'] = 'One time login';
  2415. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  2416. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  2417. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php
  2418. $account = user_load($row->uid);
  2419. print user_pass_reset_url($account);
  2420. ?>';
  2421. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  2422. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  2423. /* Critère de tri: Utilisateur : Date de création */
  2424. $handler->display->display_options['sorts']['created']['id'] = 'created';
  2425. $handler->display->display_options['sorts']['created']['table'] = 'users';
  2426. $handler->display->display_options['sorts']['created']['field'] = 'created';
  2427. $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  2428. /* Critère de filtrage: Utilisateur : Actif */
  2429. $handler->display->display_options['filters']['status']['id'] = 'status';
  2430. $handler->display->display_options['filters']['status']['table'] = 'users';
  2431. $handler->display->display_options['filters']['status']['field'] = 'status';
  2432. $handler->display->display_options['filters']['status']['value'] = 'All';
  2433. $handler->display->display_options['filters']['status']['group'] = 1;
  2434. $handler->display->display_options['filters']['status']['exposed'] = TRUE;
  2435. $handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
  2436. $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
  2437. $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
  2438. $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
  2439. $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE;
  2440. /* Critère de filtrage: Utilisateur : Rôles */
  2441. $handler->display->display_options['filters']['rid']['id'] = 'rid';
  2442. $handler->display->display_options['filters']['rid']['table'] = 'users_roles';
  2443. $handler->display->display_options['filters']['rid']['field'] = 'rid';
  2444. $handler->display->display_options['filters']['rid']['value'] = array(
  2445. 9 => '9',
  2446. 7 => '7',
  2447. 10 => '10',
  2448. 6 => '6',
  2449. 8 => '8',
  2450. 5 => '5',
  2451. 3 => '3',
  2452. );
  2453. $handler->display->display_options['filters']['rid']['group'] = 1;
  2454. $handler->display->display_options['filters']['rid']['exposed'] = TRUE;
  2455. $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op';
  2456. $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
  2457. $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
  2458. $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
  2459. $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
  2460. $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
  2461. 2 => '2',
  2462. 1 => 0,
  2463. 9 => 0,
  2464. 7 => 0,
  2465. 10 => 0,
  2466. 6 => 0,
  2467. 8 => 0,
  2468. 5 => 0,
  2469. 3 => 0,
  2470. 4 => 0,
  2471. );
  2472. $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
  2473. /* Critère de filtrage: Utilisateur : Company (field_company) */
  2474. $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
  2475. $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
  2476. $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid';
  2477. $handler->display->display_options['filters']['field_company_tid']['value'] = '';
  2478. $handler->display->display_options['filters']['field_company_tid']['group'] = 1;
  2479. $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE;
  2480. $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op';
  2481. $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société';
  2482. $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op';
  2483. $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid';
  2484. $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company';
  2485. /* Critère de filtrage: Profil : Organization (field_organization) */
  2486. $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value';
  2487. $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization';
  2488. $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value';
  2489. $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile';
  2490. $handler->display->display_options['filters']['field_organization_value']['group'] = 1;
  2491. $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE;
  2492. $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op';
  2493. $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organization';
  2494. $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op';
  2495. $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value';
  2496. $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array(
  2497. 2 => '2',
  2498. 1 => 0,
  2499. 9 => 0,
  2500. 7 => 0,
  2501. 10 => 0,
  2502. 6 => 0,
  2503. 8 => 0,
  2504. 5 => 0,
  2505. 3 => 0,
  2506. 4 => 0,
  2507. );
  2508. /* Critère de filtrage: Champ : Mémo (field_memo) */
  2509. $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
  2510. $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
  2511. $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
  2512. $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
  2513. $handler->display->display_options['filters']['field_memo_value']['group'] = 1;
  2514. $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
  2515. $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
  2516. $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient';
  2517. $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE;
  2518. $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
  2519. $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
  2520. $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array(
  2521. 2 => '2',
  2522. 1 => 0,
  2523. 7 => 0,
  2524. 6 => 0,
  2525. 8 => 0,
  2526. 5 => 0,
  2527. 3 => 0,
  2528. 4 => 0,
  2529. );
  2530. /* Critère de filtrage: Utilisateur : Rôles */
  2531. $handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
  2532. $handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
  2533. $handler->display->display_options['filters']['rid_1']['field'] = 'rid';
  2534. $handler->display->display_options['filters']['rid_1']['operator'] = 'not';
  2535. $handler->display->display_options['filters']['rid_1']['value'] = array(
  2536. 4 => '4',
  2537. );
  2538. $handler->display->display_options['filters']['rid_1']['group'] = 1;
  2539. /* Critère de filtrage: Utilisateur : Courriel */
  2540. $handler->display->display_options['filters']['mail']['id'] = 'mail';
  2541. $handler->display->display_options['filters']['mail']['table'] = 'users';
  2542. $handler->display->display_options['filters']['mail']['field'] = 'mail';
  2543. $handler->display->display_options['filters']['mail']['operator'] = 'contains';
  2544. $handler->display->display_options['filters']['mail']['group'] = 1;
  2545. $handler->display->display_options['filters']['mail']['exposed'] = TRUE;
  2546. $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op';
  2547. $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel';
  2548. $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op';
  2549. $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail';
  2550. $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array(
  2551. 2 => '2',
  2552. 1 => 0,
  2553. 7 => 0,
  2554. 6 => 0,
  2555. 5 => 0,
  2556. 3 => 0,
  2557. 4 => 0,
  2558. );
  2559. /* Critère de filtrage: Utilisateur : Langue */
  2560. $handler->display->display_options['filters']['language']['id'] = 'language';
  2561. $handler->display->display_options['filters']['language']['table'] = 'users';
  2562. $handler->display->display_options['filters']['language']['field'] = 'language';
  2563. $handler->display->display_options['filters']['language']['value'] = array(
  2564. 'en' => 'en',
  2565. 'fr' => 'fr',
  2566. );
  2567. $handler->display->display_options['filters']['language']['group'] = 1;
  2568. $handler->display->display_options['filters']['language']['exposed'] = TRUE;
  2569. $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op';
  2570. $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue';
  2571. $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op';
  2572. $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language';
  2573. $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
  2574. 2 => '2',
  2575. 1 => 0,
  2576. 7 => 0,
  2577. 6 => 0,
  2578. 8 => 0,
  2579. 5 => 0,
  2580. 3 => 0,
  2581. 4 => 0,
  2582. );
  2583. $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
  2584. /* Critère de filtrage: Utilisateur : Courriel */
  2585. $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1';
  2586. $handler->display->display_options['filters']['mail_1']['table'] = 'users';
  2587. $handler->display->display_options['filters']['mail_1']['field'] = 'mail';
  2588. $handler->display->display_options['filters']['mail_1']['operator'] = '!=';
  2589. $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net';
  2590. $handler->display->display_options['filters']['mail_1']['group'] = 1;
  2591. /* Display: Page */
  2592. $handler = $view->new_display('page', 'Page', 'page');
  2593. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  2594. $handler->display->display_options['path'] = 'admin/users';
  2595. $handler->display->display_options['menu']['type'] = 'normal';
  2596. $handler->display->display_options['menu']['title'] = 'Peoples';
  2597. $handler->display->display_options['menu']['weight'] = '6';
  2598. $handler->display->display_options['menu']['context'] = 0;
  2599. /* Display: Data export */
  2600. $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
  2601. $translatables['admin_peoples'] = array(
  2602. t('Master'),
  2603. t('Admin Users'),
  2604. t('plus'),
  2605. t('Appliquer'),
  2606. t('Réinitialiser'),
  2607. t('Trier par'),
  2608. t('Asc'),
  2609. t('Desc'),
  2610. t('Éléments par page'),
  2611. t('- Tout -'),
  2612. t('Décalage'),
  2613. t('« premier'),
  2614. t('‹ précédent'),
  2615. t('suivant ›'),
  2616. t('dernier »'),
  2617. t('Résumé'),
  2618. t('Displaying @start - @end of @total'),
  2619. t('Profil'),
  2620. t('Utilisateur'),
  2621. t('Titre'),
  2622. t('Prénom'),
  2623. t('Nom'),
  2624. t('[field_first_name] [field_name]'),
  2625. t('Courriel'),
  2626. t('Lien de modification'),
  2627. t('<span class="node-edit">[edit_node]</span>'),
  2628. t('Rôles'),
  2629. t('Expiration'),
  2630. t('Société'),
  2631. t('Organization'),
  2632. t('service'),
  2633. t('service : [field_service]'),
  2634. t('Qualité'),
  2635. t('quality : [field_private_quality]'),
  2636. t('SIRET'),
  2637. t('siret : [field_siret]'),
  2638. t('Employé'),
  2639. t('employee : [field_employee]'),
  2640. t('Site internet'),
  2641. t('Adresse'),
  2642. t('Téléphone'),
  2643. t('Lettres d’information'),
  2644. t('Mémo'),
  2645. t('Date de création'),
  2646. t('Dernier accès'),
  2647. t('Langue'),
  2648. t('Actif'),
  2649. t('Login count (?)'),
  2650. t('.'),
  2651. t(','),
  2652. t('Envoyer le courriel'),
  2653. t('One time login'),
  2654. t('Mémo Contient'),
  2655. t('Page'),
  2656. t('Data export'),
  2657. );
  2658. $export['admin_peoples'] = $view;
  2659. $view = new view();
  2660. $view->name = 'taxonomy_companies_manager';
  2661. $view->description = '';
  2662. $view->tag = 'default';
  2663. $view->base_table = 'taxonomy_term_data';
  2664. $view->human_name = 'taxonomy companies manager';
  2665. $view->core = 7;
  2666. $view->api_version = '3.0';
  2667. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  2668. /* Display: Master */
  2669. $handler = $view->new_display('default', 'Master', 'default');
  2670. $handler->display->display_options['title'] = 'taxonomy companies manager';
  2671. $handler->display->display_options['use_more_always'] = FALSE;
  2672. $handler->display->display_options['use_more_text'] = 'plus';
  2673. $handler->display->display_options['access']['type'] = 'perm';
  2674. $handler->display->display_options['cache']['type'] = 'none';
  2675. $handler->display->display_options['query']['type'] = 'views_query';
  2676. $handler->display->display_options['exposed_form']['type'] = 'basic';
  2677. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  2678. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  2679. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  2680. $handler->display->display_options['pager']['type'] = 'full';
  2681. $handler->display->display_options['pager']['options']['items_per_page'] = '100';
  2682. $handler->display->display_options['pager']['options']['offset'] = '0';
  2683. $handler->display->display_options['pager']['options']['id'] = '0';
  2684. $handler->display->display_options['pager']['options']['quantity'] = '9';
  2685. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  2686. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  2687. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  2688. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  2689. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  2690. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  2691. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  2692. $handler->display->display_options['style_plugin'] = 'table';
  2693. /* Champ: Opérations en masse : Terme de taxonomie */
  2694. $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
  2695. $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'taxonomy_term_data';
  2696. $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
  2697. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
  2698. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
  2699. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
  2700. $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
  2701. $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
  2702. 'action::system_message_action' => array(
  2703. 'selected' => 0,
  2704. 'skip_confirmation' => 0,
  2705. 'override_label' => 0,
  2706. 'label' => '',
  2707. 'postpone_processing' => 0,
  2708. ),
  2709. 'action::system_send_email_action' => array(
  2710. 'selected' => 0,
  2711. 'skip_confirmation' => 0,
  2712. 'override_label' => 0,
  2713. 'label' => '',
  2714. 'postpone_processing' => 0,
  2715. ),
  2716. 'action::views_bulk_operations_script_action' => array(
  2717. 'selected' => 0,
  2718. 'skip_confirmation' => 0,
  2719. 'override_label' => 0,
  2720. 'label' => '',
  2721. 'postpone_processing' => 0,
  2722. ),
  2723. 'action::views_bulk_operations_modify_action' => array(
  2724. 'selected' => 0,
  2725. 'skip_confirmation' => 0,
  2726. 'override_label' => 0,
  2727. 'label' => '',
  2728. 'settings' => array(
  2729. 'show_all_tokens' => 1,
  2730. 'display_values' => array(
  2731. '_all_' => '_all_',
  2732. ),
  2733. ),
  2734. 'postpone_processing' => 0,
  2735. ),
  2736. 'action::views_bulk_operations_argument_selector_action' => array(
  2737. 'selected' => 0,
  2738. 'skip_confirmation' => 0,
  2739. 'override_label' => 0,
  2740. 'label' => '',
  2741. 'settings' => array(
  2742. 'url' => '',
  2743. ),
  2744. ),
  2745. 'action::system_goto_action' => array(
  2746. 'selected' => 0,
  2747. 'skip_confirmation' => 0,
  2748. 'override_label' => 0,
  2749. 'label' => '',
  2750. 'postpone_processing' => 0,
  2751. ),
  2752. 'action::views_bulk_operations_delete_item' => array(
  2753. 'selected' => 1,
  2754. 'skip_confirmation' => 1,
  2755. 'override_label' => 0,
  2756. 'label' => '',
  2757. 'postpone_processing' => 0,
  2758. ),
  2759. 'action::pathauto_taxonomy_term_update_action' => array(
  2760. 'selected' => 0,
  2761. 'skip_confirmation' => 0,
  2762. 'override_label' => 0,
  2763. 'label' => '',
  2764. 'postpone_processing' => 0,
  2765. ),
  2766. );
  2767. /* Champ: Terme de taxonomie : Nom */
  2768. $handler->display->display_options['fields']['name']['id'] = 'name';
  2769. $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
  2770. $handler->display->display_options['fields']['name']['field'] = 'name';
  2771. $handler->display->display_options['fields']['name']['label'] = '';
  2772. $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE;
  2773. $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE;
  2774. $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE;
  2775. /* Critère de filtrage: Vocabulaire de taxonomie : Nom système */
  2776. $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name';
  2777. $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary';
  2778. $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name';
  2779. $handler->display->display_options['filters']['machine_name']['value'] = array(
  2780. 'onthologie' => 'onthologie',
  2781. 'tag_libres' => 'tag_libres',
  2782. 'company' => 'company',
  2783. );
  2784. $handler->display->display_options['filters']['machine_name']['exposed'] = TRUE;
  2785. $handler->display->display_options['filters']['machine_name']['expose']['operator_id'] = 'machine_name_op';
  2786. $handler->display->display_options['filters']['machine_name']['expose']['label'] = 'Vocabulaire';
  2787. $handler->display->display_options['filters']['machine_name']['expose']['operator'] = 'machine_name_op';
  2788. $handler->display->display_options['filters']['machine_name']['expose']['identifier'] = 'machine_name';
  2789. $handler->display->display_options['filters']['machine_name']['expose']['reduce'] = TRUE;
  2790. /* Critère de filtrage: Vocabulaire de taxonomie : Nom système */
  2791. $handler->display->display_options['filters']['machine_name_1']['id'] = 'machine_name_1';
  2792. $handler->display->display_options['filters']['machine_name_1']['table'] = 'taxonomy_vocabulary';
  2793. $handler->display->display_options['filters']['machine_name_1']['field'] = 'machine_name';
  2794. $handler->display->display_options['filters']['machine_name_1']['value'] = array(
  2795. 'onthologie' => 'onthologie',
  2796. 'tag_libres' => 'tag_libres',
  2797. 'company' => 'company',
  2798. );
  2799. /* Display: Page */
  2800. $handler = $view->new_display('page', 'Page', 'page');
  2801. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  2802. $handler->display->display_options['path'] = 'taxonomy-companies-manager';
  2803. $translatables['taxonomy_companies_manager'] = array(
  2804. t('Master'),
  2805. t('taxonomy companies manager'),
  2806. t('plus'),
  2807. t('Appliquer'),
  2808. t('Réinitialiser'),
  2809. t('Trier par'),
  2810. t('Asc'),
  2811. t('Desc'),
  2812. t('Éléments par page'),
  2813. t('- Tout -'),
  2814. t('Décalage'),
  2815. t('« premier'),
  2816. t('‹ précédent'),
  2817. t('suivant ›'),
  2818. t('dernier »'),
  2819. t('Terme de taxonomie'),
  2820. t('Vocabulaire'),
  2821. t('Page'),
  2822. );
  2823. $export['taxonomy_companies_manager'] = $view;
  2824. return $export;
  2825. }