MDL-42460 mod_feedback: Fix markup validation

This commit is contained in:
Michael Milette 2014-07-23 13:46:06 +08:00 committed by Marina Glancy
parent 83a951023e
commit 89e68e6c1e

View file

@ -297,15 +297,12 @@ if ($feedback_can_submit) {
$courseid,
sesskey());
/// Print the main part of the page
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Print the main part of the page.
$analysisurl = new moodle_url('/mod/feedback/analysis.php', array('id'=>$id));
if ($courseid > 0) {
$analysisurl->param('courseid', $courseid);
}
echo $OUTPUT->heading(format_text($feedback->name));
echo $OUTPUT->heading(format_string($feedback->name));
if ( (intval($feedback->publish_stats) == 1) AND
( has_capability('mod/feedback:viewanalysepage', $context)) AND