'../gradebook/'.$_SESSION['gradebook_dest'], 'name' => get_lang('ToolGradebook') ); } $interbreadcrumb[] = array("url" => "exercice.php", "name" => get_lang('Exercices')); Display::display_header($nameTools, "Exercise"); ?>

"; echo "
"; $objAnswerTmp = new Answer($id); $num = $objAnswerTmp->selectNbrAnswers(); $objAnswerTmp->read(); for ($i = 1; $i <= $num; $i++) { echo "' ); $form->add_html_editor( 'Feedback', $i.'.'.$ans, false, false, array('ToolbarSet' => 'TestAnswerFeedback', 'Width' => '600', 'Height' => '200') ); $form->display(); echo ""; }?> Click Ok to finish
".get_lang('Question')." : "; echo $objQuestionTmp->selectTitle(); echo "

".get_lang('Answer')." :
"; $ans = $objAnswerTmp->answer[$i]; $form = new FormValidator('feedbackform', 'post', api_get_self()."?".api_get_cidreq( )."&modifyQuestion=".$modifyQuestion."&newQuestion=".$newQuestion); $obj_registration_form = new HTML_QuickForm('frmRegistration', 'POST'); $renderer =& $obj_registration_form->defaultRenderer(); $renderer->setElementTemplate( '
{label} * {element}
{error}