'../gradebook/'.$_SESSION['gradebook_dest'], 'name' => get_lang('Gradebook') ); } $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); $form->display(); echo ""; }?> Click Ok to finish
".get_lang('Question')." : "; echo $objQuestionTmp->selectTitle(); echo "

".get_lang('Answer')." :
"; $ans = $objAnswerTmp->answer[$i]; $fck_attribute['Width'] = '600'; $fck_attribute['Height'] = '200'; $fck_attribute['ToolbarSet'] = 'Small'; //TODO: check where run? for customize buttons bar $form = new FormValidator('feedbackform','post',api_get_self()."?modifyQuestion=".$modifyQuestion."&newQuestion=".$newQuestion); $obj_registration_form = new HTML_QuickForm('frmRegistration', 'POST'); $renderer =& $obj_registration_form->defaultRenderer(); $renderer->setElementTemplate( '
{label} * {element}
{error}