[*] группы переделаны в роли

This commit is contained in:
rsgrinko committed 2022-06-18 00:11:04 +03:00
1 parent f5c25db31e
commit 723ace2ae4
3 files changed
+15 -15

No files matched your search

+9 -9
View File
@@ -10,9 +10,9 @@
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li>Список Групп</li>
<li>Список ролей</li>
</ul>
<h4>Список групп</h4>
<h4>Список ролей</h4>
</div>
</div><!-- media -->
</div><!-- pageheader -->
@@ -34,15 +34,15 @@
</thead>
<tbody>
<?php
$arGroups = Roles::getAllGroups();
foreach($arGroups as $group){
$arRoles = Roles::getAllGroups();
foreach($arRoles as $role){
?>
<tr>
<td><?=$group['id'];?></td>
<td><?=$group['name'];?></td>
<td><?=$group['description'];?></td>
<td><?=$group['date_created'] ? date('d.m.Y H:i:s', strtotime($group['date_created'])) : '-';?></td>
<td><?=$group['date_updated'] ? date('d.m.Y H:i:s', strtotime($group['date_updated'])) : '-';?></td>
<td><?= $role['id'];?></td>
<td><?= $role['name'];?></td>
<td><?= $role['description'];?></td>
<td><?= $role['date_created'] ? date('d.m.Y H:i:s', strtotime($role['date_created'])) : '-';?></td>
<td><?= $role['date_updated'] ? date('d.m.Y H:i:s', strtotime($role['date_updated'])) : '-';?></td>
</tr>
<?php
}