From: Zach Copley Date: Wed, 17 Jun 2009 05:57:28 +0000 (-0700) Subject: Show a background img in settings form X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a0618b0e33e20700b243d696f2bf139f1167ec93;p=quix0rs-gnu-social.git Show a background img in settings form --- diff --git a/actions/designsettings.php b/actions/designsettings.php index 866d8aaeb7..a97235e678 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',