| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383 | 
							- <?php
 
- /**
 
-  * @file
 
-  * popsu_villes.pages_default.inc
 
-  */
 
- /**
 
-  * Implements hook_default_page_manager_handlers().
 
-  */
 
- function popsu_villes_default_page_manager_handlers() {
 
-   $export = array();
 
-   $handler = new stdClass();
 
-   $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
 
-   $handler->api_version = 1;
 
-   $handler->name = 'node_view_panel_context_2';
 
-   $handler->task = 'node_view';
 
-   $handler->subtask = '';
 
-   $handler->handler = 'panel_context';
 
-   $handler->weight = 1;
 
-   $handler->conf = array(
 
-     'title' => 'Villes (feature)',
 
-     'no_blocks' => 0,
 
-     'pipeline' => 'standard',
 
-     'body_classes_to_remove' => '',
 
-     'body_classes_to_add' => 'panel-ville',
 
-     'css_id' => '',
 
-     'css' => '',
 
-     'contexts' => array(),
 
-     'relationships' => array(
 
-       0 => array(
 
-         'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Ville [field_popsu_ville_ville])',
 
-         'keyword' => 'taxonomy_term',
 
-         'name' => 'entity_from_field:field_popsu_ville_ville-node-taxonomy_term',
 
-         'delta' => 0,
 
-         'context' => 'argument_entity_id:node_1',
 
-         'id' => 1,
 
-       ),
 
-       1 => array(
 
-         'identifier' => 'Terme de taxonomie from Nœud (on Nœud: POPSU [field_popsu_ville_popsu])',
 
-         'keyword' => 'taxonomy_term_2',
 
-         'name' => 'entity_from_field:field_popsu_ville_popsu-node-taxonomy_term',
 
-         'delta' => 0,
 
-         'context' => 'argument_entity_id:node_1',
 
-         'id' => 1,
 
-       ),
 
-     ),
 
-     'access' => array(
 
-       'plugins' => array(
 
-         0 => array(
 
-           'name' => 'node_type',
 
-           'settings' => array(
 
-             'type' => array(
 
-               'popsu_ville' => 'popsu_ville',
 
-             ),
 
-           ),
 
-           'context' => 'argument_entity_id:node_1',
 
-           'not' => FALSE,
 
-         ),
 
-       ),
 
-       'logic' => 'and',
 
-     ),
 
-   );
 
-   $display = new panels_display();
 
-   $display->layout = 'flexible:popsu_74_36_stacked';
 
-   $display->layout_settings = array();
 
-   $display->panel_settings = array(
 
-     'style_settings' => array(
 
-       'default' => NULL,
 
-       'top' => NULL,
 
-       'left' => NULL,
 
-       'right' => NULL,
 
-       'bottom' => NULL,
 
-       'header' => NULL,
 
-       'footer' => NULL,
 
-     ),
 
-   );
 
-   $display->cache = array();
 
-   $display->title = '%node:title';
 
-   $display->content = array();
 
-   $display->panels = array();
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-1';
 
-     $pane->panel = 'footer';
 
-     $pane->type = 'views_panes';
 
-     $pane->subtype = 'colloques-panel_pane_1';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'arguments' => array(
 
-         'field_popsu_colloque_ville_tid' => '%taxonomy_term:tid',
 
-         'field_popsu_colloque_popsu_tid' => '%taxonomy_term_2:tid',
 
-       ),
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => 'pane-colloque',
 
-       'css_class' => 'pane-74-26',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 0;
 
-     $pane->locks = array();
 
-     $display->content['new-1'] = $pane;
 
-     $display->panels['footer'][0] = 'new-1';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-2';
 
-     $pane->panel = 'footer';
 
-     $pane->type = 'views_panes';
 
-     $pane->subtype = 'publications-panel_pane_1';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'arguments' => array(
 
-         'field_popsu_publication_ville_tid' => '%taxonomy_term:tid',
 
-         'field_popsu_publication_popsu_tid' => '%taxonomy_term_2:tid',
 
-       ),
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => 'pane-publication',
 
-       'css_class' => 'layout-88p pane-74-26 clearfix',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 1;
 
-     $pane->locks = array();
 
-     $display->content['new-2'] = $pane;
 
-     $display->panels['footer'][1] = 'new-2';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-3';
 
-     $pane->panel = 'footer';
 
-     $pane->type = 'custom';
 
-     $pane->subtype = 'custom';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'admin_title' => 'POPSU Fermeture de liste',
 
-       'title' => '<none>',
 
-       'body' => '<div></div>',
 
-       'format' => 'php_code',
 
-       'substitute' => 0,
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => '',
 
-       'css_class' => 'border-last layout-64-5p',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 2;
 
-     $pane->locks = array();
 
-     $display->content['new-3'] = $pane;
 
-     $display->panels['footer'][2] = 'new-3';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-4';
 
-     $pane->panel = 'left';
 
-     $pane->type = 'entity_field';
 
-     $pane->subtype = 'node:field_popsu_ville_images_illustr';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'label' => 'title',
 
-       'formatter' => 'image',
 
-       'delta_limit' => '0',
 
-       'delta_offset' => '0',
 
-       'delta_reversed' => 0,
 
-       'formatter_settings' => array(
 
-         'image_style' => 'popsu-villes-grande-image',
 
-         'image_link' => '',
 
-       ),
 
-       'context' => 'argument_entity_id:node_1',
 
-       'override_title' => 1,
 
-       'override_title_text' => '<none>',
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => 'panel-ville-grande-image',
 
-       'css_class' => 'image-decallee',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 0;
 
-     $pane->locks = array();
 
-     $display->content['new-4'] = $pane;
 
-     $display->panels['left'][0] = 'new-4';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-5';
 
-     $pane->panel = 'left';
 
-     $pane->type = 'entity_field';
 
-     $pane->subtype = 'node:field_popsu_ville_body';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'label' => 'title',
 
-       'formatter' => 'text_default',
 
-       'delta_limit' => 0,
 
-       'delta_offset' => '0',
 
-       'delta_reversed' => FALSE,
 
-       'formatter_settings' => array(),
 
-       'context' => 'argument_entity_id:node_1',
 
-       'override_title' => 1,
 
-       'override_title_text' => '<none>',
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => 'panel-ville-texte-intro',
 
-       'css_class' => 'layout-88p',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 1;
 
-     $pane->locks = array();
 
-     $display->content['new-5'] = $pane;
 
-     $display->panels['left'][1] = 'new-5';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-6';
 
-     $pane->panel = 'right';
 
-     $pane->type = 'entity_field';
 
-     $pane->subtype = 'node:field_popsu_ville_equipe';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'label' => 'title',
 
-       'formatter' => 'text_default',
 
-       'delta_limit' => 0,
 
-       'delta_offset' => '0',
 
-       'delta_reversed' => FALSE,
 
-       'formatter_settings' => array(),
 
-       'context' => 'argument_entity_id:node_1',
 
-       'override_title' => 0,
 
-       'override_title_text' => '',
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => 'accordion-h2-ville-equipe',
 
-       'css_class' => 'accordion-h2-ex accordion-h2-panel',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 0;
 
-     $pane->locks = array();
 
-     $display->content['new-6'] = $pane;
 
-     $display->panels['right'][0] = 'new-6';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-7';
 
-     $pane->panel = 'right';
 
-     $pane->type = 'entity_field';
 
-     $pane->subtype = 'node:field_popsu_ville_coordinateur';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'label' => 'title',
 
-       'formatter' => 'text_default',
 
-       'delta_limit' => 0,
 
-       'delta_offset' => '0',
 
-       'delta_reversed' => FALSE,
 
-       'formatter_settings' => array(),
 
-       'context' => 'argument_entity_id:node_1',
 
-       'override_title' => 1,
 
-       'override_title_text' => 'Coordinateur<br>des acteurs',
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => 'accordion-h2-ville-coordinateur',
 
-       'css_class' => 'accordion-h2-ex accordion-h2-panel',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 1;
 
-     $pane->locks = array();
 
-     $display->content['new-7'] = $pane;
 
-     $display->panels['right'][1] = 'new-7';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-8';
 
-     $pane->panel = 'right';
 
-     $pane->type = 'entity_field';
 
-     $pane->subtype = 'node:field_popsu_ville_partenairesimg';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'label' => 'title',
 
-       'formatter' => 'image',
 
-       'delta_limit' => '0',
 
-       'delta_offset' => '0',
 
-       'delta_reversed' => 0,
 
-       'formatter_settings' => array(
 
-         'image_style' => '',
 
-         'image_link' => '',
 
-       ),
 
-       'context' => 'argument_entity_id:node_1',
 
-       'override_title' => 1,
 
-       'override_title_text' => 'Partenaires',
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => 'accordion-h2-ville-partenaires',
 
-       'css_class' => 'accordion-h2-ex accordion-h2-panel',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 2;
 
-     $pane->locks = array();
 
-     $display->content['new-8'] = $pane;
 
-     $display->panels['right'][2] = 'new-8';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-9';
 
-     $pane->panel = 'right';
 
-     $pane->type = 'custom';
 
-     $pane->subtype = 'custom';
 
-     $pane->shown = TRUE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'admin_title' => 'POPSU Fermeture de liste',
 
-       'title' => '<none>',
 
-       'body' => '<div></div>',
 
-       'format' => 'php_code',
 
-       'substitute' => 0,
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => '',
 
-       'css_class' => 'border-last',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 3;
 
-     $pane->locks = array();
 
-     $display->content['new-9'] = $pane;
 
-     $display->panels['right'][3] = 'new-9';
 
-     $pane = new stdClass();
 
-     $pane->pid = 'new-10';
 
-     $pane->panel = 'top';
 
-     $pane->type = 'node_links';
 
-     $pane->subtype = 'node_links';
 
-     $pane->shown = FALSE;
 
-     $pane->access = array();
 
-     $pane->configuration = array(
 
-       'override_title' => 0,
 
-       'override_title_text' => '',
 
-       'build_mode' => 'full',
 
-       'identifier' => '',
 
-       'link' => 1,
 
-       'context' => 'argument_entity_id:node_1',
 
-     );
 
-     $pane->cache = array();
 
-     $pane->style = array(
 
-       'settings' => NULL,
 
-     );
 
-     $pane->css = array(
 
-       'css_id' => '',
 
-       'css_class' => 'admin-add-item',
 
-     );
 
-     $pane->extras = array();
 
-     $pane->position = 0;
 
-     $pane->locks = array();
 
-     $display->content['new-10'] = $pane;
 
-     $display->panels['top'][0] = 'new-10';
 
-   $display->hide_title = PANELS_TITLE_FIXED;
 
-   $display->title_pane = '0';
 
-   $handler->conf['display'] = $display;
 
-   $export['node_view_panel_context_2'] = $handler;
 
-   return $export;
 
- }
 
 
  |