Update copyrights to 2010
[squirrelmail.git] / plugins / listcommands / templates / default / non_rfc_lists.tpl
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-2010 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
27 ?><form method="post" action="">
28 <div id="optionGroups">
29 <table cellspacing="0">
30 <tr>
31 <td class="header1" colspan="2">
32 <?php echo _("Options") . " - " . _("Mailing Lists"); ?>
33 </td>
34 </tr>
35 <tr>
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>
37 </tr>
38 <tr>
39 <td align="right">
40 <?php echo _("Enter new mailing list"); ?>:
41 </td>
42 <td align="left">
43 <input type="text" name="newlist" size="30" />
44 <input type="submit" name="addlist" value="<?php echo _("Add"); ?>" size="30" />
45 </td>
46 </tr>
47 <tr>
48 <td colspan="2">&nbsp;</td>
49 </tr>
50 <tr>
51 <td align="right" valign="top"><?php echo _("Existing mailing lists"); ?>:</td>
52 <td align="center">
53 <table border="0" cellpadding="0" cellspacing="0">
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>
63 </div>
64 </form>