diff options
| author | Cash Costello <cash.costello@gmail.com> | 2009-09-28 22:08:02 +0000 | 
|---|---|---|
| committer | Cash Costello <cash.costello@gmail.com> | 2009-09-28 22:08:02 +0000 | 
| commit | 30362f5fabb71e6f0f5a7b6b9b733be11dac73e2 (patch) | |
| tree | 4c8cc3dcd58aa2f62df34221fe32b5e990f1c2be | |
| parent | a61747a62b53f342d55fef87be05b8abfbc8bf04 (diff) | |
| download | elgg-30362f5fabb71e6f0f5a7b6b9b733be11dac73e2.tar.gz elgg-30362f5fabb71e6f0f5a7b6b9b733be11dac73e2.tar.bz2 | |
consistent on owner link for search results - send to profile
| -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>"; | 
