X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=themes%2Faqua%2Frenderer.php;h=cb7c4b5d729b139e2db6b78e949b36233bc3728c;hb=9451db1760036985de791ba24c442801e37f37de;hp=12d31c47ddd686d1268a3179055b45d8e17a43ad;hpb=271a0acb700da2fb593301e42d0c088155dc28ca;p=fa-stable.git
diff --git a/themes/aqua/renderer.php b/themes/aqua/renderer.php
index 12d31c47..cb7c4b5d 100644
--- a/themes/aqua/renderer.php
+++ b/themes/aqua/renderer.php
@@ -11,15 +11,16 @@
***********************************************************************/
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()
{
@@ -33,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";
@@ -43,35 +44,38 @@
echo " | \n";
echo " |