diff --git a/out/jl_core_z.jar b/out/jl_core_z.jar deleted file mode 100644 index 2ead8549e..000000000 Binary files a/out/jl_core_z.jar and /dev/null differ diff --git a/out/out.AddFile2.php b/out/out.AddFile2.php deleted file mode 100644 index bb3cf1fe0..000000000 --- a/out/out.AddFile2.php +++ /dev/null @@ -1,58 +0,0 @@ - getMLText("invalid_doc_id"))),getMLText("invalid_doc_id")); -} - -$documentid = $_GET["documentid"]; -$document = $dms->getDocument($documentid); - -if (!is_object($document)) { - UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_doc_id"))),getMLText("invalid_doc_id")); -} - -$folder = $document->getFolder(); - -if ($document->getAccessMode($user) < M_READWRITE) { - UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("access_denied")); -} - -$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); -$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user)); -if($view) { - $view->setParam('folder', $folder); - $view->setParam('document', $document); - $view($_GET); - exit; -} - -?> diff --git a/out/out.AddMultiDocument.php b/out/out.AddMultiDocument.php deleted file mode 100644 index 047b1b921..000000000 --- a/out/out.AddMultiDocument.php +++ /dev/null @@ -1,64 +0,0 @@ -_enableLargeFileUpload) { - UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_folder_id"))),getMLText("access_denied")); -} - -if (!isset($_GET["folderid"]) || !is_numeric($_GET["folderid"]) || intval($_GET["folderid"])<1) { - UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_folder_id"))),getMLText("invalid_folder_id")); -} -$folder = $dms->getFolder($_GET['folderid']); -if (!is_object($folder)) { - UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_folder_id"))),getMLText("invalid_folder_id")); -} - -if ($folder->getAccessMode($user) < M_READWRITE) { - UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))),getMLText("access_denied")); -} - -$remain = checkQuota($user); -if ($remain < 0) { - UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))),getMLText("quota_exceeded", array('bytes'=>SeedDMS_Core_File::format_filesize(abs($remain))))); -} - -$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); -$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user)); -if($view) { - $view->setParam('folder', $folder); - $view->setParam('enableadminrevapp', $settings->_enableAdminRevApp); - $view->setParam('enableownerrevapp', $settings->_enableOwnerRevApp); - $view->setParam('enableselfrevapp', $settings->_enableSelfRevApp); - $view($_GET); - exit; -} - -?> diff --git a/views/bootstrap/class.AddFile2.php b/views/bootstrap/class.AddFile2.php deleted file mode 100644 index d50069f81..000000000 --- a/views/bootstrap/class.AddFile2.php +++ /dev/null @@ -1,55 +0,0 @@ - - * @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 AddFile2 view - * - * @category DMS - * @package SeedDMS - * @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 SeedDMS_View_AddFile2 extends SeedDMS_Bootstrap_Style { - - function show() { /* {{{ */ - $dms = $this->params['dms']; - $user = $this->params['user']; - $folder = $this->params['folder']; - $document = $this->params['document']; - - $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("linked_files")); - $this->contentContainerStart(); - - $this->printUploadApplet('../op/op.AddFile2.php', array('documentid'=>$document->getId()), 1, array('name'=>1, 'comment'=>1)); - - $this->contentContainerEnd(); - $this->contentEnd(); - $this->htmlEndPage(); - } /* }}} */ -} -?> diff --git a/views/bootstrap/class.AddMultiDocument.php b/views/bootstrap/class.AddMultiDocument.php deleted file mode 100644 index 3fdfd57c0..000000000 --- a/views/bootstrap/class.AddMultiDocument.php +++ /dev/null @@ -1,73 +0,0 @@ - - * @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 SeedDMS - * @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 SeedDMS_View_AddMultiDocument extends SeedDMS_Bootstrap_Style { - - function show() { /* {{{ */ - $dms = $this->params['dms']; - $user = $this->params['user']; - $folder = $this->params['folder']; - $enableadminrevapp = $this->params['enableadminrevapp']; - $enableownerrevapp = $this->params['enableownerrevapp']; - $enableselfrevapp = $this->params['enableselfrevapp']; - - $this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName())))); - $this->globalNavigation($folder); - $this->contentStart(); - $this->pageNavigation($this->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->getReadAccessList($enableadminrevapp, $enableownerrevapp); - - $this->printUploadApplet('../op/op.AddMultiDocument.php', array('folderid'=>$folder->getId())); - - $this->contentContainerEnd(); - $this->contentEnd(); - $this->htmlEndPage(); - } /* }}} */ -} -?> diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index fe33aea23..3261b7d04 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -2324,309 +2324,6 @@ $(document).ready( function() { return $content; } /* }}} */ - /** - * Output HTML Code for jumploader - * - * @param string $uploadurl URL where post data is send - * @param integer $folderid id of folder where document is saved - * @param integer $maxfiles maximum number of files allowed to upload - * @param array $fields list of post fields - */ - function printUploadApplet($uploadurl, $attributes, $maxfiles=0, $fields=array()){ /* {{{ */ -?> - - - - - - - - - - - - - - - - - - -
-

-
-

-

-