aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-09-28 22:08:02 +0000
committerCash Costello <cash.costello@gmail.com>2009-09-28 22:08:02 +0000
commit30362f5fabb71e6f0f5a7b6b9b733be11dac73e2 (patch)
tree4c8cc3dcd58aa2f62df34221fe32b5e990f1c2be /views/default/object/image.php
parenta61747a62b53f342d55fef87be05b8abfbc8bf04 (diff)
downloadelgg-30362f5fabb71e6f0f5a7b6b9b733be11dac73e2.tar.gz
elgg-30362f5fabb71e6f0f5a7b6b9b733be11dac73e2.tar.bz2
consistent on owner link for search results - send to profile
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r--views/default/object/image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 292399074..ae652fdfd 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -34,7 +34,7 @@
else{
// list view displays a thumbnail icon of the image, its title, and the number of comments
$info = '<p><a href="' .$image->getURL(). '">'.$title.'</a></p>';
- $info .= "<p class=\"owner_timestamp\"><a href=\"{$vars['url']}pg/photos/owned/{$owner->username}\">{$owner->name}</a> {$friendlytime}";
+ $info .= "<p class=\"owner_timestamp\"><a href=\"{$vars['url']}pg/profile/{$owner->username}\">{$owner->name}</a> {$friendlytime}";
$numcomments = elgg_count_comments($image);
if ($numcomments)
$info .= ", <a href=\"{$image->getURL()}\">" . sprintf(elgg_echo("comments")) . " (" . $numcomments . ")</a>";