// Fixed button order
This commit is contained in:
1 parent
ddc342183b
commit
2274ce2dcf
1 file changed
+2
-2
@@ -2947,6 +2947,7 @@ class AdminControllerCore extends Controller
|
|||||||
'cond' => true,
|
'cond' => true,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
$return = '';
|
$return = '';
|
||||||
foreach ($modules_options as $option_name => $option)
|
foreach ($modules_options as $option_name => $option)
|
||||||
{
|
{
|
||||||
@@ -2965,9 +2966,8 @@ class AdminControllerCore extends Controller
|
|||||||
if (!$module->id)
|
if (!$module->id)
|
||||||
$return = '<option data-onclick="" data-href="'.self::$currentIndex.'&install='.urlencode($module->name).'&token='.$this->token.'&tab_module='.$module->tab.'&module_name='.$module->name.'&anchor=anchor'.ucfirst($module->name).(!is_null($back) ? '&back='.urlencode($back) : '').'" >'.$this->translationsTab['Install'].'</option>'.$return;
|
$return = '<option data-onclick="" data-href="'.self::$currentIndex.'&install='.urlencode($module->name).'&token='.$this->token.'&tab_module='.$module->tab.'&module_name='.$module->name.'&anchor=anchor'.ucfirst($module->name).(!is_null($back) ? '&back='.urlencode($back) : '').'" >'.$this->translationsTab['Install'].'</option>'.$return;
|
||||||
else
|
else
|
||||||
$return = '<option data-onclick="" data-href="'.self::$currentIndex.'&uninstall='.urlencode($module->name).'&token='.$this->token.'&tab_module='.$module->tab.'&module_name='.$module->name.'&anchor=anchor'.ucfirst($module->name).(!is_null($back) ? '&back='.urlencode($back) : '').'" >'.$this->translationsTab['Uninstall'].'</option>'.$return;
|
$return .= '<option data-onclick="" data-href="'.self::$currentIndex.'&uninstall='.urlencode($module->name).'&token='.$this->token.'&tab_module='.$module->tab.'&module_name='.$module->name.'&anchor=anchor'.ucfirst($module->name).(!is_null($back) ? '&back='.urlencode($back) : '').'" >'.$this->translationsTab['Uninstall'].'</option>';
|
||||||
$return = '<select id="select_'.$module->name.'">'.$return.'</select>';
|
$return = '<select id="select_'.$module->name.'">'.$return.'</select>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
|
|||||||
Reference in new issue
Block a user