X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fdefault%2Frenderer.php;h=ee5b26fda8e5bd0784a6a5299f6a61302000f3d6;hb=bca406d61d1f94c5dcefdbad041b3e0bf77a2919;hp=c57cc92ebccc2d8bd3dd03588ffff9496e26f787;hpb=ce52da010251810cd6500d9fbf0ff89da88e07b5;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index c57cc92e..ee5b26fd 100644
--- a/themes/default/renderer.php
+++ b/themes/default/renderer.php
@@ -13,13 +13,13 @@
{
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';
- return " ";
+ return " ";
}
function wa_header()
@@ -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";
@@ -44,46 +44,58 @@
echo " | \n";
echo " |