mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +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:
@@ -142,7 +142,7 @@ e107::coreLan('footer', true);
|
|||||||
{
|
{
|
||||||
$_globalLans = e107::pref('core', 'lan_global_list');
|
$_globalLans = e107::pref('core', 'lan_global_list');
|
||||||
$_plugins = e107::getPref('plug_installed');
|
$_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);
|
$_plugins = array_keys($_plugins);
|
||||||
|
|
||||||
|
@@ -3294,6 +3294,7 @@ if (!getperms('P'))
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// e107::lan('".$thePlugin."',true);
|
||||||
|
|
||||||
|
|
||||||
class ".$thePlugin."_adminArea extends e_admin_dispatcher
|
class ".$thePlugin."_adminArea extends e_admin_dispatcher
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
if (!defined('e107_INIT')) { exit; }
|
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
|
} //end class
|
||||||
|
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user