{include file='header'}

{lang}wcf.acp.chat.room.list{/lang}

{pages print=true assign=pagesLinks controller="ChatRoomList" link="pageNo=%d"} {if $__wcf->session->getPermission('admin.content.chat.canAddRoom')} {/if}
{hascontent}

{lang}wcf.acp.chat.room.list{/lang} {#$items}

{event name='headColumns'} {content} {foreach from=$objects item=chatRoom} {event name='columns'} {/foreach} {/content}
{lang}wcf.global.objectID{/lang} {lang}wcf.acp.chat.room.title{/lang}
{if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} {else} {/if} {if $__wcf->session->getPermission('admin.content.chat.canDeleteRoom')} {else} {/if} {event name='buttons'}

{@$chatRoom->roomID}

{if $__wcf->session->getPermission('admin.content.chat.canEditRoom')}{$chatRoom->title|language}{else}{$chatRoom->title|language}{/if}

{@$pagesLinks} {if $__wcf->session->getPermission('admin.content.chat.canAddRoom')} {/if}
{hascontentelse}

{lang}wcf.acp.chat.room.noneAvailable{/lang}

{/hascontent} {include file='footer'}