X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fcool%2Frenderer.php;h=d9d286b265809f3ed0f95ea91f4775d79af529b5;hb=c7677cfbba820ec8d7a6f224d51fe64d4850a2a3;hp=5d1bbd7025e30cf953fc13e9e99af1bc4b95e28d;hpb=e3b48984f41047ad16201ff1e757af02d228d79e;p=fa-stable.git
diff --git a/themes/cool/renderer.php b/themes/cool/renderer.php
index 5d1bbd70..d9d286b2 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, $show_menu_category_icons;
+;
+ if ($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()
@@ -24,10 +35,6 @@
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'";
echo "
\n";
echo "\n";
echo "\n";
@@ -42,15 +49,17 @@
{
$applications = $_SESSION['App']->applications;
$local_path_to_root = $path_to_root;
+ $img = " ";
+ $himg = " ";
$sel_app = $_SESSION['sel_app'];
echo "";
}
echo " |
";
- if ($title && !$no_menu && !$is_index)
+ if ($no_menu)
+ echo "