3 * read_recipient_list.tpl
5 * Template to generate the listing of recipeients for the To, CC and BCC fields.
7 * The following variables are available in this template:
8 * $which_field - The field that is currently being displayed. Will be 'to',
10 * $more_less_toggle_href - URL to toggle more/less addresses for this field
11 * $show_more - boolean TRUE if we want to show all addresses for this field.
12 * $recipients - array containing all receipients for this field. Each element
13 * is an array representing a recipient and contains the following
15 * $r['Name'] - The name attached to the receipient. Will contain the email
16 * if no name is provided.
17 * $r['Email'] - Email address of the recipient
18 * $a['Full'] - Full name + email
20 * @copyright © 1999-2006 The SquirrelMail Project Team
21 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
23 * @package squirrelmail
24 * @subpackage templates
27 /** add required includes **/
29 /** extract template variables **/
32 /** Begin template **/
34 foreach ($recipients as $r) {
36 if ($count > 3 && !$show_more)
39 if ($count != count($recipients)) {
44 if (count($recipients) > 3) {
47 <small>(<a href="<?php echo $more_less_toggle_href; ?>"><?php echo _("less"); ?></a>)</small>
51 <small>(<a href="<?php echo $more_less_toggle_href; ?>"><?php echo _("more"); ?></a>)</small>