Added 'go' as hidden input fields to all of the forms in the room editor
[citadel.git] / webcit / static / t / room / edit / tab_listserv.html
index f7a76399620f1adee1137d09b4177c9d61515c11..aecb89ed46cc08bd8250c49fbc9d4c3a002503ab 100644 (file)
@@ -2,28 +2,34 @@
        <center>
                <table border="0" width="100%" cellpadding="5">
                        <tr><td valign="top">
-                       <?_("<i>The contents of this room are being mailed <b>as individual messages</b> to the following list recipients:</i><br /><br />")>
-                       <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_listrecp_removal", 0, 0, -1, #"listrecp")>
-                       <br />
+                           <table class="altern">
+                             <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>
+                             <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_listrecp_removal", 0, 0, -1, #"listrecp")>
+                           </table>
+                       <br>
                        <form method="post" action="netedit">
                          <p>
-                               <input type="hidden" name="tab" value="listserv" />
-                               <input type="hidden" name="prefix" value="listrecp|" />
-                               <input type="hidden" name="nonce" value="<?NONCE>" />
-                               <input type="text" id="add_as_listrecp" name="line" />
-                               <input type="submit" name="add_button" value="<?_("Add")>" />
+                               <input type="hidden" name="last_tabsel" value="<?TAB:N>">
+                               <input type="hidden" name="prefix" value="listrecp|">
+                               <input type="hidden" name="nonce" value="<?NONCE>">
+                               <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
+                               <input type="text" id="add_as_listrecp" name="line">
+                               <input type="submit" name="add_button" value="<?_("Add")>">
                          </p>
                        </form>
                        </td>
                        <td valign="top">
-                       <?_("<i>The contents of this room are being mailed <b>in digest form</b> to the following list recipients:</i><br /><br />")>
-                       <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_digestrecp_removal", 0, 0, -1, #"digestrecp")>
-                       <br />
+                           <table class="altern">
+                             <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>
+                             <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_digestrecp_removal", 0, 0, -1, #"digestrecp")>
+                           </table>
+                       <br>
                        <form method="post" action="netedit">
                          <p>
-                               <input type="hidden" name="tab" value="listserv" />
-                               <input type="hidden" name="prefix" value="digestrecp|" />
+                               <input type="hidden" name="last_tabsel" value="<?TAB:N>">
+                               <input type="hidden" name="prefix" value="digestrecp|">
                                <input type="hidden" name="nonce" value="<?NONCE>">
+                               <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
                                <input type="text" id="add_as_digestrecp" name="line">
                                <input type="submit" name="add_button" value="<?_("Add")>">
                          </p>
                <div align="right">
                        <a href="javascript:PopOpenAddressBook('add_as_listrecp|<?_("List")>|add_as_digestrecp|<?_("Digest")>')"
                        title="<?_("Add recipients from Contacts or other address books")>">
-                       <img align="middle" border="0" width="24" height="24" alt="<?_("Addressbook Popup")>" src="static/viewcontacts_24x.gif" />
+                       <img align="middle" border="0" width="24" height="24" alt="<?_("Addressbook Popup")>" src="static/webcit_icons/essen/16x16/contact.png">
                        &nbsp;<?_("Add recipients from Contacts or other address books")></a>
                </div>
                <!-- Pop open an address book - end -->
 
-               <br />
+               <br>
                <form method="get" action="toggle_self_service">
-                       <!-- Self Service subscription? -->
                        <table>
-                               <tr>
-                                       <td><?_("Allow self-service subscribe/unsubscribe requests.")></td>
-                                       <td><input type="checkbox" name="QR2_SelfList" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SELFLIST", 1, 'checked="checked" ', "")> /></td>
-                               </tr>
-                               <tr>
-                                       <td colspan="2">
-                                               <?_("The URL for subscribe/unsubscribe is: ")>
-                                               <tt><?%("COND:IS_HTTPS", 3, 1, 0, "https", "http")>://<?SERV:FQDN>/listsub</tt>
-                                       </td>
-                               </tr>
                                <!-- Public posting? -->
                                <tr>
                                        <td><?_("Allow non-subscribers to mail to this room.")></td>
-                                       <td><input type="checkbox" name="QR2_SubsOnly" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SMTP_PUBLIC", 1, 'checked="checked" ', "")> /></td>
+                                       <td><input type="checkbox" name="QR2_SubsOnly" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SMTP_PUBLIC", 1, 'checked="checked" ', "")>></td>
                                </tr>
                
                                <!-- Moderated List? -->
                                <tr>
                                        <td><?_("Room post publication needs Aide permission.")></td>
-                                       <td><input type="checkbox" name="QR2_Moderated" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_MODERATED", 1, 'checked="checked" ', "")> /></td>
+                                       <td><input type="checkbox" name="QR2_Moderated" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_MODERATED", 1, 'checked="checked" ', "")>></td>
                                </tr>
+                               <!-- Self Service subscription? -->
+                               <tr>
+                                       <td><?_("Allow self-service subscribe/unsubscribe requests.")></td>
+                                       <td><input type="checkbox" name="QR2_SelfList" value="yes" <?%("COND:THISROOM:FLAG:QR2", 20, #"QR2_SELFLIST", 1, 'checked="checked" ', "")>></td>
+                               </tr>
+                               <tr>
+                               <!-- Give the admin some hint how to access the subscriber interface -->
+                                       <td colspan="2">
+                                               <?_("The URL for subscribe/unsubscribe is: ")>
+                                               <tt><?%("COND:IS_HTTPS", 3, 1, 0, "https", "http")>://<?SERV:FQDN>/listsub</tt>
+                                       </td>
+                               </tr>
+
                                <tr>
                                        <td colspan="2" align="center">
-                                               <input type="submit" name="add_button" value="<?_("Save changes")>" />
+                                               <input type="hidden" name="last_tabsel" value="<?TAB:N>">
+                                               <input type="hidden" name="nonce" value="<?NONCE>">
+                                               <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
+                                               <input type="submit" name="add_button" value="<?_("Save changes")>">
                                        </td>
                                </tr>
                        </table>