Browse Source

un pipeline header_prive_css pour inserer les css de bases ou js inline pre-css

spip-3-stable
Cerdic 12 years ago
parent
commit
5b058732ca
  1. 1
      ecrire/core.xml
  2. 1
      prive/squelettes/inclure/head.html

1
ecrire/core.xml

@ -243,6 +243,7 @@
<action>f_jQuery_prive</action>
<inclure>inc/pipelines_ecrire.php</inclure>
</pipeline>
<pipeline><nom>header_prive_css</nom><action></action></pipeline>
<pipeline><nom>image_preparer_filtre</nom><action></action></pipeline>
<pipeline><nom>insert_head</nom>
<action>f_jQuery</action>

1
prive/squelettes/inclure/head.html

@ -14,6 +14,7 @@ function test_accepte_ajax(){jQuery.ajax({"url":"[(#URL_ECRIRE{test_ajax,js=1}|r
var stat = [(#CONFIG{activer_statistiques}|=={non}|?{0,1})];
var confirm_changer_statut = '<:confirm_changer_statut|html2unicode|addslashes|unicode_to_javascript:>';
/*]]>*/</script>
#PIPELINE{header_prive_css,''}
[
(#REM) CSS de secours en cas de non fonct de la suivante
][<link rel="stylesheet" type="text/css" href="(#CHEMIN{style_prive_defaut.css}|url_absolue)" id="cssprivee" />]

Loading…
Cancel
Save