]> git.mxchange.org Git - friendica.git/commitdiff
show real profile link location on hover
authorFriendika <info@friendika.com>
Fri, 16 Sep 2011 22:40:34 +0000 (15:40 -0700)
committerFriendika <info@friendika.com>
Fri, 16 Sep 2011 22:40:34 +0000 (15:40 -0700)
include/conversation.php

index 6aad2485a7ab505d4ead881af73ea14e2b0295cd..4398d6a5c126183ff0ef9084cc7c5f8122514394 100644 (file)
@@ -211,7 +211,7 @@ function conversation(&$a, $items, $mode, $update) {
                                
                                $o .= replace_macros($tpl,array(
                                        '$id' => $item['item_id'],
-                                       '$linktitle' => sprintf( t('View %s\'s profile'), $profile_name),
+                                       '$linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
                                        '$profile_url' => $profile_link,
                                        '$item_photo_menu' => item_photo_menu($item),
                                        '$name' => $profile_name,
@@ -486,8 +486,8 @@ function conversation(&$a, $items, $mode, $update) {
 
                        $tmp_item = replace_macros($template,array(
                                '$id' => $item['item_id'],
-                               '$linktitle' => sprintf( t('View %s\'s profile'), $profile_name),
-                               '$olinktitle' => sprintf( t('View %s\'s profile'), $owner_name),
+                               '$linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
+                               '$olinktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['owner-link'])) ? $item['owner-link'] : $item['url'])),
                                '$to' => t('to'),
                                '$wall' => t('Wall-to-Wall'),
                                '$vwall' => t('via Wall-To-Wall:'),