From 6055ffac1299dc682a6ea2a3708088cbe74ebfa9 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Sat, 26 Feb 2005 12:00:34 +0000
Subject: [PATCH] attributs DIR dans <html> plutot que <body> (N. Krebs)

---
 dist/404.html            | 6 +++---
 dist/article.html        | 6 +++---
 dist/auteur.html         | 6 +++---
 dist/breve.html          | 4 ++--
 dist/forum.html          | 4 ++--
 dist/login.html          | 4 ++--
 dist/mot.html            | 4 ++--
 dist/nouveautes.html     | 2 +-
 dist/plan.html           | 4 ++--
 dist/recherche.html      | 4 ++--
 dist/resume.html         | 4 ++--
 dist/rubrique.html       | 4 ++--
 dist/site.html           | 6 ++----
 dist/sommaire.html       | 4 ++--
 dist/sommaire_texte.html | 4 ++--
 15 files changed, 32 insertions(+), 34 deletions(-)

diff --git a/dist/404.html b/dist/404.html
index 2eedcf5949..5f45f33a1c 100644
--- a/dist/404.html
+++ b/dist/404.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 	<title>[#NOM_SITE_SPIP - <:pass_erreur:> 404]</title>
 	<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -14,7 +14,7 @@
 	<link rel="stylesheet" href="habillage.css" type="text/css" media="print, projection, screen, tv">
 
 </head>
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 
 
@@ -47,4 +47,4 @@
 #SPIP_CRON
 
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/dist/article.html b/dist/article.html
index d32348084b..aba3158e7b 100644
--- a/dist/article.html
+++ b/dist/article.html
@@ -1,5 +1,5 @@
 <BOUCLE_article_principal(ARTICLES) {id_article}><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#TITRE|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -15,7 +15,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 <div id="navigation">
 
 <h1 class="structure"><:navigation:></h1>
@@ -311,4 +311,4 @@
 
 </body>
 </html>
-</BOUCLE_article_principal>
\ No newline at end of file
+</BOUCLE_article_principal>
diff --git a/dist/auteur.html b/dist/auteur.html
index 40f3978d21..40e0b5b632 100644
--- a/dist/auteur.html
+++ b/dist/auteur.html
@@ -1,6 +1,6 @@
 <BOUCLE_auteur_principal(AUTEURS) {id_auteur}
 ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#NOM|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -17,7 +17,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white">
+<body>
 
 <div id="navigation">
 
@@ -65,7 +65,7 @@
 </div>
 
 [<p><b><:envoyer_message:></b></p>
-<div class='spip_encadrer'><b>(#FORMULAIRE_ECRIRE_AUTEUR)</b></div>]
+<div class='spip_encadrer'>(#FORMULAIRE_ECRIRE_AUTEUR)</div>]
 
 <!-- Articles de l'auteur -->
 
diff --git a/dist/breve.html b/dist/breve.html
index 164a92e3b8..694cf191e5 100644
--- a/dist/breve.html
+++ b/dist/breve.html
@@ -1,6 +1,6 @@
 <BOUCLE_breve_principal(BREVES) {id_breve}
 ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>#TITRE</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -17,7 +17,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 
 <div id="navigation">
diff --git a/dist/forum.html b/dist/forum.html
index aff66db151..a5cf73c2de 100644
--- a/dist/forum.html
+++ b/dist/forum.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[#NOM_SITE_SPIP] <:poster_message:></title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -14,7 +14,7 @@
 <link rel="stylesheet" href="habillage.css" type="text/css" media="print, projection, screen, tv">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 
 <div id="navigation">
diff --git a/dist/login.html b/dist/login.html
index aed86c2931..981a66c16d 100644
--- a/dist/login.html
+++ b/dist/login.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 	<title><:login_acces_prive:></title>
 	<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
 	<link rel="stylesheet" href="spip_style.css" type="text/css">
 </head>
-<body dir="#LANG_DIR" bgcolor="#ffffff" text="#000000" link="#e86519" vlink="#6e003a" alink="#ff9900">
+<body bgcolor="#ffffff" text="#000000" link="#e86519" vlink="#6e003a" alink="#ff9900">
 
 <br><br><br><center><table width="400"><tr><td width="400">
 <div align="center">
diff --git a/dist/mot.html b/dist/mot.html
index 87443b1188..f449c0c70a 100644
--- a/dist/mot.html
+++ b/dist/mot.html
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <BOUCLE_mot_principal(MOTS) {id_mot} {doublons}>
 
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#TITRE|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -18,7 +18,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/nouveautes.html b/dist/nouveautes.html
index 4317522d0c..610af13aed 100644
--- a/dist/nouveautes.html
+++ b/dist/nouveautes.html
@@ -32,4 +32,4 @@
 
 -> #URL_SITE_SPIP/#URL_BREVE
 
-</BOUCLE_nv2></BOUCLE0>
\ No newline at end of file
+</BOUCLE_nv2></BOUCLE0>
diff --git a/dist/plan.html b/dist/plan.html
index 73462708c9..57a151100d 100644
--- a/dist/plan.html
+++ b/dist/plan.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[#NOM_SITE_SPIP] </title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -14,7 +14,7 @@
 <link rel="stylesheet" href="habillage.css" type="text/css" media="print, projection, screen, tv">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 
 <!-- Plan du site -->
diff --git a/dist/recherche.html b/dist/recherche.html
index 394e178d0d..614a6c9cc1 100644
--- a/dist/recherche.html
+++ b/dist/recherche.html
@@ -1,6 +1,6 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title><:resultats_recherche:></title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -17,7 +17,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/resume.html b/dist/resume.html
index d068902b74..d6558aab30 100644
--- a/dist/resume.html
+++ b/dist/resume.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[#NOM_SITE_SPIP] </title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -14,7 +14,7 @@
 <link rel="stylesheet" href="habillage.css" type="text/css" media="print, projection, screen, tv">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/rubrique.html b/dist/rubrique.html
index 3826066c2e..ae02d27cd6 100644
--- a/dist/rubrique.html
+++ b/dist/rubrique.html
@@ -1,6 +1,6 @@
 <BOUCLE_rubrique_principal(RUBRIQUES) {id_rubrique}
 ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#TITRE|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -20,7 +20,7 @@
 <link rel="alternate" type="application/rss+xml" title="<:syndiquer_rubrique:>" href="backend.php3?id_rubrique=#ID_RUBRIQUE">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/site.html b/dist/site.html
index aaa44b9c22..94eb5f87dd 100644
--- a/dist/site.html
+++ b/dist/site.html
@@ -1,8 +1,6 @@
 <BOUCLE_site(SITES){id_syndic}
 ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[(#NOM_SITE|textebrut)]</title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -19,7 +17,7 @@
 <link rel="stylesheet" href="impression.css" type="text/css" media="print">
 </head>
 
-<body bgcolor="white">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/sommaire.html b/dist/sommaire.html
index 0a249bf0b5..0847783e1b 100644
--- a/dist/sommaire.html
+++ b/dist/sommaire.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <head>
 <title>[#NOM_SITE_SPIP] </title>
 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
@@ -17,7 +17,7 @@
 <link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="backend.php3">
 </head>
 
-<body bgcolor="white" dir="#LANG_DIR">
+<body>
 
 <div id="navigation">
 
diff --git a/dist/sommaire_texte.html b/dist/sommaire_texte.html
index 82b26d985a..460ddef181 100644
--- a/dist/sommaire_texte.html
+++ b/dist/sommaire_texte.html
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="#LANG">
+<html dir="#LANG_DIR" lang="#LANG">
 <!--
 // ACCESSIBILITE
 // la page /oo offre une lecture en mode "texte seul"
@@ -13,7 +13,7 @@
 	<meta http-equiv="AUTHOR" content="#NOM_SITE_SPIP">
 	<meta http-equiv="DESCRIPTION" content="Edition en mode texte de #NOM_SITE_SPIP">
 </head>
-<body dir="#LANG_DIR">
+<body>
 	<hr />
 	<:edition_mode_texte:> <a href="#URL_SITE_SPIP">{#NOM_SITE_SPIP}</a>
 	<hr />
-- 
GitLab