From 5d26624e53d0eae77a3cd630afc5b58d4bc8a1ba Mon Sep 17 00:00:00 2001 From: kink Date: Sun, 10 Feb 2008 15:10:14 +0000 Subject: [PATCH 1/1] separate multiple addresses with ",", put as much on a line as can fit, by default display the first 3 (not 1) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12925 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/read_recipient_list.tpl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/default/read_recipient_list.tpl b/templates/default/read_recipient_list.tpl index f0c79fee..b3f0b2ea 100644 --- a/templates/default/read_recipient_list.tpl +++ b/templates/default/read_recipient_list.tpl @@ -33,11 +33,11 @@ extract($t); $count = 0; foreach ($recipients as $r) { $count++; - if ($count > 1 && !$show_more) + if ($count > 3 && !$show_more) continue; echo $r['Full']; - if ($show_more && $count != count($recipients)) { - echo '
'; + if ($count != count($recipients)) { + echo ", \n "; } } @@ -51,4 +51,5 @@ if (count($recipients) > 1) {  ()