X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fpage%2Ffooter.inc;h=2ce07a2947590d17668d0cffe02fa40e9141cabb;hb=2e181b13aa722a43e78b897404912d6b13a0a937;hp=cefc3c1afb5d39bd98d70cd76d75a4c756b93807;hpb=1a2a0326b84927ccaaf01b52f0d3e97d7b782f47;p=fa-stable.git
diff --git a/includes/page/footer.inc b/includes/page/footer.inc
index cefc3c1a..2ce07a29 100644
--- a/includes/page/footer.inc
+++ b/includes/page/footer.inc
@@ -1,47 +1,26 @@
.
+***********************************************************************/
function page_footer($no_menu=false, $is_index=false)
{
- global $version, $allow_demo_mode;
- global $app_title, $power_url, $power_by;
+ global $path_to_root;
- if (isset($_GET['ajax'])) return;
+ if (in_ajax())
+ return;// just for speed up
- echo set_js_focus(); // set focus on input (if $focus_on exists)
- 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 "