X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=ee5b26fda8e5bd0784a6a5299f6a61302000f3d6;hb=8d3c6352a53d725389de634469ca2383a4baa867;hp=460a366748134f8e3a6757865f1deba0a8fc9df8;hpb=c90a35443b643a998ed1a06727e1743cbb8ddd89;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index 460a3667..ee5b26fd 100644
--- a/themes/default/renderer.php
+++ b/themes/default/renderer.php
@@ -1,10 +1,30 @@
.
+***********************************************************************/
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(_("Main Menu"), false, true);
+ page(_($help_context = "Main Menu"), false, true);
}
function wa_footer()
@@ -14,11 +34,7 @@
function menu_header($title, $no_menu, $is_index)
{
- global $path_to_root, $applications, $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";
@@ -28,84 +44,105 @@
echo " | \n";
echo " |