Only grab comments marked i18n to the template.
[squirrelmail.git] / templates / default / read_recipient_list.tpl
index f0c79fee3552f06be6c66cfb1928576f9f34d65f..99a1c52468883c65f71c9e19de7cd97bb45da745 100644 (file)
@@ -33,15 +33,15 @@ 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   ";
     }
 }
 
-if (count($recipients) > 1) {
+if (count($recipients) > 3) {
     if ($show_more) {
         ?>
 &nbsp;<small>(<a href="<?php echo $more_less_toggle_href; ?>"><?php echo _("less"); ?></a>)</small>
@@ -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
+}
+