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

"; echo "
"; $objAnswerTmp=new Answer($id); $num = $objAnswerTmp->selectNbrAnswers(); $objAnswerTmp->read(); for($i=1;$i<=$num;$i++) { echo "'); $form->addHtmlEditor('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->setCustomElementTemplate( '
{label} * {element}
{error}