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-2020 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) {
45 . ($identity == $nr ? ' selected="selected" ' : '')
46 . 'value="' . $nr . '">'
47 . sm_encode_html_special_chars(
48 $data['full_name'].' <'.
49 $data['email_address'] . '>') .
58 echo sm_encode_html_special_chars($idents[0]['full_name'].' <'.$idents[0]['email_address'].'>');
62 <input type="hidden" name="send_to" value="<?php echo sm_encode_html_special_chars($send_to); ?>" />
63 <input type="hidden" name="subject" value="<?php echo sm_encode_html_special_chars($subject); ?>" />
64 <input type="hidden" name="body" value="<?php echo sm_encode_html_special_chars($body); ?>" />
65 <input type="hidden" name="mailbox" value="<?php echo sm_encode_html_special_chars($mailbox); ?>" />
66 <input type="submit" name="send1" value="<?php echo _("Send Mail"); ?>" />