--- /dev/null
+<?!("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="<?THISROOM:NAME("X")>" maxlength="127" />
+ </li>
+ <li>
+ <?_("Resides on floor: ")>
+ <select name="er_floor" size="1" <?%("COND:THISROOM:FLAG:QR", 1, #"QR_MAILBOX", 1, 'disabled="disabled" >', ">")>
+ <??("COND:THISROOM:FLAG:QR", 2, #"QR_MAILBOX")><?ITERATE("LFLR", ="room_edit_er_config_tab_room_option_list")><??("X", 2)>
+ </select>
+ </li>
+ <li>
+ <?_("Type of room:")>
+ <ul>
+ <li>
+ <input type="radio" name="type" value="public"
+ <?%("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>
+ <li>
+ <input type="radio" name="type" value="hidden"
+ <?%("COND:THISROOM:FLAG:QR", 5, #"QR_GUESSNAME & QR_PRIVATE", 1, 'checked="checked" ', "")>
+ onChange="if (this.form.type[1].checked == true) { this.form.er_floor.disabled = false; }" />
+ <?_("Private - hidden (accessible to anyone who knows its name)")>
+ </li>
+ <li>
+ <input type="radio" name="type" value="passworded"
+ <?%("COND:THISROOM:FLAG:QR", 7, #"QR_PASSWORDED & QR_PRIVATE", 1, 'checked="checked" ', "")>
+ onChange="this.form.er_floor.disabled = false; { (this.form.type[2].checked == true) }"
+ />
+ <?_("Private - require password: ")>
+ <input type="text" name="er_password" value="<?THISROOM:PASS("U")>" maxlength="9" />
+ </li>
+ <li>
+ <input type="radio" name="type" value="invonly"
+ <??("COND:THISROOM:FLAG:QR", 9, #"QR_PASSWORDED | QR_GUESSNAME")>
+ <?%("COND:THISROOM:FLAG:QR", 10, #"QR_PRIVATE", 1, 'checked="checked" ', "")>
+ <??("X", 9)>
+ onChange="if (this.form.type[3].checked == true) { this.form.er_floor.disabled = false; }" />
+ <?_("Private - invitation only")>
+ </li>
+ <li>
+ <input type="radio" name="type" value="personal"
+ <?%("COND:THISROOM:FLAG:QR", 11, #"QR_MAILBOX", 1, 'checked="checked" ', "")>
+ onChange="if (this.form.type[4].checked == true) { this.form.er_floor.disabled = true; }"
+ />
+ <?_("Personal (mailbox for you only)")>
+ </li>
+ <li>
+ <input type="checkbox" name="bump" value="yes" />
+ <?_("If private, cause current users to forget room")>
+ </li>
+ </ul>
+ <li>
+ <input type="checkbox" name="prefonly" value="yes"
+ <?%("COND:THISROOM:FLAG:QR", 12, #"QR_PREFONLY", 1, 'checked="checked" ', "")> />
+ <?_("Preferred users only")>
+ </li>
+ <li>
+ <input type="checkbox" name="readonly" value="yes"
+ <?%("COND:THISROOM:FLAG:QR", 13, #"QR_READONLY", 1, 'checked="checked" ', "")> />
+ <?_("Read-only room")>
+ </li>
+ <li>
+ <input type="checkbox" name="collabdel" value="yes"
+ <?%("COND:THISROOM:FLAG:QR2", 14, #"QR2_COLLABDEL", 1, 'checked="checked" ', "")> />
+ <?_("All users allowed to post may also delete messages")>
+ </li>
+ <li>
+ <input type="checkbox" name="directory" value="yes"
+ <?%("COND:THISROOM:FLAG:QR", 15, #"QR_DIRECTORY", 1, 'checked="checked" ', "")> />
+ <?_("File directory room")>
+
+ <ul>
+ <li>
+ <?_("Directory name: ")>
+ <input type="text" name="er_dirname" value="<?THISROOM:DIRECTORY("X")>" maxlength="14" />
+ </li>
+ <li>
+ <input type="checkbox" name="ulallowed" value="yes"
+ <?%("COND:THISROOM:FLAG:QR", 16, #"QR_UPLOAD", 1, 'checked="checked" ', "")> />
+ <?_("Uploading allowed")>
+ </li>
+ <li>
+ <input type="checkbox" name="dlallowed" value="yes"
+ <?%("COND:THISROOM:FLAG:QR", 17, #"QR_DOWNLOAD", 1, 'checked="checked" ', "")> />
+ <?_("Downloading allowed")>
+ </li>
+ <li>
+ <input type="checkbox" name="ulmsg" value="yes"
+ <?%("COND:THISROOM:FLAG:QR2", 17, #"QR2_NOUPLMSG", 1, 'checked="checked" ', "")> />
+ <?_("Don't send message on upload")>
+ </li>
+ <li>
+ <input type="checkbox" name="visdir" value="yes"
+ <?%("COND:THISROOM:FLAG:QR", 18, #"QR_VISDIR", 1, 'checked="checked" ', "")> />
+ <?_("Visible directory")>
+ </li>
+ </ul></li>
+
+ <li>
+ <input type="checkbox" name="network" value="yes"
+ <?%("COND:THISROOM:FLAG:QR", 19, #"QR_NETWORK", 1, 'checked="checked" ', "")> />
+ <?_("Network shared room")>
+ </li>
+ <li>
+ <input type="checkbox" name="permanent" value="yes"
+ <?%("COND:THISROOM:FLAG:QR", 20, #"QR_PERMANENT", 1, 'checked="checked" ', "")> />
+ <?_("Permanent (does not auto-purge)")>
+ </li>
+ <li>
+ <input type="checkbox" name="subjectreq" value="yes"
+ <?%("COND:THISROOM:FLAG:QR2", 21, #"QR2_SUBJECTREQ", 1, 'checked="checked" ', "")> />
+ <?_("Subject Required (Force users to specify a message subject)")>
+ </li>
+ <li>
+ <?_("Anonymous messages")>
+ <ul>
+ <li>
+ <input type="radio" name="anon" value="no"
+ <?%("COND:THISROOM:FLAG:QR", 23, #"QR_ANONOPT & QR_ANONONLY", 1, "", 'checked="checked" ')>
+ >
+ <?_("No anonymous messages")>
+ </li>
+ <li>
+ <input type="radio" name="anon" value="anononly"
+ <?%("COND:THISROOM:FLAG:QR", 24, #"QR_ANONONLY", 1, 'checked="checked" ', "")> />
+ <?_("All messages are anonymous")>
+ </li>
+ <li>
+ <input type="radio" name="anon" value="anon2"
+ <?%("COND:THISROOM:FLAG:QR", 25, #"QR_ANONOPT", 1, 'checked="checked" ', "")> />
+ <?_("Prompt user when entering messages")>
+ </li>
+ </ul></li>
+ <li>
+ <?_("Room aide: ")>
+ <input type="text" name="er_roomaide" value="<?THISROOM:AIDE("U")>" maxlength="25" /'>
+ </li>
+ </ul>
+
+ <center>
+ <input type="hidden" name="last_tabsel" value="<?TAB:N>" />
+ <input type="submit" name="ok_button" value="<?_("Save changes")>" />
+
+ <input type="submit" name="cancel_button" value="<?_("Cancel")>" />
+ </center>
+ </form>
+</div>
+<?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>