X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=e632284fc373235d17bc6c4f20116b10c29b2161;hb=f564511bdad01d163c41aa4ec7cc80cc136fa262;hp=950cd6a4ee86f8f63fe34ff08fd27ad4c999ebc7;hpb=271a0acb700da2fb593301e42d0c088155dc28ca;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index 950cd6a4..e632284f 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, $SysPrefs;
- $img = $category == '' ? 'right.gif' : $category.'.png';
- return " ";
+ if ($SysPrefs->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);
}
@@ -34,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";
@@ -44,34 +44,38 @@
echo " | \n";
echo " |