mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-42460 mod_feedback: Fix markup validation
This commit is contained in:
parent
83a951023e
commit
89e68e6c1e
1 changed files with 2 additions and 5 deletions
|
@ -297,15 +297,12 @@ if ($feedback_can_submit) {
|
||||||
$courseid,
|
$courseid,
|
||||||
sesskey());
|
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));
|
$analysisurl = new moodle_url('/mod/feedback/analysis.php', array('id'=>$id));
|
||||||
if ($courseid > 0) {
|
if ($courseid > 0) {
|
||||||
$analysisurl->param('courseid', $courseid);
|
$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
|
if ( (intval($feedback->publish_stats) == 1) AND
|
||||||
( has_capability('mod/feedback:viewanalysepage', $context)) AND
|
( has_capability('mod/feedback:viewanalysepage', $context)) AND
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue