X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fcool%2Frenderer.php;h=e5ec015b11ab6c9686da21232e6bbc02a5f86593;hb=e4312a1db83482b016235c12f8b784e469fbaeb5;hp=48fd487ae32fe490aa802b1ee8ba7c80b74797c3;hpb=bd1c6834ee14c389ffe522923d83651c779b6ff0;p=fa-stable.git
diff --git a/themes/cool/renderer.php b/themes/cool/renderer.php
index 48fd487a..e5ec015b 100644
--- a/themes/cool/renderer.php
+++ b/themes/cool/renderer.php
@@ -13,7 +13,7 @@
{
function wa_header()
{
- page(_("Main Menu"), false, true);
+ page(_($help_context = "Main Menu"), false, true);
}
function wa_footer()
@@ -24,10 +24,6 @@
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 "
\n";
echo "\n";
echo "\n";
@@ -42,6 +38,8 @@
{
$applications = $_SESSION['App']->applications;
$local_path_to_root = $path_to_root;
+ $img = " ";
+ $himg = " ";
$sel_app = $_SESSION['sel_app'];
echo "";
}
echo " |
";
- if ($title && !$no_menu && !$is_index)
+ if ($no_menu)
+ echo "
";
+ elseif ($title && !$is_index)
{
- echo "$title | "
+ echo "$title | "
.""
.(user_hints() ? "" : '')
." | "
."
";
}
- if (!$is_index)
- echo "
";
-
}
function menu_footer($no_menu, $is_index)
{
- global $version, $allow_demo_mode, $app_title, $power_url, $power_by, $path_to_root;
+ global $version, $allow_demo_mode, $app_title, $power_url,
+ $power_by, $path_to_root, $Pagehelp, $Ajax;
include_once($path_to_root . "/includes/date_functions.inc");
if ($no_menu == false)
@@ -98,8 +96,12 @@
else
echo "\n";
echo "";
- if (isset($_SESSION['wa_current_user']))
+ if (isset($_SESSION['wa_current_user'])) {
+ $phelp = implode('; ', $Pagehelp);
echo "" . Today() . " | " . Now() . " | \n";
+ $Ajax->addUpdate(true, 'hotkeyshelp', $phelp);
+ echo "".$phelp." | ";
+ }
echo "
\n";
}
echo "
\n";
@@ -108,7 +110,7 @@
{
echo "