X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fcool%2Frenderer.php;h=b325611e07e1212b0e776c166fe4846e47328a1a;hb=17b390efcf904072b02ec866b2a427490471a260;hp=0881a204796ad0902f08855865da99deadda6f10;hpb=7561718ee5113232ce917f63085d272884b0929c;p=fa-stable.git
diff --git a/themes/cool/renderer.php b/themes/cool/renderer.php
index 0881a204..b325611e 100644
--- a/themes/cool/renderer.php
+++ b/themes/cool/renderer.php
@@ -36,7 +36,7 @@
{
global $path_to_root, $SysPrefs, $db_connections;
echo "
\n";
- echo "";
+ echo "
\n";
echo "\n";
echo "\n";
@@ -49,31 +49,29 @@
{
$applications = $_SESSION['App']->applications;
$local_path_to_root = $path_to_root;
-
$sel_app = $_SESSION['sel_app'];
- echo "";
- echo "";
+ echo " ";
+ echo "";
foreach($applications as $app)
{
if ($_SESSION["wa_current_user"]->check_application_access($app))
{
- $acc = access_string($app->name);
- echo " " .$acc[0] . "";
- }
+ $acc = access_string($app->name);
+ echo " " .$acc[0] . "";
+ }
}
echo " ";
-
echo " |
";
// top status bar
- $img = " !["._(]($local_path_to_root/themes/aqua/images/login.gif) ";
- $himg = " !["._(]($local_path_to_root/themes/aqua/images/help.gif) ";
+ $img = " !["._(]($local_path_to_root/themes/cool/images/login.gif) ";
+ $himg = " !["._(]($local_path_to_root/themes/cool/images/help.gif) ";
- echo " ";
- echo "" . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . " | ";
+ echo "";
+ echo "" . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . " | ";
$indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif";
- echo "![]($indicator) | ";
+ echo "![ajaxmark]($indicator) | ";
echo " " . _("Preferences") . " \n";
echo " " . _("Change password") . " \n";
@@ -85,7 +83,6 @@
echo " | ";
}
echo " ";
-
if ($no_menu)
echo " ";
elseif ($title && !$is_index)
@@ -96,29 +93,29 @@
." | "
." ";
}
-
}
function menu_footer($no_menu, $is_index)
{
global $version, $SysPrefs, $path_to_root, $Pagehelp, $Ajax;
+
include_once($path_to_root . "/includes/date_functions.inc");
echo " \n"; // 'main_page'
- if ($no_menu == false) // bottom status line
+ if ($no_menu == false) // bottom status line
{
if ($is_index)
- echo "\n";
+ echo "\n";
else
- echo "\n";
+ echo "\n";
echo "";
if (isset($_SESSION['wa_current_user'])) {
$phelp = implode('; ', $Pagehelp);
- echo "" . Today() . " | " . Now() . " | \n";
+ echo "" . Today() . " | " . Now() . " | \n";
$Ajax->addUpdate(true, 'hotkeyshelp', $phelp);
echo "".$phelp." | ";
}
- echo " \n";
+ echo " \n";
}
echo " \n"; // 'callout_main'
if ($no_menu == false)
@@ -132,6 +129,12 @@
echo "\n";
echo "\n";
+ if ($allow_demo_mode==true)
+ {
+ echo "\n";
+ //echo "
| \n";
+ echo " \n";
+ }
echo "
\n";
}
}
@@ -150,7 +153,7 @@
return;
}
- echo "";
+ echo "";
foreach ($selected_app->modules as $module)
{
if (!$_SESSION["wa_current_user"]->check_module_access($module))
@@ -207,6 +210,5 @@
echo " ";
}
echo " ";
- }
+ }
}
-
|