Mercurial > hg > fapweb
diff index.php @ 103:c6b9041078ec
Add hard limit option for attendees, and add feature of using "0" to disable
hard and soft limit completely.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 21 Oct 2013 14:52:06 +0300 |
parents | d50b64fbbc70 |
children | c7b1eb993240 |
line wrap: on
line diff
--- a/index.php Mon Oct 21 13:45:11 2013 +0300 +++ b/index.php Mon Oct 21 14:52:06 2013 +0300 @@ -49,6 +49,9 @@ if (stGetSetting("showAttendees")) echo " <a href=\"attendees\">Attendees</a>\n"; +else +if (stChkSetting("allowRegister")) +echo " <a href=\"register\">Register</a>\n"; if (stGetSetting("allowVoting")) echo " <a href=\"vote\">Vote</a>\n";