[svn r12140] Display the question description

skala
Julian Prud'homme 18 years ago
parent 5b3086462b
commit 977c51f4e3
  1. 4
      main/exercice/exercise_show.php

@ -344,6 +344,7 @@ $result =api_sql_query($query, __FILE__, __LINE__);
// creates a temporary Question object // creates a temporary Question object
$objQuestionTmp = Question::read($questionId); $objQuestionTmp = Question::read($questionId);
$questionName=$objQuestionTmp->selectTitle(); $questionName=$objQuestionTmp->selectTitle();
$questionDescription=$objQuestionTmp->selectDescription();
$questionWeighting=$objQuestionTmp->selectWeighting(); $questionWeighting=$objQuestionTmp->selectWeighting();
$answerType=$objQuestionTmp->selectType(); $answerType=$objQuestionTmp->selectType();
$quesId =$objQuestionTmp->selectId(); //added by priya saini $quesId =$objQuestionTmp->selectId(); //added by priya saini
@ -371,6 +372,9 @@ $result =api_sql_query($query, __FILE__, __LINE__);
</tr> </tr>
<tr> <tr>
<td colspan="2"><?php echo $questionName; ?> </td> <td colspan="2"><?php echo $questionName; ?> </td>
</tr>
<tr>
<td colspan="2"><?php echo $questionDescription; ?> </td>
</tr> </tr>
<tr> <tr>
<td width="200" height="90" valign="top"> <td width="200" height="90" valign="top">

Loading…
Cancel
Save