diff --git a/main/document/upload.php b/main/document/upload.php index e262eb1086..4e225ac25d 100755 --- a/main/document/upload.php +++ b/main/document/upload.php @@ -1,26 +1,5 @@ addElement('header', '', $nameTools); - $form->addElement('hidden','curdirpath',$path); - $form->addElement('file','user_upload',get_lang('File'),'id="user_upload" size="45"'); -if(api_get_setting('use_document_title')=='true') -{ +if(api_get_setting('use_document_title')=='true') { $form->addElement('text','title',get_lang('Title'),array('size'=>'20','style' => 'width:300px','id' => 'title_file')); $form->addElement('textarea','comment',get_lang('Comment'),'wrap="virtual" style="width:300px;"'); }