truncate long names

This commit is contained in:
Friendika
2011-02-01 14:09:47 -08:00
parent 8acc76a3c6
commit b4f2aac7e7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ function viewcontacts_content(&$a) {
'$id' => $rr['id'],
'$alt_text' => t('Visit ') . $rr['name'] . t('\'s profile'),
'$thumb' => $rr['thumb'],
'$name' => $rr['name'],
'$name' => substr($rr['name'],0,20),
'$url' => $rr['url']
));
}