]> git.mxchange.org Git - friendica.git/blobdiff - mod/viewcontacts.php
multi-user, do not cache open mbox
[friendica.git] / mod / viewcontacts.php
index bd73b2ffbe837d1e657ca8aba9e6536d0c3e3057..063637bf9e2d26e8d98e9f606a4ba801842c2e2c 100644 (file)
@@ -41,9 +41,10 @@ function viewcontacts_content(&$a) {
 
                $o .= replace_macros($tpl, array(
                        '$id' => $rr['id'],
-                       '$alt_text' => t('Visit ') . $rr['name'] . t('\'s profile'),
+                       '$alt_text' => t('Visit $username\'s profile'),
                        '$thumb' => $rr['thumb'], 
-                       '$name' => $rr['name'],
+                       '$name' => substr($rr['name'],0,20),
+                       '$username' => $rr['name'],
                        '$url' => $rr['url'] 
                ));
        }