mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
MDL-20534 lti: Replacing <<< strings with normal multi-line strings.
This commit is contained in:
parent
a55c361955
commit
5de15b83cc
8 changed files with 157 additions and 156 deletions
|
@ -87,23 +87,23 @@ if (!empty($errormsg)) {
|
|||
|
||||
echo '<html><body>';
|
||||
|
||||
$script = <<<SCRIPT
|
||||
<script type='text/javascript'>
|
||||
$script = "
|
||||
<script type=\"text/javascript\">
|
||||
//<![CDATA[
|
||||
if(window != top){
|
||||
top.location.href = '{$url}';
|
||||
}
|
||||
//]]
|
||||
</script>
|
||||
SCRIPT;
|
||||
";
|
||||
|
||||
$clickhere = get_string('return_to_course', 'lti', (object)array('link' => $url));
|
||||
|
||||
$noscript = <<<NOSCRIPT
|
||||
$noscript = "
|
||||
<noscript>
|
||||
{$clickhere}
|
||||
</noscript>
|
||||
NOSCRIPT;
|
||||
";
|
||||
|
||||
echo $script;
|
||||
echo $noscript;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue