// missing file
This commit is contained in:
1 parent
c56e8471c2
commit
f9b1545037
1 file changed
+1
-1
@@ -714,7 +714,7 @@ class AdminModulesControllerCore extends AdminController
|
|||||||
$activateOnclick = 'onclick="location.href = \''.$this->getCurrentUrl('enable').'&enable=\'+(($(this).attr(\'checked\')) ? 1 : 0)"';
|
$activateOnclick = 'onclick="location.href = \''.$this->getCurrentUrl('enable').'&enable=\'+(($(this).attr(\'checked\')) ? 1 : 0)"';
|
||||||
$toolbar .= '<tr>
|
$toolbar .= '<tr>
|
||||||
<th colspan="4">
|
<th colspan="4">
|
||||||
<input type="checkbox" name="activateModule" value="1" '.(($module->active) ? 'checked="checked"' : '').' '.$activateOnclick.' /> '.$this->l('Activate module for').' ';
|
<input type="checkbox" name="activateModule" value="1" '.($module->isEnabledForShopContext() ? 'checked="checked"' : '').' '.$activateOnclick.' /> '.$this->l('Activate module for').' ';
|
||||||
if (Shop::getContext() == Shop::CONTEXT_SHOP)
|
if (Shop::getContext() == Shop::CONTEXT_SHOP)
|
||||||
$toolbar .= 'shop <b>'.$this->context->shop->name.'</b>';
|
$toolbar .= 'shop <b>'.$this->context->shop->name.'</b>';
|
||||||
elseif (Shop::getContext() == Shop::CONTEXT_GROUP)
|
elseif (Shop::getContext() == Shop::CONTEXT_GROUP)
|
||||||
|
|||||||
Reference in new issue
Block a user