6 * Template for listcommands non-RFC-compliant list subscriptions
9 * The following variables are available in this template:
10 * + $lists - The lists that the user currently has
11 * configured (an array of list addresses,
12 * keyed by an ID number)
14 * @copyright © 1999-2006 The SquirrelMail Project Team
15 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
18 * @subpackage listcommands
22 // retrieve the template vars
27 ?><form method="post" action="">
28 <div id="optionGroups">
29 <table cellspacing="0">
31 <td class="header1" colspan="2">
32 <?php echo _("Options") . " - " . _("Mailing Lists"); ?>
36 <td colspan="2"><?php echo _("Manage the (non-RFC-compliant) mailing lists that you are subscribed to for the purpose of providing one-click list replies when responding to list messages. You only need to enter any lists you are subscribed to that do not already comply with RFC 2369.") . '<br /><br />' . _("When entering a new list, input the full email address for the address from which list postings are delivered."); ?><br /><br /></td>
40 <?php echo _("Enter new mailing list"); ?>:
43 <input type="text" name="newlist" size="30" />
44 <input type="submit" name="addlist" value="<?php echo _("Add"); ?>" size="30" />
48 <td colspan="2"> </td>
51 <td align="right" valign="top"><?php echo _("Existing mailing lists"); ?>:</td>
53 <table border="0" cellpadding="0" cellspacing="0">
55 foreach($lists as $index => $list) {
56 echo '<tr><td>' . $list . '</td><td><input type="submit" name="deletelist[' . $index . ']" value="' . _("Delete") . '" /></td></tr>';