ajout du bloc head_js
This commit is contained in:
parent
07e7167dbf
commit
e3f6a378b1
@ -18,6 +18,7 @@ $GLOBALS['z_blocs'] = array(
|
|||||||
'aside',
|
'aside',
|
||||||
'connex',
|
'connex',
|
||||||
'footer',
|
'footer',
|
||||||
|
'head_js',
|
||||||
);
|
);
|
||||||
|
|
||||||
define('_CONTENT_WIDTH', 990);
|
define('_CONTENT_WIDTH', 990);
|
||||||
|
@ -44,10 +44,10 @@ switch (_SERVEUR_MODE) {
|
|||||||
case 'PREPROD':
|
case 'PREPROD':
|
||||||
define('SPIP_ERREUR_REPORT', E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);
|
define('SPIP_ERREUR_REPORT', E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);
|
||||||
error_reporting(SPIP_ERREUR_REPORT);
|
error_reporting(SPIP_ERREUR_REPORT);
|
||||||
ini_set('display_errors', 1);
|
// ini_set('display_errors', 1);
|
||||||
define('_DEBUG_AUTORISER', true);
|
define('_DEBUG_AUTORISER', true);
|
||||||
define('_LOG_FILTRE_GRAVITE', 8);
|
define('_LOG_FILTRE_GRAVITE', 8);
|
||||||
define('_TEST_EMAIL_DEST', 'nd@dataetic.fr');
|
define('_TEST_EMAIL_DEST', 'jean@choc02.com');
|
||||||
define('_SCSS_SOURCE_MAP', true);
|
define('_SCSS_SOURCE_MAP', true);
|
||||||
break;
|
break;
|
||||||
case 'PROD':
|
case 'PROD':
|
||||||
|
12
paquet.xml
12
paquet.xml
@ -1,10 +1,10 @@
|
|||||||
<paquet
|
<paquet
|
||||||
prefix="baz_april"
|
prefix="baz_april"
|
||||||
categorie="squelette"
|
categorie="squelette"
|
||||||
version="2.5.9"
|
version="2.5.10"
|
||||||
schema="1.0.1"
|
schema="1.0.1"
|
||||||
etat="stable"
|
etat="stable"
|
||||||
compatibilite="[3.2.0;4.0.*]"
|
compatibilite="[3.2.0;4.1.*]"
|
||||||
logo="prive/themes/spip/images/baz_april-64.png"
|
logo="prive/themes/spip/images/baz_april-64.png"
|
||||||
documentation=""
|
documentation=""
|
||||||
>
|
>
|
||||||
@ -13,12 +13,12 @@
|
|||||||
<!-- base mutualisée des sites SPIP -->
|
<!-- base mutualisée des sites SPIP -->
|
||||||
<auteur>chankalan</auteur>
|
<auteur>chankalan</auteur>
|
||||||
<auteur>Nicolas Dorigny (zboot)</auteur>
|
<auteur>Nicolas Dorigny (zboot)</auteur>
|
||||||
|
|
||||||
<licence>GNU/GPL</licence>
|
<licence>GNU/GPL</licence>
|
||||||
|
|
||||||
<credit lien="https://sasscss.org/#license-faqs">Sass CSS</credit>
|
<credit lien="https://sasscss.org/#license-faqs">Sass CSS</credit>
|
||||||
<credit lien="https://fontawesome.io/license/">Font Awesome</credit>
|
<credit lien="https://fontawesome.io/license/">Font Awesome</credit>
|
||||||
|
|
||||||
<necessite nom="bigup"/>
|
<necessite nom="bigup"/>
|
||||||
<necessite nom="crayons"/>
|
<necessite nom="crayons"/>
|
||||||
<!-- <necessite nom="rang"/> -->
|
<!-- <necessite nom="rang"/> -->
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<chemin path="squelettes"/>
|
<chemin path="squelettes"/>
|
||||||
<chemin path="squelettes/scss"/>
|
<chemin path="squelettes/scss"/>
|
||||||
<chemin path=""/>
|
<chemin path=""/>
|
||||||
|
|
||||||
<menu nom="configurer_baz_april" titre="baz_april:options" parent="menu_squelette" icone="images/baz_april-16.png" />
|
<menu nom="configurer_baz_april" titre="baz_april:options" parent="menu_squelette" icone="images/baz_april-16.png" />
|
||||||
|
|
||||||
</paquet>
|
</paquet>
|
||||||
|
4
squelettes/head_js/dist.html
Normal file
4
squelettes/head_js/dist.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[(#REM)
|
||||||
|
|
||||||
|
Ce bloc permet l'insertion de JS specifiques a une page
|
||||||
|
]
|
@ -6,6 +6,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
|
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
|
||||||
<INCLURE{fond=head/#ENV{type-page},env}>
|
<INCLURE{fond=head/#ENV{type-page},env}>
|
||||||
<INCLURE{fond=inclure/head}>
|
<INCLURE{fond=inclure/head}>
|
||||||
|
<INCLURE{fond=head_js/#ENV{type-page},env}>
|
||||||
</head>
|
</head>
|
||||||
<INCLURE{fond=body,env}>
|
<INCLURE{fond=body,env}>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user