separate multiple addresses with ",", put as much on a line
[squirrelmail.git] / templates / default / read_recipient_list.tpl
index f0c79fee3552f06be6c66cfb1928576f9f34d65f..b3f0b2ea18c29e95888af6f699e305b5bc0b003e 100644 (file)
@@ -33,11 +33,11 @@ extract($t);
 $count = 0;
 foreach ($recipients as $r) {
     $count++;
 $count = 0;
 foreach ($recipients as $r) {
     $count++;
-    if ($count > 1 && !$show_more)
+    if ($count > 3 && !$show_more)
         continue;
     echo $r['Full'];
         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
     }
 &nbsp;<small>(<a href="<?php echo $more_less_toggle_href; ?>"><?php echo _("more"); ?></a>)</small>
         <?php
     }
-}
\ No newline at end of file
+}
+