summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-15 18:18:26 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-15 18:18:26 -0400
commit61487d4cd0d85a24a2c4737fa90bfe71cb967212 (patch)
tree6ad56254c1d99e00b711148e418cefb9a970e7fb /lib
parent12615c8e36f08d8120b7ac77e15ed68adee6773a (diff)
move email settings to its own tab
darcs-hash:20080715221826-84dde-8a3692f95199818c11dbb0be159d07f1ab10cf6a.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/settingsaction.php3
-rw-r--r--lib/util.php2
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/settingsaction.php b/lib/settingsaction.php
index fe0f48a7a..14e89c2e4 100644
--- a/lib/settingsaction.php
+++ b/lib/settingsaction.php
@@ -83,6 +83,9 @@ class SettingsAction extends Action {
array('profilesettings' =>
array('Profile',
'Change your profile settings'),
+ 'emailsettings' =>
+ array('Email',
+ 'Change email handling'),
'avatar' =>
array('Avatar',
'Upload a new profile image'),
diff --git a/lib/util.php b/lib/util.php
index 9d66c1ca1..97a36296c 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -724,6 +724,8 @@ function common_fancy_url($action, $args=NULL) {
return common_path('settings/'.$action);
case 'profilesettings':
return common_path('settings/profile');
+ case 'emailsettings':
+ return common_path('settings/email');
case 'openidsettings':
return common_path('settings/openid');
case 'newnotice':