6 * Template for listcommands (un)subscribe/help mail sending interface
8 * The following variables are available in this template:
9 * + $ - The lists that the user currently has
10 * configured (an array of list addresses,
11 * keyed by an ID number)
13 * @copyright 1999-2012 The SquirrelMail Project Team
14 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
17 * @subpackage listcommands
21 // retrieve the template vars
28 <div class="dialogbox">
29 <table class="wrapper">
30 <tr><td class="header1"><?php echo _("Mailinglist") . ': ' . $fielddescr; ?></td></tr>
33 <?php echo $out_string; ?>
37 <form action="../../src/compose.php" method="post">
39 <?php if (count($idents) > 1) {
40 echo '<label for="identity">' . _("From:") .'</label> ';
41 echo '<select name="identity" id="identity">';
43 foreach($idents as $nr=>$data) {
44 echo '<option value="' . $nr . '">' .
46 $data['full_name'].' <'.
47 $data['email_address'] . '>') .
56 echo htmlspecialchars($idents[0]['full_name'].' <'.$idents[0]['email_address'].'>');
60 <input type="hidden" name="send_to" value="<?php echo htmlspecialchars($send_to); ?>" />
61 <input type="hidden" name="subject" value="<?php echo htmlspecialchars($subject); ?>" />
62 <input type="hidden" name="body" value="<?php echo htmlspecialchars($body); ?>" />
63 <input type="hidden" name="mailbox" value="<?php echo htmlspecialchars($mailbox); ?>" />
64 <input type="submit" name="send1" value="<?php echo _("Send Mail"); ?>" />