]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Updated admin design form markup
authorSarven Capadisli <csarven@status.net>
Wed, 18 Nov 2009 09:47:04 +0000 (09:47 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 18 Nov 2009 09:47:04 +0000 (09:47 +0000)
actions/designadminpanel.php
theme/base/css/display.css

index 6b40ae02145d6bd4cb8d42a44e856c8307afa84e..d1aadc8c276ee112a151af5541ab175ca939d405 100644 (file)
@@ -401,6 +401,9 @@ class DesignAdminPanelForm extends Form
 
         $themes = array_combine($themes, $themes);
 
+        $this->out->elementStart('fieldset', array('id' =>
+            'settings_design_theme'));
+        $this->out->element('legend', null, _('Change theme'));
         $this->out->elementStart('ul', 'form_data');
 
         $this->out->elementStart('li');
@@ -408,7 +411,14 @@ class DesignAdminPanelForm extends Form
                              $themes, _('Theme for the site.'),
                              false, $this->value('theme'));
         $this->out->elementEnd('li');
+        $this->out->elementEnd('ul');
+        $this->out->elementEnd('fieldset');
+
 
+        $this->out->elementStart('fieldset', array('id' =>
+            'settings_design_background-image'));
+        $this->out->element('legend', null, _('Change background image'));
+        $this->out->elementStart('ul', 'form_data');
         $this->out->elementStart('li');
         $this->out->element('label', array('for' => 'design_background-image_file'),
                                 _('Background'));
@@ -474,6 +484,7 @@ class DesignAdminPanelForm extends Form
         }
 
         $this->out->elementEnd('ul');
+        $this->out->elementEnd('fieldset');
 
         $this->out->elementStart('fieldset', array('id' => 'settings_design_color'));
         $this->out->element('legend', null, _('Change colours'));
index 1057572da5cbe9d2bf83b9a42decd731c4580d5d..2df322f133b6a9b290cbce83a72ad16b59f05e61 100644 (file)
@@ -167,7 +167,8 @@ font-weight:bold;
 #form_password_recover legend,
 #form_password_change legend,
 .form_entity_block legend,
-#form_filter_bytag legend {
+#form_filter_bytag legend,
+#settings_design_theme legend {
 display:none;
 }