X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=438d87debd814313d47325cc6726937db237c720;hb=a756adaebf1b5f9bd6265e6f2388a7f2f180f585;hp=950cd6a4ee86f8f63fe34ff08fd27ad4c999ebc7;hpb=271a0acb700da2fb593301e42d0c088155dc28ca;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index 950cd6a4..438d87de 100644
--- a/themes/default/renderer.php
+++ b/themes/default/renderer.php
@@ -11,19 +11,19 @@
***********************************************************************/
class renderer
{
- /* Uncomment this member if you want to use the category icons defined in /applications/applications.php
function get_icon($category)
{
- global $path_to_root;
+ global $path_to_root, $show_menu_category_icons;
- $img = $category == '' ? 'right.gif' : $category.'.png';
- return "
";
+ if ($show_menu_category_icons)
+ $img = $category == '' ? 'right.gif' : $category.'.png';
+ else
+ $img = 'right.gif';
+ return "
";
}
- */
function wa_header()
{
-// add_js_ufile("themes/default/renderer.js");
page(_($help_context = "Main Menu"), false, true);
}
@@ -44,30 +44,34 @@
echo "
\n";
echo "\n";
echo "\n";
- echo " ";
}
-
echo " ";
}
}
-
?>
\ No newline at end of file
|