heading(): $title=true by default
authorshort <>
Thu, 20 Jun 2002 16:23:00 +0000 (16:23 +0000)
committershort <>
Thu, 20 Jun 2002 16:23:00 +0000 (16:23 +0000)
Title is now a 'href' to "/"

common.php

index b755991..8a7b6ed 100644 (file)
@@ -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("<h1 class=\"centered\">"
+               print("<h1 class=\"centered\"><a href=\"/\">"
                                .img("img/eap-title.".(image_supported("image/png") ? "png" : "gif"),"Energie & Peníze")
-                               ."</h1>\n");
+                               ."</a></h1>\n");
 }
 ?>