summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 17:42:07 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 17:42:07 -0500
commit8d718906bc6b2646ac328e232e924e62572191a4 (patch)
tree140556c75ef2516f89e45850bacafe5ab5650e64 /lib/util.php
parent48b55301d4906799454fe78fedddf384a454c786 (diff)
add peopletag action for tagged people
darcs-hash:20081120224207-84dde-3fe1c8936ca93fc8c65e9a9b4680e8a7b3dd38b8.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 13fcfcc70..2f64ea599 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1092,6 +1092,10 @@ function common_fancy_url($action, $args=NULL) {
$path = 'tags';
}
return common_path($path . (($args) ? ('?' . http_build_query($args)) : ''));
+ case 'peopletag':
+ $path = 'peopletag/' . $args['tag'];
+ unset($args['tag']);
+ return common_path($path . (($args) ? ('?' . http_build_query($args)) : ''));
case 'tags':
return common_path('tags' . (($args) ? ('?' . http_build_query($args)) : ''));
case 'favor':