Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-4135 now.

Two issues with acp_users -> groups (fix completed in vcs)

When viewing a user's groups in the acp (Manage users, select user, select "Groups" from the dropdown), there's two problems relating to special groups:

1. In the template (adm/style/acp_users.html), there's following:
Code: Select all
      <!-- IF group.S_NEW_GROUP_TYPE -->
      <tr>
         <td class="row3" colspan="4"><b>{group.GROUP_TYPE}</b></td>
      </tr>
      <!-- ELSE -->
         <!-- IF group.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
         <td><a href="{group.U_EDIT_GROUP}">{group.GROUP_NAME}</a></td>
         <td><!-- IF group.S_NO_DEFAULT --><a href="{group.U_DEFAULT}">{L_GROUP_DEFAULT}</a><!-- ELSE --><strong>{L_GROUP_DEFAULT}</strong><!-- ENDIF --></td>
         <td><!-- IF not group.S_SPECIAL_GROUP --><a href="{group.U_DEMOTE_PROMOTE}">{group.L_DEMOTE_PROMOTE}</a><!-- ENDIF --></td>
         <td><a href="{group.U_DELETE}">{L_GROUP_DELETE}</a></td>
      <!-- ENDIF -->


This part produces an empty column if there are only special groups:
Code: Select all
<td><!-- IF group.S_NO_DEFAULT --><a href="{group.U_DEFAULT}">{L_GROUP_DEFAULT}</a><!-- ELSE --><strong>{L_GROUP_DEFAULT}</strong><!-- ENDIF --></td>


2. If you add the user to all groups that exist in the {S_GROUP_OPTIONS} dropdown, the dropdown will be empty, perhaps add an if to it...

Comments / History

Changed ticket status from "New" to "Fix in progress"

Action performed by Acyd Burn (Server Manager) on May 6th 2007, 12:22

Posted by Acyd Burn (Server Manager) on May 6th 2007, 12:22

Erm, i think you meant the one down. ;) But this is ok - no bug here. The actual bug was a missing </tr> and the second item you mentioned.

Assigned ticket to user "Acyd Burn"

Action performed by Acyd Burn (Server Manager) on May 6th 2007, 12:22

Posted by igorw (Development Team Member) on May 6th 2007, 12:42

Ah, that may be causing it :D

Linked ticket with changeset: r7485

Action performed by Anonymous (I am too lazy to register) on May 6th 2007, 15:31

Changed ticket status from "Fix in progress" to "Fix completed in CVS"

Action performed by Acyd Burn (Server Manager) on May 6th 2007, 18:08

Ticket details

Related SVN changesets