Fixed some small issues
authorMarcel Werk <burntime@woltlab.com>
Sun, 9 Dec 2012 20:46:18 +0000 (21:46 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 9 Dec 2012 20:46:18 +0000 (21:46 +0100)
wcfsetup/install/files/acp/templates/userGroupList.tpl
wcfsetup/install/files/lib/acp/form/UserGroupEditForm.class.php

index a3fdec9b07bc960e88e7f8ae61941efa1826e39d..a562eea8532b678902ec01eca04a93c7f2238751 100644 (file)
@@ -42,7 +42,7 @@
                                <th class="columnTitle columnGroupName{if $sortField == 'groupName'} active{/if}"><a href="{link controller='UserGroupList'}pageNo={@$pageNo}&sortField=groupName&sortOrder={if $sortField == 'groupName' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.acp.group.groupName{/lang}{if $sortField == 'groupName'} <img src="{@$__wcf->getPath()}icon/sort{@$sortOrder}.svg" alt="" />{/if}</a></th>
                                <th class="columnDigits columnMembers{if $sortField == 'members'} active{/if}"><a href="{link controller='UserGroupList'}pageNo={@$pageNo}&sortField=members&sortOrder={if $sortField == 'members' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.acp.group.members{/lang}{if $sortField == 'members'} <img src="{@$__wcf->getPath()}icon/sort{@$sortOrder}.svg" alt="" />{/if}</a></th>
                                
-                               {event name='headColumns'}
+                               {event name='columnHeads'}
                        </tr>
                </thead>
                
@@ -65,7 +65,7 @@
                                        </td>
                                        <td class="columnID columnGroupID"><p>{@$group->groupID}</p></td>
                                        <td class="columnTitle columnGroupName">{if $group->isEditable()}<p><a title="{lang}wcf.acp.group.edit{/lang}" href="{link controller='UserGroupEdit' id=$group->groupID}{/link}">{lang}{$group->groupName}{/lang}</a>{else}{lang}{$group->groupName}{/lang}</p>{/if}</td>
-                                       <td class="columnDigits columnMembers"><p><a title="{lang}wcf.acp.group.showMembers{/lang}" href="{link controller='UserSearch'}groupID={@$group->groupID}{/link}">{#$group->members}</p></a></td>
+                                       <td class="columnDigits columnMembers"><p><a title="{lang}wcf.acp.group.showMembers{/lang}" href="{link controller='UserSearch'}groupID={@$group->groupID}{/link}">{#$group->members}</a></p></td>
                                        
                                        {event name='columns'}
                                </tr>
index beac1445744dba981cb0aabf1a4bddf481b6d858..8296e828426e8ad5f43d798f55e8d70a3d984590 100755 (executable)
@@ -103,6 +103,7 @@ class UserGroupEditForm extends UserGroupAddForm {
                
                WCF::getTPL()->assign(array(
                        'groupID' => $this->group->groupID,
+                       'group' => $this->group,
                        'action' => 'edit'
                ));