add help for checkboxes, add checkbox to add base folder

This commit is contained in:
Uwe Steinmann 2024-08-16 11:29:03 +02:00
parent 6fc30510cd
commit 54c7c49137

View File

@ -63,6 +63,17 @@ class SeedDMS_View_ImportFS extends SeedDMS_Theme_Style {
getMLText("dropfolder_metadata"),
$this->getDropFolderChooserHtml("form2", "", 0, 1)
);
$this->formField(
getMLText("createSubFolderForImportedFiles"),
array(
'element'=>'input',
'type'=>'checkbox',
'name'=>'createfolder',
'value'=>'1',
), array(
'help'=>getMLText('createSubFolderForImportedFiles_desc'),
)
);
$this->formField(
getMLText("removeFolderFromDropFolder"),
array(
@ -70,6 +81,8 @@ class SeedDMS_View_ImportFS extends SeedDMS_Theme_Style {
'type'=>'checkbox',
'name'=>'remove',
'value'=>'1'
), array(
'help'=>getMLText('removeFolderFromDropFolder_desc'),
)
);
$this->formField(
@ -79,6 +92,8 @@ class SeedDMS_View_ImportFS extends SeedDMS_Theme_Style {
'type'=>'checkbox',
'name'=>'setfiledate',
'value'=>'1'
), array(
'help'=>getMLText('setDateFromFile_desc'),
)
);
$this->formField(
@ -88,6 +103,8 @@ class SeedDMS_View_ImportFS extends SeedDMS_Theme_Style {
'type'=>'checkbox',
'name'=>'setfolderdate',
'value'=>'1'
), array(
'help'=>getMLText('setDateFromFolder_desc'),
)
);
$this->contentContainerEnd();