[Kos-cvs] kos-web/include main.php,1.4,1.5
thomas at kos.enix.org
thomas at kos.enix.org
Wed Dec 29 21:32:38 CET 2004
Update of /var/cvs/kos/kos-web/include
In directory the-doors:/tmp/cvs-serv4694
Modified Files:
main.php
Log Message:
Et hop.
Index: main.php
===================================================================
RCS file: /var/cvs/kos/kos-web/include/main.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- main.php 29 Dec 2004 20:26:14 -0000 1.4
+++ main.php 29 Dec 2004 20:32:36 -0000 1.5
@@ -29,12 +29,13 @@
$title = title of the section
$anchor = name for the # anchor */
-function start_content_section($title,$anchor)
+function start_content_section($title,$anchor="")
{
global $kos_color;
global $space;
- echo "<a name=\"$anchor\"/>\n";
+ if($anchor)
+ echo "<a name=\"$anchor\"/>\n";
echo "<h1>" . $title . "</h1>";
}
More information about the Kos-cvs
mailing list