Added check to prevent adding a module more than once
Few small bugfixes
This commit is contained in:
@@ -70,6 +70,7 @@ $lang = array_merge($lang, array(
|
||||
'MODULE_RESET' => 'Reset module configuration',
|
||||
'MODULE_RESET_EXP' => 'This will reset all settings to the default!',
|
||||
'MODULE_STATUS' => 'Enable module',
|
||||
'MODULE_ADD_ONCE' => 'This module can only be added once.',
|
||||
|
||||
// general
|
||||
'ACP_PORTAL' => 'Portal',
|
||||
|
||||
@@ -33,7 +33,8 @@ if (empty($lang) || !is_array($lang))
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'LATEST_BOTS' => 'Latest Bots',
|
||||
'LAST_VISITED_BOTS' => 'Last %s visited bots',
|
||||
'LAST_VISITED_BOTS' => 'Last visited bots',
|
||||
'LAST_VISITED_BOTS_CNT' => 'Last %s visited bots',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_BOTS_SETTINGS' => 'Visiting bots settings',
|
||||
|
||||
Reference in New Issue
Block a user