{include file='header' pageTitle='chat.acp.room.list'}

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

{hascontent} {/hascontent}
{if $objects|count}
    {foreach from=$objects item=chatRoom}
  1. {if $__wcf->session->getPermission('admin.chat.canEditRoom')} {$chatRoom->title|language} {else} {$chatRoom->title|language} {/if} {if $__wcf->session->getPermission('admin.chat.canEditRoom')} {/if} {if $__wcf->session->getPermission('admin.chat.canDeleteRoom')} {/if} {event name='itemButtons'}
    1. {/foreach}
    {else}

    {lang}chat.acp.room.noItems{/lang}

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