[svn r14099] add informations about course and user when correction an exercise (FS#2164)

skala
Eric Marguin 17 years ago
parent 76dd705667
commit 72f6a33c54
  1. 25
      main/exercice/exercise_show.php

@ -316,10 +316,27 @@ $query = "select * from ".$TBL_TRACK_ATTEMPT." as attempts
$result =api_sql_query($query, __FILE__, __LINE__);
?>
<h3><?php echo stripslashes($test)?> : <?php echo get_lang("Result"); ?></h3>
<?php echo $exerciseDexcription.'<br>'; ?>
</td>
</tr>
<table>
<tr>
<td style="font-weight:bold"><?php echo get_lang('CourseTitle')?> : </td>
<td><?php echo $_course['name'] ?></td>
</tr>
<tr>
<td style="font-weight:bold"><?php echo get_lang('User')?> : </td>
<td><?php echo $user_name ?></td>
</tr>
<tr>
<td style="font-weight:bold">
<?php echo get_lang("Exercise"); ?>
</td>
<td>
<?php echo stripslashes($test)?><br />
<?php echo $exerciseDexcription; ?>
</td>
</tr>
</table>
<br />
<?php

Loading…
Cancel
Save