Skip to content
Extraits de code Groupes Projets
Valider afaaef00 rédigé par esj's avatar esj
Parcourir les fichiers

Conformité XHTML: évacuation vers la CSS des attributs de la balise body.

parent c529c8ce
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -15,7 +15,10 @@ ...@@ -15,7 +15,10 @@
#HTTP_HEADER{Vary: Accept-Encoding} #HTTP_HEADER{Vary: Accept-Encoding}
body { body {
font-family: Verdana,Arial,Sans,sans-serif; font-family: Verdana,Arial,Sans,sans-serif;
color: #000000;
background-color: #f8f7f3;
border: none; border: none;
margin: 0px;
scrollbar-face-color: #fff; scrollbar-face-color: #fff;
scrollbar-shadow-color: #fff; scrollbar-shadow-color: #fff;
scrollbar-highlight-color: #fff; scrollbar-highlight-color: #fff;
......
...@@ -276,7 +276,7 @@ function debut_html($titre = "", $rubrique="") { ...@@ -276,7 +276,7 @@ function debut_html($titre = "", $rubrique="") {
// Fin des entetes // Fin des entetes
echo "\n</head>\n"; echo "\n</head>\n";
echo "<body ", _ATTRIBUTES_BODY, ">"; echo "<body", ($GLOBALS['spip_lang_rtl'] ? " dir='rtl'" : ""), ">";
} }
?> ?>
...@@ -226,7 +226,6 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s ...@@ -226,7 +226,6 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s
{ {
global $spip_lang_rtl; global $spip_lang_rtl;
spip_log("forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_site, $url_site");
return "\n<table width='100%' cellpadding='0' cellspacing='0' border='0'>" return "\n<table width='100%' cellpadding='0' cellspacing='0' border='0'>"
. (!$parent ? '' : "<tr><td colspan='2'>$parent</td></tr>") . (!$parent ? '' : "<tr><td colspan='2'>$parent</td></tr>")
. "\n<tr>" . "\n<tr>"
......
...@@ -82,7 +82,9 @@ function init_body($rubrique='accueil', $sous_rubrique='accueil', $id_rubrique=' ...@@ -82,7 +82,9 @@ function init_body($rubrique='accueil', $sous_rubrique='accueil', $id_rubrique='
if ($spip_ecran == "large") $largeur = 974; else $largeur = 750; if ($spip_ecran == "large") $largeur = 974; else $largeur = 750;
$res = pipeline('body_prive',"<body class='$rubrique $sous_rubrique'". _ATTRIBUTES_BODY . '>') $res = pipeline('body_prive',"<body class='$rubrique $sous_rubrique'"
. ($GLOBALS['spip_lang_rtl'] ? " dir='rtl'" : "")
.'>')
. "\n<div><map name='map_layout' id='map_layout'>" . "\n<div><map name='map_layout' id='map_layout'>"
. lien_change_var (self(), 'set_disp', 1, '1,0,18,15', _T('lien_afficher_texte_seul'), "onmouseover=\"changestyle('bandeauvide');\" onfocus=\"changestyle('bandeauvide');\" onblur=\"changestyle('bandeauvide');\"") . lien_change_var (self(), 'set_disp', 1, '1,0,18,15', _T('lien_afficher_texte_seul'), "onmouseover=\"changestyle('bandeauvide');\" onfocus=\"changestyle('bandeauvide');\" onblur=\"changestyle('bandeauvide');\"")
. lien_change_var (self(), 'set_disp', 2, '19,0,40,15', _T('lien_afficher_texte_icones'), "onmouseover=\"changestyle('bandeauvide');\" onfocus=\"changestyle('bandeauvide');\" onblur=\"changestyle('bandeauvide');\"") . lien_change_var (self(), 'set_disp', 2, '19,0,40,15', _T('lien_afficher_texte_icones'), "onmouseover=\"changestyle('bandeauvide');\" onfocus=\"changestyle('bandeauvide');\" onblur=\"changestyle('bandeauvide');\"")
......
...@@ -155,13 +155,6 @@ if (isset($GLOBALS['_COOKIE']['spip_lang_ecrire'])) { ...@@ -155,13 +155,6 @@ if (isset($GLOBALS['_COOKIE']['spip_lang_ecrire'])) {
utiliser_langue_visiteur(); utiliser_langue_visiteur();
define ('_ATTRIBUTES_BODY', "
link='" . $GLOBALS['couleurs_spip'][$choix_couleur]['couleur_lien'] . "'
vlink='" . $GLOBALS['couleurs_spip'][$choix_couleur]['couleur_lien_off'] ."'
alink='" . $GLOBALS['couleurs_spip'][$choix_couleur]['couleur_lien_off'] ."'
style='margin: 0px; background-color: #f8f7f3; color: #000000'" .
($GLOBALS['spip_lang_rtl'] ? " dir='rtl'" : ""));
define('_TRANCHES', 10); define('_TRANCHES', 10);
// //
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter