mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
add column with role
This commit is contained in:
parent
304a5d804e
commit
795f03f8b8
|
@ -50,7 +50,7 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<table class="table table-condensed">
|
<table class="table table-condensed">
|
||||||
<tr><th></th><th><?php printMLText('name'); ?></th><th><?php printMLText('groups'); ?></th><th><?php printMLText('discspace'); ?></th><th><?php printMLText('authentication'); ?></th><th></th></tr>
|
<thead><tr><th></th><th><?php printMLText('name'); ?></th><th><?php printMLText('groups'); ?></th><th><?php printMLText('role'); ?></th><th><?php printMLText('discspace'); ?></th><th><?php printMLText('authentication'); ?></th><th></th></tr></thead><tbody>
|
||||||
<?php
|
<?php
|
||||||
foreach ($allUsers as $currUser) {
|
foreach ($allUsers as $currUser) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
|
@ -74,6 +74,9 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
|
echo htmlspecialchars($currUser->getRole()->getName());
|
||||||
|
echo "</td>";
|
||||||
|
echo "<td>";
|
||||||
echo SeedDMS_Core_File::format_filesize($currUser->getUsedDiskSpace());
|
echo SeedDMS_Core_File::format_filesize($currUser->getUsedDiskSpace());
|
||||||
if($quota) {
|
if($quota) {
|
||||||
echo " / ";
|
echo " / ";
|
||||||
|
@ -109,7 +112,7 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</tbody></table>";
|
||||||
|
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
$this->htmlEndPage();
|
$this->htmlEndPage();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user