From f8606c198591261c970d7a346e3607a1ccf8f3c3 Mon Sep 17 00:00:00 2001 From: Charl Joseph Mert Date: Thu, 11 Mar 2010 10:52:21 +0200 Subject: [PATCH] Remove 'Add' button on bulk downloads page PT:2631901 --- plugins/multiselect/BulkImport.php | 11 ----------- plugins/multiselect/BulkUpload.php | 11 ----------- 2 files changed, 0 insertions(+), 22 deletions(-) diff --git a/plugins/multiselect/BulkImport.php b/plugins/multiselect/BulkImport.php index 39c46f4..9d2437e 100644 --- a/plugins/multiselect/BulkImport.php +++ b/plugins/multiselect/BulkImport.php @@ -176,17 +176,6 @@ class InetBulkImportFolderMultiSelectAction extends KTFolderAction { 'simple_select' => false, )); - //Adding the quick "add" button for when no meta data needs to be added. - //FIXME: This widget should only display if there are any "required" fields for the given document type - // Default/general document field type must also be taken into consideration - - $widgets[] = $oWF->get('ktcore.widgets.button',array( - 'value' => _kt('Add'), - 'id' => 'quick_add', - 'description' => _kt('If you do not need to modify any the metadata for this document (see below), then you can simply click "Add" here to finish the process and add the document.'), - 'name' => 'btn_quick_submit', - )); - $oFReg =& KTFieldsetRegistry::getSingleton(); $activesets = KTFieldset::getGenericFieldsets(); diff --git a/plugins/multiselect/BulkUpload.php b/plugins/multiselect/BulkUpload.php index b2ddb55..d215a85 100644 --- a/plugins/multiselect/BulkUpload.php +++ b/plugins/multiselect/BulkUpload.php @@ -202,17 +202,6 @@ class InetBulkUploadFolderAction extends KTFolderAction { 'simple_select' => false, )); - //Adding the quick "add" button for when no meta data needs to be added. - //FIXME: This widget should only display if there are any "required" fields for the given document type - // Default/general document field type must also be taken into consideration - - $widgets[] = $oWF->get('ktcore.widgets.button',array( - 'value' => _kt('Add'), - 'id' => 'quick_add', - 'description' => _kt('If you do not need to modify any the metadata for this document (see below), then you can simply click "Add" here to finish the process and add the document.'), - 'name' => 'btn_quick_submit', - )); - $oFReg =& KTFieldsetRegistry::getSingleton(); $activesets = KTFieldset::getGenericFieldsets(); -- libgit2 0.21.4