rewrite for settings of sms

darcs-hash:20080721083758-84dde-76534893df215e9754c00c1e0a6d6351f64f1818.gz
This commit is contained in:
Evan Prodromou 2008-07-21 04:37:58 -04:00
parent 9e8ef3bce1
commit 0876b60006
2 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@ RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA]
RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA] RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA] RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
RewriteRule ^settings/email$ index.php?action=emailsettings [L,QSA] RewriteRule ^settings/email$ index.php?action=emailsettings [L,QSA]
RewriteRule ^settings/sms$ index.php?action=smssettings [L,QSA]
RewriteRule ^search/people$ index.php?action=peoplesearch [L,QSA] RewriteRule ^search/people$ index.php?action=peoplesearch [L,QSA]
RewriteRule ^search/notice$ index.php?action=noticesearch [L,QSA] RewriteRule ^search/notice$ index.php?action=noticesearch [L,QSA]

View File

@ -742,6 +742,8 @@ function common_fancy_url($action, $args=NULL) {
return common_path('settings/email'); return common_path('settings/email');
case 'openidsettings': case 'openidsettings':
return common_path('settings/openid'); return common_path('settings/openid');
case 'smssettings':
return common_path('settings/sms');
case 'newnotice': case 'newnotice':
if ($args && $args['replyto']) { if ($args && $args['replyto']) {
return common_path('notice/new?replyto='.$args['replyto']); return common_path('notice/new?replyto='.$args['replyto']);