Show a background img in settings form

This commit is contained in:
Zach Copley 2009-06-16 22:57:28 -07:00
parent f2b6bde975
commit a0618b0e33
1 changed files with 6 additions and 0 deletions

View File

@ -105,6 +105,12 @@ class DesignsettingsAction extends AccountSettingsAction
$this->elementEnd('li');
$this->elementStart('li', array('id' => 'design_background-image_onoff'));
if (!empty($design->backgroundimage)) {
$this->element('img', array('src' =>
Design::url($design->backgroundimage)));
}
$this->element('input', array('name' => 'design_background-image_onoff',
'type' => 'radio',
'id' => 'design_background-image_on',