Minor - Improve PPT uploading form to avoid loosing context on failure

pull/2487/head
Yannick Warnier 9 years ago
parent 85ac34259f
commit c12374b0c8
  1. 2
      main/upload/upload_ppt.php

@ -72,7 +72,7 @@ if (!empty($errorMessage)) {
$div_upload_limit = get_lang('UploadMaxSize').' : '.ini_get('post_max_size');
$form = new FormValidator('upload_ppt', 'POST', '', '');
$form = new FormValidator('upload_ppt', 'POST', '?' . api_get_cidreq(), '');
$form->addElement('header', get_lang("WelcomeOogieSubtitle"));
$form->addElement('html', Display::return_message($message, 'info', false));
$form->addElement('file', 'user_file', array(Display::return_icon('powerpoint_big.gif'), $div_upload_limit));

Loading…
Cancel
Save