summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-17 04:09:30 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-17 04:09:30 +0000
commitbea2fa15060e03d818db043122bf9529d2b77662 (patch)
treee0f88ea1b59821999ddf9cc6ee7c7a81ab5244dc /actions
parent90344e55d46f07e69ff0800552d28ea90b11764a (diff)
Added form option to tile background image and to turn it on and off
Diffstat (limited to 'actions')
-rw-r--r--actions/designsettings.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/actions/designsettings.php b/actions/designsettings.php
index aa6915b98..e97d01ceb 100644
--- a/actions/designsettings.php
+++ b/actions/designsettings.php
@@ -97,6 +97,34 @@ class DesignsettingsAction extends AccountSettingsAction
'id' => 'MAX_FILE_SIZE',
'value' => ImageFile::maxFileSizeInt()));
$this->elementEnd('li');
+
+ $this->elementStart('li', array('id' => 'design_background-image_onoff'));
+ $this->element('input', array('name' => 'design_background-image_onoff',
+ 'type' => 'radio',
+ 'id' => 'design_background-image_on',
+ 'class' => 'radio',
+ 'value' => 'true',
+ 'checked'=> 'checked'));
+ $this->element('label', array('for' => 'design_background-image_on',
+ 'class' => 'radio'),
+ _('On'));
+ $this->element('input', array('name' => 'design_background-image_onoff',
+ 'type' => 'radio',
+ 'id' => 'design_background-image_off',
+ 'class' => 'radio',
+ 'value' => 'false'));
+ $this->element('label', array('for' => 'design_background-image_off',
+ 'class' => 'radio'),
+ _('Off'));
+ $this->element('p', 'form_guide', _('Turn background image on or off.'));
+ $this->elementEnd('li');
+
+ $this->elementStart('li');
+ $this->checkbox('design_background-image_repeat',
+ _('Tile background image'),
+ false, null, true, false);
+ $this->elementEnd('li');
+
$this->elementEnd('ul');
$this->elementEnd('fieldset');