Added function that redirects user to index if no modules are enabled;

Added message that the user should disable the portal if all modules are disabled
This commit is contained in:
Marc Alexander
2010-11-26 15:35:34 +00:00
parent 2321270622
commit 9707e5e74e
2 changed files with 8 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ if (empty($lang) || !is_array($lang))
$lang = array_merge($lang, array(
// Portal Modules
'ACP_PORTAL_MODULES' => 'Portal Modules',
'ACP_PORTAL_MODULES_EXP' => 'You can manage your portal modules here',
'ACP_PORTAL_MODULES_EXP' => 'You can manage your portal modules here. If you turn off all modules, please also disable the Portal.',
'MODULE_POS_TOP' => 'Top',
'MODULE_POS_LEFT' => 'Left column',