Revert "serv_rssclient.c: style update"
[citadel.git] / webcit / static / t / room / edit / tab_access.html
diff --git a/webcit/static/t/room/edit/tab_access.html b/webcit/static/t/room/edit/tab_access.html
new file mode 100644 (file)
index 0000000..ad55949
--- /dev/null
@@ -0,0 +1,44 @@
+<?!("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>
+                               <center>
+                                       <form method="post" action="do_invt_kick">
+                                               <input type="hidden" name="nonce" value="<?NONCE>">
+                                               <input type="hidden" name="last_tabsel" value="<?TAB:N>">
+                                               <input type="hidden" name="go" value="<?THISROOM: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")>">
+                                       </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>
+                               <center>
+                                       <form method="post" action="do_invt_kick">
+                                               <input type="hidden" name="last_tabsel" value="<?TAB:N>">
+                                               <input type="hidden" name="nonce" value="<?NONCE>">
+                                               <input type="hidden" name="go" value="<?THISROOM: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")>">
+                                       </form>
+                               </center>
+                               <!-- Pop open an address book - begin -->
+                               <a href="javascript:PopOpenAddressBook('username_id|<?_("User")>');" title="<?_("Users")>">
+                                       <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 -->
+                       </td>
+               </tr>
+       </table>
+</div>
+<?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>