diff --git a/.gitattributes b/.gitattributes index b948691fa7a43c7bb1683435e36b93473c6c2ec0..aede9707e116536423206e3d3296fd7ed1c6c650 100644 --- a/.gitattributes +++ b/.gitattributes @@ -721,7 +721,6 @@ polices/Fontin_Sans_B_45b.ttf -text polices/Fontin_Sans_R_45b.ttf -text polices/police_vignettes_portail.ttf -text /popup_musique.html -text -prive/css/soyezcreateurs_espace_prive.css -text prive/exec/sc_aide.html -text prive/exec/sc_bannieres.html -text prive/exec/sc_vide.html -text @@ -732,6 +731,7 @@ prive/squelettes/inclure/configurer_soyezcreateurs_google.html -text prive/squelettes/inclure/configurer_soyezcreateurs_layout.html -text prive/squelettes/navigation/configurer_soyezcreateurs.html -text prive/squelettes/top/configurer_soyezcreateurs.html -text +prive/style_prive_plugin_soyezcreateurs.html -text prive/themes/spip/images/soyezcreateurs-16.png -text prive/themes/spip/images/soyezcreateurs_help-16.png -text prive/themes/spip/images/soyezcreateurs_help-48.png -text diff --git a/prive/css/soyezcreateurs_espace_prive.css b/prive/style_prive_plugin_soyezcreateurs.html similarity index 50% rename from prive/css/soyezcreateurs_espace_prive.css rename to prive/style_prive_plugin_soyezcreateurs.html index 2c0644bfd36f2f73095d9abc62e6da90dfac6923..19f1ef54a7d00b5ccd40ddf82fb96b838b5641dd 100644 --- a/prive/css/soyezcreateurs_espace_prive.css +++ b/prive/style_prive_plugin_soyezcreateurs.html @@ -1,3 +1,7 @@ +#CACHE{3600*100,cache-client} +#HTTP_HEADER{Content-Type: text/css; charset=utf-8} +#HTTP_HEADER{Vary: Accept-Encoding} + .formulaire_spip .editer.associer_mot > label { display: block; float: none; diff --git a/soyezcreateurs_options.php b/soyezcreateurs_options.php index 3cbcd43dd161b91d2efe61ab4647c0c79111b801..0edc650b8bf12471a7c59a70cf24f50981938918 100644 --- a/soyezcreateurs_options.php +++ b/soyezcreateurs_options.php @@ -174,11 +174,3 @@ if (!defined('_DIR_PLUGIN_CRITERE_MOTS')) { return true; } } - -$GLOBALS['spip_pipeline']['header_prive'] .= "|header_prive_soyezcreateurs"; - -function header_prive_soyezcreateurs($flux) { - $flux .= '<link rel="stylesheet" type="text/css" href="'.find_in_path('prive/css/soyezcreateurs_espace_prive.css').'" media="all" />'; - #$flux .= '<script type="text/javascript" src="'.find_in_path('soyezcreateurs_espace_prive.js').'"></script>'; - return $flux; -} \ No newline at end of file