[svn r10623] Adding label to upload field

http://www.dokeos.com/forum/viewtopic.php?t=7817
skala
Bart Mollet 18 years ago
parent 01df855aa5
commit c40dfc0755
  1. 2
      main/exercice/hotspot.class.php

@ -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');
}

Loading…
Cancel
Save