Improved report Journal Entries (rep702.php) to show memo in multiple lines.
[fa-stable.git] / themes / cool / renderer.php
index b560ac91ceb89747a154747ead65561e24d84a4e..925631403dcf966575cde1e9bb67bff9dbba0c3e 100644 (file)
        {
                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 "<img src='$path_to_root/themes/cool/images/$img' style='vertical-align:middle;' border='0'>&nbsp;&nbsp;";
                }