Mercurial > hg > fapweb
comparison createdb.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 | 3939cb04bdce |
children | c7b1eb993240 |
comparison
equal
deleted
inserted
replaced
102:53b35cb4111b | 103:c6b9041078ec |
---|---|
11 } | 11 } |
12 | 12 |
13 | 13 |
14 // The defaults we put in | 14 // The defaults we put in |
15 $siteDefaults = array( | 15 $siteDefaults = array( |
16 "maxAttendees" => array(VT_INT, 60, "Maximum attendees (soft limit)"), | 16 "maxAttendeesHard" => array(VT_INT, 60, "Maximum attendees (HARD limit, 0 = no limit)"), |
17 "maxAttendeesSoft" => array(VT_INT, 50, "Maximum attendees (soft limit, 0 = no limit)"), | |
17 | 18 |
18 "userTimeout" => array(VT_INT, 120, "User pages (voting, entry submission) timeout in minutes"), | 19 "userTimeout" => array(VT_INT, 120, "User pages (voting, entry submission) timeout in minutes"), |
19 "admTimeout" => array(VT_INT, 15, "Administration interface timeout in minutes"), | 20 "admTimeout" => array(VT_INT, 15, "Administration interface timeout in minutes"), |
20 | 21 |
21 "showAdmin" => array(VT_BOOL, false, "Always show administration interface link on the menu"), | 22 "showAdmin" => array(VT_BOOL, false, "Always show administration interface link on the menu"), |