X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=ad3ccc578da603f1b65a6051602628d593d70498;hb=f86c7fa58ad953e66d2126019775f90ee6c377b0;hp=d03993a60b1d6f17a84960ef8496fb108d81d3d7;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/themes/default/renderer.php b/themes/default/renderer.php index d03993a6..ad3ccc57 100644 --- a/themes/default/renderer.php +++ b/themes/default/renderer.php @@ -1,66 +1,64 @@ -get_selected_application(); - foreach ($selected_app->modules as $module) - { - // image - echo "
"; - echo $module->name; - echo " | |
";
-
- foreach ($module->lappfunctions as $appfunction)
- {
- if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
- echo " " . $appfunction->label . " "; - } - echo " | ";
- //echo "\nOA_current_user name = " . $_SESSION["wa_current_user"]->username;
- if (sizeof($module->rappfunctions) > 0)
- {
- echo "";
- foreach ($module->rappfunctions as $appfunction)
- {
- if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
- echo " " . $appfunction->label . " "; - else - echo " "; - } - echo " | ";
- }
-
- echo "
"; + echo $module->name; + echo " | |
";
+
+ foreach ($module->lappfunctions as $appfunction)
+ {
+ if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
+ echo " " . $appfunction->label . " "; + } + echo " | ";
+ //echo "\nOA_current_user name = " . $_SESSION["wa_current_user"]->username;
+ if (sizeof($module->rappfunctions) > 0)
+ {
+ echo "";
+ foreach ($module->rappfunctions as $appfunction)
+ {
+ if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
+ echo " " . $appfunction->label . " "; + } + echo " | ";
+ }
+
+ echo "