truncate long names

pull/1/head
Friendika 2011-02-01 14:09:47 -08:00
parent 8acc76a3c6
commit b4f2aac7e7
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ function contacts_content(&$a) {
'$alt_text' => $alt_text,
'$dir_icon' => $dir_icon,
'$thumb' => $rr['thumb'],
'$name' => $rr['name'],
'$name' => substr($rr['name'],0,20),
'$sparkle' => $sparkle,
'$url' => $url
));

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']
));
}