Replaced the global variables for table styles to defined CSS classes.
[fa-stable.git] / themes / cool / renderer.php
index 178fb7e1a94b24fc987a3cbe7311973e5497811d..e5ec015b11ab6c9686da21232e6bbc02a5f86593 100644 (file)
@@ -13,7 +13,7 @@
        {
                function wa_header()
                {
-                       page(_("Main Menu"), false, true);
+                       page(_($help_context = "Main Menu"), false, true);
                }
 
                function wa_footer()
                function menu_header($title, $no_menu, $is_index)
                {
                        global $path_to_root, $help_base_url, $db_connections;
-                       // you can owerride the table styles from config.php here, if you want.
-                       //global $table_style, $table_style2;
-                       //$table_style  = "cellpadding=3 border=1 bordercolor='#8cacbb' style='border-collapse: collapse'";
-                       //$table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' style='border-collapse: collapse'";
                        echo "<table class='callout_main' border='0' cellpadding='0' cellspacing='0'>\n";
                        echo "<tr>\n";
                        echo "<td colspan='2' rowspan='2'>\n";
@@ -67,7 +63,7 @@
 
                                if ($help_base_url != null)
                                {
-                                       echo "$himg<a target = '_blank' onclick=" .'"'."javascript:openWindow(this.href,this.target); return false;".'" '. "href='". help_url($title, $sel_app)."'>" . _("Help") . "</a>&nbsp;&nbsp;&nbsp;";
+                                       echo "$himg<a target = '_blank' onclick=" .'"'."javascript:openWindow(this.href,this.target); return false;".'" '. "href='". help_url()."'>" . _("Help") . "</a>&nbsp;&nbsp;&nbsp;";
                                }
                                echo "$img<a href='$local_path_to_root/access/logout.php?'>" . _("Logout") . "</a>&nbsp;&nbsp;&nbsp;";
                                echo "</td></tr></table>";