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
1 <?!("COND:THISROOM:EDIT", 1)><div class="tabcontent">
2         <table border="0" cellspacing="10">
3                 <tr valign="top">
4                         <td>
5                                 <?_("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'.")>
6                                 <br><br>
7                                 <center>
8                                         <form method="post" action="do_invt_kick">
9                                                 <input type="hidden" name="nonce" value="<?NONCE>">
10                                                 <input type="hidden" name="last_tabsel" value="<?TAB:N>">
11                                                 <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
12                                                 <select name="username" size="10" style="width:100%">
13                                                         <?ITERATE("ITERATE:THISROOM:WHO_KNOWS", ="room_edit_username_list", 0, 0, -1)>
14                                                 </select>
15                                                 <br>
16                                                 <input type="submit" name="kick_button" value="<?_("Kick")>">
17                                         </form>
18                                 </center>
19                         </td>
20                         <td>
21                                 <?_("To grant another user access to this room, enter the user name in the box below and click 'Invite'.")>
22                                 <br><br>
23                                 <center>
24                                         <form method="post" action="do_invt_kick">
25                                                 <input type="hidden" name="last_tabsel" value="<?TAB:N>">
26                                                 <input type="hidden" name="nonce" value="<?NONCE>">
27                                                 <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
28                                                 <?_("Invite:")>
29                                                 <input type="text" name="username" id="username_id" style="width:100R"><br>
30                                                 <input type="hidden" name="invite_button" value="Invite">
31                                                 <input type="submit" value="<?_("Invite")>">
32                                         </form>
33                                 </center>
34                                 <!-- Pop open an address book - begin -->
35                                 <a href="javascript:PopOpenAddressBook('username_id|<?_("User")>');" title="<?_("Users")>">
36                                         <img align="middle" border="0" width="24" height="24" alt="<?_("Addressbook Popup")>" src="static/webcit_icons/essen/16x16/contact.png">
37                                         &nbsp;<?_("Users")>
38                                 </a>
39                                 <!-- Pop open an address book - end -->
40                         </td>
41                 </tr>
42         </table>
43 </div>
44 <?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>