Mercurial > hg > fapweb
annotate mconfig.inc.php.example @ 1096:bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
modifiable from admin interface are now "hardcoded" in the configuration
file. Having these settings made modifiable from there made no sense
and just took space in the UI.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 27 Jan 2017 22:15:06 +0200 |
parents | faa835271dfd |
children | ea2bc0667482 |
rev | line source |
---|---|
1074 | 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 | 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 | 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 | 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 | 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 | 19 // "sqlOptions" => array(), // See PDO documentation |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
20 |
566 | 21 // Log debug information in error_log, also enables use of GET |
22 // requests for certain data that normally can only be used via | |
23 // POST (for easier manual testing). WARNING! Do NOT enable | |
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 | 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 | 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, |
536
380cd0151890
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
290
diff
changeset
|
39 |
94
6edd7d623eab
Start adding votekey modes code.
Matti Hamalainen <ccr@tnsp.org>
parents:
51
diff
changeset
|
40 |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
41 "admTimeout" => 15, |
743 | 42 |
1095 | 43 "admTimeout" => 60, |
805
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
44 |
743 | 45 // Entry file paths and URL prefixes |
814 | 46 "entryMaxSize" => 16 * 1024 * 1024, // max file size |
743 | 47 "entryPath" => "/home/ccr/files/", // should be absolute path |
805
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
48 "entryPathPerms" => 0755, |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
49 "entryFilePerms" => 0644, |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
50 |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
51 "previewPath" => "/home/ccr/fapdev/previews/", // should be absolute path |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
52 "previewURL" => "http://localhost:8888/previews/", // can be relative (should point to same dir as previewPath) |
1095 | 53 "previewMaxSize" => 16 * 1024 * 1024, // max file size |
743 | 54 "thumbnailSubDir" => "tn/", // relative subdir to previewPath and previewURL |
805
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
55 "previewPathPerms" => 0711, |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
56 "previewFilePerms" => 0644, |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
57 |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
58 // Generated sample files settings |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
59 // Used for openmpt123 and avconv |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
60 "sampleFreq" => 44100, // in Hz |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
61 "sampleChannels" => 1, // 1 = mono, 2 = stereo |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
62 "sampleDuration" => 30, // in seconds |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
63 |
1043
c0e21a405256
Change external tool handling.
Matti Hamalainen <ccr@tnsp.org>
parents:
1028
diff
changeset
|
64 //"avconv_exe" => "ffmpeg", // avconv/ffmpeg binary executable |
c0e21a405256
Change external tool handling.
Matti Hamalainen <ccr@tnsp.org>
parents:
1028
diff
changeset
|
65 //"gfxconv_exe" => "gfxconv", |
c0e21a405256
Change external tool handling.
Matti Hamalainen <ccr@tnsp.org>
parents:
1028
diff
changeset
|
66 //"openmpg123_exe" => "openmpt123", |
1095 | 67 "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
|
68 |
814 | 69 // Samples to be generated, and their avconv settings |
805
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
70 "sampleTypes" => array( |
973 | 71 "OggVorbis" => array("-f" => "ogg", "-c:a" => "libvorbis", "-q:a" => 5), |
72 "MP3" => array("-f" => "mp3", "-c:a" => "libmp3lame", "-b:a" => "96k"), | |
805
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 |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
75 // Preview image files settings |
890
d6548ad68134
Add setting for cases where preview does not exist.
Matti Hamalainen <ccr@tnsp.org>
parents:
878
diff
changeset
|
76 "previewNoImage" => "img/nopreview_tn.png", |
805
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
77 "previewImageType" => "PNG", // Generally PNG or JPEG |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
78 "previewImageQuality" => 9, // compression (PNG) or quality (JPEG) |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
79 "previewImageSize" => array(640, 480), // resolution W x H |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
80 |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
81 "previewThumbType" => "PNG", |
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
82 "previewThumbQuality" => 9, // compression (PNG) or quality (JPEG) |
743 | 83 "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
|
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 // |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
87 // Various message texts |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
88 // |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
89 "siteMenuHeader" => |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
90 "<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
|
91 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
92 "siteMenuFooter" => "", |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
93 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
94 "siteInfoText" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
95 <div class=\"date\"> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
96 <span>??.-??.??.2017</span> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
97 <span>Helsinki, Finland</span> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
98 <span>@ old location</span> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
99 <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
|
100 <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
|
101 </div> |
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 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
104 "siteExtraHTML" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
105 <div id=\"extra\"><div> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
106 <!-- <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
|
107 <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
|
108 </div></div> |
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 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
112 "msgAboutDescription" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
113 <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
|
114 <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
|
115 <p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
116 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
|
117 <br /> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
118 <span class=\"notice\"> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
119 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
|
120 </span> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
121 </p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
122 </div> |
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 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
125 "msgNewsHeader" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
126 <h1>The FAPper's news outlet</h1> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
127 ", |
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 "msgVoteFinished" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
130 <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
|
131 <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
|
132 <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
|
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 "msgVotingDisabled" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
136 <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
|
137 <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
|
138 ", |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
139 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
140 "msgUserAuthError" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
141 <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
|
142 <p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
143 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
|
144 </p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
145 ", |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
146 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
147 "msgRegisterDisabled" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
148 <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
|
149 <p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
150 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
|
151 </p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
152 ", |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
153 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
154 "msgRegisterLimitExceeded" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
155 <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
|
156 <p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
157 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
|
158 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
|
159 </p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
160 ", |
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 "msgVisitorsPageRegLink" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
163 <div class=\"reglink\"> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
164 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
|
165 </div> |
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 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
168 "msgRegisterPageBlurb" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
169 <h1>Registration</h1> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
170 ", |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
171 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
172 "msgRegisterInfoText" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
173 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
|
174 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
|
175 (<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
|
176 <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
|
177 </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 "msgRegisterPostText" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
181 <h1>Registration successful</h1> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
182 <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
|
183 ", |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
184 |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
185 "msgRegisterPostNoEmail" => " |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
186 <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
|
187 <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
|
188 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
|
189 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
|
190 </p> |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
191 ", |
bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
Matti Hamalainen <ccr@tnsp.org>
parents:
1095
diff
changeset
|
192 |
0 | 193 ); |
194 | |
805
546058da8f07
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
743
diff
changeset
|
195 |
51 | 196 date_default_timezone_set("Europe/Helsinki"); |
0 | 197 |
198 $securePages = array( | |
1095 | 199 "register" => true, |
200 "vote" => true, | |
0 | 201 ); |
202 | |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
203 |
1095 | 204 $pageTitle = "Finnish Amiga Party 2017"; |
0 | 205 $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
|
206 $pageCSS = array( |
878 | 207 "css/main.css" => FALSE, |
1095 | 208 "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
|
209 "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
|
210 ); |
0 | 211 |
212 ?> |