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

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


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

Modified Files:
	header.php 
Log Message:
Début de migration vers un truc propre.


Index: header.php
===================================================================
RCS file: /var/cvs/kos/kos-web/include/header.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- header.php	28 Dec 2004 23:16:14 -0000	1.6
+++ header.php	28 Dec 2004 23:44:32 -0000	1.7
@@ -7,7 +7,6 @@
   global $lang_array;
   global $topsrcdir;
   global $additional_head;
-  global $more_space;
 
   /* Default language is French */
   if ($lang == "")
@@ -20,61 +19,47 @@
     $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 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n\n";
   echo "<html>\n";
   echo "<head>\n";
   echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n";
 
   if ($lang == "en")
-    echo "<title>Welcome to the KOS project web site [$title]</title>";
+    echo "<title>Welcome to the KOS project web site [$title]</title>\n";
   else
-    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>Bienvenue sur le site officiel du projet KOS [$title]</title>\n";
 
-  echo "<style type=\"text/css\">
-        a.other_topic {
-          font-weight: bold;
-        }
-        a.current_topic {
-          color: black;
-        }
-        li {
-          margin: 1em;
-        }";
-  echo "</style>\n";
+  echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"./site.css\"/>\n";
+  echo "</head>\n\n";
 
   if ($additional_head != "")
     echo $additional_head;
 
-  echo "</head>\n";
-
-  echo "<body bgcolor=\"White\" text=\"Black\" link=\"#1A6170\" vlink=\"#1A6170\" alink=\"Black\">\n";
+  echo "<body>\n";
 
   /* Logo */
-  echo "<center>\n";
-  echo "<img src=\"/images/kosmain1.jpg\"
-             alt=\"KOS.ENIX.ORG\" align=\"top\" border=0>\n";
-  echo "</center>\n";
+  echo " <div id=\"header\">\n";
+  echo "  <img id=\"logo\" src=\"images/kosmain1.jpg\" alt=\"KOS logo\" />\n";
 
-  echo $more_space;
+  echo "<p>";
 
   /* Languages */
-  echo "<center>\n";
   foreach ($lang_array as $l => $ll) {
     if ($lang == $l)
-      echo "[$ll]";
+      echo "[$ll] ";
     else
       echo "[<a href=\"$SCRIPT_NAME?lang=$l\">$ll</a>] ";
   }
-  echo "</center>\n";
 
-  echo $more_space;
+  echo "</p>";
+
+  echo " </div>\n";
 
   /* Beginning of the huge table */
+  /*
   echo "\n<table width=\"100%\" border=0 cellspacing=0 cellpading=0 bgcolor=\"White\">\n";
   echo "<tr>";
+  */
 }
 
 ?>



More information about the Kos-cvs mailing list