|
|
|
@ -22,7 +22,7 @@ |
|
|
|
|
* Code for Hotpotatoes integration. |
|
|
|
|
* @package dokeos.exercise |
|
|
|
|
* @author Istvan Mandak |
|
|
|
|
* @version $Id: hotpotatoes.php 20089 2009-04-24 21:12:54Z cvargas1 $ |
|
|
|
|
* @version $Id: hotpotatoes.php 20234 2009-04-30 20:01:00Z cfasanando $ |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -260,10 +260,11 @@ if((api_is_allowed_to_edit()) && (($finish == 0) || ($finish == 2))) |
|
|
|
|
echo " : ", |
|
|
|
|
"<input type=\"file\" name=\"userFile\">\n", |
|
|
|
|
"<input type=\"submit\" name=\"submit\" value=\"".get_lang('Send')."\"><br/>\n";*/ |
|
|
|
|
Display::display_icon('hotpotatoes.jpg','',array('align'=> 'right', 'style' => 'position: absolute; padding-top: 30px; margin-left: 500px;')); |
|
|
|
|
//Display::display_icon('hotpotatoes.jpg','',array('align'=> 'right', 'style' => 'position: absolute; padding-top: 30px; margin-left: 500px;')); |
|
|
|
|
|
|
|
|
|
echo '<div class="row"><div class="form_header">'.$nameTools.'</div></div>'; |
|
|
|
|
echo '<div class="row">'; |
|
|
|
|
echo '<div class="label">'; |
|
|
|
|
echo '<div class="label" style="padding:10px">'; |
|
|
|
|
echo '<span class="form_required">*</span>'; |
|
|
|
|
if ($finish==0){ |
|
|
|
|
echo get_lang('DownloadFile').' : '; |
|
|
|
@ -272,16 +273,15 @@ if((api_is_allowed_to_edit()) && (($finish == 0) || ($finish == 2))) |
|
|
|
|
echo get_lang('DownloadImg').' : '; |
|
|
|
|
} |
|
|
|
|
echo '</div>'; |
|
|
|
|
|
|
|
|
|
echo '<div class="formw">'; |
|
|
|
|
echo '<input type="file" name="userFile">'; |
|
|
|
|
echo '</div>'; |
|
|
|
|
echo '</div>'; |
|
|
|
|
|
|
|
|
|
echo '<div class="row">'; |
|
|
|
|
echo '<div class="label">'; |
|
|
|
|
echo '</div>'; |
|
|
|
|
echo '<div class="formw"> <button type="submit" class="save" name="submit" value="'.get_lang('Send').'">'.get_lang('SendFile').'</button> </div>'; |
|
|
|
|
echo '</div>'; |
|
|
|
|
echo '<div style="float:left;padding:10px" > |
|
|
|
|
<input type="file" name="userFile"><br /><br /> |
|
|
|
|
<button type="submit" class="save" name="submit" value="'.get_lang('Send').'">'.get_lang('SendFile').'</button> |
|
|
|
|
</div>'; |
|
|
|
|
echo '<div>'.Display::display_icon('hotpotatoes.jpg','').'</div>'; |
|
|
|
|
echo '</div></div>'; |
|
|
|
|
|
|
|
|
|
?> |
|
|
|
|
|
|
|
|
|