{include file='header' pageTitle='chat.acp.room.'|concat:$action} {include file='aclPermissions'} {if !$roomID|isset} {include file='aclPermissionJavaScript' containerID='groupPermissions'} {else} {include file='aclPermissionJavaScript' containerID='groupPermissions' objectID=$roomID} {/if}

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

{include file='formError'} {if $success|isset}

{lang}wcf.global.success.{$action}{/lang}

{/if}
{hascontent} {/hascontent}
{lang}wcf.global.form.data{/lang}
{if $errorField == 'title'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} {lang}chat.acp.room.title.error.{@$errorType}{/lang} {/if} {/if}
{include file='multipleLanguageInputJavascript' elementIdentifier='title' forceSelection=false}
{if $errorField == 'topic'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} {lang}chat.acp.room.topic.error.{@$errorType}{/lang} {/if} {/if}
{include file='multipleLanguageInputJavascript' elementIdentifier='topic' forceSelection=false}
{lang}wcf.acl.permissions{/lang}
{@SECURITY_TOKEN_INPUT_TAG}
{include file='footer'}