summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-15 20:29:30 -0700
committerZach Copley <zach@controlyourself.ca>2009-06-15 20:29:30 -0700
commit94fec28610a62fcf6d33c6ec1f451dadb5ca9b18 (patch)
tree482098ec898df8d7de88eefc313fe61c65fbf709
parent9dce5d00f14e2a866633fc717ea9099429b2e7ea (diff)
User design setting save
-rw-r--r--actions/designsettings.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/actions/designsettings.php b/actions/designsettings.php
index 0f7c27194..dedf19db8 100644
--- a/actions/designsettings.php
+++ b/actions/designsettings.php
@@ -111,10 +111,10 @@ class DesignsettingsAction extends AccountSettingsAction
$bgcolor = new WebColor($design->backgroundcolor);
$this->elementStart('li');
- $this->element('label', array('for' => 'swatch-0'), _('Background'));
+ $this->element('label', array('for' => 'swatch-1'), _('Background'));
$this->element('input', array('name' => 'design_background',
'type' => 'text',
- 'id' => 'swatch-0',
+ 'id' => 'swatch-1',
'class' => 'swatch',
'maxlength' => '7',
'size' => '7',
@@ -125,10 +125,10 @@ class DesignsettingsAction extends AccountSettingsAction
$ccolor = new WebColor($design->contentcolor);
$this->elementStart('li');
- $this->element('label', array('for' => 'swatch-1'), _('Content'));
+ $this->element('label', array('for' => 'swatch-2'), _('Content'));
$this->element('input', array('name' => 'design_content',
'type' => 'text',
- 'id' => 'swatch-1',
+ 'id' => 'swatch-2',
'class' => 'swatch',
'maxlength' => '7',
'size' => '7',
@@ -138,10 +138,10 @@ class DesignsettingsAction extends AccountSettingsAction
$sbcolor = new WebColor($design->sidebarcolor);
$this->elementStart('li');
- $this->element('label', array('for' => 'swatch-2'), _('Sidebar'));
+ $this->element('label', array('for' => 'swatch-3'), _('Sidebar'));
$this->element('input', array('name' => 'design_sidebar',
'type' => 'text',
- 'id' => 'swatch-2',
+ 'id' => 'swatch-3',
'class' => 'swatch',
'maxlength' => '7',
'size' => '7',
@@ -151,10 +151,10 @@ class DesignsettingsAction extends AccountSettingsAction
$tcolor = new WebColor($design->textcolor);
$this->elementStart('li');
- $this->element('label', array('for' => 'swatch-3'), _('Text'));
+ $this->element('label', array('for' => 'swatch-4'), _('Text'));
$this->element('input', array('name' => 'design_text',
'type' => 'text',
- 'id' => 'swatch-3',
+ 'id' => 'swatch-4',
'class' => 'swatch',
'maxlength' => '7',
'size' => '7',
@@ -164,10 +164,10 @@ class DesignsettingsAction extends AccountSettingsAction
$lcolor = new WebColor($design->linkcolor);
$this->elementStart('li');
- $this->element('label', array('for' => 'swatch-4'), _('Links'));
+ $this->element('label', array('for' => 'swatch-5'), _('Links'));
$this->element('input', array('name' => 'design_links',
'type' => 'text',
- 'id' => 'swatch-4',
+ 'id' => 'swatch-5',
'class' => 'swatch',
'maxlength' => '7',
'size' => '7',