{IF|$input.createnew} {NEED_PERMISSION|rooms_create} {ELSE} {NEED|$room_information} {IF|$room_information.owner.name ne $current_user.name} {NEED_PERMISSION|rooms_modify} {IF|$current_user.tempgroup <= $room_information.owner.group} {ERROR|roomlist_nopermission} {ENDIF} {ENDIF} {ENDIF} {GET|$settings.chatname} - {IF|$input.createnew} Create new room {ELSE} Room {GET|$room_information.name} edit {ENDIF}
{GET|$runtime.hiddenfields}
{IF|$input.createnew} Create new room {ELSE} Room {GET|$room_information.name} edit {ENDIF}
Name: {IF|$input.createnew} {ELSE} {GET|$room_information.name} {ENDIF}
Topic:
Owner: {IF|permission(rooms_changeowner)} {IF|$input.createnew} {ELSE} {ENDIF} {ELSE} {IF|$input.createnew} {GET|$current_user.nick} {ELSE} {GET|$room_information.owner.nick} {ENDIF} {ENDIF}
Private: {IF|$room_information.default} no {ELSE} {IF|permission(rooms_createprivate)} {IF|permission(rooms_createpublic)} {ELSE} {IF|$input.createnew} yes {ELSE} {IIF|$room_information.closed|yes|no} {ENDIF} {ENDIF} {ELSE} {IF|$input.createnew} no {ELSE} {IIF|$room_information.closed|yes|no} {ENDIF} {ENDIF} {ENDIF}
Permanent: {IF|$room_information.default} yes {ELSE} {IF|permission(rooms_createpermanent)} {ELSE} {IF|$input.createnew} no {ELSE} {IIF|$room_information.permanent|yes|no} {ENDIF} {ENDIF} {ENDIF}
Moderated: {IF|permission(rooms_createmoderated)} {ELSE} {IF|$input.createnew} no {ELSE} {IIF|$room_information.moderated|yes|no} {ENDIF} {ENDIF}
 
{IF|!$input.createnew and !$room_information.default} {ENDIF}
Close window