mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
- added missing file to add multiple documents
This commit is contained in:
parent
19622b2857
commit
7e0174ca4a
71
views/bootstrap/class.AddMultiDocument.php
Normal file
71
views/bootstrap/class.AddMultiDocument.php
Normal file
|
@ -0,0 +1,71 @@
|
|||
<?php
|
||||
/**
|
||||
* Implementation of AddMultiDocument view
|
||||
*
|
||||
* @category DMS
|
||||
* @package LetoDMS
|
||||
* @license GPL 2
|
||||
* @version @version@
|
||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @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 <uwe@steinmann.cx>
|
||||
* @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);
|
||||
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
var openDlg;
|
||||
function chooseKeywords(target) {
|
||||
openDlg = open("out.KeywordChooser.php?target="+target, "openDlg", "width=500,height=400,scrollbars=yes,resizable=yes");
|
||||
}
|
||||
function chooseCategory(form, cats) {
|
||||
openDlg = open("out.CategoryChooser.php?form="+form+"&cats="+cats, "openDlg", "width=480,height=480,scrollbars=yes,resizable=yes,status=yes");
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php
|
||||
$this->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();
|
||||
|
||||
} /* }}} */
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user