diff --git a/.gitattributes b/.gitattributes index 8e34d1e19277ada4ac376af7e032fe92a896161a..b948691fa7a43c7bb1683435e36b93473c6c2ec0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -721,6 +721,7 @@ 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 diff --git a/prive/css/soyezcreateurs_espace_prive.css b/prive/css/soyezcreateurs_espace_prive.css new file mode 100644 index 0000000000000000000000000000000000000000..2c0644bfd36f2f73095d9abc62e6da90dfac6923 --- /dev/null +++ b/prive/css/soyezcreateurs_espace_prive.css @@ -0,0 +1,6 @@ +.formulaire_spip .editer.associer_mot > label { + display: block; + float: none; + width: auto; + margin-top: 0; +} \ No newline at end of file diff --git a/soyezcreateurs_options.php b/soyezcreateurs_options.php index 0edc650b8bf12471a7c59a70cf24f50981938918..3cbcd43dd161b91d2efe61ab4647c0c79111b801 100644 --- a/soyezcreateurs_options.php +++ b/soyezcreateurs_options.php @@ -174,3 +174,11 @@ 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