forked from GNUsocial/gnu-social
fancy urls for show message, new message
darcs-hash:20080917180244-5ed1f-06e2ac2d8f094eacd12b316794b0599b57d76596.gz
This commit is contained in:
@@ -934,6 +934,10 @@ function common_fancy_url($action, $args=NULL) {
|
||||
} else {
|
||||
return common_path($args['nickname'].'/favorites');
|
||||
}
|
||||
case 'showmessage':
|
||||
return common_path('message/' . $args['id']);
|
||||
case 'newmessage':
|
||||
return common_path('message/new' . (($args) ? ('?' . http_build_query($args)) : ''));
|
||||
default:
|
||||
return common_simple_url($action, $args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user