// Fixed warning in AdminModulesController (variable conflict)
This commit is contained in:
@@ -691,16 +691,16 @@ class AdminModulesControllerCore extends AdminController
|
|||||||
$hooklink = 'index.php?tab=AdminModulesPositions&token='.Tools::getAdminTokenLite('AdminModulesPositions').'&show_modules='.(int)$module->id;
|
$hooklink = 'index.php?tab=AdminModulesPositions&token='.Tools::getAdminTokenLite('AdminModulesPositions').'&show_modules='.(int)$module->id;
|
||||||
$tradlink = 'index.php?tab=AdminTranslations&token='.Tools::getAdminTokenLite('AdminTranslations').'&type=modules&lang=';
|
$tradlink = 'index.php?tab=AdminTranslations&token='.Tools::getAdminTokenLite('AdminTranslations').'&type=modules&lang=';
|
||||||
|
|
||||||
$language = '';
|
$mlanguage = '';
|
||||||
foreach (Language::getLanguages(false) as $language)
|
foreach (Language::getLanguages(false) as $language)
|
||||||
$language .= '<a href="'.$tradlink.$language['iso_code'].'#'.$module->name.'" ><img src="'._THEME_LANG_DIR_.$language['id_lang'].'.jpg" alt="'.$language['iso_code'].'" title="'.$language['iso_code'].'" /></a>';
|
$mlanguage .= '<a href="'.$tradlink.$language['iso_code'].'#'.$module->name.'" ><img src="'._THEME_LANG_DIR_.$language['id_lang'].'.jpg" alt="'.$language['iso_code'].'" title="'.$language['iso_code'].'" /></a>';
|
||||||
|
|
||||||
|
|
||||||
$this->context->smarty->assign(array(
|
$this->context->smarty->assign(array(
|
||||||
'module_name' => $module->name,
|
'module_name' => $module->name,
|
||||||
'backlink' => $backlink,
|
'backlink' => $backlink,
|
||||||
'module_hooklink' => $hooklink,
|
'module_hooklink' => $hooklink,
|
||||||
'module_language' => $language
|
'module_language' => $mlanguage
|
||||||
));
|
));
|
||||||
|
|
||||||
// Display checkbox in toolbar if multishop
|
// Display checkbox in toolbar if multishop
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 1.6 KiB |
Reference in New Issue
Block a user