answers[$aid]->answertext);
if ($usehtmleditor) {
echo "';
$nohtmleditorneeded = false;
} else {
echo ' ';
helpbutton('textformat', get_string('formattexttype'));
print_string('formattexttype');
echo ': ';
$format = (isset($question) && isset($question->answers[$aid]->format)) ? $question->answers[$aid]->format : $defaultformat ;
choose_from_menu(format_text_menu(), "format{$aid}", $format, '');
echo ' ';
}
?>
|
weighted){
$weight = (isset($question->answers[$aid]->weight)) ? $question->answers[$aid]->weight : 1 ;
?>
answers[$aid]->helper);
if ($usehtmleditor) {
echo "';
$nohtmleditorneeded = false;
} else {
echo ' ';
helpbutton('textformat', get_string('formattexttype'));
print_string('formattexttype');
echo ': ';
$format = (isset($question) && isset($question->answers[$aid]->helperformat)) ? $question->answers[$aid]->helperformat : $defaultformat ;
choose_from_menu(format_text_menu(), "helperformat{$aid}", $format, '');
echo ' ';
}
?>
|