X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fdefault%2Frenderer.php;h=e632284fc373235d17bc6c4f20116b10c29b2161;hb=f564511bdad01d163c41aa4ec7cc80cc136fa262;hp=e3e58605486c246b56bcdbe8fb5f1f17c34b95f0;hpb=e3b48984f41047ad16201ff1e757af02d228d79e;p=fa-stable.git
diff --git a/themes/default/renderer.php b/themes/default/renderer.php
index e3e58605..e632284f 100644
--- a/themes/default/renderer.php
+++ b/themes/default/renderer.php
@@ -11,9 +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()
{
- page(_("Main Menu"), false, true);
+ page(_($help_context = "Main Menu"), false, true);
}
function wa_footer()
@@ -23,12 +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,100 @@
echo " | \n";
echo " |