d2e3189c |
1 | <?php |
2 | |
3 | /** |
4 | * non_rfc_lists.tpl |
5 | * |
6 | * Template for listcommands non-RFC-compliant list subscriptions |
7 | * management screen |
8 | * |
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) |
13 | * |
14 | * @copyright © 1999-2006 The SquirrelMail Project Team |
15 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
16 | * @version $Id$ |
17 | * @package plugins |
18 | * @subpackage listcommands |
19 | */ |
20 | |
21 | |
22 | // retrieve the template vars |
23 | // |
24 | extract($t); |
25 | |
26 | |
b5f6b945 |
27 | ?><form method="post" action=""> |
28 | <div id="optionGroups"> |
29 | <table cellspacing="0"> |
d2e3189c |
30 | <tr> |
b5f6b945 |
31 | <td class="header1" colspan="2"> |
32 | <?php echo _("Options") . " - " . _("Mailing Lists"); ?> |
d2e3189c |
33 | </td> |
34 | </tr> |
35 | <tr> |
29b63e90 |
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> |
d2e3189c |
37 | </tr> |
38 | <tr> |
b5f6b945 |
39 | <td align="right"> |
d2e3189c |
40 | <?php echo _("Enter new mailing list"); ?>: |
41 | </td> |
b5f6b945 |
42 | <td align="left"> |
d2e3189c |
43 | <input type="text" name="newlist" size="30" /> |
72f8853d |
44 | <input type="submit" name="addlist" value="<?php echo _("Add"); ?>" size="30" /> |
d2e3189c |
45 | </td> |
46 | </tr> |
47 | <tr> |
b5f6b945 |
48 | <td colspan="2"> </td> |
d2e3189c |
49 | </tr> |
50 | <tr> |
72f8853d |
51 | <td align="right" valign="top"><?php echo _("Existing mailing lists"); ?>:</td> |
b5f6b945 |
52 | <td align="center"> |
53 | <table border="0" cellpadding="0" cellspacing="0"> |
d2e3189c |
54 | <?php |
55 | foreach($lists as $index => $list) { |
56 | echo '<tr><td>' . $list . '</td><td><input type="submit" name="deletelist[' . $index . ']" value="' . _("Delete") . '" /></td></tr>'; |
57 | } |
58 | ?> |
59 | </table> |
60 | </td> |
61 | </tr> |
62 | </table> |
b5f6b945 |
63 | </div> |
d2e3189c |
64 | </form> |