diff 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
line wrap: on
line diff
--- a/mconfig.inc.php.example	Fri Jan 27 22:11:40 2017 +0200
+++ b/mconfig.inc.php.example	Fri Jan 27 22:15:06 2017 +0200
@@ -81,6 +81,115 @@
   "previewThumbType" => "PNG",
   "previewThumbQuality" => 9, // compression (PNG) or quality (JPEG)
   "previewThumbSize" => array(64, 48),
+
+
+  //
+  // Various message texts
+  //
+  "siteMenuHeader" =>
+  "<a href=\"about\"><img id=\"menuLogo\" src=\"img/fapsm2.png\" alt=\"FAP 2017\" /></a>",
+
+  "siteMenuFooter" => "",
+
+  "siteInfoText" => "
+<div class=\"date\">
+<span>??.-??.??.2017</span>
+<span>Helsinki, Finland</span>
+<span>@ old location</span>
+<span class=\"notice\">Entry <b>20 EUR</b> + prod</span>
+<span><a href=\"irc://#fap2017@ircnet\" style=\"color:#0f0\">#fap2017 @ IRCNet</a></span>
+</div>
+",
+
+  "siteExtraHTML" => "
+<div id=\"extra\"><div>
+<!-- <a href=\"http://scenesat.com/\"><div class=\"scenesat\"></div></a> -->
+<a href=\"http://demozoo.org/\"><div class=\"demozoo\"></div></a>
+</div></div>
+",
+
+
+  "msgAboutDescription" => "
+<div style=\"text-align: center;\">
+<img src=\"img/fap.png\" alt=\"FAP\" />
+<p>
+Pure Amiga demoscene party, all traditional Amiga compos and purely Amiga-oriented program.
+<br />
+<span class=\"notice\">
+YOU <b>MUST</b> HAVE AT LEAST ONE ENTRY TO COMPETITIONS IF YOU COME TO THE PARTY.
+</span>
+</p>
+</div>
+",
+
+  "msgNewsHeader"  => "
+<h1>The FAPper's news outlet</h1>
+",
+
+  "msgVoteFinished" => "
+<h1>Yay, you have voted!</h1>
+<p>Now go FAP some more! And make a demo about it.</p>
+<p>Or perhaps <a href=\"vote\">vote again!</a></p>
+",
+
+  "msgVotingDisabled" => "
+<h1>Sorry, voting disabled!</h1>
+<p>Voting functionality not available at this time.</p>
+",
+
+  "msgUserAuthError" => "
+<h1>Not logged in</h1>
+<p>
+You are not authenticated currently. <a href=\"vote\">Try to login again.</a>
+</p>
+",
+
+  "msgRegisterDisabled" => "
+<h1>Sorry, registration disabled!</h1>
+<p>
+Registration to the event is not enabled at this time.
+</p>
+",
+
+  "msgRegisterLimitExceeded" => "
+<h1>Sorry, registration disabled!</h1>
+<p>
+Registration to the event is not available at this time due to
+number of attendees limit having been reached. <b>:(</b>
+</p>
+",
+
+  "msgVisitorsPageRegLink" => "
+<div class=\"reglink\">
+To register, use <a href=\"register\">this form</a>.
+</div>
+",
+    
+  "msgRegisterPageBlurb" => "
+    <h1>Registration</h1>
+",
+
+  "msgRegisterInfoText" => "
+Only your <b>handle</b> and the answer to the botcheck are strictly required.
+If you plan on joining the IRC channel
+(<a href=\"irc://#fap2017@ircnet\">#fap2017 @ IRCNet</a>) or staying up to date by other means,
+<b>e-mail</b> is not required either.
+</p>
+",
+
+  "msgRegisterPostText" => "
+<h1>Registration successful</h1>
+<p>Now go make a demo about it!</p>
+",
+
+  "msgRegisterPostNoEmail" => "
+<h2>By the way ...</h2>
+<p>As you did not specify an e-mail contact address, you'll have to get updates
+and information about the location (if you don't already know it) by 
+some other means (IRC, for example.)
+</p>
+",
+
 );