mirror of
https://github.com/e107inc/e107.git
synced 2025-08-09 16:17:14 +02:00
Make calls to toHTML which use $modifiers consistent to avoid potential future problems.
This commit is contained in:
16
class2.php
16
class2.php
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2007-01-04 23:43:02 $
|
||||
| $Author: lisa_ $
|
||||
| $Revision: 1.7 $
|
||||
| $Date: 2007-01-07 15:59:41 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
//
|
||||
@@ -512,14 +512,14 @@ $sql -> db_Mark_Time('Start: Init session');
|
||||
init_session();
|
||||
|
||||
// for multi-language these definitions needs to come after the language loaded.
|
||||
define("SITENAME", trim($tp->toHTML($pref['sitename'], "", "emotes_off defs no_make_clickable")));
|
||||
define("SITENAME", trim($tp->toHTML($pref['sitename'], "", "emotes_off, defs, no_make_clickable")));
|
||||
define("SITEBUTTON", $pref['sitebutton']);
|
||||
define("SITETAG", $tp->toHTML($pref['sitetag'], FALSE, "emotes_off defs"));
|
||||
define("SITEDESCRIPTION", $tp->toHTML($pref['sitedescription'], "", "emotes_off defs"));
|
||||
define("SITETAG", $tp->toHTML($pref['sitetag'], FALSE, "emotes_off, defs"));
|
||||
define("SITEDESCRIPTION", $tp->toHTML($pref['sitedescription'], "", "emotes_off, defs"));
|
||||
define("SITEADMIN", $pref['siteadmin']);
|
||||
define("SITEADMINEMAIL", $pref['siteadminemail']);
|
||||
define("SITEDISCLAIMER", $tp->toHTML($pref['sitedisclaimer'], "", "emotes_off defs"));
|
||||
define("SITECONTACTINFO", $tp->toHTML($pref['sitecontactinfo'], TRUE, "emotes_off defs"));
|
||||
define("SITEDISCLAIMER", $tp->toHTML($pref['sitedisclaimer'], "", "emotes_off, defs"));
|
||||
define("SITECONTACTINFO", $tp->toHTML($pref['sitecontactinfo'], TRUE, "emotes_off, defs"));
|
||||
|
||||
// legacy module.php file loading.
|
||||
if (isset($pref['modules']) && $pref['modules']) {
|
||||
|
Reference in New Issue
Block a user