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

thomas at kos.enix.org thomas at kos.enix.org
Wed Dec 29 21:23:45 CET 2004


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

Modified Files:
	toc.php 
Log Message:
Quelques modifs mineures.


Index: toc.php
===================================================================
RCS file: /var/cvs/kos/kos-web/include/toc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- toc.php	29 Dec 2004 20:16:58 -0000	1.5
+++ toc.php	29 Dec 2004 20:23:42 -0000	1.6
@@ -4,18 +4,18 @@
 
 function start_topic($name)
 {
-  echo "<div class=\"toc-topic\">\n";
-  echo "<h1>" . $name . "</h1>\n";
+  echo " <div class=\"toc-topic\">\n";
+  echo " <h1>" . $name . "</h1>\n";
 }
 
 function make_subtopic($name)
 {
-  echo "<h2>" . $name . "</h2>\n";
+  echo "  <h2>" . $name . "</h2>\n";
 }
 
 function end_topic()
 {
-  echo "</div>";
+  echo " </div>\n\n";
 }
 
 function make_toc($title,$toc_entry,$url,$current)
@@ -23,9 +23,9 @@
   global $lang;
 
   if($current == $toc_entry)
-    echo "<a class=\"current_topic\" href=\"$url?lang=$lang\">$title</a><br>\n";
+    echo "  <a class=\"current_topic\" href=\"$url?lang=$lang\">$title</a><br/>\n";
   else
-    echo "<a class=\"other_topic\" href=\"$url?lang=$lang\">$title</A><br>";
+    echo "  <a class=\"other_topic\" href=\"$url?lang=$lang\">$title</a><br/>\n";
 }
 
 
@@ -33,7 +33,7 @@
 {
   global $toc_array;
 
-  echo "<div id=\"left\">\n";
+  echo "<div id=\"left\">\n\n";
 
   $current_subtopic = "";
 



More information about the Kos-cvs mailing list