X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fdefault%2Frenderer.php;h=ee5b26fda8e5bd0784a6a5299f6a61302000f3d6;hb=8d3c6352a53d725389de634469ca2383a4baa867;hp=5233839d91e513e918ce128ecd60a0d1912eaa9f;hpb=c6f1621249a53faada39629a9ba958a6a5837262;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index 5233839d..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,85 +44,105 @@
echo " | \n";
echo " |