1.8 * @date 02/12/2007 * * A form for updating an issue */ if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from view.php in mod/tracker } print_simple_box_start('center', '80%', '', '', 'generalbox', 'bugreport'); $issue = $DB->get_record('tracker_issue', array('id' => $issueid)); $issue->reporter = $DB->get_record('user', array('id' => $issue->reportedby), '', 'id,lastname,firstname'); tracker_loadelementsused($tracker, $elementsused); $enctype = ''; if (tracker_requiresfile($tracker->id)){ $enctype = ' enctype="multipart/form-data" '; } ?>
status < OPEN){ $issue->status = OPEN; set_field('tracker_issue', 'status', OPEN, 'id', $issueid); } ?> > "; echo ""; echo ""; echo ""; } } } ?>
: ticketprefix.$issueid; ?> : id, $issueid); ?>
:
reporter); ?> : datereported); ?>
:
id] = fullname($resolver); } choose_from_menu($resolversmenu, 'assignedto', @$issue->assignedto); ?> : status); ?>
:
: description); if ($usehtmleditor) { echo ''; } else { echo '

'; helpbutton('textformat', get_string('formattexttype')); print_string('formattexttype'); echo ': '; if (empty($form->format)) { $form->format = "MOODLE"; } choose_from_menu(format_text_menu(), 'format', $form->format, ""); echo '

'; } ?>
"; echo ""; echo format_string($elementsused[$key]->description); echo ":
"; echo "
"; echo $elementsused[$key]->view(true, $issue->id); echo "
: resolution); if ($usehtmleditor) { echo ''; } else { echo '

'; helpbutton('textformat', get_string('formattexttype')); print_string('formattexttype'); echo ': '; if (empty($form->format)) { $form->format = "MOODLE"; } choose_from_menu(format_text_menu(), 'resolutionformat', $form->resolutionformat, ""); echo '

'; } ?>