diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php
index 58263621e..9195f5396 100644
--- a/e107_handlers/theme_handler.php
+++ b/e107_handlers/theme_handler.php
@@ -1134,17 +1134,16 @@ class themeHandler
@@ -1432,6 +1431,26 @@ class themeHandler
".$this->renderThemeConfig()."
+
+
";
+
+ if($mode == 2) // admin
+ {
+ $mainid = "selectmain[".$theme['id']."]";
+ $text .= $this->frm->admin_button('submit_adminstyle', TPVLAN_35, 'update');
+ //$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 .= "";
+
+ $text .= "
\n";