[svn r13324] repair hotspots (a language variable had been changed which beark the form ...)

skala
Eric Marguin 17 years ago
parent 320bdf5cee
commit 52f04a0bd8
  1. 2
      main/exercice/exercice.php
  2. 4
      main/exercice/hotpotatoes.php

@ -747,7 +747,7 @@ if($show == 'test'){
<td><a href="showinframes.php?file=<?php echo $path?>&cid=<?php echo $_course['official_code'];?>&uid=<?php echo $_user['user_id'];?>" <?php if(!$active) echo 'class="invisible"'; ?>><?php echo $title?></a></td>
</tr>
</table></td>
<td></td>
<td></td><td></td>
<td width="12%" align="center"><a href="adminhp.php?hotpotatoesName=<?php echo $path; ?>"> <img src="../img/edit.gif" border="0" alt="<?php echo htmlentities(get_lang('Modify'),ENT_QUOTES,$charset); ?>" /></a>
<a href="<?php echo $exercicePath; ?>?hpchoice=delete&file=<?php echo $path; ?>" onclick="javascript:if(!confirm('<?php echo addslashes(htmlentities(get_lang('AreYouSure'),ENT_QUOTES,$charset).$title."?"); ?>')) return false;"><img src="../img/delete.gif" border="0" alt="<?php echo htmlentities(get_lang('Delete'),ENT_QUOTES,$charset); ?>" /></a>
<?php

@ -22,7 +22,7 @@
* Code for Hotpotatoes integration.
* @package dokeos.exercise
* @author Istvan Mandak
* @version $Id: hotpotatoes.php 13314 2007-09-27 08:16:19Z elixir_julian $
* @version $Id: hotpotatoes.php 13324 2007-09-27 12:29:17Z elixir_inter $
*/
@ -81,7 +81,7 @@ if(($is_allowedToEdit) && (($finish == 0) || ($finish == 2)))
//check that the submit button was pressed when the button had the "Download" value
//This should be updated to "upload" here and on the button, and it would be better to
// check something else than a string displayd on a button
if (strcmp($_POST['submit'],get_lang('Download'))===0)
if (strcmp($_POST['submit'],get_lang('Send'))===0)
{
/** el kell tarolni <- english please */
include_once(api_get_path(LIBRARY_PATH).'fileManage.lib.php');

Loading…
Cancel
Save