diff dbdefs.inc.php @ 789:24bbd1f89794

Add few new settings, bump database version.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 21 Nov 2014 08:05:27 +0200
parents da0ddfe1b704
children f27dccdde8ef
line wrap: on
line diff
--- a/dbdefs.inc.php	Fri Nov 21 08:04:13 2014 +0200
+++ b/dbdefs.inc.php	Fri Nov 21 08:05:27 2014 +0200
@@ -1,6 +1,6 @@
 <?
 
-$dbVersion = 22;
+$dbVersion = 24;
 
 //
 // Site settings and defaults we put in
@@ -207,6 +207,19 @@
 ",
   "Message shown after successful voting"),
 
+    "votingDisabled" => array(VT_TEXT, "
+<h1>Sorry, voting disabled!</h1>
+<p>Voting functionality not available at this time.</p>
+",
+    "Error message for voting disabled"),
+
+    "voteAuthError" => array(VT_TEXT, "
+<h1>Not authenticated to vote</h1>
+<p>
+You are not authenticated currently. <a href=\"vote\">Try to login again.</a>
+</p>
+",
+    "Error message for vote auth failure"),
   ),
 );