accept replyto for fancy newnotice URL
darcs-hash:20080709072833-84dde-42c600c5facb073f502318cae389832bd2115927.gz
This commit is contained in:
parent
d31624629e
commit
c8162f7d97
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue
Block a user