From 8d718906bc6b2646ac328e232e924e62572191a4 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Nov 2008 17:42:07 -0500 Subject: add peopletag action for tagged people darcs-hash:20081120224207-84dde-3fe1c8936ca93fc8c65e9a9b4680e8a7b3dd38b8.gz --- lib/util.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') 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': -- cgit v1.2.3-54-g00ecf