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

4.0.x
Steven Wittens 2001-12-15 22:31:32 +00:00
parent d03f42c35f
commit 32ed753e0b
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
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 @@
<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", "");