annotate mconfig.inc.php.example @ 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 c731092a83b7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1074
48e16e856646 Use long tags.
Matti Hamalainen <ccr@tnsp.org>
parents: 1043
diff changeset
1 <?php
536
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
2 //
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
3 // Site configuration, important settings that MUST be
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
4 // reviewed and set correctly before deployment.
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
5 //
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 $siteSettings = array(
536
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
7
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
8 // Admin interface password
22
f2877f1b0b75 Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
9 // "admPassword" => "xxx",
1095
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
10 "admPassword" => false,
536
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
11
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
12 // SQL database PHP data source name, etc. Refer to
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
13 // http://www.php.net/manual/en/pdo.construct.php
566
559b50fd94a9 Update comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 539
diff changeset
14 // Has been tested with SQLite3 and PostgreSQL backends.
22
f2877f1b0b75 Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
15 "sqlDB" => "sqlite:fap.sqlite3",
566
559b50fd94a9 Update comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 539
diff changeset
16 // "sqlDB" => "pgsql:dbname=fap2014",
539
dc37dab2a6d7 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 536
diff changeset
17 // "sqlUsername" => "", // Leave unset if not needed
dc37dab2a6d7 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 536
diff changeset
18 // "sqlPassword" => "", // --""--
566
559b50fd94a9 Update comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 539
diff changeset
19 // "sqlOptions" => array(), // See PDO documentation
22
f2877f1b0b75 Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
20
566
559b50fd94a9 Update comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 539
diff changeset
21 // Log debug information in error_log, also enables use of GET
559b50fd94a9 Update comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 539
diff changeset
22 // requests for certain data that normally can only be used via
559b50fd94a9 Update comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 539
diff changeset
23 // POST (for easier manual testing). WARNING! Do NOT enable
559b50fd94a9 Update comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 539
diff changeset
24 // for production sites without a good reason.
22
f2877f1b0b75 Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
25 "debug" => false,
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26
536
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
27 // Default page
123
5837b9333964 Add new "about" page, and setting for default page.
Matti Hamalainen <ccr@tnsp.org>
parents: 97
diff changeset
28 "defaultPage" => "about", // Default page
5837b9333964 Add new "about" page, and setting for default page.
Matti Hamalainen <ccr@tnsp.org>
parents: 97
diff changeset
29
1089
00632d30bafe Implement new settings for making user/votekeys case-insensitive and
Matti Hamalainen <ccr@tnsp.org>
parents: 1074
diff changeset
30 // User key/votekey settings
1095
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
31 "userKeyMode" => 1, // See msite.inc.php for VOTE_*
1089
00632d30bafe Implement new settings for making user/votekeys case-insensitive and
Matti Hamalainen <ccr@tnsp.org>
parents: 1074
diff changeset
32 "userKeyLength" => 6, // Vote key length in characters
00632d30bafe Implement new settings for making user/votekeys case-insensitive and
Matti Hamalainen <ccr@tnsp.org>
parents: 1074
diff changeset
33 //"userKeyCase" => true, // If false, keys are case-INsensitive
00632d30bafe Implement new settings for making user/votekeys case-insensitive and
Matti Hamalainen <ccr@tnsp.org>
parents: 1074
diff changeset
34 //"userKeyChars" => "abdefghjkmnpqrstwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789", // Characters to be used for key generation
536
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
35
380cd0151890 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
36 // Voting settings
22
f2877f1b0b75 Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
37 "voteMin" => -1,
f2877f1b0b75 Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
38 "voteMax" => 2,
94
6edd7d623eab Start adding votekey modes code.
Matti Hamalainen <ccr@tnsp.org>
parents: 51
diff changeset
39
1097
ea2bc0667482 Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 1096
diff changeset
40 // User and admin login timeouts (in minutes)
ea2bc0667482 Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 1096
diff changeset
41 "userTimeout" => 120,
1095
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
42 "admTimeout" => 60,
805
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
43
743
6cd2ae354e0a Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 664
diff changeset
44 // Entry file paths and URL prefixes
814
e59d57cc3aa8 Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 805
diff changeset
45 "entryMaxSize" => 16 * 1024 * 1024, // max file size
743
6cd2ae354e0a Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 664
diff changeset
46 "entryPath" => "/home/ccr/files/", // should be absolute path
805
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
47 "entryPathPerms" => 0755,
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
48 "entryFilePerms" => 0644,
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
49
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
50 "previewPath" => "/home/ccr/fapdev/previews/", // should be absolute path
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
51 "previewURL" => "http://localhost:8888/previews/", // can be relative (should point to same dir as previewPath)
1095
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
52 "previewMaxSize" => 16 * 1024 * 1024, // max file size
743
6cd2ae354e0a Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 664
diff changeset
53 "thumbnailSubDir" => "tn/", // relative subdir to previewPath and previewURL
805
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
54 "previewPathPerms" => 0711,
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
55 "previewFilePerms" => 0644,
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
56
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
57 // Generated sample files settings
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
58 // Used for openmpt123 and avconv
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
59 "sampleFreq" => 44100, // in Hz
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
60 "sampleChannels" => 1, // 1 = mono, 2 = stereo
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
61 "sampleDuration" => 30, // in seconds
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
62
1043
c0e21a405256 Change external tool handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 1028
diff changeset
63 //"avconv_exe" => "ffmpeg", // avconv/ffmpeg binary executable
c0e21a405256 Change external tool handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 1028
diff changeset
64 //"gfxconv_exe" => "gfxconv",
c0e21a405256 Change external tool handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 1028
diff changeset
65 //"openmpg123_exe" => "openmpt123",
1095
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
66 "openmpt123_args" => "--filter 1", // Extra commandline arguments for openmpt123
1028
8f242f756b0b Add new configuration setting "openmpt123ExtraArgs".
Matti Hamalainen <ccr@tnsp.org>
parents: 973
diff changeset
67
814
e59d57cc3aa8 Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 805
diff changeset
68 // Samples to be generated, and their avconv settings
805
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
69 "sampleTypes" => array(
973
0c11b391007b Fix example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 890
diff changeset
70 "OggVorbis" => array("-f" => "ogg", "-c:a" => "libvorbis", "-q:a" => 5),
0c11b391007b Fix example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 890
diff changeset
71 "MP3" => array("-f" => "mp3", "-c:a" => "libmp3lame", "-b:a" => "96k"),
805
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
72 ),
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
73
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
74 // Preview image files settings
890
d6548ad68134 Add setting for cases where preview does not exist.
Matti Hamalainen <ccr@tnsp.org>
parents: 878
diff changeset
75 "previewNoImage" => "img/nopreview_tn.png",
805
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
76 "previewImageType" => "PNG", // Generally PNG or JPEG
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
77 "previewImageQuality" => 9, // compression (PNG) or quality (JPEG)
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
78 "previewImageSize" => array(640, 480), // resolution W x H
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
79
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
80 "previewThumbType" => "PNG",
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
81 "previewThumbQuality" => 9, // compression (PNG) or quality (JPEG)
743
6cd2ae354e0a Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 664
diff changeset
82 "previewThumbSize" => array(64, 48),
1096
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
83
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
84
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
85 //
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
86 // Various message texts
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
87 //
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
88 "siteMenuHeader" =>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
89 "<a href=\"about\"><img id=\"menuLogo\" src=\"img/fapsm2.png\" alt=\"FAP 2017\" /></a>",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
90
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
91 "siteMenuFooter" => "",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
92
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
93 "siteInfoText" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
94 <div class=\"date\">
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
95 <span>??.-??.??.2017</span>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
96 <span>Helsinki, Finland</span>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
97 <span>@ old location</span>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
98 <span class=\"notice\">Entry <b>20 EUR</b> + prod</span>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
99 <span><a href=\"irc://#fap2017@ircnet\" style=\"color:#0f0\">#fap2017 @ IRCNet</a></span>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
100 </div>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
101 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
102
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
103 "siteExtraHTML" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
104 <div id=\"extra\"><div>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
105 <!-- <a href=\"http://scenesat.com/\"><div class=\"scenesat\"></div></a> -->
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
106 <a href=\"http://demozoo.org/\"><div class=\"demozoo\"></div></a>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
107 </div></div>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
108 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
109
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
110
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
111 "msgAboutDescription" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
112 <div style=\"text-align: center;\">
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
113 <img src=\"img/fap.png\" alt=\"FAP\" />
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
114 <p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
115 Pure Amiga demoscene party, all traditional Amiga compos and purely Amiga-oriented program.
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
116 <br />
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
117 <span class=\"notice\">
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
118 YOU <b>MUST</b> HAVE AT LEAST ONE ENTRY TO COMPETITIONS IF YOU COME TO THE PARTY.
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
119 </span>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
120 </p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
121 </div>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
122 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
123
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
124 "msgVoteFinished" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
125 <h1>Yay, you have voted!</h1>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
126 <p>Now go FAP some more! And make a demo about it.</p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
127 <p>Or perhaps <a href=\"vote\">vote again!</a></p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
128 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
129
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
130 "msgVotingDisabled" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
131 <h1>Sorry, voting disabled!</h1>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
132 <p>Voting functionality not available at this time.</p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
133 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
134
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
135 "msgUserAuthError" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
136 <h1>Not logged in</h1>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
137 <p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
138 You are not authenticated currently. <a href=\"vote\">Try to login again.</a>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
139 </p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
140 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
141
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
142 "msgRegisterDisabled" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
143 <h1>Sorry, registration disabled!</h1>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
144 <p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
145 Registration to the event is not enabled at this time.
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
146 </p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
147 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
148
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
149 "msgRegisterLimitExceeded" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
150 <h1>Sorry, registration disabled!</h1>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
151 <p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
152 Registration to the event is not available at this time due to
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
153 number of attendees limit having been reached. <b>:(</b>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
154 </p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
155 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
156
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
157 "msgVisitorsPageRegLink" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
158 <div class=\"reglink\">
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
159 To register, use <a href=\"register\">this form</a>.
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
160 </div>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
161 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
162
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
163 "msgRegisterPageBlurb" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
164 <h1>Registration</h1>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
165 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
166
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
167 "msgRegisterInfoText" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
168 Only your <b>handle</b> and the answer to the botcheck are strictly required.
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
169 If you plan on joining the IRC channel
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
170 (<a href=\"irc://#fap2017@ircnet\">#fap2017 @ IRCNet</a>) or staying up to date by other means,
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
171 <b>e-mail</b> is not required either.
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
172 </p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
173 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
174
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
175 "msgRegisterPostText" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
176 <h1>Registration successful</h1>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
177 <p>Now go make a demo about it!</p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
178 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
179
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
180 "msgRegisterPostNoEmail" => "
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
181 <h2>By the way ...</h2>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
182 <p>As you did not specify an e-mail contact address, you'll have to get updates
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
183 and information about the location (if you don't already know it) by
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
184 some other means (IRC, for example.)
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
185 </p>
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
186 ",
bbc0a3d0b51e Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents: 1095
diff changeset
187
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
188 );
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
189
805
546058da8f07 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 743
diff changeset
190
51
7bdf89601ba0 Work on session stuff.
Matti Hamalainen <ccr@tnsp.org>
parents: 35
diff changeset
191 date_default_timezone_set("Europe/Helsinki");
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
192
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
193 $securePages = array(
1095
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
194 "register" => true,
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
195 "vote" => true,
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
196 );
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
197
22
f2877f1b0b75 Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
198
1095
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
199 $pageTitle = "Finnish Amiga Party 2017";
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
200 $pageCharset = "utf-8";
180
a3f0f2a3551a Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents: 179
diff changeset
201 $pageCSS = array(
878
0c4da4d813ba Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 814
diff changeset
202 "css/main.css" => FALSE,
1095
faa835271dfd Update example config.
Matti Hamalainen <ccr@tnsp.org>
parents: 1092
diff changeset
203 "css/desktop.css" => "only screen and (min-width: 800px)",
582
0d13496e9c0a Update example configuration - the CSS files are now under css/ subdirectory
Matti Hamalainen <ccr@tnsp.org>
parents: 566
diff changeset
204 "css/mobile.css" => "only screen and (max-width: 799px), only screen and (max-device-width: 799px)"
180
a3f0f2a3551a Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents: 179
diff changeset
205 );
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
206
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
207 ?>