summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-18 09:47:04 +0000
committerSarven Capadisli <csarven@status.net>2009-11-18 09:47:04 +0000
commit4fc99f8246e166da537b9a025e629677c3ae2ef3 (patch)
tree653daedacec75de58166925b6482b8d4c129cb70
parent229958e2208009bd6e709ea712cd5ef0bb86abfb (diff)
Updated admin design form markup
-rw-r--r--actions/designadminpanel.php11
-rw-r--r--theme/base/css/display.css3
2 files changed, 13 insertions, 1 deletions
diff --git a/actions/designadminpanel.php b/actions/designadminpanel.php
index 6b40ae021..d1aadc8c2 100644
--- a/actions/designadminpanel.php
+++ b/actions/designadminpanel.php
@@ -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'));
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 1057572da..2df322f13 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -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;
}