Boolean hook call needs priority 1 to error out when any plugin has problems.
[squirrelmail.git] / plugins / listcommands / templates / default / non_rfc_lists.tpl
CommitLineData
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 &copy; 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//
24extract($t);
25
26
27?><html><body><form method="post" action="">
28<table width="95%" align="center" border="0" cellpadding="2" cellspacing="0">
29 <tr>
30 <td colspan="3" align="center" bgcolor="<?php echo $color[0] ?>">
31 <b><?php echo _("Options") . " - " . _("Mailing Lists"); ?></b>
32 </td>
33 </tr>
34 <tr>
35 <td colspan="3">&nbsp;</td>
36 </tr>
37 <tr>
38 <td colspan="3">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 main list.</td>
39 </tr>
40 <tr>
41 <td colspan="3">&nbsp;</td>
42 </tr>
43</table>
44<table width="80%" align="center" border="0" cellpadding="2" cellspacing="0">
45 <tr>
46 <td>
47 <?php echo _("Enter new mailing list"); ?>:
48 </td>
49 <td align="right">
50 <input type="text" name="newlist" size="30" />
51 </td>
52 <td>
53 <input type="submit" name="addlist" value="<? echo _("Add"); ?>" size="30" />
54 </td>
55 </tr>
56 <tr>
57 <td colspan="3">&nbsp;</td>
58 </tr>
59 <tr>
60 <td valign="top"><? echo _("Existing mailing lists"); ?>:</td>
61 <td align="center" colspan="2">
62 <table cellpadding="2">
63<?php
64 foreach($lists as $index => $list) {
65 echo '<tr><td>' . $list . '</td><td><input type="submit" name="deletelist[' . $index . ']" value="' . _("Delete") . '" /></td></tr>';
66 }
67?>
68 </table>
69 </td>
70 </tr>
71</table>
72</form>
73</body>
74</html>