Mercurial > hg > fapweb
comparison pages/compos.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 | 7e497188e4c6 |
children |
comparison
equal
deleted
inserted
replaced
1095:faa835271dfd | 1096:bbc0a3d0b51e |
---|---|
12 | 12 |
13 if (stChkSetting("showCompos")) | 13 if (stChkSetting("showCompos")) |
14 { | 14 { |
15 echo | 15 echo |
16 "<div id=\"top\"></div>\n". | 16 "<div id=\"top\"></div>\n". |
17 stGetSetting("compoDescription"); | 17 stGetSetting("msgCompoDescription"); |
18 | 18 |
19 $sql = "SELECT id,name FROM compos WHERE visible<>0 ORDER BY id ASC"; | 19 $sql = "SELECT id,name FROM compos WHERE visible<>0 ORDER BY id ASC"; |
20 | 20 |
21 if (($res = stExecSQL($sql)) !== FALSE) | 21 if (($res = stExecSQL($sql)) !== FALSE) |
22 { | 22 { |