- Patch #135533 by asimmonds: updated themes to work properly with new language options.
parent
4a7b9e98f4
commit
e6f10554dd
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>">
|
||||
|
||||
<head>
|
||||
<title><?php print $head_title ?></title>
|
||||
|
|
|
@ -39,7 +39,7 @@ function chameleon_regions() {
|
|||
}
|
||||
|
||||
function chameleon_page($content, $show_blocks = TRUE) {
|
||||
$language = isset($GLOBALS['language']) ? $GLOBALS['language'] : NULL;
|
||||
$language = isset($GLOBALS['language']) ? $GLOBALS['language']->language : NULL;
|
||||
|
||||
if (theme_get_setting('toggle_favicon')) {
|
||||
drupal_set_html_head('<link rel="shortcut icon" href="'. check_url(theme_get_setting('favicon')) .'" type="image/x-icon" />');
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>">
|
||||
<head>
|
||||
<title><?php print $head_title ?></title>
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
|
|
Loading…
Reference in New Issue