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