* @copyright Copyright (C) 2017 Uwe Steinmann * @version Release: @package_version@ */ /** * Include parent class */ //require_once("class.Bootstrap.php"); /** * Class which outputs the html page for TransferDocument view * * @category DMS * @package SeedDMS * @author Uwe Steinmann * @copyright Copyright (C) 2017 Uwe Steinmann * @version Release: @package_version@ */ class SeedDMS_View_TransferDocument extends SeedDMS_Theme_Style { function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $allusers = $this->params['allusers']; $document = $this->params['document']; $folder = $this->params['folder']; $accessobject = $this->params['accessobject']; $this->htmlStartPage(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName())))); $this->globalNavigation($folder); $this->contentStart(); $this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document); $this->contentHeading(getMLText("transfer_document")); ?>
'; $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 .= "
contentEnd(); $this->htmlEndPage(); } /* }}} */ } ?>