[Kos-cvs] kos-web/include toc.php,1.3,1.4

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


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

Modified Files:
	toc.php 
Log Message:
Simplification de la table des matières, étape 1.


Index: toc.php
===================================================================
RCS file: /var/cvs/kos/kos-web/include/toc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- toc.php	28 Dec 2004 23:45:11 -0000	1.3
+++ toc.php	29 Dec 2004 20:10:58 -0000	1.4
@@ -7,6 +7,7 @@
   global $kos_color;
   global $font_face;
 
+  /*
   echo "<table border=\"0\" cellspacing=\"1\"
                cellpadding=\"2\" width=\"100%\">\n";
   echo "<tr><td align=\"center\"
@@ -23,12 +24,17 @@
                cellspacing=\"0\" cellpadding=\"3\" \
                border=\"0\">\n";
   echo "<tr><td><font $font_face>\n";
+  */
+
+  echo "<h1>" . $name . "</h1>";
+
 }
 
 function make_subtopic($name)
 {
   global $font_face, $kos_color;
 
+  /*
   echo "<table border=\"0\" cellspacing=\"1\"
                cellpadding=\"0\" width=\"100%\">\n";
   echo "<tr bgcolor=\"#E0E0E0\"><td align=\"center\">\n";
@@ -36,14 +42,20 @@
   echo "<font color=$kos_color><b>$name</b></font>\n";
 
   echo "</td></tr></table>\n";
+  */
+
+  echo "<h2>" . $name . "</h2>";
+
 }
 
 function end_topic()
 {
+  /*
   echo "</font>\n";
   echo "</td></tr></table>\n";
   echo "</td></tr></table>\n";
   echo "<br>\n";
+  */
 }
 
 function make_toc($title,$toc_entry,$url,$current)



More information about the Kos-cvs mailing list