From acd637da44255e4b03a0247bb9ab18a8434fdef6 Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Tue, 18 Feb 2003 23:19:56 +0000 Subject: [PATCH] =?UTF-8?q?test=20pour=20l'arabe=20(pas=20concluant,=20?= =?UTF-8?q?=C3=A0=20mon=20avis...)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc_presentation.php3 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3 index 52a78291c3..f69e99e86e 100644 --- a/ecrire/inc_presentation.php3 +++ b/ecrire/inc_presentation.php3 @@ -864,6 +864,7 @@ function bouton($titre,$lien) { function debut_html($titre = "") { global $couleur_foncee, $couleur_claire, $couleur_lien, $couleur_lien_off; global $flag_ecrire; + global $spip_lang; $nom_site_spip = entites_html(lire_meta("nom_site")); $titre = textebrut(typo($titre)); @@ -890,8 +891,11 @@ function changeclass(objet, myClass) } //--></script> </head> -<body text="#000000" bgcolor="#e4e4e4" background="img_pack/degrade.jpg" link="<?php echo $couleur_lien; ?>" vlink="<?php echo $couleur_lien_off; ?>" alink="<?php echo $couleur_lien_off ?>" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> -<?php +<body text="#000000" bgcolor="#e4e4e4" background="img_pack/degrade.jpg" link="<?php echo $couleur_lien; ?>" vlink="<?php echo $couleur_lien_off; ?>" alink="<?php echo $couleur_lien_off ?>" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"<?php + + if ($spip_lang == 'ar') + echo " dir='rtl'"; + echo ">"; } // Fonctions onglets -- GitLab