fancy url for favorites rss
darcs-hash:20080928175626-5ed1f-cb8775fbff6825e56378f4b900f496cbc6cb3678.gz
This commit is contained in:
parent
dc5f47ab4a
commit
47edd73581
|
@ -73,6 +73,7 @@ RewriteRule ^(\w+)/replies$ index.php?action=replies&nickname=$1 [L,QSA]
|
|||
RewriteRule ^(\w+)/replies/rss$ index.php?action=repliesrss&nickname=$1 [L,QSA]
|
||||
RewriteRule ^(\w+)/avatar/(original|96|48|24)$ index.php?action=avatarbynickname&nickname=$1&size=$2 [L,QSA]
|
||||
RewriteRule ^(\w+)/favorites$ index.php?action=showfavorites&nickname=$1 [L,QSA]
|
||||
RewriteRule ^(\w+)/favorites/rss$ index.php?action=favoritesrss&nickname=$1 [L,QSA]
|
||||
RewriteRule ^(\w+)/inbox$ index.php?action=inbox&nickname=$1 [L,QSA]
|
||||
RewriteRule ^(\w+)/outbox$ index.php?action=outbox&nickname=$1 [L,QSA]
|
||||
|
||||
|
|
|
@ -945,6 +945,8 @@ function common_fancy_url($action, $args=NULL) {
|
|||
} else {
|
||||
return common_path($args['nickname'].'/favorites');
|
||||
}
|
||||
case 'favoritesrss':
|
||||
return common_path($args['nickname'].'/favorites/rss');
|
||||
case 'showmessage':
|
||||
return common_path('message/' . $args['message']);
|
||||
case 'newmessage':
|
||||
|
|
Loading…
Reference in New Issue
Block a user