popsu_actualites.views_default.inc 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  1. <?php
  2. /**
  3. * @file
  4. * popsu_actualites.views_default.inc
  5. */
  6. /**
  7. * Implements hook_views_default_views().
  8. */
  9. function popsu_actualites_views_default_views() {
  10. $export = array();
  11. $view = new view();
  12. $view->name = 'actualites';
  13. $view->description = 'Liste des actualités POPSU';
  14. $view->tag = 'POPSU';
  15. $view->base_table = 'node';
  16. $view->human_name = 'Actualités';
  17. $view->core = 7;
  18. $view->api_version = '3.0';
  19. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  20. /* Display: Master */
  21. $handler = $view->new_display('default', 'Master', 'default');
  22. $handler->display->display_options['title'] = 'Actualités';
  23. $handler->display->display_options['use_more_always'] = TRUE;
  24. $handler->display->display_options['use_more_text'] = 'Voir toutes les actualités';
  25. $handler->display->display_options['access']['type'] = 'perm';
  26. $handler->display->display_options['cache']['type'] = 'none';
  27. $handler->display->display_options['query']['type'] = 'views_query';
  28. $handler->display->display_options['exposed_form']['type'] = 'basic';
  29. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  30. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  31. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  32. $handler->display->display_options['pager']['type'] = 'full';
  33. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  34. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  35. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  36. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  37. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  38. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  39. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  40. $handler->display->display_options['style_plugin'] = 'default';
  41. $handler->display->display_options['row_plugin'] = 'fields';
  42. /* Champ: Contenu : Chemin */
  43. $handler->display->display_options['fields']['path']['id'] = 'path';
  44. $handler->display->display_options['fields']['path']['table'] = 'node';
  45. $handler->display->display_options['fields']['path']['field'] = 'path';
  46. $handler->display->display_options['fields']['path']['label'] = '';
  47. $handler->display->display_options['fields']['path']['exclude'] = TRUE;
  48. $handler->display->display_options['fields']['path']['alter']['alter_text'] = TRUE;
  49. $handler->display->display_options['fields']['path']['alter']['text'] = '/actualites';
  50. $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
  51. $handler->display->display_options['fields']['path']['element_default_classes'] = FALSE;
  52. $handler->display->display_options['fields']['path']['absolute'] = TRUE;
  53. /* Champ: Contenu : Image de l'actualité */
  54. $handler->display->display_options['fields']['field_popsu_actu_image']['id'] = 'field_popsu_actu_image';
  55. $handler->display->display_options['fields']['field_popsu_actu_image']['table'] = 'field_data_field_popsu_actu_image';
  56. $handler->display->display_options['fields']['field_popsu_actu_image']['field'] = 'field_popsu_actu_image';
  57. $handler->display->display_options['fields']['field_popsu_actu_image']['label'] = '';
  58. $handler->display->display_options['fields']['field_popsu_actu_image']['alter']['make_link'] = TRUE;
  59. $handler->display->display_options['fields']['field_popsu_actu_image']['alter']['path'] = '[path]';
  60. $handler->display->display_options['fields']['field_popsu_actu_image']['alter']['absolute'] = TRUE;
  61. $handler->display->display_options['fields']['field_popsu_actu_image']['element_label_colon'] = FALSE;
  62. $handler->display->display_options['fields']['field_popsu_actu_image']['click_sort_column'] = 'fid';
  63. $handler->display->display_options['fields']['field_popsu_actu_image']['settings'] = array(
  64. 'image_style' => 'popsu-actu-home',
  65. 'image_link' => '',
  66. );
  67. /* Champ: Contenu : Titre */
  68. $handler->display->display_options['fields']['title']['id'] = 'title';
  69. $handler->display->display_options['fields']['title']['table'] = 'node';
  70. $handler->display->display_options['fields']['title']['field'] = 'title';
  71. $handler->display->display_options['fields']['title']['label'] = '';
  72. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  73. $handler->display->display_options['fields']['title']['alter']['text'] = '<a href="[path]">[title]</a>';
  74. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  75. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  76. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  77. $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  78. /* Champ: Contenu : Sous-titre de l'actualité */
  79. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['id'] = 'field_popsu_actu_soustitre';
  80. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['table'] = 'field_data_field_popsu_actu_soustitre';
  81. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['field'] = 'field_popsu_actu_soustitre';
  82. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['label'] = '';
  83. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['exclude'] = TRUE;
  84. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['alter_text'] = TRUE;
  85. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['text'] = '[field_popsu_actu_soustitre]';
  86. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['element_label_colon'] = FALSE;
  87. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['hide_empty'] = TRUE;
  88. /* Champ: Contenu : Date de début de validité de l'actualité */
  89. $handler->display->display_options['fields']['field_popsu_actu_date']['id'] = 'field_popsu_actu_date';
  90. $handler->display->display_options['fields']['field_popsu_actu_date']['table'] = 'field_data_field_popsu_actu_date';
  91. $handler->display->display_options['fields']['field_popsu_actu_date']['field'] = 'field_popsu_actu_date';
  92. $handler->display->display_options['fields']['field_popsu_actu_date']['label'] = '';
  93. $handler->display->display_options['fields']['field_popsu_actu_date']['alter']['alter_text'] = TRUE;
  94. $handler->display->display_options['fields']['field_popsu_actu_date']['alter']['text'] = '[field_popsu_actu_soustitre]';
  95. $handler->display->display_options['fields']['field_popsu_actu_date']['element_label_colon'] = FALSE;
  96. $handler->display->display_options['fields']['field_popsu_actu_date']['settings'] = array(
  97. 'format_type' => 'short',
  98. 'fromto' => 'both',
  99. 'multiple_number' => '',
  100. 'multiple_from' => '',
  101. 'multiple_to' => '',
  102. );
  103. /* Champ: Contenu : Texte de l'actualité */
  104. $handler->display->display_options['fields']['field_popsu_actu_body']['id'] = 'field_popsu_actu_body';
  105. $handler->display->display_options['fields']['field_popsu_actu_body']['table'] = 'field_data_field_popsu_actu_body';
  106. $handler->display->display_options['fields']['field_popsu_actu_body']['field'] = 'field_popsu_actu_body';
  107. $handler->display->display_options['fields']['field_popsu_actu_body']['label'] = '';
  108. $handler->display->display_options['fields']['field_popsu_actu_body']['alter']['text'] = '<a href="[path]">[field_popsu_actu_body]</a>';
  109. $handler->display->display_options['fields']['field_popsu_actu_body']['alter']['make_link'] = TRUE;
  110. $handler->display->display_options['fields']['field_popsu_actu_body']['alter']['path'] = '[path]';
  111. $handler->display->display_options['fields']['field_popsu_actu_body']['alter']['absolute'] = TRUE;
  112. $handler->display->display_options['fields']['field_popsu_actu_body']['alter']['max_length'] = '200';
  113. $handler->display->display_options['fields']['field_popsu_actu_body']['alter']['strip_tags'] = TRUE;
  114. $handler->display->display_options['fields']['field_popsu_actu_body']['alter']['trim'] = TRUE;
  115. $handler->display->display_options['fields']['field_popsu_actu_body']['element_label_colon'] = FALSE;
  116. /* Champ: Contenu : Lien de modification */
  117. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  118. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  119. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  120. $handler->display->display_options['fields']['edit_node']['label'] = '';
  121. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  122. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  123. $handler->display->display_options['fields']['edit_node']['text'] = 'Modifier cette actu';
  124. /* Champ: Contenu : Lien */
  125. $handler->display->display_options['fields']['view_node']['id'] = 'view_node';
  126. $handler->display->display_options['fields']['view_node']['table'] = 'views_entity_node';
  127. $handler->display->display_options['fields']['view_node']['field'] = 'view_node';
  128. $handler->display->display_options['fields']['view_node']['label'] = '';
  129. $handler->display->display_options['fields']['view_node']['alter']['alter_text'] = TRUE;
  130. $handler->display->display_options['fields']['view_node']['alter']['text'] = '<a href="[path]">voir toutes les actualités</a>';
  131. $handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE;
  132. $handler->display->display_options['fields']['view_node']['text'] = 'voir toutes les actualités';
  133. /* Critère de tri: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  134. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  135. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  136. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  137. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['order'] = 'DESC';
  138. /* Critère de filtrage: Contenu : Publié */
  139. $handler->display->display_options['filters']['status']['id'] = 'status';
  140. $handler->display->display_options['filters']['status']['table'] = 'node';
  141. $handler->display->display_options['filters']['status']['field'] = 'status';
  142. $handler->display->display_options['filters']['status']['value'] = 1;
  143. $handler->display->display_options['filters']['status']['group'] = 1;
  144. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  145. /* Critère de filtrage: Contenu : Type */
  146. $handler->display->display_options['filters']['type']['id'] = 'type';
  147. $handler->display->display_options['filters']['type']['table'] = 'node';
  148. $handler->display->display_options['filters']['type']['field'] = 'type';
  149. $handler->display->display_options['filters']['type']['value'] = array(
  150. 'popsu_actu' => 'popsu_actu',
  151. );
  152. /* Display: Actualite Last for Home Pane */
  153. $handler = $view->new_display('panel_pane', 'Actualite Last for Home Pane', 'panel_pane_1');
  154. $handler->display->display_options['defaults']['title'] = FALSE;
  155. $handler->display->display_options['title'] = 'Actualite';
  156. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  157. $handler->display->display_options['defaults']['use_more'] = FALSE;
  158. $handler->display->display_options['defaults']['use_more_always'] = FALSE;
  159. $handler->display->display_options['defaults']['use_more_always'] = FALSE;
  160. $handler->display->display_options['use_more_always'] = TRUE;
  161. $handler->display->display_options['defaults']['use_more_text'] = FALSE;
  162. $handler->display->display_options['use_more_text'] = 'Voir toutes les actualités';
  163. $handler->display->display_options['defaults']['pager'] = FALSE;
  164. $handler->display->display_options['pager']['type'] = 'some';
  165. $handler->display->display_options['pager']['options']['items_per_page'] = '1';
  166. $handler->display->display_options['pager']['options']['offset'] = '0';
  167. $handler->display->display_options['defaults']['sorts'] = FALSE;
  168. /* Critère de tri: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  169. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  170. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  171. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  172. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  173. $handler->display->display_options['defaults']['filters'] = FALSE;
  174. /* Critère de filtrage: Contenu : Publié */
  175. $handler->display->display_options['filters']['status']['id'] = 'status';
  176. $handler->display->display_options['filters']['status']['table'] = 'node';
  177. $handler->display->display_options['filters']['status']['field'] = 'status';
  178. $handler->display->display_options['filters']['status']['value'] = 1;
  179. $handler->display->display_options['filters']['status']['group'] = 1;
  180. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  181. /* Critère de filtrage: Contenu : Type */
  182. $handler->display->display_options['filters']['type']['id'] = 'type';
  183. $handler->display->display_options['filters']['type']['table'] = 'node';
  184. $handler->display->display_options['filters']['type']['field'] = 'type';
  185. $handler->display->display_options['filters']['type']['value'] = array(
  186. 'popsu_actu' => 'popsu_actu',
  187. );
  188. /* Critère de filtrage: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  189. $handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  190. $handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  191. $handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  192. $handler->display->display_options['filters']['field_popsu_actu_date_value']['operator'] = '<=';
  193. $handler->display->display_options['filters']['field_popsu_actu_date_value']['default_date'] = 'now';
  194. /* Critère de filtrage: Contenu : Date de fin de validité de l&#039;actualité (field_popsu_actu_date_fin) */
  195. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
  196. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
  197. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
  198. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '>=';
  199. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
  200. /* Critère de filtrage: Contenu : Publier sur la page d&#039;accueil (field_popsu_actu_enhome) */
  201. $handler->display->display_options['filters']['field_popsu_actu_enhome_value']['id'] = 'field_popsu_actu_enhome_value';
  202. $handler->display->display_options['filters']['field_popsu_actu_enhome_value']['table'] = 'field_data_field_popsu_actu_enhome';
  203. $handler->display->display_options['filters']['field_popsu_actu_enhome_value']['field'] = 'field_popsu_actu_enhome_value';
  204. $handler->display->display_options['filters']['field_popsu_actu_enhome_value']['value'] = array(
  205. 1 => '1',
  206. );
  207. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  208. $handler->display->display_options['link_to_view'] = '0';
  209. /* Display: Actualites Menu A venir */
  210. $handler = $view->new_display('block', 'Actualites Menu A venir', 'block_1');
  211. $handler->display->display_options['defaults']['title'] = FALSE;
  212. $handler->display->display_options['title'] = 'Actualites a venir';
  213. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  214. $handler->display->display_options['defaults']['pager'] = FALSE;
  215. $handler->display->display_options['pager']['type'] = 'none';
  216. $handler->display->display_options['pager']['options']['offset'] = '0';
  217. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  218. $handler->display->display_options['style_plugin'] = 'list';
  219. $handler->display->display_options['style_options']['class'] = 'menu';
  220. $handler->display->display_options['defaults']['style_options'] = FALSE;
  221. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  222. $handler->display->display_options['row_plugin'] = 'fields';
  223. $handler->display->display_options['defaults']['row_options'] = FALSE;
  224. $handler->display->display_options['defaults']['fields'] = FALSE;
  225. /* Champ: Contenu : Nid */
  226. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  227. $handler->display->display_options['fields']['nid']['table'] = 'node';
  228. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  229. $handler->display->display_options['fields']['nid']['label'] = '';
  230. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  231. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  232. /* Champ: Contenu : Titre */
  233. $handler->display->display_options['fields']['title']['id'] = 'title';
  234. $handler->display->display_options['fields']['title']['table'] = 'node';
  235. $handler->display->display_options['fields']['title']['field'] = 'title';
  236. $handler->display->display_options['fields']['title']['label'] = '';
  237. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  238. $handler->display->display_options['fields']['title']['alter']['text'] = '<span class="actu-link actu-link-[nid]">[title]</span>';
  239. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  240. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  241. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  242. $handler->display->display_options['defaults']['sorts'] = FALSE;
  243. /* Critère de tri: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  244. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  245. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  246. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  247. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  248. $handler->display->display_options['defaults']['filters'] = FALSE;
  249. /* Critère de filtrage: Contenu : Publié */
  250. $handler->display->display_options['filters']['status']['id'] = 'status';
  251. $handler->display->display_options['filters']['status']['table'] = 'node';
  252. $handler->display->display_options['filters']['status']['field'] = 'status';
  253. $handler->display->display_options['filters']['status']['value'] = 1;
  254. $handler->display->display_options['filters']['status']['group'] = 1;
  255. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  256. /* Critère de filtrage: Contenu : Type */
  257. $handler->display->display_options['filters']['type']['id'] = 'type';
  258. $handler->display->display_options['filters']['type']['table'] = 'node';
  259. $handler->display->display_options['filters']['type']['field'] = 'type';
  260. $handler->display->display_options['filters']['type']['value'] = array(
  261. 'popsu_actu' => 'popsu_actu',
  262. );
  263. /* Critère de filtrage: Contenu : Date de fin de validité de l&#039;actualité (field_popsu_actu_date_fin) */
  264. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
  265. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
  266. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
  267. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '>';
  268. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
  269. /* Critère de filtrage: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  270. $handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  271. $handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  272. $handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  273. $handler->display->display_options['filters']['field_popsu_actu_date_value']['operator'] = '<=';
  274. $handler->display->display_options['filters']['field_popsu_actu_date_value']['default_date'] = 'now';
  275. $handler->display->display_options['block_description'] = 'POPSU - Actualites - Menu A venir';
  276. /* Display: Actualites Menu Passees */
  277. $handler = $view->new_display('block', 'Actualites Menu Passees', 'block_2');
  278. $handler->display->display_options['defaults']['title'] = FALSE;
  279. $handler->display->display_options['title'] = 'Actualites passees';
  280. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  281. $handler->display->display_options['defaults']['pager'] = FALSE;
  282. $handler->display->display_options['pager']['type'] = 'none';
  283. $handler->display->display_options['pager']['options']['offset'] = '0';
  284. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  285. $handler->display->display_options['style_plugin'] = 'list';
  286. $handler->display->display_options['style_options']['class'] = 'menu';
  287. $handler->display->display_options['defaults']['style_options'] = FALSE;
  288. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  289. $handler->display->display_options['row_plugin'] = 'fields';
  290. $handler->display->display_options['defaults']['row_options'] = FALSE;
  291. $handler->display->display_options['defaults']['fields'] = FALSE;
  292. /* Champ: Contenu : Nid */
  293. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  294. $handler->display->display_options['fields']['nid']['table'] = 'node';
  295. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  296. $handler->display->display_options['fields']['nid']['label'] = '';
  297. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  298. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  299. /* Champ: Contenu : Titre */
  300. $handler->display->display_options['fields']['title']['id'] = 'title';
  301. $handler->display->display_options['fields']['title']['table'] = 'node';
  302. $handler->display->display_options['fields']['title']['field'] = 'title';
  303. $handler->display->display_options['fields']['title']['label'] = '';
  304. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  305. $handler->display->display_options['fields']['title']['alter']['text'] = '<span class="actu-link actu-link-[nid]">[title]</span>';
  306. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  307. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  308. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  309. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  310. $handler->display->display_options['defaults']['filters'] = FALSE;
  311. /* Critère de filtrage: Contenu : Publié */
  312. $handler->display->display_options['filters']['status']['id'] = 'status';
  313. $handler->display->display_options['filters']['status']['table'] = 'node';
  314. $handler->display->display_options['filters']['status']['field'] = 'status';
  315. $handler->display->display_options['filters']['status']['value'] = 1;
  316. $handler->display->display_options['filters']['status']['group'] = 1;
  317. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  318. /* Critère de filtrage: Contenu : Type */
  319. $handler->display->display_options['filters']['type']['id'] = 'type';
  320. $handler->display->display_options['filters']['type']['table'] = 'node';
  321. $handler->display->display_options['filters']['type']['field'] = 'type';
  322. $handler->display->display_options['filters']['type']['value'] = array(
  323. 'popsu_actu' => 'popsu_actu',
  324. );
  325. /* Critère de filtrage: Contenu : Date de fin de validité de l&#039;actualité (field_popsu_actu_date_fin) */
  326. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
  327. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
  328. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
  329. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '<=';
  330. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
  331. /* Critère de filtrage: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  332. $handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  333. $handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  334. $handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  335. $handler->display->display_options['filters']['field_popsu_actu_date_value']['operator'] = '<=';
  336. $handler->display->display_options['filters']['field_popsu_actu_date_value']['default_date'] = 'now';
  337. $handler->display->display_options['block_description'] = 'POPSU - Actualites - Menu Passees';
  338. /* Display: Actualites CSS menu active */
  339. $handler = $view->new_display('panel_pane', 'Actualites CSS menu active', 'panel_pane_2');
  340. $handler->display->display_options['defaults']['title'] = FALSE;
  341. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  342. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  343. $handler->display->display_options['style_plugin'] = 'default';
  344. $handler->display->display_options['style_options']['default_row_class'] = FALSE;
  345. $handler->display->display_options['style_options']['row_class_special'] = FALSE;
  346. $handler->display->display_options['defaults']['style_options'] = FALSE;
  347. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  348. $handler->display->display_options['row_plugin'] = 'fields';
  349. $handler->display->display_options['defaults']['row_options'] = FALSE;
  350. $handler->display->display_options['defaults']['fields'] = FALSE;
  351. /* Champ: Contenu : Nid */
  352. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  353. $handler->display->display_options['fields']['nid']['table'] = 'node';
  354. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  355. $handler->display->display_options['fields']['nid']['label'] = '';
  356. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  357. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  358. /* Champ: Global : PHP */
  359. $handler->display->display_options['fields']['php']['id'] = 'php';
  360. $handler->display->display_options['fields']['php']['table'] = 'views';
  361. $handler->display->display_options['fields']['php']['field'] = 'php';
  362. $handler->display->display_options['fields']['php']['label'] = '';
  363. $handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
  364. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  365. $handler->display->display_options['fields']['php']['php_value'] = '$row->nid';
  366. $handler->display->display_options['fields']['php']['php_output'] = '<style>
  367. #sidebar-first .left-nav-level-1 ul.menu li a span.actu-link-<?php echo $row->nid; ?> {
  368. font-weight: bold;
  369. }
  370. </style>';
  371. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  372. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  373. $handler->display->display_options['defaults']['arguments'] = FALSE;
  374. /* Filtre contextuel: Contenu : Nid */
  375. $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  376. $handler->display->display_options['arguments']['nid']['table'] = 'node';
  377. $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  378. $handler->display->display_options['arguments']['nid']['default_action'] = 'not found';
  379. $handler->display->display_options['arguments']['nid']['exception']['title'] = 'Tout';
  380. $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed';
  381. $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  382. $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  383. $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  384. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  385. $handler->display->display_options['argument_input'] = array(
  386. 'nid' => array(
  387. 'type' => 'user',
  388. 'context' => 'string.raw',
  389. 'context_optional' => 0,
  390. 'panel' => '0',
  391. 'fixed' => '',
  392. 'label' => 'Contenu : Nid',
  393. ),
  394. );
  395. /* Display: Actualites CSS titre switcher */
  396. $handler = $view->new_display('panel_pane', 'Actualites CSS titre switcher', 'panel_pane_3');
  397. $handler->display->display_options['defaults']['title'] = FALSE;
  398. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  399. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  400. $handler->display->display_options['style_plugin'] = 'default';
  401. $handler->display->display_options['style_options']['default_row_class'] = FALSE;
  402. $handler->display->display_options['style_options']['row_class_special'] = FALSE;
  403. $handler->display->display_options['defaults']['style_options'] = FALSE;
  404. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  405. $handler->display->display_options['row_plugin'] = 'fields';
  406. $handler->display->display_options['defaults']['row_options'] = FALSE;
  407. $handler->display->display_options['defaults']['fields'] = FALSE;
  408. /* Champ: Contenu : Nid */
  409. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  410. $handler->display->display_options['fields']['nid']['table'] = 'node';
  411. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  412. $handler->display->display_options['fields']['nid']['label'] = '';
  413. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  414. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  415. /* Champ: Global : PHP */
  416. $handler->display->display_options['fields']['php']['id'] = 'php';
  417. $handler->display->display_options['fields']['php']['table'] = 'views';
  418. $handler->display->display_options['fields']['php']['field'] = 'php';
  419. $handler->display->display_options['fields']['php']['label'] = '';
  420. $handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
  421. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  422. $handler->display->display_options['fields']['php']['php_value'] = '$row->nid';
  423. $handler->display->display_options['fields']['php']['php_output'] = '<style>
  424. .title-actu.title-a-venir {
  425. display: block;
  426. }
  427. .title-actu.title-passees {
  428. display: none;
  429. }
  430. </style>';
  431. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  432. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  433. $handler->display->display_options['defaults']['arguments'] = FALSE;
  434. /* Filtre contextuel: Contenu : Nid */
  435. $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  436. $handler->display->display_options['arguments']['nid']['table'] = 'node';
  437. $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  438. $handler->display->display_options['arguments']['nid']['default_action'] = 'not found';
  439. $handler->display->display_options['arguments']['nid']['exception']['title'] = 'Tout';
  440. $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed';
  441. $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  442. $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  443. $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  444. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  445. $handler->display->display_options['defaults']['filters'] = FALSE;
  446. /* Critère de filtrage: Contenu : Publié */
  447. $handler->display->display_options['filters']['status']['id'] = 'status';
  448. $handler->display->display_options['filters']['status']['table'] = 'node';
  449. $handler->display->display_options['filters']['status']['field'] = 'status';
  450. $handler->display->display_options['filters']['status']['value'] = 1;
  451. $handler->display->display_options['filters']['status']['group'] = 1;
  452. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  453. /* Critère de filtrage: Contenu : Type */
  454. $handler->display->display_options['filters']['type']['id'] = 'type';
  455. $handler->display->display_options['filters']['type']['table'] = 'node';
  456. $handler->display->display_options['filters']['type']['field'] = 'type';
  457. $handler->display->display_options['filters']['type']['value'] = array(
  458. 'popsu_actu' => 'popsu_actu',
  459. );
  460. /* Critère de filtrage: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  461. $handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  462. $handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  463. $handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  464. $handler->display->display_options['filters']['field_popsu_actu_date_value']['operator'] = '>';
  465. $handler->display->display_options['filters']['field_popsu_actu_date_value']['default_date'] = 'now';
  466. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  467. $handler->display->display_options['argument_input'] = array(
  468. 'nid' => array(
  469. 'type' => 'user',
  470. 'context' => 'string.raw',
  471. 'context_optional' => 0,
  472. 'panel' => '0',
  473. 'fixed' => '',
  474. 'label' => 'Contenu : Nid',
  475. ),
  476. );
  477. /* Display: Actualites A venir Block */
  478. $handler = $view->new_display('block', 'Actualites A venir Block', 'block_3');
  479. $handler->display->display_options['defaults']['title'] = FALSE;
  480. $handler->display->display_options['title'] = 'Actualités, appels d\'offre et consultations';
  481. $handler->display->display_options['defaults']['css_class'] = FALSE;
  482. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  483. $handler->display->display_options['defaults']['pager'] = FALSE;
  484. $handler->display->display_options['pager']['type'] = 'none';
  485. $handler->display->display_options['pager']['options']['offset'] = '0';
  486. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  487. $handler->display->display_options['style_plugin'] = 'default';
  488. $handler->display->display_options['defaults']['style_options'] = FALSE;
  489. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  490. $handler->display->display_options['row_plugin'] = 'fields';
  491. $handler->display->display_options['defaults']['row_options'] = FALSE;
  492. $handler->display->display_options['defaults']['fields'] = FALSE;
  493. /* Champ: Contenu : Nid */
  494. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  495. $handler->display->display_options['fields']['nid']['table'] = 'node';
  496. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  497. $handler->display->display_options['fields']['nid']['label'] = '';
  498. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  499. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  500. /* Champ: Contenu : Titre */
  501. $handler->display->display_options['fields']['title']['id'] = 'title';
  502. $handler->display->display_options['fields']['title']['table'] = 'node';
  503. $handler->display->display_options['fields']['title']['field'] = 'title';
  504. $handler->display->display_options['fields']['title']['label'] = '';
  505. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  506. $handler->display->display_options['fields']['title']['alter']['text'] = '<span class="actu-link actu-link-[nid]">[title]</span>';
  507. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  508. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  509. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  510. $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  511. /* Champ: Contenu : Date de début de validité de l'actualité */
  512. $handler->display->display_options['fields']['field_popsu_actu_date']['id'] = 'field_popsu_actu_date';
  513. $handler->display->display_options['fields']['field_popsu_actu_date']['table'] = 'field_data_field_popsu_actu_date';
  514. $handler->display->display_options['fields']['field_popsu_actu_date']['field'] = 'field_popsu_actu_date';
  515. $handler->display->display_options['fields']['field_popsu_actu_date']['label'] = '';
  516. $handler->display->display_options['fields']['field_popsu_actu_date']['exclude'] = TRUE;
  517. $handler->display->display_options['fields']['field_popsu_actu_date']['element_label_colon'] = FALSE;
  518. $handler->display->display_options['fields']['field_popsu_actu_date']['settings'] = array(
  519. 'format_type' => 'popsu_yyyy_mm_dd',
  520. 'fromto' => 'both',
  521. 'multiple_number' => '',
  522. 'multiple_from' => '',
  523. 'multiple_to' => '',
  524. );
  525. /* Champ: Contenu : Date de fin de validité de l'actualité */
  526. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['id'] = 'field_popsu_actu_date_fin';
  527. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['table'] = 'field_data_field_popsu_actu_date_fin';
  528. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['field'] = 'field_popsu_actu_date_fin';
  529. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['label'] = '';
  530. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['exclude'] = TRUE;
  531. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['alter']['alter_text'] = TRUE;
  532. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['alter']['text'] = 'du [field_popsu_actu_date] au [field_popsu_actu_date_fin]';
  533. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['element_label_colon'] = FALSE;
  534. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['empty'] = '[field_popsu_actu_date]';
  535. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['hide_empty'] = TRUE;
  536. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['empty_zero'] = TRUE;
  537. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['settings'] = array(
  538. 'format_type' => 'popsu_yyyy_mm_dd',
  539. 'fromto' => 'both',
  540. 'multiple_number' => '',
  541. 'multiple_from' => '',
  542. 'multiple_to' => '',
  543. );
  544. /* Champ: Contenu : Sous-titre de l'actualité */
  545. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['id'] = 'field_popsu_actu_soustitre';
  546. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['table'] = 'field_data_field_popsu_actu_soustitre';
  547. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['field'] = 'field_popsu_actu_soustitre';
  548. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['label'] = '';
  549. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['alter_text'] = TRUE;
  550. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['text'] = '[field_popsu_actu_soustitre]';
  551. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['element_label_colon'] = FALSE;
  552. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['empty'] = '[field_popsu_actu_date_fin]';
  553. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['hide_empty'] = TRUE;
  554. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['empty_zero'] = TRUE;
  555. /* Champ: Contenu : Texte de l'actualité */
  556. $handler->display->display_options['fields']['field_popsu_actu_body']['id'] = 'field_popsu_actu_body';
  557. $handler->display->display_options['fields']['field_popsu_actu_body']['table'] = 'field_data_field_popsu_actu_body';
  558. $handler->display->display_options['fields']['field_popsu_actu_body']['field'] = 'field_popsu_actu_body';
  559. $handler->display->display_options['fields']['field_popsu_actu_body']['label'] = '';
  560. $handler->display->display_options['fields']['field_popsu_actu_body']['exclude'] = TRUE;
  561. $handler->display->display_options['fields']['field_popsu_actu_body']['element_label_colon'] = FALSE;
  562. /* Champ: Contenu : Image de l'actualité */
  563. $handler->display->display_options['fields']['field_popsu_actu_image']['id'] = 'field_popsu_actu_image';
  564. $handler->display->display_options['fields']['field_popsu_actu_image']['table'] = 'field_data_field_popsu_actu_image';
  565. $handler->display->display_options['fields']['field_popsu_actu_image']['field'] = 'field_popsu_actu_image';
  566. $handler->display->display_options['fields']['field_popsu_actu_image']['label'] = '';
  567. $handler->display->display_options['fields']['field_popsu_actu_image']['alter']['alter_text'] = TRUE;
  568. $handler->display->display_options['fields']['field_popsu_actu_image']['alter']['text'] = '<div class="actu-col-img">[field_popsu_actu_image]</div>
  569. <div class="actu-col-body">[field_popsu_actu_body]</div>';
  570. $handler->display->display_options['fields']['field_popsu_actu_image']['element_label_colon'] = FALSE;
  571. $handler->display->display_options['fields']['field_popsu_actu_image']['empty'] = '[field_popsu_actu_body]';
  572. $handler->display->display_options['fields']['field_popsu_actu_image']['hide_empty'] = TRUE;
  573. $handler->display->display_options['fields']['field_popsu_actu_image']['empty_zero'] = TRUE;
  574. $handler->display->display_options['fields']['field_popsu_actu_image']['click_sort_column'] = 'fid';
  575. $handler->display->display_options['fields']['field_popsu_actu_image']['settings'] = array(
  576. 'image_style' => 'popsu-actu-listing',
  577. 'image_link' => '',
  578. );
  579. /* Champ: Contenu : Pièces jointes à cette actualité */
  580. $handler->display->display_options['fields']['field_popsu_actu_attachment']['id'] = 'field_popsu_actu_attachment';
  581. $handler->display->display_options['fields']['field_popsu_actu_attachment']['table'] = 'field_data_field_popsu_actu_attachment';
  582. $handler->display->display_options['fields']['field_popsu_actu_attachment']['field'] = 'field_popsu_actu_attachment';
  583. $handler->display->display_options['fields']['field_popsu_actu_attachment']['label'] = '';
  584. $handler->display->display_options['fields']['field_popsu_actu_attachment']['element_label_colon'] = FALSE;
  585. $handler->display->display_options['fields']['field_popsu_actu_attachment']['click_sort_column'] = 'fid';
  586. $handler->display->display_options['fields']['field_popsu_actu_attachment']['delta_offset'] = '0';
  587. $handler->display->display_options['fields']['field_popsu_actu_attachment']['separator'] = ' ';
  588. /* Champ: Contenu : Lien de modification */
  589. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  590. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  591. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  592. $handler->display->display_options['fields']['edit_node']['label'] = '';
  593. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  594. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  595. /* Champ: Contenu : Lien de publication */
  596. $handler->display->display_options['fields']['publishcontent']['id'] = 'publishcontent';
  597. $handler->display->display_options['fields']['publishcontent']['table'] = 'node';
  598. $handler->display->display_options['fields']['publishcontent']['field'] = 'publishcontent';
  599. $handler->display->display_options['fields']['publishcontent']['label'] = '';
  600. $handler->display->display_options['fields']['publishcontent']['element_label_colon'] = FALSE;
  601. $handler->display->display_options['fields']['publishcontent']['hide_empty'] = TRUE;
  602. $handler->display->display_options['fields']['publishcontent']['unpublish'] = 'Supprimer';
  603. $handler->display->display_options['fields']['publishcontent']['publish'] = 'Récupérer dans la corbeille';
  604. $handler->display->display_options['defaults']['sorts'] = FALSE;
  605. /* Critère de tri: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  606. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  607. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  608. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  609. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  610. $handler->display->display_options['defaults']['filters'] = FALSE;
  611. /* Critère de filtrage: Contenu : Publié */
  612. $handler->display->display_options['filters']['status']['id'] = 'status';
  613. $handler->display->display_options['filters']['status']['table'] = 'node';
  614. $handler->display->display_options['filters']['status']['field'] = 'status';
  615. $handler->display->display_options['filters']['status']['value'] = 1;
  616. $handler->display->display_options['filters']['status']['group'] = 1;
  617. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  618. /* Critère de filtrage: Contenu : Type */
  619. $handler->display->display_options['filters']['type']['id'] = 'type';
  620. $handler->display->display_options['filters']['type']['table'] = 'node';
  621. $handler->display->display_options['filters']['type']['field'] = 'type';
  622. $handler->display->display_options['filters']['type']['value'] = array(
  623. 'popsu_actu' => 'popsu_actu',
  624. );
  625. /* Critère de filtrage: Contenu : Date de fin de validité de l&#039;actualité (field_popsu_actu_date_fin) */
  626. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
  627. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
  628. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
  629. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '>';
  630. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
  631. /* Critère de filtrage: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  632. $handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  633. $handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  634. $handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  635. $handler->display->display_options['filters']['field_popsu_actu_date_value']['operator'] = '<=';
  636. $handler->display->display_options['filters']['field_popsu_actu_date_value']['default_date'] = 'now';
  637. $handler->display->display_options['block_description'] = 'POPSU - Actualites - Block A venir';
  638. /* Display: Actualites Passees Block */
  639. $handler = $view->new_display('block', 'Actualites Passees Block', 'block_4');
  640. $handler->display->display_options['defaults']['title'] = FALSE;
  641. $handler->display->display_options['title'] = 'Actualites a venir';
  642. $handler->display->display_options['defaults']['css_class'] = FALSE;
  643. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  644. $handler->display->display_options['defaults']['pager'] = FALSE;
  645. $handler->display->display_options['pager']['type'] = 'none';
  646. $handler->display->display_options['pager']['options']['offset'] = '0';
  647. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  648. $handler->display->display_options['style_plugin'] = 'default';
  649. $handler->display->display_options['defaults']['style_options'] = FALSE;
  650. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  651. $handler->display->display_options['row_plugin'] = 'panels_fields';
  652. $handler->display->display_options['row_options']['layout'] = 'flexible:popsu_70_30_accordion_pic';
  653. $handler->display->display_options['row_options']['regions'] = array(
  654. 'nid' => 'title_',
  655. 'title' => 'title_',
  656. 'field_popsu_actu_date' => 'title_',
  657. 'field_popsu_actu_date_fin' => 'title_',
  658. 'field_popsu_actu_soustitre' => 'title_',
  659. 'field_popsu_actu_body' => 'title',
  660. 'field_popsu_actu_image' => 'title',
  661. );
  662. $handler->display->display_options['defaults']['row_options'] = FALSE;
  663. $handler->display->display_options['defaults']['fields'] = FALSE;
  664. /* Champ: Contenu : Nid */
  665. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  666. $handler->display->display_options['fields']['nid']['table'] = 'node';
  667. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  668. $handler->display->display_options['fields']['nid']['label'] = '';
  669. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  670. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  671. /* Champ: Contenu : Titre */
  672. $handler->display->display_options['fields']['title']['id'] = 'title';
  673. $handler->display->display_options['fields']['title']['table'] = 'node';
  674. $handler->display->display_options['fields']['title']['field'] = 'title';
  675. $handler->display->display_options['fields']['title']['label'] = '';
  676. $handler->display->display_options['fields']['title']['exclude'] = TRUE;
  677. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  678. $handler->display->display_options['fields']['title']['alter']['text'] = '<span class="actu-link actu-link-[nid]">[title]</span>';
  679. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  680. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  681. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  682. $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  683. /* Champ: Contenu : Date de début de validité de l'actualité */
  684. $handler->display->display_options['fields']['field_popsu_actu_date']['id'] = 'field_popsu_actu_date';
  685. $handler->display->display_options['fields']['field_popsu_actu_date']['table'] = 'field_data_field_popsu_actu_date';
  686. $handler->display->display_options['fields']['field_popsu_actu_date']['field'] = 'field_popsu_actu_date';
  687. $handler->display->display_options['fields']['field_popsu_actu_date']['label'] = '';
  688. $handler->display->display_options['fields']['field_popsu_actu_date']['exclude'] = TRUE;
  689. $handler->display->display_options['fields']['field_popsu_actu_date']['element_label_colon'] = FALSE;
  690. $handler->display->display_options['fields']['field_popsu_actu_date']['settings'] = array(
  691. 'format_type' => 'popsu_yyyy_mm_dd',
  692. 'fromto' => 'both',
  693. 'multiple_number' => '',
  694. 'multiple_from' => '',
  695. 'multiple_to' => '',
  696. );
  697. /* Champ: Contenu : Date de fin de validité de l'actualité */
  698. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['id'] = 'field_popsu_actu_date_fin';
  699. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['table'] = 'field_data_field_popsu_actu_date_fin';
  700. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['field'] = 'field_popsu_actu_date_fin';
  701. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['label'] = '';
  702. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['exclude'] = TRUE;
  703. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['alter']['alter_text'] = TRUE;
  704. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['alter']['text'] = 'du [field_popsu_actu_date] au [field_popsu_actu_date_fin]';
  705. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['element_label_colon'] = FALSE;
  706. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['empty'] = '[field_popsu_actu_date]';
  707. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['hide_empty'] = TRUE;
  708. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['empty_zero'] = TRUE;
  709. $handler->display->display_options['fields']['field_popsu_actu_date_fin']['settings'] = array(
  710. 'format_type' => 'popsu_yyyy_mm_dd',
  711. 'fromto' => 'both',
  712. 'multiple_number' => '',
  713. 'multiple_from' => '',
  714. 'multiple_to' => '',
  715. );
  716. /* Champ: Contenu : Sous-titre de l'actualité */
  717. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['id'] = 'field_popsu_actu_soustitre';
  718. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['table'] = 'field_data_field_popsu_actu_soustitre';
  719. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['field'] = 'field_popsu_actu_soustitre';
  720. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['label'] = '';
  721. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['alter_text'] = TRUE;
  722. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['text'] = '<div class="actu-pseudo-title">[title]</div>
  723. <div class="actu-pseudo-subtitle">[field_popsu_actu_soustitre] - [field_popsu_actu_date_fin]</div>';
  724. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['element_label_colon'] = FALSE;
  725. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['empty'] = '<div class="actu-pseudo-title">[title]</div>
  726. <div class="actu-pseudo-subtitle">field_popsu_actu_date_fin]</div>';
  727. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['hide_empty'] = TRUE;
  728. $handler->display->display_options['fields']['field_popsu_actu_soustitre']['empty_zero'] = TRUE;
  729. /* Champ: Contenu : Texte de l'actualité */
  730. $handler->display->display_options['fields']['field_popsu_actu_body']['id'] = 'field_popsu_actu_body';
  731. $handler->display->display_options['fields']['field_popsu_actu_body']['table'] = 'field_data_field_popsu_actu_body';
  732. $handler->display->display_options['fields']['field_popsu_actu_body']['field'] = 'field_popsu_actu_body';
  733. $handler->display->display_options['fields']['field_popsu_actu_body']['label'] = '';
  734. $handler->display->display_options['fields']['field_popsu_actu_body']['exclude'] = TRUE;
  735. $handler->display->display_options['fields']['field_popsu_actu_body']['element_label_colon'] = FALSE;
  736. /* Champ: Contenu : Image de l'actualité */
  737. $handler->display->display_options['fields']['field_popsu_actu_image']['id'] = 'field_popsu_actu_image';
  738. $handler->display->display_options['fields']['field_popsu_actu_image']['table'] = 'field_data_field_popsu_actu_image';
  739. $handler->display->display_options['fields']['field_popsu_actu_image']['field'] = 'field_popsu_actu_image';
  740. $handler->display->display_options['fields']['field_popsu_actu_image']['label'] = '';
  741. $handler->display->display_options['fields']['field_popsu_actu_image']['alter']['alter_text'] = TRUE;
  742. $handler->display->display_options['fields']['field_popsu_actu_image']['alter']['text'] = '<div class="actu-col-img">[field_popsu_actu_image]</div>
  743. <div class="actu-col-body">[field_popsu_actu_body]</div>';
  744. $handler->display->display_options['fields']['field_popsu_actu_image']['element_label_colon'] = FALSE;
  745. $handler->display->display_options['fields']['field_popsu_actu_image']['empty'] = '[field_popsu_actu_body]';
  746. $handler->display->display_options['fields']['field_popsu_actu_image']['hide_empty'] = TRUE;
  747. $handler->display->display_options['fields']['field_popsu_actu_image']['empty_zero'] = TRUE;
  748. $handler->display->display_options['fields']['field_popsu_actu_image']['click_sort_column'] = 'fid';
  749. $handler->display->display_options['fields']['field_popsu_actu_image']['settings'] = array(
  750. 'image_style' => 'popsu-actu-listing',
  751. 'image_link' => '',
  752. );
  753. /* Champ: Contenu : Pièces jointes à cette actualité */
  754. $handler->display->display_options['fields']['field_popsu_actu_attachment']['id'] = 'field_popsu_actu_attachment';
  755. $handler->display->display_options['fields']['field_popsu_actu_attachment']['table'] = 'field_data_field_popsu_actu_attachment';
  756. $handler->display->display_options['fields']['field_popsu_actu_attachment']['field'] = 'field_popsu_actu_attachment';
  757. $handler->display->display_options['fields']['field_popsu_actu_attachment']['label'] = '';
  758. $handler->display->display_options['fields']['field_popsu_actu_attachment']['element_label_colon'] = FALSE;
  759. $handler->display->display_options['fields']['field_popsu_actu_attachment']['click_sort_column'] = 'fid';
  760. $handler->display->display_options['fields']['field_popsu_actu_attachment']['delta_offset'] = '0';
  761. $handler->display->display_options['fields']['field_popsu_actu_attachment']['separator'] = ' ';
  762. /* Champ: Contenu : Lien de modification */
  763. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  764. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  765. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  766. $handler->display->display_options['fields']['edit_node']['label'] = '';
  767. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  768. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  769. /* Champ: Contenu : Lien de publication */
  770. $handler->display->display_options['fields']['publishcontent']['id'] = 'publishcontent';
  771. $handler->display->display_options['fields']['publishcontent']['table'] = 'node';
  772. $handler->display->display_options['fields']['publishcontent']['field'] = 'publishcontent';
  773. $handler->display->display_options['fields']['publishcontent']['label'] = '';
  774. $handler->display->display_options['fields']['publishcontent']['element_label_colon'] = FALSE;
  775. $handler->display->display_options['fields']['publishcontent']['hide_empty'] = TRUE;
  776. $handler->display->display_options['fields']['publishcontent']['unpublish'] = 'Supprimer';
  777. $handler->display->display_options['fields']['publishcontent']['publish'] = 'Récupérer dans la corbeille';
  778. $handler->display->display_options['defaults']['sorts'] = FALSE;
  779. /* Critère de tri: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  780. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  781. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  782. $handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  783. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  784. $handler->display->display_options['defaults']['filters'] = FALSE;
  785. /* Critère de filtrage: Contenu : Publié */
  786. $handler->display->display_options['filters']['status']['id'] = 'status';
  787. $handler->display->display_options['filters']['status']['table'] = 'node';
  788. $handler->display->display_options['filters']['status']['field'] = 'status';
  789. $handler->display->display_options['filters']['status']['value'] = 1;
  790. $handler->display->display_options['filters']['status']['group'] = 1;
  791. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  792. /* Critère de filtrage: Contenu : Type */
  793. $handler->display->display_options['filters']['type']['id'] = 'type';
  794. $handler->display->display_options['filters']['type']['table'] = 'node';
  795. $handler->display->display_options['filters']['type']['field'] = 'type';
  796. $handler->display->display_options['filters']['type']['value'] = array(
  797. 'popsu_actu' => 'popsu_actu',
  798. );
  799. /* Critère de filtrage: Contenu : Date de fin de validité de l&#039;actualité (field_popsu_actu_date_fin) */
  800. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
  801. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
  802. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
  803. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '<=';
  804. $handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
  805. /* Critère de filtrage: Contenu : Date de début de validité de l&#039;actualité (field_popsu_actu_date) */
  806. $handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
  807. $handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
  808. $handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
  809. $handler->display->display_options['filters']['field_popsu_actu_date_value']['operator'] = '<=';
  810. $handler->display->display_options['filters']['field_popsu_actu_date_value']['default_date'] = 'now';
  811. $handler->display->display_options['block_description'] = 'POPSU - Actualites - Block Passees';
  812. $translatables['actualites'] = array(
  813. t('Master'),
  814. t('Actualités'),
  815. t('Voir toutes les actualités'),
  816. t('Appliquer'),
  817. t('Réinitialiser'),
  818. t('Trier par'),
  819. t('Asc'),
  820. t('Desc'),
  821. t('Éléments par page'),
  822. t('- Tout -'),
  823. t('Décalage'),
  824. t('« premier'),
  825. t('‹ précédent'),
  826. t('suivant ›'),
  827. t('dernier »'),
  828. t('/actualites'),
  829. t('<a href="[path]">[title]</a>'),
  830. t('[field_popsu_actu_soustitre]'),
  831. t('<a href="[path]">[field_popsu_actu_body]</a>'),
  832. t('Modifier cette actu'),
  833. t('<a href="[path]">voir toutes les actualités</a>'),
  834. t('voir toutes les actualités'),
  835. t('Actualite Last for Home Pane'),
  836. t('Actualite'),
  837. t('Volets de vue'),
  838. t('Actualites Menu A venir'),
  839. t('Actualites a venir'),
  840. t('plus'),
  841. t('<span class="actu-link actu-link-[nid]">[title]</span>'),
  842. t('POPSU - Actualites - Menu A venir'),
  843. t('Actualites Menu Passees'),
  844. t('Actualites passees'),
  845. t('POPSU - Actualites - Menu Passees'),
  846. t('Actualites CSS menu active'),
  847. t('Tout'),
  848. t('Actualites CSS titre switcher'),
  849. t('Actualites A venir Block'),
  850. t('Actualités, appels d\'offre et consultations'),
  851. t('du [field_popsu_actu_date] au [field_popsu_actu_date_fin]'),
  852. t('[field_popsu_actu_date]'),
  853. t('[field_popsu_actu_date_fin]'),
  854. t('<div class="actu-col-img">[field_popsu_actu_image]</div>
  855. <div class="actu-col-body">[field_popsu_actu_body]</div>'),
  856. t('[field_popsu_actu_body]'),
  857. t('Supprimer'),
  858. t('Récupérer dans la corbeille'),
  859. t('POPSU - Actualites - Block A venir'),
  860. t('Actualites Passees Block'),
  861. t('<div class="actu-pseudo-title">[title]</div>
  862. <div class="actu-pseudo-subtitle">[field_popsu_actu_soustitre] - [field_popsu_actu_date_fin]</div>'),
  863. t('<div class="actu-pseudo-title">[title]</div>
  864. <div class="actu-pseudo-subtitle">field_popsu_actu_date_fin]</div>'),
  865. t('POPSU - Actualites - Block Passees'),
  866. );
  867. $export['actualites'] = $view;
  868. return $export;
  869. }