mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
add field for selecting a document from the library
This commit is contained in:
parent
ed1db45990
commit
13babfa3f9
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user