diff pages/vote.inc.php @ 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 95b74632cfe2
children b2bca5f6d0ff
line wrap: on
line diff
--- a/pages/vote.inc.php	Fri Jan 27 22:11:40 2017 +0200
+++ b/pages/vote.inc.php	Fri Jan 27 22:15:06 2017 +0200
@@ -32,7 +32,7 @@
 
 // Check if voting is enabled
 if (!stChkSetting("allowVoting"))
-  echo stGetSetting("votingDisabled");
+  echo stGetSetting("msgVotingDisabled");
 else
 if (!stUserSessionAuth(FALSE))
 {
@@ -177,7 +177,7 @@
 if ($mode == "done")
 {
   // Voting finished successfully
-  echo stGetSetting("voteFinishedText");
+  echo stGetSetting("msgVoteFinished");
   stSessionEnd(SESS_USER);
 }
 else