Mercurial > hg > fapweb
diff msite.inc.php @ 94:6edd7d623eab
Start adding votekey modes code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Oct 2013 20:28:58 +0300 |
parents | 3da47d3e6a3c |
children | 2169c3177f47 |
line wrap: on
line diff
--- a/msite.inc.php Fri Oct 18 20:26:03 2013 +0300 +++ b/msite.inc.php Fri Oct 18 20:28:58 2013 +0300 @@ -18,6 +18,19 @@ define("SESS_ADMIN", "admin"); +// +// Different voting modes +// +// VOTE_FREELY - Vote keys are not tied to attendees, and do not need to be activated +define("VOTE_FREELY", 0); + +// VOTE_ACTIVATE - Vote keys are not tied to attendees, but require manual activation. +define("VOTE_ACTIVATE", 1); + +// VOTE_ASSIGN - Keys are tied to attendees, activated by assigning the key to attendee. +define("VOTE_ASSIGN", 2); + + if (function_exists("ini_set")) { // Use cookies to store the session ID on the client side