From 1093a561345bb79d766154eca023b910aad7201c Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Fri, 20 Nov 2009 17:05:56 -0500 Subject: [PATCH 1/2] Displayed the button sent document DT#5496 --- main/document/upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/document/upload.php b/main/document/upload.php index 60f19b082f..c58f4869c4 100644 --- a/main/document/upload.php +++ b/main/document/upload.php @@ -577,7 +577,7 @@ if(api_get_setting('search_enabled')=='true') $form->addElement('radio', 'if_exists', get_lang('UplWhatIfFileExists'), get_lang('UplDoNothing'), 'nothing'); $form->addElement('radio', 'if_exists', '', get_lang('UplOverwriteLong'), 'overwrite'); $form->addElement('radio', 'if_exists', '', get_lang('UplRenameLong'), 'rename'); - +$form -> addElement('html',''); //button send document $form->addElement('style_submit_button', 'submitDocument', get_lang('SendDocument'),'class="upload"'); $form->add_real_progress_bar('DocumentUpload','user_upload'); @@ -587,7 +587,7 @@ $defaults = array('index_document'=>'checked="checked"'); $form->setDefaults($defaults); //close the java script and avoid the footer up -$form -> addElement('html',''); + $form->display(); ?> From f935898c0e0979d9592b371f8044201813a86f30 Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Fri, 20 Nov 2009 17:08:33 -0500 Subject: [PATCH 2/2] Displayed the button sent document (re-sent for trouble of PC) DT#5496 --- main/document/upload.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/document/upload.php b/main/document/upload.php index c58f4869c4..d40111eb00 100644 --- a/main/document/upload.php +++ b/main/document/upload.php @@ -577,7 +577,10 @@ if(api_get_setting('search_enabled')=='true') $form->addElement('radio', 'if_exists', get_lang('UplWhatIfFileExists'), get_lang('UplDoNothing'), 'nothing'); $form->addElement('radio', 'if_exists', '', get_lang('UplOverwriteLong'), 'overwrite'); $form->addElement('radio', 'if_exists', '', get_lang('UplRenameLong'), 'rename'); + +//close the java script and avoid the footer up $form -> addElement('html',''); + //button send document $form->addElement('style_submit_button', 'submitDocument', get_lang('SendDocument'),'class="upload"'); $form->add_real_progress_bar('DocumentUpload','user_upload'); @@ -586,7 +589,6 @@ $defaults = array('index_document'=>'checked="checked"'); $form->setDefaults($defaults); -//close the java script and avoid the footer up $form->display();