Added ajax request indicator.
[fa-stable.git] / themes / default / renderer.php
index 00bff4ea9adaea80f6a359028a6b23d74030338d..460a366748134f8e3a6757865f1deba0a8fc9df8 100644 (file)
@@ -47,7 +47,8 @@
 
                                echo "<table class=logoutBar>";
                                echo "<tr><td class=headingtext3>" . $db_connections[$_SESSION["wa_current_user"]->company]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "</td>";
-
+                               $indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif";
+                               echo "<td class='logoutBarRight'><img id='ajaxmark' src='$indicator' align='center' style='visibility:hidden;'></td>";
                                echo "  <td class='logoutBarRight'><a href='$path_to_root/admin/display_prefs.php?'>" . _("Preferences") . "</a>&nbsp;&nbsp;&nbsp;\n";
                                echo "  <a href='$path_to_root/admin/change_current_user_password.php?selected_id=" . $_SESSION["wa_current_user"]->username . "'>" . _("Change password") . "</a>&nbsp;&nbsp;&nbsp;\n";