Display user group weight in user groups view

This commit is contained in:
2026-05-16 23:52:01 +02:00
parent 7960b378ed
commit 39b903261c

View File

@@ -247,6 +247,7 @@ while ($row = $stmt->fetch_assoc()) {
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th><?php echo __('weight') ?></th>
<th><?php echo __('user_group_name') ?></th> <th><?php echo __('user_group_name') ?></th>
<th><?php echo __('user_group_slugify') ?></th> <th><?php echo __('user_group_slugify') ?></th>
<th><?php echo __('user_group_type') ?></th> <th><?php echo __('user_group_type') ?></th>
@@ -255,6 +256,9 @@ while ($row = $stmt->fetch_assoc()) {
</thead> </thead>
<?php foreach ($user_groups as $user_group) { ?> <?php foreach ($user_groups as $user_group) { ?>
<tr> <tr>
<td>
<b><?php echo $user_group['user_group_weight']; ?></b>
</td>
<td><?php echo $user_group['user_group_name']; ?></td> <td><?php echo $user_group['user_group_name']; ?></td>
<td><?php echo $user_group['user_group_slugify']; ?></td> <td><?php echo $user_group['user_group_slugify']; ?></td>
<td><?php echo __($user_group['user_group_type']); ?></td> <td><?php echo __($user_group['user_group_type']); ?></td>