173 lines
6.0 KiB
PHP
173 lines
6.0 KiB
PHP
<?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>
|
||
(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){
|
||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||
})(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');
|
||
|
||
ga(\'create\', \'UA-39618469-1\', \'archi.fr\');
|
||
ga(\'send\', \'pageview\');
|
||
|
||
</script>',
|
||
'format' => 'php_code',
|
||
),
|
||
'additional_classes' => '',
|
||
);
|
||
$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_logo_popsumetropoles';
|
||
$box->plugin_key = 'simple';
|
||
$box->title = '<none>';
|
||
$box->description = 'POPSU Logo POPSU Metropoles (box)';
|
||
$box->options = array(
|
||
'body' => array(
|
||
'value' => '<a class="logo" href="popsu-metropoles/accueil" rel="home" title="Aller à l\'accueil de POPSU Metropoles">Aller à l\'accueil de POPSU Metropoles</a>',
|
||
'format' => 'php_code',
|
||
),
|
||
'additional_classes' => '',
|
||
);
|
||
$export['popsu_logo_popsumetropoles'] = $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_popsumonde';
|
||
$box->plugin_key = 'simple';
|
||
$box->title = '<none>';
|
||
$box->description = 'POPSU Logo POPSU Monde (box)';
|
||
$box->options = array(
|
||
'body' => array(
|
||
'value' => '<a class="logo" href="popsu-monde/accueil" rel="home" title="Aller à l\'accueil de POPSU Monde">Aller à l\'accueil de POPSU Monde</a>
|
||
',
|
||
'format' => 'php_code',
|
||
),
|
||
'additional_classes' => '',
|
||
);
|
||
$export['popsu_logo_popsumonde'] = $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_popsuterrritoires';
|
||
$box->plugin_key = 'simple';
|
||
$box->title = '<none>';
|
||
$box->description = 'POPSU Logo POPSU Territoires (box)';
|
||
$box->options = array(
|
||
'body' => array(
|
||
'value' => '<a class="logo" href="/popsu-territoires/accueil" rel="home" title="Aller à l\'accueil de POPSU Territoires">Aller à l\'accueil de POPSU Territoires</a>',
|
||
'format' => 'php_code',
|
||
),
|
||
'additional_classes' => '',
|
||
);
|
||
$export['popsu_logo_popsuterrritoires'] = $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;
|
||
}
|