X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=themes%2Faqua%2Frenderer.php;h=cb7c4b5d729b139e2db6b78e949b36233bc3728c;hb=9451db1760036985de791ba24c442801e37f37de;hp=5c3f531063732719d33f1cc5c7fea51ba78aec0d;hpb=d2cc0860eccf02eaefcd90731ac3af141a841529;p=fa-stable.git
diff --git a/themes/aqua/renderer.php b/themes/aqua/renderer.php
index 5c3f5310..cb7c4b5d 100644
--- a/themes/aqua/renderer.php
+++ b/themes/aqua/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,11 +34,7 @@
function menu_header($title, $no_menu, $is_index)
{
- global $path_to_root, $help_base_url, $db_connections;
- // you can owerride the table styles from config.php here, if you want.
- //global $table_style, $table_style2;
- //$table_style = "cellpadding=3 border=1 bordercolor='#8cacbb' style='border-collapse: collapse'";
- //$table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' style='border-collapse: collapse'";
+ global $path_to_root, $SysPrefs, $db_connections;
echo "
\n";
echo "\n";
echo "\n";
@@ -37,39 +44,42 @@
echo " | \n";
echo " |