Skip to content
Extraits de code Groupes Projets
Valider 6ee7d28d rédigé par cerdic's avatar cerdic
Parcourir les fichiers

introduction balise #INSERT_HEAD permettant d'inserer des elements dans le...

introduction balise #INSERT_HEAD permettant d'inserer des elements dans le head (a condition que le squelette l'aie prise en compte)
Cette balise repose sur un pipeline insert_head sur lequel il suffit de se brancher pour y ajouter du contenu.

Ajout de la balise dans le head de la dist. A cette occasion, creation d'un fond inc-head.html appelé par les autres squelettes pour mutualiser le header et simplifier les modifications.
A vos plugins ...
parent 1b9d5fda
Branches
Étiquettes
Aucune requête de fusion associée trouvée
...@@ -5,6 +5,7 @@ dist/favicon.ico -text ...@@ -5,6 +5,7 @@ dist/favicon.ico -text
dist/feed.png -text dist/feed.png -text
dist/inc-entete.html -text dist/inc-entete.html -text
dist/inc-forum.html -text dist/inc-forum.html -text
dist/inc-head.html -text
dist/inc-petition.html -text dist/inc-petition.html -text
dist/inc-pied.html -text dist/inc-pied.html -text
dist/inc-rubriques.html -text dist/inc-rubriques.html -text
......
...@@ -2,17 +2,10 @@ ...@@ -2,17 +2,10 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title><:icone_agenda:> - [(#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre=<:icone_agenda:>}{descriptif=#DESCRIPTIF_SITE_SPIP}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#DESCRIPTIF_SITE_SPIP|couper{150}|attribut_html)" />]
<meta name="robots" content="none" /> <meta name="robots" content="none" />
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<link rel="stylesheet" href="#CHEMIN{calendrier.css}" type="text/css" />
<script type="text/javascript" src="#EVAL{_DIR_IMG_PACK}layer.js"></script>
<script type="text/javascript" src="#EVAL{_DIR_IMG_PACK}presentation.js"></script>
</head> </head>
<body class="page_agenda"> <body id="page_agenda">
[(#ENV{type, mois}|agenda_connu)<INCLURE {fond=agenda_#ENV{type,mois}} {type} {delais=900} {annee} {mois} {jour} {echelle} {partie_cal} {theme}>] [(#ENV{type, mois}|agenda_connu)<INCLURE {fond=agenda_#ENV{type,mois}} {type} {delais=900} {annee} {mois} {jour} {echelle} {partie_cal} {theme}>]
</body></html> </body></html>
\ No newline at end of file
...@@ -2,21 +2,7 @@ ...@@ -2,21 +2,7 @@
<BOUCLE_article_principal(ARTICLES) {id_article}><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <BOUCLE_article_principal(ARTICLES) {id_article}><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title>[(#TITRE|textebrut)][ - (#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre}{descriptif=#INTRODUCTION}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#INTRODUCTION|couper{150}|attribut_html)" />]
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Lien vers le backend pour navigateurs eclaires -->
<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="#URL_PAGE{backend}" />
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_article"> <body class="page_article">
......
...@@ -3,18 +3,7 @@ ...@@ -3,18 +3,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title>[(#NOM|textebrut)][ - (#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre=#NOM}{descriptif=#BIO}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#BIO|couper{150}|attribut_html)" />]
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_auteur"> <body class="page_auteur">
......
...@@ -3,21 +3,7 @@ ...@@ -3,21 +3,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title>[(#TITRE|textebrut)][ - (#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre}{descriptif=#INTRODUCTION}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#INTRODUCTION|couper{150}|attribut_html)" />]
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Lien vers le backend pour navigateurs eclaires -->
<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="#URL_PAGE{backend-breves}" />
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_mot"> <body class="page_mot">
......
...@@ -3,18 +3,8 @@ ...@@ -3,18 +3,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title><:poster_message:> - [(#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre=<:poster_message:>}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
<meta name="robots" content="none" /> <meta name="robots" content="none" />
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_forum"> <body class="page_forum">
......
...@@ -45,6 +45,7 @@ h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: 1em; font-weight: nor ...@@ -45,6 +45,7 @@ h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: 1em; font-weight: nor
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
#page_agenda { text-align: left;}
#conteneur { width: 100%; } #conteneur { width: 100%; }
......
#CACHE{86400}
<title>[(#ENV{titre}|textebrut) - ][(#NOM_SITE_SPIP|textebrut)]</title>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#ENV{descriptif}|couper{150}|attribut_html)" />]
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Lien vers le backend pour navigateurs eclaires -->
<link rel="alternate" type="application/rss+xml" title="[(#ID_RUBRIQUE|?{<:syndiquer_rubrique:>,<:syndiquer_site:>})]" href="[(#URL_PAGE{backend}|parametre_url{id_rubrique,#ID_RUBRIQUE})]" />
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
#INSERT_HEAD
\ No newline at end of file
...@@ -3,21 +3,7 @@ ...@@ -3,21 +3,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title>[(#TITRE|textebrut)][ - (#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre}{descriptif}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#DESCRIPTIF|sinon{#TEXTE}|couper{150}|attribut_html)" />]
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Lien vers le backend pour navigateurs eclaires -->
<link rel="alternate" type="application/rss+xml" title="<:syndiquer_rubrique:>" href="#URL_PAGE{backend,id_rubrique=#ID_MOT}" />
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_mot"> <body class="page_mot">
......
...@@ -2,19 +2,8 @@ ...@@ -2,19 +2,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title><:plan_site:> - [(#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre=<:plan_site:>}{descriptif=#DESCRIPTIF_SITE_SPIP}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#DESCRIPTIF_SITE_SPIP|couper{150}|attribut_html)" />]
<meta name="robots" content="none" /> <meta name="robots" content="none" />
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_plan"> <body class="page_plan">
......
...@@ -3,18 +3,8 @@ ...@@ -3,18 +3,8 @@
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title><:resultats_recherche:> - [(#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre=<:resultats_recherche:>}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
<meta name="robots" content="none" /> <meta name="robots" content="none" />
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_recherche"> <body class="page_recherche">
......
...@@ -3,21 +3,7 @@ ...@@ -3,21 +3,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title>[(#TITRE|textebrut)][ - (#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre}{descriptif=#INTRODUCTION}{id_rubrique}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#INTRODUCTION|couper{150}|attribut_html)" />]
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Lien vers le backend pour navigateurs eclaires -->
<link rel="alternate" type="application/rss+xml" title="<:syndiquer_rubrique:>" href="#URL_PAGE{backend,id_rubrique=#ID_RUBRIQUE}" />
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_rubrique"> <body class="page_rubrique">
......
...@@ -4,19 +4,8 @@ ...@@ -4,19 +4,8 @@
[(#REM) Les sites n'ont pas de "lang" a proprement parler ; on se base donc sur la langue de la rubrique qui les contient. Les articles syndiques, eux, ont une "lang". ] [(#REM) Les sites n'ont pas de "lang" a proprement parler ; on se base donc sur la langue de la rubrique qui les contient. Les articles syndiques, eux, ont une "lang". ]
<BOUCLE_lang(RUBRIQUES){id_rubrique}><html dir="#LANG_DIR" lang="#LANG"></BOUCLE_lang> <BOUCLE_lang(RUBRIQUES){id_rubrique}><html dir="#LANG_DIR" lang="#LANG"></BOUCLE_lang>
<head> <head>
<title>[(#NOM_SITE|textebrut)][ - (#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{titre=#NOM_SITE}{descriptif}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#DESCRIPTIF|couper{150}|attribut_html)" />]
<meta name="robots" content="none" /> <meta name="robots" content="none" />
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_site"> <body class="page_site">
......
...@@ -2,21 +2,7 @@ ...@@ -2,21 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="#LANG_DIR" lang="#LANG"> <html dir="#LANG_DIR" lang="#LANG">
<head> <head>
<title>[(#NOM_SITE_SPIP|textebrut)]</title> <INCLURE{fond=inc-head}{descriptif=#DESCRIPTIF_SITE_SPIP}>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
[<meta name="description" content="(#DESCRIPTIF_SITE_SPIP|couper{150}|attribut_html)" />]
<meta name="generator" content="SPIP" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
<!-- Lien vers le backend pour navigateurs eclaires -->
<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="#URL_PAGE{backend}" />
<!-- Ceci est la feuille de style par defaut pour le code genere par SPIP -->
<link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css" media="all" />
<!-- Feuille de styles CSS pour l'affichage du site sur ecran -->
<link rel="stylesheet" href="[(#CHEMIN{habillage.css}|direction_css)]" type="text/css" media="projection, screen, tv" />
<!-- Feuille de styles CSS pour l'impression -->
<link rel="stylesheet" href="[(#CHEMIN{impression.css}|direction_css)]" type="text/css" media="print" />
</head> </head>
<body class="page_sommaire"> <body class="page_sommaire">
......
...@@ -168,24 +168,25 @@ $controler_dates_rss = true; ...@@ -168,24 +168,25 @@ $controler_dates_rss = true;
# note: un pipeline non reference se compile aussi, mais uniquement # note: un pipeline non reference se compile aussi, mais uniquement
# lorsqu'il est rencontre # lorsqu'il est rencontre
$spip_pipeline = array( $spip_pipeline = array(
'pre_typo' => '|extraire_multi', 'affichage_final' => '|f_surligne|f_tidy|f_admin', # cf. public/assembler
'post_typo' => '|quote_amp', 'affiche_droite' => '',
'pre_propre' => '|extraire_multi', 'affiche_gauche' => '',
'post_propre' => '', 'affiche_milieu' => '',
'nettoyer_raccourcis_typo' => '',
'pre_indexation' => '',
'pre_syndication' => '',
'post_syndication' => '',
'ajouter_boutons' => '', 'ajouter_boutons' => '',
'ajouter_onglets' => '', 'ajouter_onglets' => '',
'header_prive' => '',
'body_prive' => '', 'body_prive' => '',
'exec_init' => '', 'exec_init' => '',
'affiche_gauche' => '', 'header_prive' => '',
'affiche_droite' => '', 'insert_head' => '',
'affiche_milieu' => '', 'nettoyer_raccourcis_typo' => '',
'pre_indexation' => '',
'pre_propre' => '|extraire_multi',
'pre_syndication' => '',
'pre_typo' => '|extraire_multi',
'post_propre' => '',
'post_syndication' => '',
'post_typo' => '|quote_amp',
'rendu_evenement' => '', 'rendu_evenement' => '',
'affichage_final' => '|f_surligne|f_tidy|f_admin', # cf. public/assembler
'taches_generales_cron' => '' 'taches_generales_cron' => ''
); );
......
...@@ -1089,4 +1089,16 @@ function balise_CACHE_dist($p) { ...@@ -1089,4 +1089,16 @@ function balise_CACHE_dist($p) {
return $p; return $p;
} }
?> //
// #INSERT_HEAD
// pour permettre aux plugins d'inserer des styles, js ou autre
// dans l'entete sans modification du squelette
// #INSERT_HEAD
//
function balise_INSERT_HEAD_dist($p) {
$p->code = "pipeline('insert_head','')";
$p->interdire_scripts = false;
return $p;
}
?>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter