Roomediting: add permission check to to some dialogs
[citadel.git] / webcit / static / t / room / edit / tab_access.html
index 9aee5442cae6b2a19162aacfd5eeb20064a2eaae..8cad949fe37d6aa38c37e3741551b0aef0ab29a1 100644 (file)
@@ -1,4 +1,4 @@
-<div class="tabcontent">
+<?!("COND:THISROOM:EDIT", 1)><div class="tabcontent">
        <table border="0" cellspacing="10">
                <tr valign="top">
                        <td>
@@ -31,7 +31,7 @@
                                </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/icons/essen/16x16/contact.png">
+                                       <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 -->
@@ -39,3 +39,4 @@
                </tr>
        </table>
 </div>
+<?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>