From effbb14022495081f80acdc1d68ced09c1dd67c0 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Thu, 18 Jun 2009 01:54:52 +0000 Subject: added the framework to get a list of photos tagged with a user --- views/default/object/image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default/object') diff --git a/views/default/object/image.php b/views/default/object/image.php index d86f3ca46..d7b791a78 100644 --- a/views/default/object/image.php +++ b/views/default/object/image.php @@ -30,7 +30,7 @@ if ($photo_tags) { $phototag_text = $photo_tag->value; - $phototag_link = $vars['url'] . "word"; + $phototag_link = $vars['url'] . 'search/?tag=' . $phototag_text . '&subtype=image&object=object'; if ($photo_tag->type === 'user') { $user = get_entity($photo_tag->value); if ($user) @@ -38,7 +38,7 @@ if ($photo_tags) { else $phototag_text = "unknown user"; - $phototag_link = $vars['url'] . "user"; + $phototag_link = $vars['url'] . "pg/photos/search/" . $photo_tag->value; } // hack to handle format of Pedro Prez's tags - ugh -- cgit v1.2.3