aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-18 01:54:52 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-18 01:54:52 +0000
commiteffbb14022495081f80acdc1d68ced09c1dd67c0 (patch)
tree7112315a02ee181a45385d7270317203201b21b1 /views/default
parent5b8a7460d026d91f5c2411673f3b02be2b0e724d (diff)
downloadelgg-effbb14022495081f80acdc1d68ced09c1dd67c0.tar.gz
elgg-effbb14022495081f80acdc1d68ced09c1dd67c0.tar.bz2
added the framework to get a list of photos tagged with a user
Diffstat (limited to 'views/default')
-rw-r--r--views/default/object/image.php4
1 files changed, 2 insertions, 2 deletions
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 . '&amp;subtype=image&amp;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