diff index.php @ 123:5837b9333964

Add new "about" page, and setting for default page.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 22 Oct 2013 15:18:09 +0300
parents 324f3a415237
children ed05cc69e1c2
line wrap: on
line diff
--- a/index.php	Tue Oct 22 14:40:42 2013 +0300
+++ b/index.php	Tue Oct 22 15:18:09 2013 +0300
@@ -42,7 +42,11 @@
 <div id="menu">
   <? echo stGetSetting("siteMenuHeader") ?>
 
-  <a href="news">News</a>
+  <a href="about">About</a>
+<?
+if (stGetSetting("showNews"))
+  echo "<a href=\"news\">News</a>\n";
+?>
   <a href="compos">Compos</a>
   <a href="event">Event</a>
 <?