Browse Source

[svn r19464] minor hide load mp3 in learnpath see FS#3917

Carlos Vargas 16 years ago
parent
commit
61f1f34cd8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/newscorm/learnpath.class.php

+ 2 - 2
main/newscorm/learnpath.class.php

@@ -6519,8 +6519,8 @@ class learnpath {
 				//$select_prerequisites->addOption(get_lang("NoPrerequisites"),0);
 
 				// form element for uploading an mp3 file
-				$form->addElement('file','mp3',get_lang('UploadMp3audio'),'id="mp3" size="33"');
-				$form->addRule('file', 'The extension of the Song file should be *.mp3', 'filename', '/^.*\.mp3$/');
+				//$form->addElement('file','mp3',get_lang('UploadMp3audio'),'id="mp3" size="33"');
+				//$form->addRule('file', 'The extension of the Song file should be *.mp3', 'filename', '/^.*\.mp3$/');
 				
                 /* Code deprecated - moved to lp level (not lp-item)
                 if ( api_get_setting('search_enabled') === 'true' )