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

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':