mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-43581' of git://github.com/timhunt/moodle
This commit is contained in:
commit
8fce57c001
1 changed files with 9 additions and 5 deletions
|
@ -539,9 +539,6 @@ class core_renderer extends renderer_base {
|
||||||
<li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&warnp2n3e=1&url1=' . urlencode(qualified_me()) . '">WCAG 1 (2,3) Check</a></li>
|
<li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&warnp2n3e=1&url1=' . urlencode(qualified_me()) . '">WCAG 1 (2,3) Check</a></li>
|
||||||
</ul></div>';
|
</ul></div>';
|
||||||
}
|
}
|
||||||
if (!empty($CFG->additionalhtmlfooter)) {
|
|
||||||
$output .= "\n".$CFG->additionalhtmlfooter;
|
|
||||||
}
|
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -563,15 +560,22 @@ class core_renderer extends renderer_base {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The standard tags (typically script tags that are not needed earlier) that
|
* The standard tags (typically script tags that are not needed earlier) that
|
||||||
* should be output after everything else, . Designed to be called in theme layout.php files.
|
* should be output after everything else. Designed to be called in theme layout.php files.
|
||||||
*
|
*
|
||||||
* @return string HTML fragment.
|
* @return string HTML fragment.
|
||||||
*/
|
*/
|
||||||
public function standard_end_of_body_html() {
|
public function standard_end_of_body_html() {
|
||||||
|
global $CFG;
|
||||||
|
|
||||||
// This function is normally called from a layout.php file in {@link core_renderer::header()}
|
// This function is normally called from a layout.php file in {@link core_renderer::header()}
|
||||||
// but some of the content won't be known until later, so we return a placeholder
|
// but some of the content won't be known until later, so we return a placeholder
|
||||||
// for now. This will be replaced with the real content in {@link core_renderer::footer()}.
|
// for now. This will be replaced with the real content in {@link core_renderer::footer()}.
|
||||||
return $this->unique_end_html_token;
|
$output = '';
|
||||||
|
if (!empty($CFG->additionalhtmlfooter)) {
|
||||||
|
$output .= "\n".$CFG->additionalhtmlfooter;
|
||||||
|
}
|
||||||
|
$output .= $this->unique_end_html_token;
|
||||||
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue