changeset 621:9ad53fda22bc

Use newly added setting.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 01 Nov 2014 05:41:41 +0200
parents 8444fe96120e
children b58495c2d01a
files pages/about.inc.php
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
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)