diff --git a/dist/style_prive.html b/dist/style_prive.html index 116323003d6653daaa3177622f12712e9a3c240c..ce321db488443a7c2f1c7e9637a2b0e1153bc8b8 100644 --- a/dist/style_prive.html +++ b/dist/style_prive.html @@ -15,7 +15,10 @@ #HTTP_HEADER{Vary: Accept-Encoding} body { font-family: Verdana,Arial,Sans,sans-serif; + color: #000000; + background-color: #f8f7f3; border: none; + margin: 0px; scrollbar-face-color: #fff; scrollbar-shadow-color: #fff; scrollbar-highlight-color: #fff; diff --git a/ecrire/exec/articles_ortho.php b/ecrire/exec/articles_ortho.php index 1d1e1cccaada15337923b3919cf0d2096db5deb1..7cd22e9c69e8d8c3e76bd1c8faa494ccae5873df 100644 --- a/ecrire/exec/articles_ortho.php +++ b/ecrire/exec/articles_ortho.php @@ -276,7 +276,7 @@ function debut_html($titre = "", $rubrique="") { // Fin des entetes echo "\n</head>\n"; - echo "<body ", _ATTRIBUTES_BODY, ">"; + echo "<body", ($GLOBALS['spip_lang_rtl'] ? " dir='rtl'" : ""), ">"; } ?> diff --git a/ecrire/exec/forum_envoi.php b/ecrire/exec/forum_envoi.php index 7909e27c7ca369bc959bb64dac71e14114486818..b95ce973f650cef8e5f0dcfb8ae96aac01b2940f 100644 --- a/ecrire/exec/forum_envoi.php +++ b/ecrire/exec/forum_envoi.php @@ -226,7 +226,6 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s { 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'>" . (!$parent ? '' : "<tr><td colspan='2'>$parent</td></tr>") . "\n<tr>" diff --git a/ecrire/inc/commencer_page.php b/ecrire/inc/commencer_page.php index d9fd2e103ae4842b36674740498dd9559830a35f..aa7e051746522c84feace05d81825ae3c3810573 100644 --- a/ecrire/inc/commencer_page.php +++ b/ecrire/inc/commencer_page.php @@ -82,7 +82,9 @@ function init_body($rubrique='accueil', $sous_rubrique='accueil', $id_rubrique=' 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'>" . 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');\"") diff --git a/ecrire/index.php b/ecrire/index.php index 25ae5ed6d8961a4799f31259a2b38f5cfaf229e5..848bbc28e9348269f14d53d6d3078652d860a7e9 100644 --- a/ecrire/index.php +++ b/ecrire/index.php @@ -155,13 +155,6 @@ if (isset($GLOBALS['_COOKIE']['spip_lang_ecrire'])) { 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); //