X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=e632284fc373235d17bc6c4f20116b10c29b2161;hb=f564511bdad01d163c41aa4ec7cc80cc136fa262;hp=438d87debd814313d47325cc6726937db237c720;hpb=50fc96f78cf659a8232f7dd9b45d7eb8bb95beaa;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index 438d87de..e632284f 100644
--- a/themes/default/renderer.php
+++ b/themes/default/renderer.php
@@ -13,9 +13,9 @@
{
function get_icon($category)
{
- global $path_to_root, $show_menu_category_icons;
+ global $path_to_root, $SysPrefs;
- if ($show_menu_category_icons)
+ if ($SysPrefs->show_menu_category_icons)
$img = $category == '' ? 'right.gif' : $category.'.png';
else
$img = 'right.gif';
@@ -34,7 +34,7 @@
function menu_header($title, $no_menu, $is_index)
{
- global $path_to_root, $help_base_url, $db_connections;
+ global $path_to_root, $SysPrefs, $db_connections;
echo "
\n";
echo "\n";
echo "\n";
@@ -45,6 +45,8 @@
echo "";
+
if ($no_menu)
- echo " ";
- elseif ($title && !$is_index)
+ { // ajax indicator for installer and popups
+ echo ""
+ ."![ajaxmark]($indicator) | "
+ ." ";
+ } elseif ($title && !$is_index)
{
echo "$title | "
.""
@@ -98,8 +102,8 @@
function menu_footer($no_menu, $is_index)
{
- global $version, $allow_demo_mode, $app_title, $power_url,
- $power_by, $path_to_root, $Pagehelp, $Ajax;
+ global $version, $path_to_root, $Pagehelp, $Ajax, $SysPrefs;
+
include_once($path_to_root . "/includes/date_functions.inc");
echo " | \n"; // 'main_page'
@@ -123,12 +127,14 @@
{
echo " |
";
}
echo "
";
- }
- }
-?>
\ No newline at end of file
+ }
+}