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
));