From 2a93affb8ee9043eceb39e57f6663d3b8e002728 Mon Sep 17 00:00:00 2001 From: short <> Date: Thu, 20 Jun 2002 16:23:00 +0000 Subject: [PATCH] heading(): $title=true by default Title is now a 'href' to "/" --- common.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common.php b/common.php index b755991..8a7b6ed 100644 --- a/common.php +++ b/common.php @@ -710,7 +710,7 @@ function no_cache() header("Pragma: no-cache"); // HTTP/1.0 } -function heading($title=false) +function heading($title=true) { global $msie_major,$mozilla_major,$title_tail,$head_css,$have_css,$head,$heading_done,$title_prefix,$force_charset; @@ -762,8 +762,8 @@ h1,h2 { color: yellow; background-color: transparent; } print(" bgcolor=\"black\" text=\"white\" link=\"aqua\" vlink=\"teal\""); print(">\n"); if ($title) - print("

" + print("

" .img("img/eap-title.".(image_supported("image/png") ? "png" : "gif"),"Energie & Peníze") - ."

\n"); + ."\n"); } ?> -- 1.8.3.1