1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Issue #6 - BC Fix for LANs used in third-party template.

This commit is contained in:
Cameron 2017-07-20 14:04:33 -07:00
parent b6f9a7835b
commit 624eb5da89

View File

@ -21,8 +21,12 @@ if (!e107::isInstalled('download'))
e107::lan('download',false, true); // Loads e_PLUGIN.'download/languages/'.e_LANGUAGE.'/English_front.php'
$bcList = array(
'LAN_dl_19' => 'LAN_CATEGORY',
'LAN_dl_7' => 'LAN_DESCRIPTION',
'LAN_dl_10' => 'LAN_SIZE',
'LAN_dl_11' => 'LAN_IMAGE',
'LAN_dl_17' => 'LAN_FILES',
'LAN_dl_18' => 'LAN_PLUGIN_DOWNLOAD_NAME',
'LAN_dl_19' => 'LAN_CATEGORY',
"LAN_dl_20" => "LAN_FILES",
"LAN_dl_21" => "LAN_SIZE",
"LAN_dl_22" => "LAN_DATE",
@ -31,7 +35,9 @@ if (!e107::isInstalled('download'))
"LAN_dl_25" => "LAN_ASCENDING",
"LAN_dl_26" => "LAN_DESCENDING",
"LAN_dl_27" => "LAN_GO",
"LAN_dl_28" => "LAN_NAME"
"LAN_dl_28" => "LAN_NAME",
'LAN_dl_32' => "LAN_DOWNLOAD",
'LAN_dl_35' => "LAN_BACK",
);
e107::getLanguage()->bcDefs($bcList);