Skip to content
Snippets Groups Projects
Commit 32ed753e authored by Steven Wittens's avatar Steven Wittens
Browse files

- Reversed the $title - $sitename order in the title to be the same as the other themes.

parent d03f42c3
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -18,7 +18,7 @@ class Theme extends BaseTheme {
var $foreground = "#000000";
var $background = "#EAEAEA";
function header($title = 0) {
function header($title = "") {
global $HTTP_USER_AGENT;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
......@@ -28,7 +28,7 @@ function header($title = 0) {
<title>
<?php
if ($title) {
print variable_get("site_name", "drupal") ." - $title";
print $title . " - " variable_get("site_name", "drupal");
}
else {
print variable_get("site_name", "drupal") ." - ". variable_get("site_slogan", "");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment