THISROOM ROOM:INFO:PRINT_NAME ROOMNAME - all are now THISROOM:NAME; they were all...
[citadel.git] / webcit / static / t / room / edit / tab_config.html
index 44c8c04fbdf37f017e0e61a7bcee03a5e4e2db95..69026fdd6d1840e72b290acf6a72125ed54e899d 100644 (file)
@@ -1,10 +1,11 @@
-<div class="tabcontent">
+<?!("COND:THISROOM:EDIT", 1)><div class="tabcontent">
        <form method="post" action="editroom">
                <input type="hidden" name="nonce" value="<?NONCE>" />
+               <input type="hidden" name="go" value="<?THISROOM:NAME("X")>">
                <ul>   
                        <li>
                                <?_("name of room: ")>
-                               <input type="text" name="er_name" value="<?ROOMNAME("X")>" maxlength="127" />
+                               <input type="text" name="er_name" value="<?THISROOM:NAME("X")>" maxlength="127" />
                        </li>
                        <li>
                                <?_("Resides on floor: ")>
@@ -17,7 +18,7 @@
                                <ul>
                                        <li>
                                                <input type="radio" name="type" value="public" 
-                                                      <?%("COND:THISROOM:FLAG:QR", 3, #"QR_PRIVATE | QR_MAILBOX", 1, 'disabled="disabled" ', "")>
+                                                      <?%("COND:THISROOM:FLAG:QR", 3, #"QR_PRIVATE | QR_MAILBOX", 1, "", 'checked="checked" ')>
                                                       onChange="if (this.form.type[0].checked == true) { this.form.er_floor.disabled = false; }" />
                                                <?_("Public (automatically appears to everyone)")>
                                        </li>
        </center>
        </form>
 </div>
+<?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>