diff options
-rw-r--r-- | views/default/object/album.php | 2 | ||||
-rw-r--r-- | views/default/object/image.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/object/album.php b/views/default/object/album.php index 988ad0f7c..6ef6bc356 100644 --- a/views/default/object/album.php +++ b/views/default/object/album.php @@ -58,7 +58,7 @@ *****************************************************************************/ $info = '<p><a href="' . $album->getURL() . '">' . $title . '</a></p>'; - $info .= "<p class=\"owner_timestamp\"><a href=\"{$vars['url']}pg/file/{$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($album); if ($numcomments) $info .= ", <a href=\"{$album->getURL()}\">" . sprintf(elgg_echo("comments")) . " (" . $numcomments . ")</a>"; 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>"; |