add field for selecting a document from the library

This commit is contained in:
Uwe Steinmann 2015-05-29 20:46:25 +02:00
parent ed1db45990
commit 13babfa3f9

View File

@ -41,6 +41,7 @@ class SeedDMS_View_AddDocument extends SeedDMS_Bootstrap_Style {
$enableselfrevapp = $this->params['enableselfrevapp'];
$strictformcheck = $this->params['strictformcheck'];
$dropfolderdir = $this->params['dropfolderdir'];
$libraryfolder = $this->params['libraryfolder'];
$workflowmode = $this->params['workflowmode'];
$presetexpiration = $this->params['presetexpiration'];
$sortusersinlist = $this->params['sortusersinlist'];
@ -214,6 +215,12 @@ $(document).ready(function() {
<td><?php printMLText("dropfolder_file");?>:</td>
<td><?php $this->printDropFolderChooser("form1");?></td>
</tr>
<?php } ?>
<?php if($libraryfolder) { ?>
<tr>
<td><?php printMLText("librarydoc");?>:</td>
<td><?php $this->printDocumentChooser("form1", M_READ, -1, null, 'librarydoc', $libraryfolder, 1);?></td>
</tr>
<?php } ?>
<tr>
<td><?php printMLText("comment_for_current_version");?>:</td>