X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=ee5b26fda8e5bd0784a6a5299f6a61302000f3d6;hb=2ce280fb8619210f21485b723ec4cb2b306fcce9;hp=cde08ae3125cac429721e3099a2bae9a89262b5b;hpb=cf7be1f00c6abe59755286e0c3108d9d3c0356da;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index cde08ae3..ee5b26fd 100644
--- a/themes/default/renderer.php
+++ b/themes/default/renderer.php
@@ -11,10 +11,20 @@
***********************************************************************/
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()
{
-// add_js_ufile("themes/default/renderer.js");
- page(_("Main Menu"), false, true);
+ page(_($help_context = "Main Menu"), false, true);
}
function wa_footer()
@@ -24,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";
@@ -38,47 +44,58 @@
echo " | \n";
echo " |