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