// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} // END - if
-
-// Add description as navigation point
-addMenuDescription('guest', __FILE__);
+} elseif (!isBlockModeEnabled()) {
+ // Block mode detected
+ return;
+}
if ((!isExtensionActive('theme')) && (!isAdmin())) {
loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('theme'));
$num_themes = countSumTotalData('', 'themes', 'id', '', true);
}
+$OUT = '';
if ($num_themes > 1) {
// If more than 1 is installed output selection box
$OUT = generateThemeSelectionBox();
$OUT = loadTemplate('theme_one', true, getCurrentThemeName());
} elseif (isAdmin()) {
// If there is no theme installed and there's an admin notify him!
- $OUT = loadTemplate('admin_settings_saved', true, "<div class=\"admin_note\">{--ADMIN_NO_THEME_INSTALLED_WARNING--}</div>");
+ $OUT = '{--ADMIN_NO_THEME_INSTALLED_WARNING--}';
}
// Load final box template