X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=e632284fc373235d17bc6c4f20116b10c29b2161;hb=f564511bdad01d163c41aa4ec7cc80cc136fa262;hp=5952e7f267fdc58425a7d3d57975776e0143a3c2;hpb=95375dcd6bc3dae571d94b23e85889369d0be4a7;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index 5952e7f2..e632284f 100644
--- a/themes/default/renderer.php
+++ b/themes/default/renderer.php
@@ -13,12 +13,13 @@
{
function get_icon($category)
{
- global $path_to_root;
-
- // uncomment this line if you want to use the pre-defined categories.
- //$img = $category == '' ? 'right.gif' : $category.'.png';
- $img = 'right.gif';
- return " ";
+ global $path_to_root, $SysPrefs;
+
+ if ($SysPrefs->show_menu_category_icons)
+ $img = $category == '' ? 'right.gif' : $category.'.png';
+ else
+ $img = 'right.gif';
+ return " ";
}
function wa_header()
@@ -33,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";
@@ -43,34 +44,38 @@
echo " | \n";
echo " |