diff --git a/views/bootstrap/class.ExpiredDocuments.php b/views/bootstrap/class.ExpiredDocuments.php index 92b63dd0e..a8a435698 100644 --- a/views/bootstrap/class.ExpiredDocuments.php +++ b/views/bootstrap/class.ExpiredDocuments.php @@ -90,7 +90,7 @@ class SeedDMS_View_ExpiredDocuments extends SeedDMS_Bootstrap_Style { } print ""; } - else $this->infoMsg("no_docs_expired"); + else $this->infoMsg(getMLText("no_docs_expired")); // $this->contentContainerEnd(); diff --git a/views/bootstrap/class.TransferDocument.php b/views/bootstrap/class.TransferDocument.php index bda1085ad..a40d5a8c4 100644 --- a/views/bootstrap/class.TransferDocument.php +++ b/views/bootstrap/class.TransferDocument.php @@ -40,7 +40,6 @@ class SeedDMS_View_TransferDocument extends SeedDMS_Bootstrap_Style { $this->contentStart(); $this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document); $this->contentHeading(getMLText("transfer_document")); - $this->contentContainerStart(); ?>
@@ -48,10 +47,12 @@ class SeedDMS_View_TransferDocument extends SeedDMS_Bootstrap_Style { '; $owner = $document->getOwner(); + $hasusers = false; // set to true if at least one user is found foreach ($allusers as $currUser) { if ($currUser->isGuest() || ($currUser->getID() == $owner->getID())) continue; + $hasusers = true; $html .= "
contentContainerEnd(); $this->contentEnd(); $this->htmlEndPage(); } /* }}} */