mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +00:00
do not output info if no user is selected
This commit is contained in:
parent
0ae71871ef
commit
8256b61e36
|
@ -36,6 +36,7 @@ class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style {
|
||||||
$seluser = $this->params['seluser'];
|
$seluser = $this->params['seluser'];
|
||||||
$quota = $this->params['quota'];
|
$quota = $this->params['quota'];
|
||||||
|
|
||||||
|
if($seluser) {
|
||||||
$sessionmgr = new SeedDMS_SessionMgr($dms->getDB());
|
$sessionmgr = new SeedDMS_SessionMgr($dms->getDB());
|
||||||
|
|
||||||
$this->contentHeading(getMLText("user_info"));
|
$this->contentHeading(getMLText("user_info"));
|
||||||
|
@ -53,6 +54,7 @@ class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style {
|
||||||
echo "<tr><td>".getMLText('lastaccess')."</td><td>".getLongReadableDate($session->getLastAccess())."</td></tr>\n";
|
echo "<tr><td>".getMLText('lastaccess')."</td><td>".getLongReadableDate($session->getLastAccess())."</td></tr>\n";
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function form() { /* {{{ */
|
function form() { /* {{{ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user