Mercurial > hg > fapweb
comparison dbdefs.inc.php @ 1104:0a2117349f46
s/true/TRUE/g; s/false/FALSE/g;
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 14 May 2019 14:45:36 +0300 |
parents | c731092a83b7 |
children | 51f24cb35fc8 |
comparison
equal
deleted
inserted
replaced
1103:1fe7df7c77fb | 1104:0a2117349f46 |
---|---|
23 "maxAttendeesSoft" => [VT_INT, 50, "Maximum attendees (soft limit, <= 0 means no limit)"], | 23 "maxAttendeesSoft" => [VT_INT, 50, "Maximum attendees (soft limit, <= 0 means no limit)"], |
24 | 24 |
25 "userTimeout" => [VT_INT, 120, "User pages (voting) timeout in minutes"], | 25 "userTimeout" => [VT_INT, 120, "User pages (voting) timeout in minutes"], |
26 "admTimeout" => [VT_INT, 15, "Administration interface timeout in minutes"], | 26 "admTimeout" => [VT_INT, 15, "Administration interface timeout in minutes"], |
27 | 27 |
28 "showAdmin" => [VT_BOOL, false, "Always show administration interface link on the menu"], | 28 "showAdmin" => [VT_BOOL, FALSE, "Always show administration interface link on the menu"], |
29 "showAttendees" => [VT_BOOL, true, "Show attendees list"], | 29 "showAttendees" => [VT_BOOL, TRUE, "Show attendees list"], |
30 | 30 |
31 "showResults" => [VT_BOOL, false, "Enable results page"], | 31 "showResults" => [VT_BOOL, FALSE, "Enable results page"], |
32 | 32 |
33 "showInfoTextOnAbout" => [VT_BOOL, false, "Show site info HTML on About page"], | 33 "showInfoTextOnAbout" => [VT_BOOL, FALSE, "Show site info HTML on About page"], |
34 | 34 |
35 "requireEMail" => [VT_BOOL, false, "Require e-mail address in registrations"], | 35 "requireEMail" => [VT_BOOL, FALSE, "Require e-mail address in registrations"], |
36 "allowRegister" => [VT_BOOL, false, "Enable event registration"], | 36 "allowRegister" => [VT_BOOL, FALSE, "Enable event registration"], |
37 | 37 |
38 "allowVoting" => [VT_BOOL, false, "Enable voting (individual compos must be enabled as well)"], | 38 "allowVoting" => [VT_BOOL, FALSE, "Enable voting (individual compos must be enabled as well)"], |
39 ], | 39 ], |
40 | 40 |
41 // | 41 // |
42 // News related | 42 // News related |
43 // | 43 // |
44 "news" => [ | 44 "news" => [ |
45 "showNews" => [VT_BOOL, true, "Enable News link on main menu + News page"], | 45 "showNews" => [VT_BOOL, TRUE, "Enable News link on main menu + News page"], |
46 "showNewsOnAbout" => [VT_BOOL, true, "Show latest news item on About page"], | 46 "showNewsOnAbout" => [VT_BOOL, TRUE, "Show latest news item on About page"], |
47 | 47 |
48 "msgNewsHeader" => [VT_TEXT, " | 48 "msgNewsHeader" => [VT_TEXT, " |
49 <h1>The FAPper's news outlet</h1> | 49 <h1>The FAPper's news outlet</h1> |
50 ", "News page header blob"], | 50 ", "News page header blob"], |
51 ], | 51 ], |
52 | 52 |
53 // | 53 // |
54 // Event / schedule information | 54 // Event / schedule information |
55 // | 55 // |
56 "event" => [ | 56 "event" => [ |
57 "showSchedule" => [VT_BOOL, true, "Enable Schedule link on main menu + Schedule page"], | 57 "showSchedule" => [VT_BOOL, TRUE, "Enable Schedule link on main menu + Schedule page"], |
58 | 58 |
59 "msgEventDescription" => [VT_TEXT, " | 59 "msgEventDescription" => [VT_TEXT, " |
60 <h1>Event program & schedule</h1> | 60 <h1>Event program & schedule</h1> |
61 <ul> | 61 <ul> |
62 <li><b>Aegis</b> of DSS and FAG will be performing a DJ gig.</li> | 62 <li><b>Aegis</b> of DSS and FAG will be performing a DJ gig.</li> |
88 | 88 |
89 // | 89 // |
90 // Competitions | 90 // Competitions |
91 // | 91 // |
92 "compos" => [ | 92 "compos" => [ |
93 "showCompos" => [VT_BOOL, true, "Enable Compos link on main menu + Compos page"], | 93 "showCompos" => [VT_BOOL, TRUE, "Enable Compos link on main menu + Compos page"], |
94 | 94 |
95 "msgCompoDescription" => [VT_TEXT, " | 95 "msgCompoDescription" => [VT_TEXT, " |
96 <h1>General</h1> | 96 <h1>General</h1> |
97 <p class=\"notice\"> | 97 <p class=\"notice\"> |
98 YOU <b>MUST</b> HAVE AT LEAST ONE ENTRY TO COMPETITIONS IF YOU COME TO THE PARTY. | 98 YOU <b>MUST</b> HAVE AT LEAST ONE ENTRY TO COMPETITIONS IF YOU COME TO THE PARTY. |
268 "compoID" => [VT_INT, 0, "Compo ID of current compo"], | 268 "compoID" => [VT_INT, 0, "Compo ID of current compo"], |
269 "compoPrevEntry" => [VT_INT, 0, "Previously shown compo entry"], | 269 "compoPrevEntry" => [VT_INT, 0, "Previously shown compo entry"], |
270 "compoCurrEntry" => [VT_INT, 0, "Current / next compo entry to be shown"], | 270 "compoCurrEntry" => [VT_INT, 0, "Current / next compo entry to be shown"], |
271 | 271 |
272 // Not user-manageable | 272 // Not user-manageable |
273 "tempSlideSet" => [VT_BOOL, false, "Temporary slide set"], | 273 "tempSlideSet" => [VT_BOOL, FALSE, "Temporary slide set"], |
274 | 274 |
275 "activeSlideMode" => [VT_INT, 0, "Current active slide display mode"], | 275 "activeSlideMode" => [VT_INT, 0, "Current active slide display mode"], |
276 "activeSlide" => [VT_INT, 0, "Current active slide"], | 276 "activeSlide" => [VT_INT, 0, "Current active slide"], |
277 "activeSlideExpire" => [VT_INT, 0, "Expiration timestamp of current slide"], | 277 "activeSlideExpire" => [VT_INT, 0, "Expiration timestamp of current slide"], |
278 | 278 |
280 "rotateListIndex" => [VT_INT, 0, "Current index in rotation list"], | 280 "rotateListIndex" => [VT_INT, 0, "Current index in rotation list"], |
281 | 281 |
282 "lastUpdate" => [VT_INT, 0, "Timestamp of last slide update"], | 282 "lastUpdate" => [VT_INT, 0, "Timestamp of last slide update"], |
283 | 283 |
284 "screenCmd" => [VT_STR, "", "Off-channel showscreen command"], | 284 "screenCmd" => [VT_STR, "", "Off-channel showscreen command"], |
285 "screenCmdSet" => [VT_BOOL, false, "Off-channel showscreen command has been set"], | 285 "screenCmdSet" => [VT_BOOL, FALSE, "Off-channel showscreen command has been set"], |
286 ]; | 286 ]; |
287 | 287 |
288 | 288 |
289 // | 289 // |
290 // Some premade test data | 290 // Some premade test data |