Navigation Menu

Skip to content

Commit

Permalink
MDL-12153, "Validome - moodle.org invalid - require Content-Script-Ty…
Browse files Browse the repository at this point in the history
…pe". Merged.
  • Loading branch information
nfreear committed Nov 13, 2007
1 parent 2c00ee9 commit 1a78d38
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/weblib.php
Expand Up @@ -2410,11 +2410,13 @@ function print_header ($title='', $heading='', $navigation='', $focus='',
} }




$meta = '<meta http-equiv="content-type" content="text/html; charset=utf-8" />' . $meta = '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />' .
"\n" . $meta . "\n"; "\n" . $meta . "\n";
if (!$usexml) { if (!$usexml) {
@header('Content-type: text/html; charset=utf-8'); @header('Content-Type: text/html; charset=utf-8');
} }
@header('Content-Script-Type: text/javascript');
@header('Content-Style-Type: text/css');


//Accessibility: added the 'lang' attribute to $direction, used in theme <html> tag. //Accessibility: added the 'lang' attribute to $direction, used in theme <html> tag.
$direction = get_html_lang($dir=true); $direction = get_html_lang($dir=true);
Expand Down

0 comments on commit 1a78d38

Please sign in to comment.