From 270009928342c1039bc4a0070d8f41c648d0ad6a Mon Sep 17 00:00:00 2001 From: "Janus B. Kristensen" Date: Sun, 11 Sep 2005 21:49:56 +0000 Subject: [PATCH] Removed the "title_plain" that was only (wrongly) used by teampage. The if-sentence looked really funny =) svn path=/trunk/boinc/; revision=7979 --- html/inc/util.inc | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/html/inc/util.inc b/html/inc/util.inc index f9632fff22..e7cac1f0cc 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -87,7 +87,7 @@ function show_login($user) { } } -function page_head($title, $java_onload="", $title_plain="") { +function page_head($title, $java_onload="") { $styleSheet = URL_BASE . STYLESHEET; $rssname = PROJECT . " RSS 2.0"; $rsslink = URL_BASE . "rss_main.php"; @@ -96,17 +96,15 @@ function page_head($title, $java_onload="", $title_plain="") { header("Content-type: text/html; charset=".tr(CHARSET)); } - if (!$title_plain) { - echo "".strip_tags($title)." - - - "; - } else { - echo "".strip_tags($title_plain)." - - - "; - } + echo "".strip_tags($title)." + + "; + + if (defined("CHARSET")) { + echo ""; + } + + echo ""; if ($java_onload!=""){echo ""; } else { echo "";} display_cvs_versions(); project_banner($title);