X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fcool%2Frenderer.php;h=d053d1b1d0c5a1f1a2216d8275972af771c44418;hb=60e09e691b05da2634dc9e640cfa1f28ae36151e;hp=8e42fca75a665fa87106721d5bbf1205aa498168;hpb=b1c79afd0a78ec37ff813f1305e9e0804be78ef3;p=fa-stable.git
diff --git a/themes/cool/renderer.php b/themes/cool/renderer.php
index 8e42fca7..d053d1b1 100644
--- a/themes/cool/renderer.php
+++ b/themes/cool/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,83 +44,100 @@
echo " | \n";
echo " |