* add the_mgts room edit templates.
[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..5a9a36a
--- /dev/null
@@ -0,0 +1,44 @@
+<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="tab" value="access" />
+                                               <select name="username" size="10" style="width:100%">
+                                                       <?ITERATE("ITERATE:THISROOM:WHOK", ="username_list", 0, 0, -1, #"username")>
+                                               </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="tab" value="access" />
+                                               <input type="hidden" name="nonce" value="<?NONCE>">
+                                               <?_("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" src="static/viewcontacts_24x.gif" />
+                                       &nbsp;<?_("Users")>
+                               </a>
+                               <!-- Pop open an address book -- end -->
+                       </td>
+               </tr>
+       </table>
+</div>