Updated admin design form markup

This commit is contained in:
Sarven Capadisli 2009-11-18 09:47:04 +00:00
parent 229958e220
commit 4fc99f8246
2 changed files with 13 additions and 1 deletions

View File

@ -401,6 +401,9 @@ class DesignAdminPanelForm extends Form
$themes = array_combine($themes, $themes); $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('ul', 'form_data');
$this->out->elementStart('li'); $this->out->elementStart('li');
@ -408,7 +411,14 @@ class DesignAdminPanelForm extends Form
$themes, _('Theme for the site.'), $themes, _('Theme for the site.'),
false, $this->value('theme')); false, $this->value('theme'));
$this->out->elementEnd('li'); $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->elementStart('li');
$this->out->element('label', array('for' => 'design_background-image_file'), $this->out->element('label', array('for' => 'design_background-image_file'),
_('Background')); _('Background'));
@ -474,6 +484,7 @@ class DesignAdminPanelForm extends Form
} }
$this->out->elementEnd('ul'); $this->out->elementEnd('ul');
$this->out->elementEnd('fieldset');
$this->out->elementStart('fieldset', array('id' => 'settings_design_color')); $this->out->elementStart('fieldset', array('id' => 'settings_design_color'));
$this->out->element('legend', null, _('Change colours')); $this->out->element('legend', null, _('Change colours'));

View File

@ -167,7 +167,8 @@ font-weight:bold;
#form_password_recover legend, #form_password_recover legend,
#form_password_change legend, #form_password_change legend,
.form_entity_block legend, .form_entity_block legend,
#form_filter_bytag legend { #form_filter_bytag legend,
#settings_design_theme legend {
display:none; display:none;
} }