X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=5ba820da3ea10bf85c6bc2b50bc6d3e67a5bc1bc;hb=ecdf106d54bd51a3608422eb626d54ace2de81c4;hp=cde08ae3125cac429721e3099a2bae9a89262b5b;hpb=cf7be1f00c6abe59755286e0c3108d9d3c0356da;p=fa-stable.git diff --git a/themes/default/renderer.php b/themes/default/renderer.php index cde08ae3..5ba820da 100644 --- a/themes/default/renderer.php +++ b/themes/default/renderer.php @@ -14,7 +14,7 @@ function wa_header() { // add_js_ufile("themes/default/renderer.js"); - page(_("Main Menu"), false, true); + page(_($help_context = "Main Menu"), false, true); } function wa_footer() @@ -68,7 +68,7 @@ if ($help_base_url != null) { - echo "$himg" . _("Help") . "   "; + echo "$himg" . _("Help") . "   "; } echo "$img" . _("Logout") . "   "; echo ""; @@ -115,7 +115,7 @@ { echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; echo "\n"; @@ -151,13 +151,18 @@ foreach ($module->lappfunctions as $appfunction) { - if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access)) + if ($appfunction->label == "") + echo " 
"; + elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access)) { - if ($appfunction->label == "") - echo " 
"; - else echo $img.menu_link($appfunction->link, $appfunction->label)."
\n"; } + else + { + echo $img.'' + .access_string($appfunction->label, true) + ."
\n"; + } } echo ""; if (sizeof($module->rappfunctions) > 0) @@ -165,13 +170,18 @@ echo ""; }