diff pages/about.inc.php @ 621:9ad53fda22bc

Use newly added setting.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 01 Nov 2014 05:41:41 +0200
parents 1abcb1295d5d
children fe1ca8a26e78
line wrap: on
line diff
--- a/pages/about.inc.php	Sat Nov 01 05:41:21 2014 +0200
+++ b/pages/about.inc.php	Sat Nov 01 05:41:41 2014 +0200
@@ -4,9 +4,10 @@
 // About page
 // (C) Copyright 2012-2014 Tecnic Software productions (TNSP)
 //
-echo
-  stGetSetting("aboutDescription").
-  stGetSetting("siteInfoText");
+echo stGetSetting("aboutDescription");
+
+if (stGetSetting("showInfoTextOnAbout"))
+  echo stGetSetting("siteInfoText");
 
 if (stGetSetting("showNewsOnAbout") &&
   ($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC LIMIT 2")) !== FALSE)