126 lines
4.1 KiB
PHP
126 lines
4.1 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 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;
|
||
}
|