diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php index 4169f61d09c5ad5bcce3279d5ffaf8c273be2cf5..f3adc982a09d1730a8dae7ea69e6e227c7db6c91 100644 --- a/ecrire/inc/utils.php +++ b/ecrire/inc/utils.php @@ -1039,7 +1039,7 @@ function spip_initialisation($pi=NULL, $pa=NULL, $ti=NULL, $ta=NULL) { static $too_late = 0; if ($too_late++) return; - + define('_DIR_IMG', $pa); define('_DIR_LOGOS', $pa); define('_DIR_IMG_ICONES', _DIR_LOGOS . "icones/"); diff --git a/prive/style_prive.html b/prive/style_prive.html index 1d3b661f8b275a6a13f6e37a6385bb79bbd465c0..3b11b1c50076cf83d81413bf7e6a622ceace04fe 100644 --- a/prive/style_prive.html +++ b/prive/style_prive.html @@ -130,7 +130,7 @@ select.fondl { padding: 0; } #bandeau-principal a {cursor:hand;} #bandeau-principal a .icon_fond { width: 48px; height: 48px; background: #GET{claire}; margin: auto; } #bandeau-principal a.selection .icon_fond { width: 48px; margin:auto } -#bandeau-principal a:hover span.icon_fond { background:url(#EVAL{ _DIR_IMG_PACK}fond-gris-anim.gif); width: 48px; height: 48px; margin: auto; } +#bandeau-principal a:hover span.icon_fond { background:url([(#CHEMIN{[(#EVAL{ _DIR_IMG_PACK})fond-gris-anim.gif]}|url_absolue)]); width: 48px; height: 48px; margin: auto; } #bandeau-principal li.boutons_admin:hover .bandeau_sec, #bandeau-principal li.boutons_admin.sfhover .bandeau_sec { display: block; } #bandeau-principal span.icon_fond span { background: center top no-repeat; height: 48px; display: block; width: 48px; margin: 0; } diff --git a/prive/style_prive_fonctions.php b/prive/style_prive_fonctions.php index 86753e56c02873b838392863183842c97625a5fb..a55348a03e9d65cbff9450caadc4272e0bd91c32 100644 --- a/prive/style_prive_fonctions.php +++ b/prive/style_prive_fonctions.php @@ -1,7 +1,7 @@ <?php function image_bg ($img, $couleur, $pos="") { - if (function_exists("imagecreatetruecolor")) return "background: url(".extraire_attribut(image_sepia($img, $couleur), "src").") $pos;"; + if (function_exists("imagecreatetruecolor")) return "background: url(".url_absolue(extraire_attribut(image_sepia($img, $couleur), "src")).") $pos;"; else return "background-color: #$couleur;"; } diff --git a/prive/style_vieilles_def.html b/prive/style_vieilles_def.html index ccb2a55a1d09b6a57046a61eec4cead924ff611d..3d00e40c4b86a74d684270b34a0d6f8b20669ada 100644 --- a/prive/style_vieilles_def.html +++ b/prive/style_vieilles_def.html @@ -50,8 +50,8 @@ /* * Formulaires */ -.forml { margin-top: 0px; width: 100%; display: block; padding: 3px; background-color: #f0f0f0; border: 1px solid #GET{claire}; background-position: center bottom; float: none; behavior: url(../dist/win_width.htc); font-size: 12px; } -.formo { margin-top: 0px; width: 100%; display: block; padding: 3px; background-color: #FFF; border: 1px solid #GET{claire}; background-position: center bottom; float: none; behavior: url(../dist/win_width.htc); font-size: 12px; } +.forml { margin-top: 0px; width: 100%; display: block; padding: 3px; background-color: #f0f0f0; border: 1px solid #GET{claire}; background-position: center bottom; float: none; behavior: url([(#CHEMIN{win_width.htc}|url_absolue)]); font-size: 12px; } +.formo { margin-top: 0px; width: 100%; display: block; padding: 3px; background-color: #FFF; border: 1px solid #GET{claire}; background-position: center bottom; float: none; behavior: url([(#CHEMIN{win_width.htc}|url_absolue)]); font-size: 12px; } .fondl { margin-top: 0px; padding: 3px; background-color: #e4e4e4; border: 1px solid #GET{claire}; background-position: center bottom; float: none; font-size: 11px; } .fondo { margin-top: 0px;