{include file='header' pageTitle='chat.acp.room.'|concat:$action} {include file='aclPermissions'} {include file='multipleLanguageInputJavascript' elementIdentifier='title' forceSelection=false} {include file='multipleLanguageInputJavascript' elementIdentifier='topic' forceSelection=false} {if $roomID|isset} {include file='aclPermissionJavaScript' containerID='aclContainer' objectTypeID=$aclObjectTypeID objectID=$roomID} {else} {include file='aclPermissionJavaScript' containerID='aclContainer' objectTypeID=$aclObjectTypeID} {/if}

{lang}chat.acp.room.{$action}{/lang}

{if $action == 'edit'}

{$room->getTitle()}

{/if}
{include file='formNotice'}
{if $errorField == 'title'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {elseif $errorType == 'multilingual'} {lang}wcf.global.form.error.multilingual{/lang} {else} {lang}chat.acp.room.title.error.{@$errorType}{/lang} {/if} {/if}
{if $errorField == 'topic'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} {lang}chat.acp.room.topic.error.{@$errorType}{/lang} {/if} {/if}
{if $errorField == 'userLimit'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} {lang}chat.acp.room.userLimit.error.{@$errorType}{/lang} {/if} {/if}
{lang}wcf.acl.permissions{/lang}
{csrfToken}
{include file='footer'}