diff --git a/views/bootstrap/class.AddMultiDocument.php b/views/bootstrap/class.AddMultiDocument.php new file mode 100644 index 000000000..13c0bc2e2 --- /dev/null +++ b/views/bootstrap/class.AddMultiDocument.php @@ -0,0 +1,71 @@ + + * @copyright Copyright (C) 2002-2005 Markus Westphal, + * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, + * 2010-2012 Uwe Steinmann + * @version Release: @package_version@ + */ + +/** + * Include parent class + */ +require_once("class.Bootstrap.php"); + +/** + * Class which outputs the html page for AddMultiDocument view + * + * @category DMS + * @package LetoDMS + * @author Markus Westphal, Malcolm Cowe, Uwe Steinmann + * @copyright Copyright (C) 2002-2005 Markus Westphal, + * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, + * 2010-2012 Uwe Steinmann + * @version Release: @package_version@ + */ +class LetoDMS_View_AddMultiDocument extends LetoDMS_Bootstrap_Style { + + function show() { /* {{{ */ + $dms = $this->params['dms']; + $user = $this->params['user']; + $folder = $this->params['folder']; + + $this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName())))); + $this->globalNavigation($folder); + $this->contentStart(); + $this->pageNavigation(getFolderPathHTML($folder, true), "view_folder", $folder); + +?> + + +contentHeading(getMLText("add_document")); + $this->contentContainerStart(); + + // Retrieve a list of all users and groups that have review / approve + // privileges. + $docAccess = $folder->getApproversList(); + + $this->printUploadApplet('../op/op.AddMultiDocument.php', array('folderid'=>$folder->getId())); + + $this->contentContainerEnd(); + $this->htmlEndPage(); + + } /* }}} */ +} +?> +