X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fcool%2Frenderer.php;h=d053d1b1d0c5a1f1a2216d8275972af771c44418;hb=60e09e691b05da2634dc9e640cfa1f28ae36151e;hp=9bf46c95fc02cf736960d8cc1ae16b38e3313981;hpb=46c5f7a65a7659a44ae8254c63152074363d3987;p=fa-stable.git
diff --git a/themes/cool/renderer.php b/themes/cool/renderer.php
index 9bf46c95..d053d1b1 100644
--- a/themes/cool/renderer.php
+++ b/themes/cool/renderer.php
@@ -11,6 +11,17 @@
***********************************************************************/
class renderer
{
+ function get_icon($category)
+ {
+ 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()
{
page(_($help_context = "Main Menu"), false, true);
@@ -23,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";
@@ -33,35 +44,39 @@
echo " | \n";
echo " |