show id of folder always, not just if inheritAccess is turn on

don't know how that got into the code
This commit is contained in:
Uwe Steinmann 2014-07-11 12:57:13 +02:00
parent 4186f6dd7e
commit 6c1993a9fe

View File

@ -160,12 +160,10 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style {
$this->contentContainerStart();
echo "<table class=\"table-condensed\">\n";
if($user->isAdmin()) {
if($folder->inheritsAccess()) {
echo "<tr>";
echo "<td>".getMLText("id").":</td>\n";
echo "<td>".htmlspecialchars($folder->getID())."</td>\n";
echo "</tr>";
}
}
echo "<tr>";
echo "<td>".getMLText("owner").":</td>\n";