Browse Source

truncate long names

pull/1/head
Friendika 11 years ago
parent
commit
b4f2aac7e7
  1. 2
      mod/contacts.php
  2. 2
      mod/viewcontacts.php

2
mod/contacts.php

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

2
mod/viewcontacts.php

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

Loading…
Cancel
Save