Fix inline layout for radio and checkbox group when upload documents to learnpath

See 076aedf361
remotes/angel/1.11.x
Angel Fernando Quiroz Campos 8 years ago
parent b92fdadff6
commit 03a9cf6f32
  1. 6
      main/lp/learnpath.class.php

@ -9200,8 +9200,7 @@ class learnpath
'POST',
$this->getCurrentBuildingModeURL(),
'',
array('enctype' => 'multipart/form-data'),
FormValidator::LAYOUT_INLINE
array('enctype' => 'multipart/form-data')
);
$folders = DocumentManager::get_all_document_folders(
@ -9219,8 +9218,6 @@ class learnpath
'directory_parent_id'
);
$form->addHtml('<hr>');
$group = array(
$form->createElement(
'radio',
@ -9245,7 +9242,6 @@ class learnpath
)
);
$form->addGroup($group, null, get_lang('UplWhatIfFileExists'));
$form->addHtml('<br />');
/*$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');*/

Loading…
Cancel
Save