changeset 43:66ab7d43f8a1

Add a new setting.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 04 Oct 2013 22:23:02 +0300
parents b9d7c47c8e67
children 72dcc1d48809
files createdb.php index.php
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/createdb.php	Fri Oct 04 07:48:17 2013 +0300
+++ b/createdb.php	Fri Oct 04 22:23:02 2013 +0300
@@ -119,6 +119,8 @@
 
 
   "entrySubmitInfo" => array(VT_TEXT, "Rules for entry submission ... ", "Entry submission information blurb"),
+
+  "siteMenuHeader" => array(VT_TEXT, "<div>- FAP 2013 -</div>", "Site menu header text"),
 );
 
 $sqlTables = array(
--- a/index.php	Fri Oct 04 07:48:17 2013 +0300
+++ b/index.php	Fri Oct 04 22:23:02 2013 +0300
@@ -40,6 +40,7 @@
 </div>
 
 <div id="menu">
+  <? echo stGetSetting("siteMenuHeader") ?>
   <a href="news">News</a>
   <a href="compos">Compos</a>
   <a href="event">Event</a>