X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fcool%2Frenderer.php;h=1e597b26acb343e4b2ac4f0202f20fdd321c7c7a;hb=01dd975d5588641f9b56ae26bd112d4d9ba31783;hp=b560ac91ceb89747a154747ead65561e24d84a4e;hpb=95375dcd6bc3dae571d94b23e85889369d0be4a7;p=fa-stable.git
diff --git a/themes/cool/renderer.php b/themes/cool/renderer.php
index b560ac91..1e597b26 100644
--- a/themes/cool/renderer.php
+++ b/themes/cool/renderer.php
@@ -13,11 +13,12 @@
{
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';
+ global $path_to_root, $show_menu_category_icons;
+
+ if ($show_menu_category_icons)
+ $img = $category == '' ? 'right.gif' : $category.'.png';
+ else
+ $img = 'right.gif';
return " ";
}
@@ -35,7 +36,7 @@
{
global $path_to_root, $help_base_url, $db_connections;
echo "
\n";
echo "
| \n";
- echo "