$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) {
?>
<small>(<a href="<?php echo $more_less_toggle_href; ?>"><?php echo _("less"); ?></a>)</small>
<small>(<a href="<?php echo $more_less_toggle_href; ?>"><?php echo _("more"); ?></a>)</small>
<?php
}
-}
\ No newline at end of file
+}
+