Mercurial > hg > fapweb
comparison dbdefs.inc.php @ 1120:b2bca5f6d0ff default tip
Cosmetic cleanup: remove trailing whitespace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 13 Dec 2020 13:47:13 +0200 |
parents | 24e6915fc0fb |
children |
comparison
equal
deleted
inserted
replaced
1119:a4daa7ea7479 | 1120:b2bca5f6d0ff |
---|---|
80 | 80 |
81 "msgNewsHeader" => [VT_TEXT, " | 81 "msgNewsHeader" => [VT_TEXT, " |
82 <h1>The FAPper's news outlet</h1> | 82 <h1>The FAPper's news outlet</h1> |
83 ", "News page header blob"], | 83 ", "News page header blob"], |
84 ], | 84 ], |
85 | 85 |
86 // | 86 // |
87 // Event / schedule information | 87 // Event / schedule information |
88 // | 88 // |
89 "event" => [ | 89 "event" => [ |
90 "showSchedule" => [VT_BOOL, TRUE, "Enable Schedule link on main menu + Schedule page"], | 90 "showSchedule" => [VT_BOOL, TRUE, "Enable Schedule link on main menu + Schedule page"], |
116 <li><b>12:00</b> - Party over?</li> | 116 <li><b>12:00</b> - Party over?</li> |
117 </ul> | 117 </ul> |
118 ", "Event general description / timetables etc."], | 118 ", "Event general description / timetables etc."], |
119 | 119 |
120 ], | 120 ], |
121 | 121 |
122 // | 122 // |
123 // Competitions | 123 // Competitions |
124 // | 124 // |
125 "compos" => [ | 125 "compos" => [ |
126 "showCompos" => [VT_BOOL, TRUE, "Enable Compos link on main menu + Compos page"], | 126 "showCompos" => [VT_BOOL, TRUE, "Enable Compos link on main menu + Compos page"], |
127 | 127 |
128 "msgCompoDescription" => [VT_TEXT, " | 128 "msgCompoDescription" => [VT_TEXT, " |
129 <h1>General</h1> | 129 <h1>General</h1> |
130 <p class=\"notice\"> | 130 <p class=\"notice\"> |
131 YOU <b>MUST</b> HAVE AT LEAST ONE ENTRY TO COMPETITIONS IF YOU COME TO THE PARTY. | 131 YOU <b>MUST</b> HAVE AT LEAST ONE ENTRY TO COMPETITIONS IF YOU COME TO THE PARTY. |
132 </p> | 132 </p> |
185 ["name" , "VARCHAR(".SQL_LEN_COMPO_NAME.")"], | 185 ["name" , "VARCHAR(".SQL_LEN_COMPO_NAME.")"], |
186 ["description" , "VARCHAR(".SQL_LEN_COMPO_DESC.")"], | 186 ["description" , "VARCHAR(".SQL_LEN_COMPO_DESC.")"], |
187 ["notes" , "VARCHAR(".SQL_LEN_COMPO_NOTES.")"], | 187 ["notes" , "VARCHAR(".SQL_LEN_COMPO_NOTES.")"], |
188 ["visible" , "INT", "DEFAULT 0"], | 188 ["visible" , "INT", "DEFAULT 0"], |
189 ["voting" , "INT", "DEFAULT 0"], | 189 ["voting" , "INT", "DEFAULT 0"], |
190 | 190 |
191 // Default preview type (see EFILE_* in msite.inc.php) for this compo. | 191 // Default preview type (see EFILE_* in msite.inc.php) for this compo. |
192 // Global for the compo (entry-specific overrides if it is != EFILE_NONE) | 192 // Global for the compo (entry-specific overrides if it is != EFILE_NONE) |
193 ["preview_type" , "INT", "DEFAULT 0"], | 193 ["preview_type" , "INT", "DEFAULT 0"], |
194 | 194 |
195 ["show_authors" , "INT", "DEFAULT 0"], | 195 ["show_authors" , "INT", "DEFAULT 0"], |
196 // Show author(s) on compo main screen/voting page for COMPO_NORMAL compos | 196 // Show author(s) on compo main screen/voting page for COMPO_NORMAL compos |
197 // For COMPO_POINTS and COMPO_ASSIGN, show on results page or not | 197 // For COMPO_POINTS and COMPO_ASSIGN, show on results page or not |
198 | 198 |
199 ["ctype" , "INT", "DEFAULT 0"], | 199 ["ctype" , "INT", "DEFAULT 0"], |
200 ["cpath" , "VARCHAR(".SQL_LEN_COMPO_PATH.")"], | 200 ["cpath" , "VARCHAR(".SQL_LEN_COMPO_PATH.")"], |
201 ], | 201 ], |
202 | 202 |
203 "entries" => [ | 203 "entries" => [ |
204 ["id" , "INTEGER", "PRIMARY KEY", "AUTOINCREMENT"], | 204 ["id" , "INTEGER", "PRIMARY KEY", "AUTOINCREMENT"], |
205 ["show_id" , "INT", "DEFAULT 0"], | 205 ["show_id" , "INT", "DEFAULT 0"], |
206 ["name" , "VARCHAR(".SQL_LEN_ENTRY_NAME.")"], | 206 ["name" , "VARCHAR(".SQL_LEN_ENTRY_NAME.")"], |
207 ["author" , "VARCHAR(".SQL_LEN_ENTRY_AUTHOR.")"], | 207 ["author" , "VARCHAR(".SQL_LEN_ENTRY_AUTHOR.")"], |
276 | 276 |
277 "rot_list_data" => [ | 277 "rot_list_data" => [ |
278 ["id" , "INTEGER", "PRIMARY KEY", "AUTOINCREMENT"], | 278 ["id" , "INTEGER", "PRIMARY KEY", "AUTOINCREMENT"], |
279 ["name" , "VARCHAR(".SQL_LEN_ROT_LIST_NAME.")"], | 279 ["name" , "VARCHAR(".SQL_LEN_ROT_LIST_NAME.")"], |
280 ], | 280 ], |
281 | 281 |
282 "rot_list_slides" => [ | 282 "rot_list_slides" => [ |
283 ["id" , "INTEGER", "PRIMARY KEY", "AUTOINCREMENT"], | 283 ["id" , "INTEGER", "PRIMARY KEY", "AUTOINCREMENT"], |
284 ["list_id" , "INT", "DEFAULT 0"], | 284 ["list_id" , "INT", "DEFAULT 0"], |
285 ["slide_id" , "INT", "DEFAULT 0"], | 285 ["slide_id" , "INT", "DEFAULT 0"], |
286 ["order_num" , "INT", "DEFAULT 0"], | 286 ["order_num" , "INT", "DEFAULT 0"], |
299 "tempSlide" => [VT_INT, 0, "Temporary slide ID"], | 299 "tempSlide" => [VT_INT, 0, "Temporary slide ID"], |
300 | 300 |
301 "compoID" => [VT_INT, 0, "Compo ID of current compo"], | 301 "compoID" => [VT_INT, 0, "Compo ID of current compo"], |
302 "compoPrevEntry" => [VT_INT, 0, "Previously shown compo entry"], | 302 "compoPrevEntry" => [VT_INT, 0, "Previously shown compo entry"], |
303 "compoCurrEntry" => [VT_INT, 0, "Current / next compo entry to be shown"], | 303 "compoCurrEntry" => [VT_INT, 0, "Current / next compo entry to be shown"], |
304 | 304 |
305 // Not user-manageable | 305 // Not user-manageable |
306 "tempSlideSet" => [VT_BOOL, FALSE, "Temporary slide set"], | 306 "tempSlideSet" => [VT_BOOL, FALSE, "Temporary slide set"], |
307 | 307 |
308 "activeSlideMode" => [VT_INT, 0, "Current active slide display mode"], | 308 "activeSlideMode" => [VT_INT, 0, "Current active slide display mode"], |
309 "activeSlide" => [VT_INT, 0, "Current active slide"], | 309 "activeSlide" => [VT_INT, 0, "Current active slide"], |
352 "%s,%s,1,1", | 352 "%s,%s,1,1", |
353 ["Graphics", "Anything in standard resolutions."], | 353 ["Graphics", "Anything in standard resolutions."], |
354 ["Protracker music", "Standard 4-channel Protracker MOD music."], | 354 ["Protracker music", "Standard 4-channel Protracker MOD music."], |
355 ["4k intro", "4k intro competition"], | 355 ["4k intro", "4k intro competition"], |
356 ], | 356 ], |
357 | 357 |
358 "entries" => [ | 358 "entries" => [ |
359 "name,author,compo_id,filename,info", | 359 "name,author,compo_id,filename,info", |
360 "%s,%s,%d,%s,%s", | 360 "%s,%s,%d,%s,%s", |
361 ["Donkey Dong", "electric/extend", 1, "donkey.lbm", "amigaaaah!"], | 361 ["Donkey Dong", "electric/extend", 1, "donkey.lbm", "amigaaaah!"], |
362 ["Your kondom", "ccr/TNSP", 1, "kondom.lbm", "oh my god, it's full of cocks!"], | 362 ["Your kondom", "ccr/TNSP", 1, "kondom.lbm", "oh my god, it's full of cocks!"], |
363 ["Penis song", "reed/flt", 2, "penis.mod", "laulu rakkaudelle"], | 363 ["Penis song", "reed/flt", 2, "penis.mod", "laulu rakkaudelle"], |
364 ["jenkka", "aegis", 2, "jenkka.mod", ""], | 364 ["jenkka", "aegis", 2, "jenkka.mod", ""], |
365 ["Fungiform 2", "mfx", 3, "mfx-fungiform2.lzh", "OCS-only"], | 365 ["Fungiform 2", "mfx", 3, "mfx-fungiform2.lzh", "OCS-only"], |
366 ], | 366 ], |
367 | 367 |
368 "display_slides" => [ | 368 "display_slides" => [ |
369 "title,text", | 369 "title,text", |
370 "%s,%s", | 370 "%s,%s", |
371 ["Next Up 4k", "<h1>Next up: 4k intro</h1><h2>4k intro compo is about to begin</h2>... in about 10 minutes."], | 371 ["Next Up 4k", "<h1>Next up: 4k intro</h1><h2>4k intro compo is about to begin</h2>... in about 10 minutes."], |
372 ["Astu to infodesk", "<b>Astu</b> - please come to info desk!"], | 372 ["Astu to infodesk", "<b>Astu</b> - please come to info desk!"], |
373 ["Gentle Eye mainos", "<b>Buy Amiga stuff!</b><br />Gentle Eye Oy is selling Amiga-related stuff near organizer desk!"], | 373 ["Gentle Eye mainos", "<b>Buy Amiga stuff!</b><br />Gentle Eye Oy is selling Amiga-related stuff near organizer desk!"], |
374 ], | 374 ], |
375 | 375 |
376 "rot_list_data" => [ | 376 "rot_list_data" => [ |
377 "name", | 377 "name", |
378 "%s", | 378 "%s", |
379 ["Main rotation"], | 379 ["Main rotation"], |
380 ["Next Up"], | 380 ["Next Up"], |
381 ], | 381 ], |
382 | 382 |
383 "rot_list_slides" => [ | 383 "rot_list_slides" => [ |
384 "list_id,slide_id", | 384 "list_id,slide_id", |
385 "%d,%d", | 385 "%d,%d", |
386 [1,2], | 386 [1,2], |
387 [1,3], | 387 [1,3], |
397 "display_vars" => ["table" => "displayVars"], | 397 "display_vars" => ["table" => "displayVars"], |
398 "display_slides" => ["table" => "displaySlides"], | 398 "display_slides" => ["table" => "displaySlides"], |
399 "rot_list_data" => ["table" => "rotationListData"], | 399 "rot_list_data" => ["table" => "rotationListData"], |
400 "rot_list_slides" => ["table" => "rotationListSlides"], | 400 "rot_list_slides" => ["table" => "rotationListSlides"], |
401 ], | 401 ], |
402 | 402 |
403 14 => [ | 403 14 => [ |
404 "settings_groups" => ["table" => FALSE], | 404 "settings_groups" => ["table" => FALSE], |
405 ], | 405 ], |
406 | 406 |
407 17 => [ | 407 17 => [ |
408 "ctype" => ["key" => "type"], | 408 "ctype" => ["key" => "type"], |
409 "cpath" => ["key" => "path"], | 409 "cpath" => ["key" => "path"], |
410 ], | 410 ], |
411 | 411 |
414 "msgEventDescription" => ["key" => "eventDescription"], | 414 "msgEventDescription" => ["key" => "eventDescription"], |
415 "msgCompoDescription" => ["key" => "compoDescription"], | 415 "msgCompoDescription" => ["key" => "compoDescription"], |
416 ], | 416 ], |
417 ]; | 417 ]; |
418 | 418 |
419 | |
420 ?> | 419 ?> |