separate multiple addresses with ",", put as much on a line
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Feb 2008 15:10:14 +0000 (15:10 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Feb 2008 15:10:14 +0000 (15:10 +0000)
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

index f0c79fe..b3f0b2e 100644 (file)
@@ -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 '<br />';
+    if ($count != count($recipients)) {
+        echo ", \n   ";
     }
 }
 
@@ -51,4 +51,5 @@ if (count($recipients) > 1) {
 &nbsp;<small>(<a href="<?php echo $more_less_toggle_href; ?>"><?php echo _("more"); ?></a>)</small>
         <?php
     }
-}
\ No newline at end of file
+}
+