diff options
author | Friendika <info@friendika.com> | 2011-02-01 14:09:47 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-01 14:09:47 -0800 |
commit | b4f2aac7e76d8d8a8330ade4116a015593f001a6 (patch) | |
tree | ec34eb131f5204f7117a394911b1d91034664ab5 /mod | |
parent | 8acc76a3c6fa3fe5401811fcd90a20a69388a850 (diff) | |
download | volse-hubzilla-b4f2aac7e76d8d8a8330ade4116a015593f001a6.tar.gz volse-hubzilla-b4f2aac7e76d8d8a8330ade4116a015593f001a6.tar.bz2 volse-hubzilla-b4f2aac7e76d8d8a8330ade4116a015593f001a6.zip |
truncate long names
Diffstat (limited to 'mod')
-rw-r--r-- | mod/contacts.php | 2 | ||||
-rw-r--r-- | mod/viewcontacts.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/contacts.php b/mod/contacts.php index 4c627c88f..61d9ce398 100644 --- a/mod/contacts.php +++ b/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 )); diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index bd73b2ffb..90ff85b9d 100644 --- a/mod/viewcontacts.php +++ b/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'] )); } |