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