Show a background img in settings form
This commit is contained in:
parent
f2b6bde975
commit
a0618b0e33
@ -105,6 +105,12 @@ class DesignsettingsAction extends AccountSettingsAction
|
|||||||
$this->elementEnd('li');
|
$this->elementEnd('li');
|
||||||
|
|
||||||
$this->elementStart('li', array('id' => 'design_background-image_onoff'));
|
$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',
|
$this->element('input', array('name' => 'design_background-image_onoff',
|
||||||
'type' => 'radio',
|
'type' => 'radio',
|
||||||
'id' => 'design_background-image_on',
|
'id' => 'design_background-image_on',
|
||||||
|
Loading…
Reference in New Issue
Block a user