truncate long names
This commit is contained in:
parent
8acc76a3c6
commit
b4f2aac7e7
2 changed files with 2 additions and 2 deletions
|
@ -367,7 +367,7 @@ function contacts_content(&$a) {
|
||||||
'$alt_text' => $alt_text,
|
'$alt_text' => $alt_text,
|
||||||
'$dir_icon' => $dir_icon,
|
'$dir_icon' => $dir_icon,
|
||||||
'$thumb' => $rr['thumb'],
|
'$thumb' => $rr['thumb'],
|
||||||
'$name' => $rr['name'],
|
'$name' => substr($rr['name'],0,20),
|
||||||
'$sparkle' => $sparkle,
|
'$sparkle' => $sparkle,
|
||||||
'$url' => $url
|
'$url' => $url
|
||||||
));
|
));
|
||||||
|
|
|
@ -43,7 +43,7 @@ function viewcontacts_content(&$a) {
|
||||||
'$id' => $rr['id'],
|
'$id' => $rr['id'],
|
||||||
'$alt_text' => t('Visit ') . $rr['name'] . t('\'s profile'),
|
'$alt_text' => t('Visit ') . $rr['name'] . t('\'s profile'),
|
||||||
'$thumb' => $rr['thumb'],
|
'$thumb' => $rr['thumb'],
|
||||||
'$name' => $rr['name'],
|
'$name' => substr($rr['name'],0,20),
|
||||||
'$url' => $rr['url']
|
'$url' => $rr['url']
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue