]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
consistent on owner link for search results - send to profile
authorCash Costello <cash.costello@gmail.com>
Mon, 28 Sep 2009 22:08:02 +0000 (22:08 +0000)
committerCash Costello <cash.costello@gmail.com>
Mon, 28 Sep 2009 22:08:02 +0000 (22:08 +0000)
views/default/object/album.php
views/default/object/image.php

index 988ad0f7cfb901b0f7336e5c7a5c2ef08af5190c..6ef6bc356093bab02c997f70959e5222a37fb004 100644 (file)
@@ -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>";
index 292399074be81b59da0d45ac717097e9b570fc51..ae652fdfd35d5b3097b102b7b5de6a5dc6a41549 100644 (file)
@@ -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>";