comparison dbdefs.inc.php @ 1094:563fc90de965

Move 'voting enabled' global setting back to general settings.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 26 Jan 2017 14:03:38 +0200
parents 95b74632cfe2
children bbc0a3d0b51e
comparison
equal deleted inserted replaced
1093:7bfa5a38b6ca 1094:563fc90de965
35 35
36 "showInfoTextOnAbout" => array(VT_BOOL, false, "Show site info HTML on About page"), 36 "showInfoTextOnAbout" => array(VT_BOOL, false, "Show site info HTML on About page"),
37 37
38 "requireEMail" => array(VT_BOOL, false, "Require e-mail address in registrations"), 38 "requireEMail" => array(VT_BOOL, false, "Require e-mail address in registrations"),
39 "allowRegister" => array(VT_BOOL, false, "Enable event registration"), 39 "allowRegister" => array(VT_BOOL, false, "Enable event registration"),
40
41 "allowVoting" => array(VT_BOOL, false, "Enable voting (individual compos must be enabled as well)"),
40 ), 42 ),
41 43
42 "html" => array( 44 "html" => array(
43 "siteMenuHeader" => array(VT_TEXT, "<div>13.FAP:&gt; <span class=\"mblink\">&#9632;</span></div>", "Site menu header text"), 45 "siteMenuHeader" => array(VT_TEXT, "<div>13.FAP:&gt; <span class=\"mblink\">&#9632;</span></div>", "Site menu header text"),
44 "siteMenuFooter" => array(VT_TEXT, "", "Site menu footer text"), 46 "siteMenuFooter" => array(VT_TEXT, "", "Site menu footer text"),
196 198
197 // 199 //
198 // Voting 200 // Voting
199 // 201 //
200 "voting" => array( 202 "voting" => array(
201 "allowVoting" => array(VT_BOOL, false, "Enable voting (individual compos must be enabled as well)"),
202 203
203 "voteFinishedText" => array(VT_TEXT, " 204 "voteFinishedText" => array(VT_TEXT, "
204 <h1>Yay, you have voted!</h1> 205 <h1>Yay, you have voted!</h1>
205 <p>Now go FAP some more! And make a demo about it.</p> 206 <p>Now go FAP some more! And make a demo about it.</p>
206 <p>Or perhaps <a href=\"vote\">vote again!</a></p> 207 <p>Or perhaps <a href=\"vote\">vote again!</a></p>