* GetNetConfigHash(): fix some edge cases
[citadel.git] / webcit / static / t / room / edit / tab_listserv.html
index 014b4cd3f5f2737bcb7d30b938e6ca768d02c4d3..749586551feb05d8ac25523aea17a71c58710119 100644 (file)
@@ -7,7 +7,7 @@
                        <br />
                        <form method="post" action="netedit">
                          <p>
-                               <input type="hidden" name="tab" value="listserv" />
+                               <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="text" id="add_as_listrecp" name="line" />
@@ -21,7 +21,7 @@
                        <br />
                        <form method="post" action="netedit">
                          <p>
-                               <input type="hidden" name="tab" value="listserv" />
+                               <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="text" id="add_as_digestrecp" name="line">
                        </td></tr>
                </table>
 
-               <!-- Pop open an address book -- begin -->
+               <!-- Pop open an address book - begin -->
                <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" src="static/viewcontacts_24x.gif" />
+                       <img align="middle" border="0" width="24" height="24" alt="<?_("Addressbook Popup")>" src="static/viewcontacts_24x.gif" />
                        &nbsp;<?_("Add recipients from Contacts or other address books")></a>
                </div>
-               <!-- Pop open an address book -- end -->
+               <!-- Pop open an address book - end -->
 
                <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><?_("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>
                                </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="hidden" name="last_tabsel" value="<?TAB:N>" />
+                                               <input type="hidden" name="nonce" value="<?NONCE>" />
                                                <input type="submit" name="add_button" value="<?_("Save changes")>" />
                                        </td>
                                </tr>