mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +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->contentHeading(getMLText("folder_infos"));
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
echo "<table class=\"table-condensed\">\n";
|
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($user->isAdmin()) {
|
||||||
if($folder->inheritsAccess()) {
|
if($folder->inheritsAccess()) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user