1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

New language file types: English_global.php (for plugin.xml terms) and English_log.php (for admin-log terms). Auto-detected when present and loaded automatically when needed.

This commit is contained in:
Cameron
2012-12-12 18:46:34 -08:00
parent 0cfce79337
commit 87e225fc36
35 changed files with 276 additions and 144 deletions

View File

@@ -913,6 +913,13 @@ class pluginManager{
foreach($pluginList as $plug)
{
e107::loadLanFiles($plug['plugin_path'],'admin');
if($this->action == "avail")
{
e107::lan($plug['plugin_path'],'global', true); // Load language files.
}
$_path = e_PLUGIN.$plug['plugin_path'].'/';