1.8 * @date 02/12/2007 * * Prints a form for reporting issue */ if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from view.php in mod/tracker } ?>
heading(format_string($tracker->name)); if (!empty($tracker->description)){ $OUTPUT->box_start('center', '80%', '', '', 'generalbox', 'description'); echo format_text($tracker->description); echo '
'; $OUTPUT->box_end(); } $OUTPUT->box_start('center', '80%', '', '', 'generalbox', 'bugreport'); $enctype = ''; if (tracker_requiresfile($tracker->id)){ $enctype = ' enctype="multipart/form-data" '; } ?>
>
:
id}\" />"; ?> :
:
: '; } else { echo '

'; $OUTPUT->help_icon('textformat', 'moodle'); print_string('formattexttype'); echo ': '; if (empty($form->format)) { $form->format = "MOODLE"; } echo hmtl_writer::select(format_text_menu(), 'format', $form->format); echo '

'; } ?>
box_end(); ?>