summaryrefslogtreecommitdiff
path: root/actions/designsettings.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-16 22:57:28 -0700
committerZach Copley <zach@controlyourself.ca>2009-06-16 22:57:28 -0700
commita0618b0e33e20700b243d696f2bf139f1167ec93 (patch)
treec3648744aeca5525d45696155f38e5997cd7c98e /actions/designsettings.php
parentf2b6bde975746f375fab966f3219e366577a42f8 (diff)
Show a background img in settings form
Diffstat (limited to 'actions/designsettings.php')
-rw-r--r--actions/designsettings.php6
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',