[Kos-cvs] kos-web/include header.php,1.5,1.6

thomas at kos.enix.org thomas at kos.enix.org
Wed Dec 29 00:16:16 CET 2004


Update of /var/cvs/kos/kos-web/include
In directory the-doors:/tmp/cvs-serv23556

Modified Files:
	header.php 
Log Message:
On commence un peu de ménage.


Index: header.php
===================================================================
RCS file: /var/cvs/kos/kos-web/include/header.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- header.php	28 Dec 2004 23:11:28 -0000	1.5
+++ header.php	28 Dec 2004 23:16:14 -0000	1.6
@@ -12,24 +12,27 @@
   /* Default language is French */
   if ($lang == "")
     $lang = "fr";
-  
+
   /* Fetch the title */
   $title = $title_array[$lang];
-  
+
   if($title == "")
     $title = $toc_entry;
 
   /* Beginning HTML tags, and title */
+  echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">";
   echo "<html>\n";
-  echo "<head><title>";
+  echo "<head>\n";
+  echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n";
 
   if ($lang == "en")
-    echo "Welcome to the KOS project web site [$title]";
+    echo "<title>Welcome to the KOS project web site [$title]</title>";
   else
-    echo "Bienvenue sur le site officiel du projet KOS [$title]";
+    echo "<title>Bienvenue sur le site officiel du projet KOS [$title]</title>";
+
+  echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"./site.css\"/>";
+  echo "</head>";
 
-  echo "</title>\n";
-  
   echo "<style type=\"text/css\">
         a.other_topic {
           font-weight: bold;
@@ -51,12 +54,12 @@
 
   /* Logo */
   echo "<center>\n";
-  echo "<img src=\"/images/kosmain1.jpg\" 
+  echo "<img src=\"/images/kosmain1.jpg\"
              alt=\"KOS.ENIX.ORG\" align=\"top\" border=0>\n";
   echo "</center>\n";
-  
+
   echo $more_space;
-  
+
   /* Languages */
   echo "<center>\n";
   foreach ($lang_array as $l => $ll) {
@@ -66,7 +69,7 @@
       echo "[<a href=\"$SCRIPT_NAME?lang=$l\">$ll</a>] ";
   }
   echo "</center>\n";
-  
+
   echo $more_space;
 
   /* Beginning of the huge table */



More information about the Kos-cvs mailing list