mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Followup fix for Bug MDL-8507 "Local language pack-name can appear in language code" (Merged from HEAD).
This commit is contained in:
parent
c6ce18c221
commit
cd735125df
2 changed files with 23 additions and 10 deletions
|
@ -6361,9 +6361,8 @@
|
|||
$stylesheetshtml .= '<link rel="stylesheet" type="text/css" href="'.$stylesheet.'" />'."\n";
|
||||
}
|
||||
///Accessibility: added the 'lang' attribute to $direction, used in theme <html> tag.
|
||||
$language = str_replace('_utf8','',$CFG->lang);
|
||||
$languagehtml = '';
|
||||
$languagehtml .= ' lang="'.$language.'" xml:lang="'.$language.'"';
|
||||
$languagehtml = get_html_lang($dir=true);
|
||||
|
||||
//Write the header in the new logging file
|
||||
fwrite ($restorelog_file,"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"");
|
||||
fwrite ($restorelog_file," \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue