X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=themes%2Fdefault%2Frenderer.php;h=ee5b26fda8e5bd0784a6a5299f6a61302000f3d6;hb=97ce7657f26ca3cc7f7d705a8ca019bf06b31600;hp=16c6dd655b91c0bfb57e1fcd36bdba1529884967;hpb=17b390efcf904072b02ec866b2a427490471a260;p=fa-stable.git diff --git a/themes/default/renderer.php b/themes/default/renderer.php index 16c6dd65..ee5b26fd 100644 --- a/themes/default/renderer.php +++ b/themes/default/renderer.php @@ -19,7 +19,7 @@ $img = $category == '' ? 'right.gif' : $category.'.png'; else $img = 'right.gif'; - return "  "; + return "  "; } function wa_header() @@ -45,6 +45,8 @@ echo "\n"; echo "\n"; echo "
\n"; // tabs + + $indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif"; if (!$no_menu) { $applications = $_SESSION['App']->applications; @@ -65,27 +67,35 @@ echo ""; echo "
"; // top status bar - $img = ""._(  "; - $himg = ""._(  "; + $rimg = ""._(  "; + $pimg = ""._(  "; + $limg = ""._(  "; + $img = ""._(  "; + $himg = ""._(  "; echo ""; echo ""; - $indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif"; echo ""; - echo "
" . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "" . _("Preferences") . "   \n"; - echo " " . _("Change password") . "   \n"; + echo "$rimg" . _("Dashboard") . "   \n"; + + echo "$pimg" . _("Preferences") . "   \n"; + echo " $limg" . _("Change password") . "   \n"; if ($SysPrefs->help_base_url != null) { - echo "$himg" . _("Help") . "   "; + echo "$himg" . _("Help") . "   "; } - echo "$img" . _("Logout") . "   "; + echo "$img" . _("Logout") . "   "; echo "
"; echo "
"; } echo ""; + if ($no_menu) - echo "
"; - elseif ($title && !$is_index) + { // ajax indicator for installer and popups + echo "
" + ."" + ."
"; + } elseif ($title && !$is_index) { echo "
" ."\n"; echo "\n"; - if ($allow_demo_mode==true) + if ($SysPrefs->allow_demo_mode) { echo "\n"; //echo "\n"; @@ -210,5 +220,5 @@ echo "
$title" @@ -129,7 +139,7 @@ echo "

SourceForge.net Logo
"; } echo ""; - } -} + } + }