1
1
Fork 0

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

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