Mercurial > hg > fapweb
diff index.php @ 17:b015c0dea42c
Minor improvements.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 06 Dec 2012 17:53:43 +0200 |
parents | e36c4d2b09c4 |
children | 5bf22431176c |
line wrap: on
line diff
--- a/index.php Thu Dec 06 17:30:12 2012 +0200 +++ b/index.php Thu Dec 06 17:53:43 2012 +0200 @@ -40,15 +40,16 @@ <a href="compos">Compos</a> <a href="event">Event</a> <? -if (stGetSetting("showAttendees", FALSE)) +if (stGetSetting("showAttendees")) echo " <a href=\"attendees\">Attendees</a>\n"; -if (stGetSetting("allowVoting", FALSE)) +if (stGetSetting("allowVoting")) echo " <a href=\"vote\">Vote</a>\n"; -if (stGetSetting("showResults", FALSE)) +if (stGetSetting("showResults")) echo " <a href=\"results\">Results</a>\n"; +if (stGetSetting("showAdmin")) echo " <a href=\"admin\">Admin</a>\n"; ?> </div>