mirror of
https://github.com/e107inc/e107.git
synced 2025-04-14 09:32:17 +02:00
Fixes #1213 - Auto-language file loading disabled when admin-ui active. Example language-file loading added to plugin-builder.
This commit is contained in:
parent
6d0aa7cdd9
commit
fec43710fe
@ -142,7 +142,7 @@ e107::coreLan('footer', true);
|
||||
{
|
||||
$_globalLans = e107::pref('core', 'lan_global_list');
|
||||
$_plugins = e107::getPref('plug_installed');
|
||||
if(!empty($_plugins) && !empty($_globalLans) && is_array($_plugins) && count($_plugins) > 0)
|
||||
if(!deftrue('e_ADMIN_UI') && !empty($_plugins) && !empty($_globalLans) && is_array($_plugins) && (count($_plugins) > 0))
|
||||
{
|
||||
$_plugins = array_keys($_plugins);
|
||||
|
||||
|
@ -3294,6 +3294,7 @@ if (!getperms('P'))
|
||||
exit;
|
||||
}
|
||||
|
||||
// e107::lan('".$thePlugin."',true);
|
||||
|
||||
|
||||
class ".$thePlugin."_adminArea extends e_admin_dispatcher
|
||||
|
@ -11,7 +11,7 @@
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
|
||||
class e_event_social //FIXME should be 'social_event'
|
||||
class social_event
|
||||
{
|
||||
|
||||
/*
|
||||
@ -24,6 +24,12 @@ class e_event_social //FIXME should be 'social_event'
|
||||
}
|
||||
|
||||
|
||||
function config()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
} //end class
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user