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