Mercurial > hg > fapweb
diff index.php @ 587:135efe0c3b49
Add new options for hiding/showing compo and schedule pages.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 17 Oct 2014 02:50:26 +0300 |
parents | cec36fd24d21 |
children | e533955fa055 |
line wrap: on
line diff
--- a/index.php Fri Oct 17 02:49:58 2014 +0300 +++ b/index.php Fri Oct 17 02:50:26 2014 +0300 @@ -62,11 +62,11 @@ " ".stGetSetting("siteMenuHeader")."\n". stGetMainPageLink("about", "About"). stGetMainPageLink("news", "News", stGetSetting("showNews")). - stGetMainPageLink("compos", "Compos"). - stGetMainPageLink("schedule", "Schedule"); + stGetMainPageLink("compos", "Compos", stGetSetting("showCompos")). + stGetMainPageLink("schedule", "Schedule", stGetSetting("showSchedule")); if (stGetSetting("showAttendees")) - echo stGetMainPageLink("attendees", "Attendees"); + echo stGetMainPageLink("visitors", "Visitors"); else if (stChkSetting("allowRegister")) echo stGetMainPageLink("register", "Register");