summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-04-12 20:30:14 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-04-12 20:30:14 +0000
commita9461356b809cb27bd5e509678830791608f5e5b (patch)
treeac1e29b4af9396b5714d0e1f91a4f01c21771ee6 /lib
parentdac9525254f23b610452194e90bd7af8fbf91dfd (diff)
Created Design page for users to customize the way their profile pages
look by changing the background image and picking a colour palette for text.
Diffstat (limited to 'lib')
-rw-r--r--lib/accountsettingsaction.php3
-rw-r--r--lib/router.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/accountsettingsaction.php b/lib/accountsettingsaction.php
index 46090b8c1..86800d2a3 100644
--- a/lib/accountsettingsaction.php
+++ b/lib/accountsettingsaction.php
@@ -115,6 +115,9 @@ class AccountSettingsNav extends Widget
'openidsettings' =>
array(_('OpenID'),
_('Add or remove OpenIDs')),
+ 'designsettings' =>
+ array(_('Design'),
+ _('Design your profile')),
'othersettings' =>
array(_('Other'),
_('Other options')));
diff --git a/lib/router.php b/lib/router.php
index 060253eb5..5e16f3419 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -131,7 +131,7 @@ class Router
// settings
foreach (array('profile', 'avatar', 'password', 'openid', 'im',
- 'email', 'sms', 'twitter', 'other') as $s) {
+ 'email', 'sms', 'twitter', 'design', 'other') as $s) {
$m->connect('settings/'.$s, array('action' => $s.'settings'));
}