http://www.dokeos.com/forum/viewtopic.php?t=7817
@ -57,7 +57,7 @@ class HotSpot extends Question {
parent::createForm ($form);
if(!isset($_GET['editQuestion']))
{
$form->addElement('file','imageUpload');
$form->addElement('file','imageUpload',get_lang('UploadFile'));
$form->addRule('imageUpload', get_lang('OnlyJPG'), 'mimetype','image/jpeg');
$form->addRule('imageUpload', get_lang('NoImage'), 'uploadedfile');
}