From 70a57ad11799a9995d18446196ec35a4bc34d37b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 14 Apr 2012 23:38:56 +0200 Subject: [PATCH] Fixing chatRoomList-Template --- acptemplate/chatRoomList.tpl | 76 ++++++++++++++++++------------------ 1 file changed, 37 insertions(+), 39 deletions(-) diff --git a/acptemplate/chatRoomList.tpl b/acptemplate/chatRoomList.tpl index 230e81e..7e5b17e 100644 --- a/acptemplate/chatRoomList.tpl +++ b/acptemplate/chatRoomList.tpl @@ -9,60 +9,58 @@ //]]> -
- -
+
+ +

{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} -
    - {content} - {foreach from=$objects item=chatRoom} -
  1. - - {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} - {$chatRoom->title|language} - {else} - {$chatRoom->title|language} - {/if} - - +{hascontent} +
    +
      + {content} + {foreach from=$objects item=chatRoom} +
    1. + {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} - - {/if} - {if $__wcf->session->getPermission('admin.content.chat.canDeleteRoom')} - + {$chatRoom->title|language} + {else} + {$chatRoom->title|language} {/if} + + + {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} + + {/if} + {if $__wcf->session->getPermission('admin.content.chat.canDeleteRoom')} + + {/if} + - -
      1. - - {/foreach} - {/content} -
      -
      - - -
      - {hascontentelse} -

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

      - {/hascontent} -
      +
      1. + + {/foreach} + {/content} +
      +
      + +
      +
      +{hascontentelse} +

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

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