remove box around table, mark disabled user as red line

This commit is contained in:
Uwe Steinmann 2017-07-20 15:07:52 +02:00
parent 49053d054a
commit f95baff393
2 changed files with 2 additions and 6 deletions

View File

@ -45,7 +45,6 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
$this->contentHeading(getMLText("substitute_user"));
$this->contentContainerStart();
?>
<table class="table table-condensed">
<thead>
@ -54,7 +53,7 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
<tbody>
<?php
foreach ($allUsers as $currUser) {
echo "<tr>";
echo "<tr".($currUser->isDisabled() ? " class=\"error\"" : "").">";
echo "<td>";
echo htmlspecialchars($currUser->getFullName())." (".htmlspecialchars($currUser->getLogin()).")<br />";
echo "<small>".htmlspecialchars($currUser->getComment())."</small>";
@ -94,7 +93,6 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
}
echo "</tbody>";
echo "</table>";
$this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage();

View File

@ -44,7 +44,6 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
$this->contentStart();
$this->pageNavigation("", "admin_tools");
$this->contentHeading(getMLText("user_list"));
$this->contentContainerStart();
$sessionmgr = new SeedDMS_SessionMgr($dms->getDB());
?>
@ -53,7 +52,7 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
<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
foreach ($allUsers as $currUser) {
echo "<tr>";
echo "<tr".($currUser->isDisabled() ? " class=\"error\"" : "").">";
echo "<td>";
if ($currUser->hasImage())
print "<img width=\"100\" src=\"".$httproot . "out/out.UserImage.php?userid=".$currUser->getId()."\">";
@ -124,7 +123,6 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
}
echo "</tbody></table>";
$this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */