mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Removed "Set As Site Theme" and "Set As Admin Theme" buttons from theme
manager option forms
This commit is contained in:
@@ -1174,14 +1174,14 @@ class themeHandler
|
||||
{
|
||||
$mainid = "selectmain[".$theme['id']."]";
|
||||
$text .= $this->frm->admin_button('submit_adminstyle', TPVLAN_35, 'update');
|
||||
$text .= $this->frm->admin_button($mainid, TPVLAN_10, 'other');
|
||||
//$text .= $this->frm->admin_button($mainid, TPVLAN_10, 'other');
|
||||
|
||||
}
|
||||
else // main
|
||||
{
|
||||
$adminid = "selectadmin[".$theme['id']."]";
|
||||
$text .= $this->frm->admin_button('submit_style', TPVLAN_35, 'update');
|
||||
$text .= $this->frm->admin_button($adminid, TPVLAN_32, 'other');
|
||||
//$text .= $this->frm->admin_button($adminid, TPVLAN_32, 'other');
|
||||
}
|
||||
|
||||
$text .= "<input type='hidden' name='curTheme' value='".$theme['path']."' />";
|
||||
|
Reference in New Issue
Block a user