* @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 AddDocument 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_AddDocument extends LetoDMS_Bootstrap_Style { function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $folder = $this->params['folder']; $enablelargefileupload = $this->params['enablelargefileupload']; $strictformcheck = $this->params['strictformcheck']; $dropfolderdir = $this->params['dropfolderdir']; $workflowmode = $this->params['workflowmode']; $folderid = $folder->getId(); $this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName())))); $this->globalNavigation($folder); $this->contentStart(); $this->pageNavigation($this->getFolderPathHTML($folder, true), "view_folder", $folder); ?> ".sprintf(getMLText('link_alt_updatedocument'), "out.AddMultiDocument.php?folderid=".$folderid."&showtree=".showtree())."

"; } $this->warningMsg($msg); $this->contentHeading(getMLText("add_document")); $this->contentContainerStart(); // Retrieve a list of all users and groups that have review / approve // privileges. $docAccess = $folder->getApproversList(); $this->contentSubHeading(getMLText("document_infos")); ?>
getAllAttributeDefinitions(array(LetoDMS_Core_AttributeDefinition::objtype_document, LetoDMS_Core_AttributeDefinition::objtype_all)); if($attrdefs) { foreach($attrdefs as $attrdef) { ?> getAllAttributeDefinitions(array(LetoDMS_Core_AttributeDefinition::objtype_documentcontent, LetoDMS_Core_AttributeDefinition::objtype_all)); if($attrdefs) { foreach($attrdefs as $attrdef) { ?>
:
:
:
: printCategoryChooser("form1");?>
: printSequenceChooser($folder->getDocuments());?>
getName()); ?> printAttributeEditField($attrdef, '') ?>
:  
contentSubHeading(getMLText("version_info")); ?>
:
:
: printDropFolderChooser("form1");?>
:
getName()); ?> printAttributeEditField($attrdef, '', 'attributes_version') ?>
:
warningMsg(getMLText("add_doc_workflow_warning")); ?>
contentSubHeading(getMLText("assign_reviewers")); ?>
:
:
contentSubHeading(getMLText("assign_approvers")); ?>
:
:

">

contentContainerEnd(); $this->htmlEndPage(); } /* }}} */ } ?>