popsu_colloques.views_default.inc 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. <?php
  2. /**
  3. * @file
  4. * popsu_colloques.views_default.inc
  5. */
  6. /**
  7. * Implements hook_views_default_views().
  8. */
  9. function popsu_colloques_views_default_views() {
  10. $export = array();
  11. $view = new view();
  12. $view->name = 'colloques';
  13. $view->description = 'Liste des publications';
  14. $view->tag = 'POPSU';
  15. $view->base_table = 'node';
  16. $view->human_name = 'Colloques';
  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['use_more_always'] = FALSE;
  23. $handler->display->display_options['use_more_text'] = 'plus';
  24. $handler->display->display_options['access']['type'] = 'perm';
  25. $handler->display->display_options['cache']['type'] = 'none';
  26. $handler->display->display_options['query']['type'] = 'views_query';
  27. $handler->display->display_options['exposed_form']['type'] = 'basic';
  28. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  29. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  30. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  31. $handler->display->display_options['pager']['type'] = 'full';
  32. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  33. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  34. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  35. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  36. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  37. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  38. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  39. $handler->display->display_options['style_plugin'] = 'default';
  40. $handler->display->display_options['row_plugin'] = 'fields';
  41. /* Relation: Contenu : Termes de taxonomie du nœud */
  42. $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid';
  43. $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node';
  44. $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid';
  45. /* Champ: Contenu : Titre */
  46. $handler->display->display_options['fields']['title']['id'] = 'title';
  47. $handler->display->display_options['fields']['title']['table'] = 'node';
  48. $handler->display->display_options['fields']['title']['field'] = 'title';
  49. $handler->display->display_options['fields']['title']['label'] = '';
  50. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  51. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  52. /* Critère de tri: Terme de taxonomie : Poids */
  53. $handler->display->display_options['sorts']['weight']['id'] = 'weight';
  54. $handler->display->display_options['sorts']['weight']['table'] = 'taxonomy_term_data';
  55. $handler->display->display_options['sorts']['weight']['field'] = 'weight';
  56. $handler->display->display_options['sorts']['weight']['relationship'] = 'term_node_tid';
  57. /* Critère de filtrage: Contenu : Publié */
  58. $handler->display->display_options['filters']['status']['id'] = 'status';
  59. $handler->display->display_options['filters']['status']['table'] = 'node';
  60. $handler->display->display_options['filters']['status']['field'] = 'status';
  61. $handler->display->display_options['filters']['status']['value'] = 1;
  62. $handler->display->display_options['filters']['status']['group'] = 1;
  63. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  64. /* Critère de filtrage: Contenu : Type */
  65. $handler->display->display_options['filters']['type']['id'] = 'type';
  66. $handler->display->display_options['filters']['type']['table'] = 'node';
  67. $handler->display->display_options['filters']['type']['field'] = 'type';
  68. $handler->display->display_options['filters']['type']['value'] = array(
  69. 'popsu_colloque' => 'popsu_colloque',
  70. );
  71. /* Display: Tous les colloques */
  72. $handler = $view->new_display('page', 'Tous les colloques', 'page_1');
  73. $handler->display->display_options['defaults']['title'] = FALSE;
  74. $handler->display->display_options['title'] = 'Tous les colloques';
  75. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  76. $handler->display->display_options['path'] = 'colloques';
  77. /* Display: Colloques par ville Pane */
  78. $handler = $view->new_display('panel_pane', 'Colloques par ville Pane', 'panel_pane_1');
  79. $handler->display->display_options['defaults']['title'] = FALSE;
  80. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  81. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  82. $handler->display->display_options['style_plugin'] = 'default';
  83. $handler->display->display_options['defaults']['style_options'] = FALSE;
  84. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  85. $handler->display->display_options['row_plugin'] = 'panels_fields';
  86. $handler->display->display_options['row_options']['layout'] = 'flexible:popsu_70_30_accordion';
  87. $handler->display->display_options['row_options']['regions'] = array(
  88. 'nid' => 'title',
  89. 'field_popsu_colloque_ville' => 'title',
  90. 'edit_node' => 'left',
  91. 'field_popsu_colloque_body' => 'left',
  92. 'edit_node_1' => 'right',
  93. 'view' => 'right',
  94. 'view_1' => 'right',
  95. 'view_2' => 'right',
  96. 'php' => 'right',
  97. );
  98. $handler->display->display_options['defaults']['row_options'] = FALSE;
  99. $handler->display->display_options['defaults']['relationships'] = FALSE;
  100. $handler->display->display_options['defaults']['fields'] = FALSE;
  101. /* Champ: Global : PHP */
  102. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  103. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  104. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  105. $handler->display->display_options['fields']['php_1']['label'] = '';
  106. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  107. $handler->display->display_options['fields']['php_1']['element_label_colon'] = FALSE;
  108. $handler->display->display_options['fields']['php_1']['hide_empty'] = TRUE;
  109. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  110. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php echo drupal_get_path_alias(); ?>';
  111. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  112. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  113. /* Champ: Contenu : Nid */
  114. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  115. $handler->display->display_options['fields']['nid']['table'] = 'node';
  116. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  117. $handler->display->display_options['fields']['nid']['label'] = '';
  118. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  119. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  120. $handler->display->display_options['fields']['nid']['element_default_classes'] = FALSE;
  121. /* Champ: Contenu : Sous-titre */
  122. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['id'] = 'field_popsu_colloque_subtitle2';
  123. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['table'] = 'field_data_field_popsu_colloque_subtitle2';
  124. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['field'] = 'field_popsu_colloque_subtitle2';
  125. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['label'] = '';
  126. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['exclude'] = TRUE;
  127. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['element_label_colon'] = FALSE;
  128. /* Champ: Contenu : Ville */
  129. $handler->display->display_options['fields']['field_popsu_colloque_ville']['id'] = 'field_popsu_colloque_ville';
  130. $handler->display->display_options['fields']['field_popsu_colloque_ville']['table'] = 'field_data_field_popsu_colloque_ville';
  131. $handler->display->display_options['fields']['field_popsu_colloque_ville']['field'] = 'field_popsu_colloque_ville';
  132. $handler->display->display_options['fields']['field_popsu_colloque_ville']['label'] = '';
  133. $handler->display->display_options['fields']['field_popsu_colloque_ville']['alter']['alter_text'] = TRUE;
  134. $handler->display->display_options['fields']['field_popsu_colloque_ville']['alter']['text'] = 'Colloque<br>
  135. <span class="colloque-subtitle">[field_popsu_colloque_subtitle2]</span>';
  136. $handler->display->display_options['fields']['field_popsu_colloque_ville']['element_label_colon'] = FALSE;
  137. $handler->display->display_options['fields']['field_popsu_colloque_ville']['type'] = 'taxonomy_term_reference_plain';
  138. /* Champ: Contenu : Lien de modification */
  139. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  140. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  141. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  142. $handler->display->display_options['fields']['edit_node']['label'] = '';
  143. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  144. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  145. $handler->display->display_options['fields']['edit_node']['text'] = 'Modifier ce colloque';
  146. /* Champ: Contenu : Texte de présentation du colloque */
  147. $handler->display->display_options['fields']['field_popsu_colloque_body']['id'] = 'field_popsu_colloque_body';
  148. $handler->display->display_options['fields']['field_popsu_colloque_body']['table'] = 'field_data_field_popsu_colloque_body';
  149. $handler->display->display_options['fields']['field_popsu_colloque_body']['field'] = 'field_popsu_colloque_body';
  150. $handler->display->display_options['fields']['field_popsu_colloque_body']['label'] = '';
  151. $handler->display->display_options['fields']['field_popsu_colloque_body']['element_class'] = 'field-type-text';
  152. $handler->display->display_options['fields']['field_popsu_colloque_body']['element_label_colon'] = FALSE;
  153. /* Champ: Contenu : Lien de modification */
  154. $handler->display->display_options['fields']['edit_node_1']['id'] = 'edit_node_1';
  155. $handler->display->display_options['fields']['edit_node_1']['table'] = 'views_entity_node';
  156. $handler->display->display_options['fields']['edit_node_1']['field'] = 'edit_node';
  157. $handler->display->display_options['fields']['edit_node_1']['label'] = '';
  158. $handler->display->display_options['fields']['edit_node_1']['alter']['alter_text'] = TRUE;
  159. $handler->display->display_options['fields']['edit_node_1']['alter']['text'] = '<a href="/node/add/popsu-document/[nid]?destination=[php_1]">Ajouter un document</a>';
  160. $handler->display->display_options['fields']['edit_node_1']['element_class'] = 'admin-add-item admin-add-item-margin';
  161. $handler->display->display_options['fields']['edit_node_1']['element_label_colon'] = FALSE;
  162. $handler->display->display_options['fields']['edit_node_1']['element_default_classes'] = FALSE;
  163. $handler->display->display_options['fields']['edit_node_1']['hide_empty'] = TRUE;
  164. /* Champ: Global : Voir */
  165. $handler->display->display_options['fields']['view']['id'] = 'view';
  166. $handler->display->display_options['fields']['view']['table'] = 'views';
  167. $handler->display->display_options['fields']['view']['field'] = 'view';
  168. $handler->display->display_options['fields']['view']['label'] = 'Programme';
  169. $handler->display->display_options['fields']['view']['element_label_colon'] = FALSE;
  170. $handler->display->display_options['fields']['view']['hide_empty'] = TRUE;
  171. $handler->display->display_options['fields']['view']['view'] = 'documents';
  172. $handler->display->display_options['fields']['view']['arguments'] = '[!nid],48';
  173. /* Champ: Global : Voir */
  174. $handler->display->display_options['fields']['view_1']['id'] = 'view_1';
  175. $handler->display->display_options['fields']['view_1']['table'] = 'views';
  176. $handler->display->display_options['fields']['view_1']['field'] = 'view';
  177. $handler->display->display_options['fields']['view_1']['label'] = 'Retranscription';
  178. $handler->display->display_options['fields']['view_1']['element_label_colon'] = FALSE;
  179. $handler->display->display_options['fields']['view_1']['hide_empty'] = TRUE;
  180. $handler->display->display_options['fields']['view_1']['view'] = 'documents';
  181. $handler->display->display_options['fields']['view_1']['arguments'] = '[!nid],49';
  182. /* Champ: Global : Voir */
  183. $handler->display->display_options['fields']['view_2']['id'] = 'view_2';
  184. $handler->display->display_options['fields']['view_2']['table'] = 'views';
  185. $handler->display->display_options['fields']['view_2']['field'] = 'view';
  186. $handler->display->display_options['fields']['view_2']['label'] = 'Dossier Traits Urbains';
  187. $handler->display->display_options['fields']['view_2']['element_label_colon'] = FALSE;
  188. $handler->display->display_options['fields']['view_2']['hide_empty'] = TRUE;
  189. $handler->display->display_options['fields']['view_2']['view'] = 'documents';
  190. $handler->display->display_options['fields']['view_2']['arguments'] = '[!nid],50';
  191. /* Champ: Global : PHP */
  192. $handler->display->display_options['fields']['php']['id'] = 'php';
  193. $handler->display->display_options['fields']['php']['table'] = 'views';
  194. $handler->display->display_options['fields']['php']['field'] = 'php';
  195. $handler->display->display_options['fields']['php']['label'] = '';
  196. $handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
  197. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  198. $handler->display->display_options['fields']['php']['php_output'] = '<div class="border-last"></div>';
  199. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  200. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  201. $handler->display->display_options['defaults']['sorts'] = FALSE;
  202. $handler->display->display_options['defaults']['arguments'] = FALSE;
  203. /* Filtre contextuel: Contenu : Ville (field_popsu_colloque_ville) */
  204. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['id'] = 'field_popsu_colloque_ville_tid';
  205. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['table'] = 'field_data_field_popsu_colloque_ville';
  206. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['field'] = 'field_popsu_colloque_ville_tid';
  207. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['default_action'] = 'not found';
  208. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['exception']['title'] = 'Tout';
  209. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['default_argument_type'] = 'fixed';
  210. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['summary']['number_of_records'] = '0';
  211. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['summary']['format'] = 'default_summary';
  212. $handler->display->display_options['arguments']['field_popsu_colloque_ville_tid']['summary_options']['items_per_page'] = '25';
  213. /* Filtre contextuel: Contenu : POPSU (field_popsu_colloque_popsu) */
  214. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['id'] = 'field_popsu_colloque_popsu_tid';
  215. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['table'] = 'field_data_field_popsu_colloque_popsu';
  216. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['field'] = 'field_popsu_colloque_popsu_tid';
  217. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['default_action'] = 'not found';
  218. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['exception']['title'] = 'Tout';
  219. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['default_argument_type'] = 'fixed';
  220. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['summary']['number_of_records'] = '0';
  221. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['summary']['format'] = 'default_summary';
  222. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['summary_options']['items_per_page'] = '25';
  223. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  224. $handler->display->display_options['argument_input'] = array(
  225. 'field_popsu_colloque_ville_tid' => array(
  226. 'type' => 'user',
  227. 'context' => 'string.raw',
  228. 'context_optional' => 0,
  229. 'panel' => '0',
  230. 'fixed' => '',
  231. 'label' => 'Contenu : Ville (field_popsu_colloque_ville)',
  232. ),
  233. 'field_popsu_colloque_popsu_tid' => array(
  234. 'type' => 'user',
  235. 'context' => 'string.raw',
  236. 'context_optional' => 0,
  237. 'panel' => '0',
  238. 'fixed' => '',
  239. 'label' => 'Contenu : POPSU (field_popsu_colloque_popsu)',
  240. ),
  241. );
  242. /* Display: Colloques par POPSU Pane */
  243. $handler = $view->new_display('panel_pane', 'Colloques par POPSU Pane', 'panel_pane_2');
  244. $handler->display->display_options['defaults']['title'] = FALSE;
  245. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  246. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  247. $handler->display->display_options['style_plugin'] = 'default';
  248. $handler->display->display_options['defaults']['style_options'] = FALSE;
  249. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  250. $handler->display->display_options['row_plugin'] = 'panels_fields';
  251. $handler->display->display_options['row_options']['layout'] = 'flexible:popsu_70_30_accordion';
  252. $handler->display->display_options['row_options']['regions'] = array(
  253. 'php_1' => 'title',
  254. 'nid' => 'title',
  255. 'field_popsu_colloque_ville' => 'title',
  256. 'field_popsu_colloque_subtitle' => 'title',
  257. 'edit_node' => 'left',
  258. 'field_popsu_colloque_body' => 'left',
  259. 'edit_node_1' => 'right',
  260. 'view' => 'right',
  261. 'view_1' => 'right',
  262. 'view_2' => 'right',
  263. 'php' => 'right',
  264. );
  265. $handler->display->display_options['defaults']['row_options'] = FALSE;
  266. $handler->display->display_options['defaults']['relationships'] = FALSE;
  267. /* Relation: Contenu : Ville (field_popsu_colloque_ville) */
  268. $handler->display->display_options['relationships']['field_popsu_colloque_ville_tid']['id'] = 'field_popsu_colloque_ville_tid';
  269. $handler->display->display_options['relationships']['field_popsu_colloque_ville_tid']['table'] = 'field_data_field_popsu_colloque_ville';
  270. $handler->display->display_options['relationships']['field_popsu_colloque_ville_tid']['field'] = 'field_popsu_colloque_ville_tid';
  271. $handler->display->display_options['relationships']['field_popsu_colloque_ville_tid']['required'] = TRUE;
  272. $handler->display->display_options['defaults']['fields'] = FALSE;
  273. /* Champ: Global : PHP */
  274. $handler->display->display_options['fields']['php_1']['id'] = 'php_1';
  275. $handler->display->display_options['fields']['php_1']['table'] = 'views';
  276. $handler->display->display_options['fields']['php_1']['field'] = 'php';
  277. $handler->display->display_options['fields']['php_1']['label'] = '';
  278. $handler->display->display_options['fields']['php_1']['exclude'] = TRUE;
  279. $handler->display->display_options['fields']['php_1']['element_label_colon'] = FALSE;
  280. $handler->display->display_options['fields']['php_1']['element_default_classes'] = FALSE;
  281. $handler->display->display_options['fields']['php_1']['hide_empty'] = TRUE;
  282. $handler->display->display_options['fields']['php_1']['empty_zero'] = TRUE;
  283. $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0;
  284. $handler->display->display_options['fields']['php_1']['php_output'] = '<?php echo drupal_get_path_alias(); ?>';
  285. $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0';
  286. $handler->display->display_options['fields']['php_1']['php_click_sortable'] = '';
  287. /* Champ: Contenu : Nid */
  288. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  289. $handler->display->display_options['fields']['nid']['table'] = 'node';
  290. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  291. $handler->display->display_options['fields']['nid']['label'] = '';
  292. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  293. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  294. $handler->display->display_options['fields']['nid']['element_default_classes'] = FALSE;
  295. /* Champ: Contenu : Sous-titre */
  296. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['id'] = 'field_popsu_colloque_subtitle2';
  297. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['table'] = 'field_data_field_popsu_colloque_subtitle2';
  298. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['field'] = 'field_popsu_colloque_subtitle2';
  299. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['label'] = '';
  300. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['exclude'] = TRUE;
  301. $handler->display->display_options['fields']['field_popsu_colloque_subtitle2']['element_label_colon'] = FALSE;
  302. /* Champ: Contenu : Ville */
  303. $handler->display->display_options['fields']['field_popsu_colloque_ville']['id'] = 'field_popsu_colloque_ville';
  304. $handler->display->display_options['fields']['field_popsu_colloque_ville']['table'] = 'field_data_field_popsu_colloque_ville';
  305. $handler->display->display_options['fields']['field_popsu_colloque_ville']['field'] = 'field_popsu_colloque_ville';
  306. $handler->display->display_options['fields']['field_popsu_colloque_ville']['label'] = '';
  307. $handler->display->display_options['fields']['field_popsu_colloque_ville']['alter']['alter_text'] = TRUE;
  308. $handler->display->display_options['fields']['field_popsu_colloque_ville']['alter']['text'] = '[field_popsu_colloque_ville]<br>
  309. <span class="colloque-subtitle">[field_popsu_colloque_subtitle2]</span>';
  310. $handler->display->display_options['fields']['field_popsu_colloque_ville']['element_label_colon'] = FALSE;
  311. $handler->display->display_options['fields']['field_popsu_colloque_ville']['type'] = 'taxonomy_term_reference_plain';
  312. /* Champ: Contenu : Lien de modification */
  313. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  314. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  315. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  316. $handler->display->display_options['fields']['edit_node']['label'] = '';
  317. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  318. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  319. $handler->display->display_options['fields']['edit_node']['text'] = 'Modifier ce colloque';
  320. /* Champ: Contenu : Texte de présentation du colloque */
  321. $handler->display->display_options['fields']['field_popsu_colloque_body']['id'] = 'field_popsu_colloque_body';
  322. $handler->display->display_options['fields']['field_popsu_colloque_body']['table'] = 'field_data_field_popsu_colloque_body';
  323. $handler->display->display_options['fields']['field_popsu_colloque_body']['field'] = 'field_popsu_colloque_body';
  324. $handler->display->display_options['fields']['field_popsu_colloque_body']['label'] = '';
  325. $handler->display->display_options['fields']['field_popsu_colloque_body']['element_class'] = 'field-type-text';
  326. $handler->display->display_options['fields']['field_popsu_colloque_body']['element_label_colon'] = FALSE;
  327. /* Champ: Contenu : Lien de modification */
  328. $handler->display->display_options['fields']['edit_node_1']['id'] = 'edit_node_1';
  329. $handler->display->display_options['fields']['edit_node_1']['table'] = 'views_entity_node';
  330. $handler->display->display_options['fields']['edit_node_1']['field'] = 'edit_node';
  331. $handler->display->display_options['fields']['edit_node_1']['label'] = '';
  332. $handler->display->display_options['fields']['edit_node_1']['alter']['alter_text'] = TRUE;
  333. $handler->display->display_options['fields']['edit_node_1']['alter']['text'] = '<a href="/node/add/popsu-document/[nid]?destination=[php_1]">Ajouter un document</a>';
  334. $handler->display->display_options['fields']['edit_node_1']['element_class'] = 'admin-add-item admin-add-item-margin';
  335. $handler->display->display_options['fields']['edit_node_1']['element_label_colon'] = FALSE;
  336. $handler->display->display_options['fields']['edit_node_1']['element_default_classes'] = FALSE;
  337. $handler->display->display_options['fields']['edit_node_1']['hide_empty'] = TRUE;
  338. /* Champ: Global : Voir */
  339. $handler->display->display_options['fields']['view']['id'] = 'view';
  340. $handler->display->display_options['fields']['view']['table'] = 'views';
  341. $handler->display->display_options['fields']['view']['field'] = 'view';
  342. $handler->display->display_options['fields']['view']['label'] = 'Programme';
  343. $handler->display->display_options['fields']['view']['element_label_colon'] = FALSE;
  344. $handler->display->display_options['fields']['view']['hide_empty'] = TRUE;
  345. $handler->display->display_options['fields']['view']['view'] = 'documents';
  346. $handler->display->display_options['fields']['view']['arguments'] = '[!nid],48';
  347. /* Champ: Global : Voir */
  348. $handler->display->display_options['fields']['view_1']['id'] = 'view_1';
  349. $handler->display->display_options['fields']['view_1']['table'] = 'views';
  350. $handler->display->display_options['fields']['view_1']['field'] = 'view';
  351. $handler->display->display_options['fields']['view_1']['label'] = 'Retranscription';
  352. $handler->display->display_options['fields']['view_1']['element_label_colon'] = FALSE;
  353. $handler->display->display_options['fields']['view_1']['hide_empty'] = TRUE;
  354. $handler->display->display_options['fields']['view_1']['view'] = 'documents';
  355. $handler->display->display_options['fields']['view_1']['arguments'] = '[!nid],49';
  356. /* Champ: Global : Voir */
  357. $handler->display->display_options['fields']['view_2']['id'] = 'view_2';
  358. $handler->display->display_options['fields']['view_2']['table'] = 'views';
  359. $handler->display->display_options['fields']['view_2']['field'] = 'view';
  360. $handler->display->display_options['fields']['view_2']['label'] = 'Dossier Traits Urbains';
  361. $handler->display->display_options['fields']['view_2']['element_label_colon'] = FALSE;
  362. $handler->display->display_options['fields']['view_2']['hide_empty'] = TRUE;
  363. $handler->display->display_options['fields']['view_2']['view'] = 'documents';
  364. $handler->display->display_options['fields']['view_2']['arguments'] = '[!nid],50';
  365. /* Champ: Global : PHP */
  366. $handler->display->display_options['fields']['php']['id'] = 'php';
  367. $handler->display->display_options['fields']['php']['table'] = 'views';
  368. $handler->display->display_options['fields']['php']['field'] = 'php';
  369. $handler->display->display_options['fields']['php']['label'] = '';
  370. $handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
  371. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  372. $handler->display->display_options['fields']['php']['php_output'] = '<div class="border-last"></div>';
  373. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  374. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  375. $handler->display->display_options['defaults']['arguments'] = FALSE;
  376. /* Filtre contextuel: Contenu : POPSU (field_popsu_colloque_popsu) */
  377. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['id'] = 'field_popsu_colloque_popsu_tid';
  378. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['table'] = 'field_data_field_popsu_colloque_popsu';
  379. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['field'] = 'field_popsu_colloque_popsu_tid';
  380. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['default_action'] = 'not found';
  381. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['exception']['title'] = 'Tout';
  382. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['default_argument_type'] = 'fixed';
  383. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['summary']['number_of_records'] = '0';
  384. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['summary']['format'] = 'default_summary';
  385. $handler->display->display_options['arguments']['field_popsu_colloque_popsu_tid']['summary_options']['items_per_page'] = '25';
  386. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  387. $handler->display->display_options['argument_input'] = array(
  388. 'field_popsu_colloque_popsu_tid' => array(
  389. 'type' => 'user',
  390. 'context' => 'string.raw',
  391. 'context_optional' => 0,
  392. 'panel' => '0',
  393. 'fixed' => '',
  394. 'label' => 'Contenu : POPSU (field_popsu_colloque_popsu)',
  395. ),
  396. );
  397. $translatables['colloques'] = array(
  398. t('Master'),
  399. t('plus'),
  400. t('Appliquer'),
  401. t('Réinitialiser'),
  402. t('Trier par'),
  403. t('Asc'),
  404. t('Desc'),
  405. t('Éléments par page'),
  406. t('- Tout -'),
  407. t('Décalage'),
  408. t('« premier'),
  409. t('‹ précédent'),
  410. t('suivant ›'),
  411. t('dernier »'),
  412. t('terme'),
  413. t('Tous les colloques'),
  414. t('Colloques par ville Pane'),
  415. t('Colloque<br>
  416. <span class="colloque-subtitle">[field_popsu_colloque_subtitle2]</span>'),
  417. t('Modifier ce colloque'),
  418. t('<a href="/node/add/popsu-document/[nid]?destination=[php_1]">Ajouter un document</a>'),
  419. t('Programme'),
  420. t('Retranscription'),
  421. t('Dossier Traits Urbains'),
  422. t('Tout'),
  423. t('Volets de vue'),
  424. t('Colloques par POPSU Pane'),
  425. t('terme à partir de field_popsu_colloque_ville'),
  426. t('[field_popsu_colloque_ville]<br>
  427. <span class="colloque-subtitle">[field_popsu_colloque_subtitle2]</span>'),
  428. );
  429. $export['colloques'] = $view;
  430. return $export;
  431. }