comparison 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
comparison
equal deleted inserted replaced
102:53b35cb4111b 103:c6b9041078ec
47 <? 47 <?
48 $visibility = stAdmSessionAuth(TRUE); 48 $visibility = stAdmSessionAuth(TRUE);
49 49
50 if (stGetSetting("showAttendees")) 50 if (stGetSetting("showAttendees"))
51 echo " <a href=\"attendees\">Attendees</a>\n"; 51 echo " <a href=\"attendees\">Attendees</a>\n";
52 else
53 if (stChkSetting("allowRegister"))
54 echo " <a href=\"register\">Register</a>\n";
52 55
53 if (stGetSetting("allowVoting")) 56 if (stGetSetting("allowVoting"))
54 echo " <a href=\"vote\">Vote</a>\n"; 57 echo " <a href=\"vote\">Vote</a>\n";
55 58
56 if ($visibility || stGetSetting("showResults")) 59 if ($visibility || stGetSetting("showResults"))