Added 'go' as hidden input fields to all of the forms in the room editor
[citadel.git] / webcit / static / t / room / edit / tab_access.html
index cb78073784358d4cb81afd2b49f7513ff3767713..326908351650c61c61fe7c8cddf0e6624f01254c 100644 (file)
@@ -1,41 +1,44 @@
-<div class="tabcontent">
+<?!("COND:THISROOM:EDIT", 1)><div class="tabcontent">
        <table border="0" cellspacing="10">
                <tr valign="top">
                        <td>
                                <?_("The users listed below have access to this room. To remove a user from the access list, select the user name from the list and click 'Kick'.")>
-                               <br /><br />
+                               <br><br>
                                <center>
                                        <form method="post" action="do_invt_kick">
-                                               <input type="hidden" name="nonce" value="<?NONCE>" />
-                                               <input type="hidden" name="tab" value="access" />
+                                               <input type="hidden" name="nonce" value="<?NONCE>">
+                                               <input type="hidden" name="last_tabsel" value="<?TAB:N>">
+                                               <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
                                                <select name="username" size="10" style="width:100%">
                                                        <?ITERATE("ITERATE:THISROOM:WHO_KNOWS", ="room_edit_username_list", 0, 0, -1)>
                                                </select>
-                                               <br />
-                                               <input type="submit" name="kick_button" value="<?_("Kick")>" />
+                                               <br>
+                                               <input type="submit" name="kick_button" value="<?_("Kick")>">
                                        </form>
                                </center>
                        </td>
                        <td>
                                <?_("To grant another user access to this room, enter the user name in the box below and click 'Invite'.")>
-                               <br /><br />
+                               <br><br>
                                <center>
                                        <form method="post" action="do_invt_kick">
-                                               <input type="hidden" name="tab" value="access" />
+                                               <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")>">
                                                <?_("Invite:")>
-                                               <input type="text" name="username" id="username_id" style="width:100R"><br />
-                                               <input type="hidden" name="invite_button" value="Invite" />
-                                               <input type="submit" value="<?_("Invite")>" />
+                                               <input type="text" name="username" id="username_id" style="width:100R"><br>
+                                               <input type="hidden" name="invite_button" value="Invite">
+                                               <input type="submit" value="<?_("Invite")>">
                                        </form>
                                </center>
-                               <!-- Pop open an address book -- begin -->
+                               <!-- Pop open an address book - begin -->
                                <a href="javascript:PopOpenAddressBook('username_id|<?_("User")>');" title="<?_("Users")>">
-                                       <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/webcit_icons/essen/16x16/contact.png">
                                        &nbsp;<?_("Users")>
                                </a>
-                               <!-- Pop open an address book -- end -->
+                               <!-- Pop open an address book - end -->
                        </td>
                </tr>
        </table>
 </div>
+<?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>