From 84cf09a48bffe053e98c2f0ef4a6b8b019b598a9 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 7 Dec 2012 03:43:57 +0100 Subject: [PATCH] Fixed userGroupList template Fixes #953 --- .../files/acp/templates/userGroupList.tpl | 120 +++++++++--------- 1 file changed, 63 insertions(+), 57 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/userGroupList.tpl b/wcfsetup/install/files/acp/templates/userGroupList.tpl index 949cd167e7..a3fdec9b07 100644 --- a/wcfsetup/install/files/acp/templates/userGroupList.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupList.tpl @@ -16,72 +16,78 @@
{pages print=true assign=pagesLinks controller="UserGroupList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} - + + {hascontent} + + {/hascontent}
-{hascontent} -
-
-

{lang}wcf.acp.group.list{/lang} {#$items}

-
+
+
+

{lang}wcf.acp.group.list{/lang} {#$items}

+
+ + + + + + + + + {event name='headColumns'} + + -
{lang}wcf.global.objectID{/lang}{if $sortField == 'groupID'} {/if}{lang}wcf.acp.group.groupName{/lang}{if $sortField == 'groupName'} {/if}{lang}wcf.acp.group.members{/lang}{if $sortField == 'members'} {/if}
- - - - - + + {foreach from=$objects item=group} + + + + + - {event name='headColumns'} + {event name='columns'} - - - - {content} - {foreach from=$objects item=group} - - - - - - - {event name='columns'} - - {/foreach} - {/content} - -
{lang}wcf.global.objectID{/lang}{if $sortField == 'groupID'} {/if}{lang}wcf.acp.group.groupName{/lang}{if $sortField == 'groupName'} {/if}{lang}wcf.acp.group.members{/lang}{if $sortField == 'members'} {/if}
+ {if $group->isEditable()} + + {else} + + {/if} + {if $group->isDeletable()} + + {else} + + {/if} + + {event name='buttons'} +

{@$group->groupID}

{if $group->isEditable()}

{lang}{$group->groupName}{/lang}{else}{lang}{$group->groupName}{/lang}

{/if}

{#$group->members}

- {if $group->isEditable()} - - {else} - - {/if} - {if $group->isDeletable()} - - {else} - - {/if} - - {event name='buttons'} -

{@$group->groupID}

{if $group->isEditable()}

{lang}{$group->groupName}{/lang}{else}{lang}{$group->groupName}{/lang}

{/if}

{#$group->members}

-
+ {/foreach} + + +
+ +
+ {@$pagesLinks} -
- {@$pagesLinks} + {hascontent} -
-{/hascontent} + {/hascontent} +
{include file='footer'} -- 2.20.1