mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-12 01:54:57 +00:00
remove accidently duplicated code
This commit is contained in:
parent
e2974f2054
commit
4186f6dd7e
|
@ -159,23 +159,6 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentHeading(getMLText("folder_infos"));
|
||||
$this->contentContainerStart();
|
||||
echo "<table class=\"table-condensed\">\n";
|
||||
if($user->isAdmin()) {
|
||||
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";
|
||||
echo "<td><a href=\"mailto:".htmlspecialchars($owner->getEmail())."\">".htmlspecialchars($owner->getFullName())."</a></td>\n";
|
||||
echo "</tr>";
|
||||
if($folder->getComment()) {
|
||||
echo "<tr>";
|
||||
echo "<td>".getMLText("comment").":</td>\n";
|
||||
echo "<td>".htmlspecialchars($folder->getComment())."</td>\n";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
if($user->isAdmin()) {
|
||||
if($folder->inheritsAccess()) {
|
||||
echo "<tr>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user