accept replyto for fancy newnotice URL

darcs-hash:20080709072833-84dde-42c600c5facb073f502318cae389832bd2115927.gz
This commit is contained in:
Evan Prodromou 2008-07-09 03:28:33 -04:00
parent d31624629e
commit c8162f7d97
1 changed files with 5 additions and 1 deletions

View File

@ -730,7 +730,11 @@ function common_fancy_url($action, $args=NULL) {
case 'openidsettings':
return common_path('settings/openid');
case 'newnotice':
return common_path('notice/new');
if ($args && $args['replyto']) {
return common_path('notice/new?replyto='.$args['replyto']);
} else {
return common_path('notice/new');
}
case 'shownotice':
return common_path('notice/'.$args['notice']);
case 'xrds':