diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-06-16 22:57:28 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-16 22:57:28 -0700 |
commit | a0618b0e33e20700b243d696f2bf139f1167ec93 (patch) | |
tree | c3648744aeca5525d45696155f38e5997cd7c98e /actions | |
parent | f2b6bde975746f375fab966f3219e366577a42f8 (diff) |
Show a background img in settings form
Diffstat (limited to 'actions')
-rw-r--r-- | actions/designsettings.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/designsettings.php b/actions/designsettings.php index 866d8aaeb..a97235e67 100644 --- a/actions/designsettings.php +++ b/actions/designsettings.php @@ -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', |