[Kos-cvs] kos-web/include toc.php,1.4,1.5
thomas at kos.enix.org
thomas at kos.enix.org
Wed Dec 29 21:17:00 CET 2004
Update of /var/cvs/kos/kos-web/include
In directory the-doors:/tmp/cvs-serv3844/include
Modified Files:
toc.php
Log Message:
Suite TOC
Index: toc.php
===================================================================
RCS file: /var/cvs/kos/kos-web/include/toc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- toc.php 29 Dec 2004 20:10:58 -0000 1.4
+++ toc.php 29 Dec 2004 20:16:58 -0000 1.5
@@ -4,58 +4,18 @@
function start_topic($name)
{
- global $kos_color;
- global $font_face;
-
- /*
- echo "<table border=\"0\" cellspacing=\"1\"
- cellpadding=\"2\" width=\"100%\">\n";
- echo "<tr><td align=\"center\"
- bgcolor=$kos_color>\n";
-
- echo "<font color=\"White\">
- <b>$name</b>
- </font>\n";
-
- echo "</td></tr>\n";
-
- echo "<tr><td bgcolor=$kos_color>\n";
- echo "<table bgcolor=\"White\" width=\"100%\"
- cellspacing=\"0\" cellpadding=\"3\" \
- border=\"0\">\n";
- echo "<tr><td><font $font_face>\n";
- */
-
- echo "<h1>" . $name . "</h1>";
-
+ echo "<div class=\"toc-topic\">\n";
+ echo "<h1>" . $name . "</h1>\n";
}
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";
-
- echo "<font color=$kos_color><b>$name</b></font>\n";
-
- echo "</td></tr></table>\n";
- */
-
- echo "<h2>" . $name . "</h2>";
-
+ echo "<h2>" . $name . "</h2>\n";
}
function end_topic()
{
- /*
- echo "</font>\n";
- echo "</td></tr></table>\n";
- echo "</td></tr></table>\n";
- echo "<br>\n";
- */
+ echo "</div>";
}
function make_toc($title,$toc_entry,$url,$current)
More information about the Kos-cvs
mailing list