X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=21c263fb250b52468723a53b344760ad7e879310;hb=818719f38b8327cdca616d58b13913dbd174d96a;hp=51cbc8e441bfe26bc1eb9c720ebd1006135358ae;hpb=f04f9423d630b18806748d0bc7bd931f70878cbc;p=fa-stable.git diff --git a/themes/default/renderer.php b/themes/default/renderer.php index 51cbc8e4..21c263fb 100644 --- a/themes/default/renderer.php +++ b/themes/default/renderer.php @@ -1,5 +1,14 @@ . +***********************************************************************/ class renderer { function wa_header() @@ -37,16 +46,18 @@ echo "
"; foreach($applications as $app => $name) { + $acc = access_string($name); echo "" .$name . ""; + SID ."'$acc[1]>" .$acc[0] . ""; } echo "
"; echo ""; echo ""; echo ""; - + $indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif"; + echo ""; echo " "; if (sizeof($module->rappfunctions) > 0) @@ -138,8 +152,11 @@ echo ""; }
" . $db_connections[$_SESSION["wa_current_user"]->company]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "" . _("Preferences") . "   \n"; echo " " . _("Change password") . "   \n"; @@ -129,8 +140,11 @@ foreach ($module->lappfunctions as $appfunction) { - if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access)) - echo " " . $appfunction->label . "
"; + if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access)) + { + $lnk = access_string($appfunction->label); + echo "$lnk[0]
"; + } } echo "