// Add title decorations? (left)
if (!defined('__PAGE_TITLE')) {
if ((count($_CONFIG) > 1) && (is_resource($link)) && (isset($db))) {
// Add title decorations? (left)
if (!defined('__PAGE_TITLE')) {
if ((count($_CONFIG) > 1) && (is_resource($link)) && (isset($db))) {
- if (($_CONFIG['title_mod_show'] == 'Y') || ((empty($GLOBALS['what'])) && (empty($GLOBALS['action']))) || ($GLOBALS['module'] == "admin")) $TITLE .= " ".trim($_CONFIG['title_middle'])." ".ADD_MODULE_TITLE($GLOBALS['module']);
+ if (isset($_CONFIG['enable_mod_title'])) {
+ if (($_CONFIG['enable_mod_title'] == "Y") || ((empty($GLOBALS['what'])) && (empty($GLOBALS['action']))) || ($GLOBALS['module'] == "admin")) $TITLE .= " ".trim($_CONFIG['title_middle'])." ".ADD_MODULE_TITLE($GLOBALS['module']);
+ } // END - if
// Add title from what file
$MODE = "";
if ($GLOBALS['module'] == "login") $MODE = "member";
elseif ($GLOBALS['module'] == "index") $MODE = "guest";
// Add title from what file
$MODE = "";
if ($GLOBALS['module'] == "login") $MODE = "member";
elseif ($GLOBALS['module'] == "index") $MODE = "guest";
// Remember title in constant for the template
define('__PAGE_TITLE', html_entity_decode($TITLE));
// Remember title in constant for the template
define('__PAGE_TITLE', html_entity_decode($TITLE));
// Load language file because it was missing in installation finalizer step... *sigh*
require_once(sprintf("%sinc/language/install_%s.php",
PATH,
// Load language file because it was missing in installation finalizer step... *sigh*
require_once(sprintf("%sinc/language/install_%s.php",
PATH,
} else {
// Configuration not found!
define('__PAGE_TITLE', NO_CONFIG_FOUND_TITLE);
} else {
// Configuration not found!
define('__PAGE_TITLE', NO_CONFIG_FOUND_TITLE);
// Add meta description not in admin and login module and when the script is installed
META_DESCRIPTION($GLOBALS['module'], $GLOBALS['what']);
// Add meta description not in admin and login module and when the script is installed
META_DESCRIPTION($GLOBALS['module'], $GLOBALS['what']);
// Is the header sent and the script is not the mail confirmation script and not a CSS?
if (($header == "1") && (basename($_SERVER['PHP_SELF']) != "mailid.php") && ($CSS != "1")) {
// Add BODY tag
LOAD_TEMPLATE("page_body");
// Is the header sent and the script is not the mail confirmation script and not a CSS?
if (($header == "1") && (basename($_SERVER['PHP_SELF']) != "mailid.php") && ($CSS != "1")) {
// Add BODY tag
LOAD_TEMPLATE("page_body");