first import
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_structure.box.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_box().
|
||||
*/
|
||||
function popsu_structure_default_box() {
|
||||
$export = array();
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_google_analytics';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'Google Analytics tracking code';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<script type="text/javascript">
|
||||
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push([\'_setAccount\', \'UA-37066369-1\']);
|
||||
_gaq.push([\'_trackPageview\']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;
|
||||
ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';
|
||||
var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
|
||||
</script>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
);
|
||||
$export['popsu_google_analytics'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_logo_baseline';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'POPSU Logo Baseline (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => 'PLATE-FORME<br>
|
||||
D’OBSERVATION<br>
|
||||
DES PROJETS<br>
|
||||
DE STRATÉGIES URBAINES',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
);
|
||||
$export['popsu_logo_baseline'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_logo_popsu1';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'POPSU Logo POPSU 1 (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<a title="Aller à l\'accueil de POPSU 1" rel="home" class="logo" href="/popsu1/accueil">Aller à l\'accueil de POPSU 1</a>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
'additional_classes' => 'clearfix',
|
||||
);
|
||||
$export['popsu_logo_popsu1'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_logo_popsu2';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'POPSU Logo POPSU 2 (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<a title="Aller à l\'accueil de POPSU 2" rel="home" class="logo" href="/popsu2/accueil">Aller à l\'accueil de POPSU 2</a>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
'additional_classes' => 'clearfix',
|
||||
);
|
||||
$export['popsu_logo_popsu2'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_logo_popsueurope';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'POPSU Logo POPSU Europe (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<a title="Aller à l\'accueil de POPSU Europe" rel="home" class="logo" href="/popsu-europe/accueil">Aller à l\'accueil de POPSU Europe</a>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
'additional_classes' => 'clearfix',
|
||||
);
|
||||
$export['popsu_logo_popsueurope'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_menu_trigger';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'POPSU Trigger de menu niveau 1 (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<div id="menu-trigger-level1" class="menu-trigger-level1">Retour au menu</div>
|
||||
<div id="menu-trigger-level1-off" class="menu-trigger-level1">Masquer le menu</i></div>
|
||||
<div id="menu-trigger-level1-static" class="menu-trigger-level1"><a href="/popsu1/accueil">Retour au menu</a></div>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
'additional_classes' => 'clearfix',
|
||||
);
|
||||
$export['popsu_menu_trigger'] = $box;
|
||||
|
||||
return $export;
|
||||
}
|
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_structure.context.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_context_default_contexts().
|
||||
*/
|
||||
function popsu_structure_context_default_contexts() {
|
||||
$export = array();
|
||||
|
||||
$context = new stdClass();
|
||||
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
|
||||
$context->api_version = 3;
|
||||
$context->name = 'popsu-structure-global';
|
||||
$context->description = 'Contexte global de la structure du site (feature)';
|
||||
$context->tag = 'structure-feature';
|
||||
$context->conditions = array(
|
||||
'sitewide' => array(
|
||||
'values' => array(
|
||||
1 => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->reactions = array(
|
||||
'block' => array(
|
||||
'blocks' => array(
|
||||
'boxes-popsu_google_analytics' => array(
|
||||
'module' => 'boxes',
|
||||
'delta' => 'popsu_google_analytics',
|
||||
'region' => 'content',
|
||||
'weight' => '-10',
|
||||
),
|
||||
'menu-menu-popsu-menu-footer' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popsu-menu-footer',
|
||||
'region' => 'footer',
|
||||
'weight' => '-10',
|
||||
),
|
||||
'menu-menu-popsu-footer-droite' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popsu-footer-droite',
|
||||
'region' => 'footer',
|
||||
'weight' => '-10',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->condition_mode = 0;
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Contexte global de la structure du site (feature)');
|
||||
t('structure-feature');
|
||||
$export['popsu-structure-global'] = $context;
|
||||
|
||||
$context = new stdClass();
|
||||
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
|
||||
$context->api_version = 3;
|
||||
$context->name = 'popsu-structure-homepage';
|
||||
$context->description = 'Contexte de la page d\'accueil du site (feature)';
|
||||
$context->tag = 'structure-feature';
|
||||
$context->conditions = array(
|
||||
'path' => array(
|
||||
'values' => array(
|
||||
'<front>' => '<front>',
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->reactions = array();
|
||||
$context->condition_mode = 0;
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Contexte de la page d\'accueil du site (feature)');
|
||||
t('structure-feature');
|
||||
$export['popsu-structure-homepage'] = $context;
|
||||
|
||||
$context = new stdClass();
|
||||
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
|
||||
$context->api_version = 3;
|
||||
$context->name = 'popsu-structure-manager';
|
||||
$context->description = 'Contexte de structure pour le manager du site (feature)';
|
||||
$context->tag = 'structure-feature';
|
||||
$context->conditions = array(
|
||||
'user' => array(
|
||||
'values' => array(
|
||||
'editor' => 'editor',
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->reactions = array(
|
||||
'block' => array(
|
||||
'blocks' => array(
|
||||
'menu-menu-manager-menu' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-manager-menu',
|
||||
'region' => 'user_menu',
|
||||
'weight' => '-10',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->condition_mode = 0;
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Contexte de structure pour le manager du site (feature)');
|
||||
t('structure-feature');
|
||||
$export['popsu-structure-manager'] = $context;
|
||||
|
||||
return $export;
|
||||
}
|
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_structure.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_block_class_features_default_class().
|
||||
*/
|
||||
function popsu_structure_block_class_features_default_class() {
|
||||
return array(
|
||||
'menu:menu-popsu-menu-footer' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popsu-menu-footer',
|
||||
'css_classes' => 'menu-footer menu-inline',
|
||||
),
|
||||
'menu:menu-popus-menu-header' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popus-menu-header',
|
||||
'css_classes' => 'span1 menu-header',
|
||||
),
|
||||
'menu_block:1' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '1',
|
||||
'css_classes' => 'left-nav left-nav-level-2',
|
||||
),
|
||||
'menu_block:2' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '2',
|
||||
'css_classes' => 'left-nav left-nav-level-0',
|
||||
),
|
||||
'menu_block:3' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '3',
|
||||
'css_classes' => 'left-nav left-nav-level-1',
|
||||
),
|
||||
'menu_block:4' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '4',
|
||||
'css_classes' => 'left-nav left-nav-level-1',
|
||||
),
|
||||
'menu_block:5' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '5',
|
||||
'css_classes' => 'left-nav left-nav-level-2',
|
||||
),
|
||||
'menu_block:6' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '6',
|
||||
'css_classes' => 'left-nav left-nav-level-1',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function popsu_structure_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "boxes" && $api == "box") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "context" && $api == "context") {
|
||||
return array("version" => "3");
|
||||
}
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "panels" && $api == "layouts") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
}
|
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_structure.features.menu_custom.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_menu_default_menu_custom().
|
||||
*/
|
||||
function popsu_structure_menu_default_menu_custom() {
|
||||
$menus = array();
|
||||
|
||||
// Exported menu: main-menu.
|
||||
$menus['main-menu'] = array(
|
||||
'menu_name' => 'main-menu',
|
||||
'title' => 'Main menu',
|
||||
'description' => 'The <em>Main</em> menu is used on many sites to show the major sections of the site, often in a top navigation bar.',
|
||||
);
|
||||
// Exported menu: menu-manager-menu.
|
||||
$menus['menu-manager-menu'] = array(
|
||||
'menu_name' => 'menu-manager-menu',
|
||||
'title' => 'Menu de gestion du site',
|
||||
'description' => 'Ce menu permet aux éditeurs et managers du site de le gérer.',
|
||||
);
|
||||
// Exported menu: menu-popsu-footer-droite.
|
||||
$menus['menu-popsu-footer-droite'] = array(
|
||||
'menu_name' => 'menu-popsu-footer-droite',
|
||||
'title' => 'Menu footer droite',
|
||||
'description' => 'Menu de droite du pied de page.',
|
||||
);
|
||||
// Exported menu: menu-popsu-menu-footer.
|
||||
$menus['menu-popsu-menu-footer'] = array(
|
||||
'menu_name' => 'menu-popsu-menu-footer',
|
||||
'title' => 'Menu footer',
|
||||
'description' => 'Menu du pied de page POPSU.',
|
||||
);
|
||||
// Exported menu: menu-popsu1-menu.
|
||||
$menus['menu-popsu1-menu'] = array(
|
||||
'menu_name' => 'menu-popsu1-menu',
|
||||
'title' => 'Menu POPSU 1',
|
||||
'description' => 'Ceci est le menu principal de la partie POPSU 1.',
|
||||
);
|
||||
// Exported menu: menu-popsu2-menu.
|
||||
$menus['menu-popsu2-menu'] = array(
|
||||
'menu_name' => 'menu-popsu2-menu',
|
||||
'title' => 'Menu POPSU 2',
|
||||
'description' => 'Ceci est le menu principal de la partie POPSU 2.',
|
||||
);
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Ce menu permet aux éditeurs et managers du site de le gérer.');
|
||||
t('Ceci est le menu principal de la partie POPSU 1.');
|
||||
t('Ceci est le menu principal de la partie POPSU 2.');
|
||||
t('Main menu');
|
||||
t('Menu POPSU 1');
|
||||
t('Menu POPSU 2');
|
||||
t('Menu de droite du pied de page.');
|
||||
t('Menu de gestion du site');
|
||||
t('Menu du pied de page POPSU.');
|
||||
t('Menu footer');
|
||||
t('Menu footer droite');
|
||||
t('The <em>Main</em> menu is used on many sites to show the major sections of the site, often in a top navigation bar.');
|
||||
|
||||
|
||||
return $menus;
|
||||
}
|
@@ -0,0 +1,263 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_structure.features.uuid_menu_links.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_uuid_menu_default_menu_links().
|
||||
*/
|
||||
function popsu_structure_uuid_menu_default_menu_links() {
|
||||
$uuid_menu_links = array();
|
||||
|
||||
// Exported menu link: main-menu:<front>
|
||||
$uuid_menu_links['main-menu:<front>'] = array(
|
||||
'router_path' => '',
|
||||
'link_title' => 'Accueil',
|
||||
'options' => array(
|
||||
'attributes' => array(
|
||||
'title' => '',
|
||||
),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '0',
|
||||
'external' => '1',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-50',
|
||||
'uuid_link_path' => '<front>',
|
||||
'uuid_menu_name' => 'main-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: main-menu:colloques
|
||||
$uuid_menu_links['main-menu:colloques'] = array(
|
||||
'router_path' => 'colloques',
|
||||
'link_title' => 'Colloques',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '1',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-43',
|
||||
'uuid_link_path' => 'colloques',
|
||||
'uuid_menu_name' => 'main-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: main-menu:node/a978e311-e9a8-415e-86fe-520a031ba6e2
|
||||
$uuid_menu_links['main-menu:node/a978e311-e9a8-415e-86fe-520a031ba6e2'] = array(
|
||||
'router_path' => 'node/%',
|
||||
'link_title' => 'POPSU 2',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '0',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-48',
|
||||
'uuid_link_path' => 'node/a978e311-e9a8-415e-86fe-520a031ba6e2',
|
||||
'uuid_menu_name' => 'main-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: main-menu:node/ecd15c32-153d-4f8b-bdb0-4fb5c4e21a5e
|
||||
$uuid_menu_links['main-menu:node/ecd15c32-153d-4f8b-bdb0-4fb5c4e21a5e'] = array(
|
||||
'router_path' => 'node/%',
|
||||
'link_title' => 'POPSU Europe',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '0',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-47',
|
||||
'uuid_link_path' => 'node/ecd15c32-153d-4f8b-bdb0-4fb5c4e21a5e',
|
||||
'uuid_menu_name' => 'main-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: main-menu:projets
|
||||
$uuid_menu_links['main-menu:projets'] = array(
|
||||
'router_path' => 'projets',
|
||||
'link_title' => 'Projets',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '1',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-45',
|
||||
'uuid_link_path' => 'projets',
|
||||
'uuid_menu_name' => 'main-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: main-menu:themes-locaux
|
||||
$uuid_menu_links['main-menu:themes-locaux'] = array(
|
||||
'router_path' => 'themes-locaux',
|
||||
'link_title' => 'Thèmes locaux',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '1',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-44',
|
||||
'uuid_link_path' => 'themes-locaux',
|
||||
'uuid_menu_name' => 'main-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: main-menu:themes-transversaux
|
||||
$uuid_menu_links['main-menu:themes-transversaux'] = array(
|
||||
'router_path' => 'themes-transversaux',
|
||||
'link_title' => 'Thèmes transversaux',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '1',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-42',
|
||||
'uuid_link_path' => 'themes-transversaux',
|
||||
'uuid_menu_name' => 'main-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: main-menu:villes
|
||||
$uuid_menu_links['main-menu:villes'] = array(
|
||||
'router_path' => 'villes',
|
||||
'link_title' => 'Villes',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '1',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-46',
|
||||
'uuid_link_path' => 'villes',
|
||||
'uuid_menu_name' => 'main-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: menu-manager-menu:<front>
|
||||
$uuid_menu_links['menu-manager-menu:<front>'] = array(
|
||||
'router_path' => '',
|
||||
'link_title' => 'Test',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '1',
|
||||
'external' => '1',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-50',
|
||||
'uuid_link_path' => '<front>',
|
||||
'uuid_menu_name' => 'menu-manager-menu',
|
||||
'uuid_parent_path' => 'publications',
|
||||
);
|
||||
// Exported menu link: menu-manager-menu:publications
|
||||
$uuid_menu_links['menu-manager-menu:publications'] = array(
|
||||
'router_path' => 'publications',
|
||||
'link_title' => 'Publications',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '1',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-50',
|
||||
'uuid_link_path' => 'publications',
|
||||
'uuid_menu_name' => 'menu-manager-menu',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: menu-popsu-footer-droite:<front>
|
||||
$uuid_menu_links['menu-popsu-footer-droite:<front>'] = array(
|
||||
'router_path' => '',
|
||||
'link_title' => 'Rechercher',
|
||||
'options' => array(
|
||||
'attributes' => array(
|
||||
'id' => 'footer-recherche',
|
||||
),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '0',
|
||||
'external' => '1',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-44',
|
||||
'uuid_link_path' => '<front>',
|
||||
'uuid_menu_name' => 'menu-popsu-footer-droite',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: menu-popsu-menu-footer:<front>
|
||||
$uuid_menu_links['menu-popsu-menu-footer:<front>'] = array(
|
||||
'router_path' => '',
|
||||
'link_title' => 'Qu\'est-ce que POPSU ?',
|
||||
'options' => array(
|
||||
'attributes' => array(
|
||||
'id' => 'footer-popsu',
|
||||
),
|
||||
'fragment' => 'qu-est-ce-que-popsu',
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '0',
|
||||
'external' => '1',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '-48',
|
||||
'uuid_link_path' => '<front>',
|
||||
'uuid_menu_name' => 'menu-popsu-menu-footer',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Exported menu link: menu-popsu-menu-footer:user
|
||||
$uuid_menu_links['menu-popsu-menu-footer:user'] = array(
|
||||
'router_path' => 'user',
|
||||
'link_title' => 'Administration',
|
||||
'options' => array(
|
||||
'attributes' => array(
|
||||
'class' => array(
|
||||
0 => 'menu-user-login',
|
||||
),
|
||||
),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => '0',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '0',
|
||||
'uuid_link_path' => 'user',
|
||||
'uuid_menu_name' => 'menu-popsu-menu-footer',
|
||||
'uuid_parent_path' => NULL,
|
||||
);
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Accueil');
|
||||
t('Administration');
|
||||
t('Colloques');
|
||||
t('POPSU 2');
|
||||
t('POPSU Europe');
|
||||
t('Projets');
|
||||
t('Publications');
|
||||
t('Qu\'est-ce que POPSU ?');
|
||||
t('Rechercher');
|
||||
t('Test');
|
||||
t('Thèmes locaux');
|
||||
t('Thèmes transversaux');
|
||||
t('Villes');
|
||||
|
||||
|
||||
return $uuid_menu_links;
|
||||
}
|
@@ -0,0 +1,47 @@
|
||||
name = POPSU Structure du site
|
||||
description = POPSU - Structure du site
|
||||
core = 7.x
|
||||
package = POPSU
|
||||
php = 5.2.4
|
||||
version = 7.x-1.0-beta9
|
||||
project = popsu_structure
|
||||
dependencies[] = block
|
||||
dependencies[] = block_class
|
||||
dependencies[] = blockify
|
||||
dependencies[] = boxes
|
||||
dependencies[] = context
|
||||
dependencies[] = ctools
|
||||
dependencies[] = features
|
||||
dependencies[] = menu
|
||||
dependencies[] = menu_block
|
||||
dependencies[] = node_reference
|
||||
dependencies[] = panels
|
||||
dependencies[] = popsu_themes_europe
|
||||
dependencies[] = popsu_villes_europe
|
||||
dependencies[] = search
|
||||
dependencies[] = uuid
|
||||
dependencies[] = uuid_features
|
||||
dependencies[] = uuid_path
|
||||
features[block_class][] = menu:menu-popsu-menu-footer
|
||||
features[block_class][] = menu:menu-popus-menu-header
|
||||
features[block_class][] = menu_block:1
|
||||
features[block_class][] = menu_block:2
|
||||
features[block_class][] = menu_block:3
|
||||
features[block_class][] = menu_block:4
|
||||
features[block_class][] = menu_block:5
|
||||
features[block_class][] = menu_block:6
|
||||
features[box][] = popsu_google_analytics
|
||||
features[box][] = popsu_logo_baseline
|
||||
features[box][] = popsu_logo_popsu1
|
||||
features[box][] = popsu_logo_popsu2
|
||||
features[box][] = popsu_logo_popsueurope
|
||||
features[box][] = popsu_menu_trigger
|
||||
features[context][] = popsu-structure-global
|
||||
features[context][] = popsu-structure-homepage
|
||||
features[context][] = popsu-structure-manager
|
||||
features[ctools][] = boxes:box:1
|
||||
features[ctools][] = context:context:3
|
||||
features[ctools][] = panels:layouts:1
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[features_api][] = api:1
|
||||
features[panels_layout][] = popsu_70_30_accordion
|
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_structure.layouts.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_panels_layout().
|
||||
*/
|
||||
function popsu_structure_default_panels_layout() {
|
||||
$export = array();
|
||||
|
||||
$layout = new stdClass();
|
||||
$layout->disabled = FALSE; /* Edit this to true to make a default layout disabled initially */
|
||||
$layout->api_version = 1;
|
||||
$layout->name = 'popsu_70_30_accordion';
|
||||
$layout->admin_title = 'POPSU 74/26 accordion';
|
||||
$layout->admin_description = 'Layout 74/26 avec accordéon';
|
||||
$layout->category = 'POPSU Layout';
|
||||
$layout->plugin = 'flexible';
|
||||
$layout->settings = array(
|
||||
'items' => array(
|
||||
'canvas' => array(
|
||||
'type' => 'row',
|
||||
'contains' => 'column',
|
||||
'children' => array(
|
||||
0 => 1,
|
||||
1 => 2,
|
||||
),
|
||||
'parent' => NULL,
|
||||
'class' => 'accordion-h2-layout',
|
||||
'column_class' => '',
|
||||
'row_class' => '',
|
||||
'region_class' => '',
|
||||
'no_scale' => FALSE,
|
||||
'fixed_width' => '',
|
||||
'column_separation' => '0',
|
||||
'region_separation' => '0',
|
||||
'row_separation' => '0',
|
||||
),
|
||||
1 => array(
|
||||
'type' => 'column',
|
||||
'width' => '74.05175820679584',
|
||||
'width_type' => '%',
|
||||
'parent' => 'canvas',
|
||||
'children' => array(
|
||||
0 => 3,
|
||||
1 => 4,
|
||||
),
|
||||
'class' => '',
|
||||
),
|
||||
2 => array(
|
||||
'type' => 'column',
|
||||
'width' => '25.94824179320417',
|
||||
'width_type' => '%',
|
||||
'parent' => 'canvas',
|
||||
'children' => array(
|
||||
0 => 5,
|
||||
),
|
||||
'class' => 'accordion-content',
|
||||
),
|
||||
3 => array(
|
||||
'type' => 'row',
|
||||
'contains' => 'region',
|
||||
'children' => array(
|
||||
0 => 'title',
|
||||
),
|
||||
'parent' => '1',
|
||||
'class' => 'accordion-trigger layout-88p',
|
||||
),
|
||||
'title' => array(
|
||||
'type' => 'region',
|
||||
'title' => 'title',
|
||||
'width' => 100,
|
||||
'width_type' => '%',
|
||||
'parent' => '3',
|
||||
'class' => '',
|
||||
),
|
||||
4 => array(
|
||||
'type' => 'row',
|
||||
'contains' => 'region',
|
||||
'children' => array(
|
||||
0 => 'left',
|
||||
),
|
||||
'parent' => '1',
|
||||
'class' => 'accordion-content layout-88p',
|
||||
),
|
||||
'left' => array(
|
||||
'type' => 'region',
|
||||
'title' => 'left',
|
||||
'width' => 100,
|
||||
'width_type' => '%',
|
||||
'parent' => '4',
|
||||
'class' => '',
|
||||
),
|
||||
5 => array(
|
||||
'type' => 'row',
|
||||
'contains' => 'region',
|
||||
'children' => array(
|
||||
0 => 'right',
|
||||
),
|
||||
'parent' => '2',
|
||||
'class' => '',
|
||||
),
|
||||
'right' => array(
|
||||
'type' => 'region',
|
||||
'title' => 'right',
|
||||
'width' => 100,
|
||||
'width_type' => '%',
|
||||
'parent' => '5',
|
||||
'class' => '',
|
||||
),
|
||||
),
|
||||
);
|
||||
$export['popsu_70_30_accordion'] = $layout;
|
||||
|
||||
return $export;
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the POPSU Structure du site feature.
|
||||
*/
|
||||
|
||||
include_once 'popsu_structure.features.inc';
|
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_structure.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function popsu_structure_strongarm() {
|
||||
$export = array();
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'field_bundle_settings_node__popsu_projet_europe';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => array(),
|
||||
'extra_fields' => array(
|
||||
'form' => array(
|
||||
'title' => array(
|
||||
'weight' => '8',
|
||||
),
|
||||
'path' => array(
|
||||
'weight' => '4',
|
||||
),
|
||||
),
|
||||
'display' => array(),
|
||||
),
|
||||
);
|
||||
$export['field_bundle_settings_node__popsu_projet_europe'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'language_content_type_popsu_projet_europe';
|
||||
$strongarm->value = '0';
|
||||
$export['language_content_type_popsu_projet_europe'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'menu_options_popsu_projet_europe';
|
||||
$strongarm->value = array();
|
||||
$export['menu_options_popsu_projet_europe'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'menu_parent_popsu_projet_europe';
|
||||
$strongarm->value = 'main-menu:0';
|
||||
$export['menu_parent_popsu_projet_europe'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'node_options_popsu_projet_europe';
|
||||
$strongarm->value = array(
|
||||
0 => 'status',
|
||||
1 => 'revision',
|
||||
);
|
||||
$export['node_options_popsu_projet_europe'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'node_preview_popsu_projet_europe';
|
||||
$strongarm->value = '0';
|
||||
$export['node_preview_popsu_projet_europe'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'node_submitted_popsu_projet_europe';
|
||||
$strongarm->value = 0;
|
||||
$export['node_submitted_popsu_projet_europe'] = $strongarm;
|
||||
|
||||
return $export;
|
||||
}
|
Reference in New Issue
Block a user