mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-07 07:34:58 +00:00
72 lines
2.1 KiB
PHP
72 lines
2.1 KiB
PHP
|
<?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();
|
||
|
|
||
|
} /* }}} */
|
||
|
}
|
||
|
?>
|
||
|
|