X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fpage%2Ffooter.inc;h=2ce07a2947590d17668d0cffe02fa40e9141cabb;hb=b57ffd005996a5c16fd63c61e043d0a73cfb2a22;hp=bb2759c6d7fc6ab93933a9a689735a9ee1f366c5;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git
diff --git a/includes/page/footer.inc b/includes/page/footer.inc
index bb2759c6..2ce07a29 100644
--- a/includes/page/footer.inc
+++ b/includes/page/footer.inc
@@ -1,44 +1,26 @@
.
+***********************************************************************/
function page_footer($no_menu=false, $is_index=false)
{
- global $local_path_to_root, $version, $allow_demo_mode;
- global $app_title, $power_url, $power_by;
+ global $path_to_root;
+
+ if (in_ajax())
+ return;// just for speed up
- if (function_exists('hyperlink_back'))
+ if (!$is_index && function_exists('hyperlink_back'))
hyperlink_back();
- if ($no_menu == false)
- {
- if ($is_index)
- echo "
\n";
- else
- echo "\n";
- echo "";
- if (isset($_SESSION['wa_current_user']))
- echo "" . Today() . " | " . Now() . " | \n";
- echo "
\n";
- }
- echo "
\n";
- echo "\n";
- if ($no_menu == false)
- {
- echo "
\n";
- }
+ include_once($path_to_root."/themes/".user_theme()."/renderer.php");
+ $rend = new renderer();
+ $rend->menu_footer($no_menu, $is_index);
echo "