MDL-42460 mod_feedback: Fix markup validation
This commit is contained in:
committed by
Marina Glancy
parent
83a951023e
commit
89e68e6c1e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user