* add the_mgts room edit templates.
[citadel.git] / webcit / static / t / room / edit / tab_listserv.html
1 <div class="tabcontent">
2         <center>
3                 <table border="0" width="100%" cellpadding="5">
4                         <tr><td valign="top">
5                         <?_("<i>The contents of this room are being mailed <b>as individual messages</b> to the following list recipients:</i><br /><br />")>
6                         <?ITERATE("ITERATE:THISROOM:GNET", ="listrecp_removal", 0, 0, -1, #"listrecp")>
7                         <br />
8                         <form method="post" action="netedit">
9                                 <input type="hidden" name="tab" value="listserv" />
10                                 <input type="hidden" name="prefix" value="listrecp|" />
11                                 <input type="hidden" name="nonce" value="<?NONCE>" />
12                                 <input type="text" id="add_as_listrecp" name="line" />
13                                 <input type="submit" name="add_button" value="<?_("Add")>" />
14                         </form>
15                         </td>
16                         <td valign="top">
17                         <?_("<i>The contents of this room are being mailed <b>in digest form</b> to the following list recipients:</i><br /><br />")>
18                         <?ITERATE("ITERATE:THISROOM:GNET", ="digestrecp_removal", 0, 0, -1, #"digestrecp")>
19                         <br />
20                         <form method="post" action="netedit">
21                                 <input type="hidden" name="tab" value="listserv" />
22                                 <input type="hidden" name="prefix" value="digestrecp|" />
23                                 <input type="hidden" name="nonce" value="<?NONCE>">
24                                 <input type="text" id="add_as_digestrecp" name="line">
25                                 <input type="submit" name="add_button" value="<?_("Add")>">
26                         </form>
27                         </td></tr>
28                 </table>
29
30                 <!-- Pop open an address book -- begin -->
31                 <div align="right">
32                         <a href="javascript:PopOpenAddressBook('add_as_listrecp|<?_("List")>|add_as_digestrecp|<?_("Digest")>')"
33                         title="<?_("Add recipients from Contacts or other address books")>">
34                         <img align="middle" border="0" width="24" height="24" src="static/viewcontacts_24x.gif" />
35                         &nbsp;<?_("Add recipients from Contacts or other address books")></a>
36                 </div>
37                 <!-- Pop open an address book -- end -->
38
39                 <br />
40                 <form method="get" action="toggle_self_service">
41                         <!-- Self Service subscription? -->
42                         <table>
43                                 <tr>
44                                         <td><?_("Allow self-service subscribe/unsubscribe requests.")></td>
45                                         <td><input type="checkbox" name="QR2_SelfList" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SELFLIST", 1, 'checked="checked" ', "")> /></td> (is_selflist(&RoomFlags))?"checked":"
46                                 </tr>
47                                 <tr>
48                                         <td colspan="2">
49                                                 <?_("The URL for subscribe/unsubscribe is: ")>
50                                                 <tt><?%("COND:ISHTTPS", 3, 1, #"ISHTTPS", "https", "http">://<?SERV:FQDN>/listsub</tt>
51                                         </td>
52                                 </tr>
53                                 <!-- Public posting? -->
54                                 <tr>
55                                         <td><?_("Allow non-subscribers to mail to this room.")></td>
56                                         <td><input type="checkbox" name="QR2_SubsOnly" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SUBSONLY", 1, 'checked="checked" ', "")> /></td>
57                                 </tr>
58                 
59                                 <!-- Moderated List? -->
60                                 <tr>
61                                         <td><?_("Room post publication needs Aide permission.")></td>
62                                         <td><input type="checkbox" name="QR2_Moderated" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_MODERATED", 1, 'checked="checked" ', "")> /></td>
63                                 </tr>
64                                 <tr>
65                                         <td colspan="2" align="center">
66                                                 <input type="submit" name="add_button" value="<?_("Save changes")>" />
67                                         </td>
68                                 </tr>
69                         </table>
70                 </form>
71         </center>
72 </div>