|
|
|
|
@ -578,6 +578,9 @@ $form->addElement('radio', 'if_exists', get_lang('UplWhatIfFileExists'), get_lan |
|
|
|
|
$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','</div>'); |
|
|
|
|
|
|
|
|
|
//button send document |
|
|
|
|
$form->addElement('style_submit_button', 'submitDocument', get_lang('SendDocument'),'class="upload"'); |
|
|
|
|
$form->add_real_progress_bar('DocumentUpload','user_upload'); |
|
|
|
|
@ -586,8 +589,7 @@ $defaults = array('index_document'=>'checked="checked"'); |
|
|
|
|
|
|
|
|
|
$form->setDefaults($defaults); |
|
|
|
|
|
|
|
|
|
//close the java script and avoid the footer up |
|
|
|
|
$form -> addElement('html','</div>'); |
|
|
|
|
|
|
|
|
|
$form->display(); |
|
|
|
|
|
|
|
|
|
?> |
|
|
|
|
|