X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fpage%2Ffooter.inc;h=a105d75503e87c71d5736e9a713f0cca410e7dcc;hb=231addc23887aa8b906dca18ea0b2a6fe63c3c39;hp=f0a9b65e92435dc16b97669dfa8dd0e68ccc3db5;hpb=f6e1b649fc75750383b17c2ced6a5c1d6f19fe2e;p=fa-stable.git
diff --git a/includes/page/footer.inc b/includes/page/footer.inc
index f0a9b65e..a105d755 100644
--- a/includes/page/footer.inc
+++ b/includes/page/footer.inc
@@ -1,46 +1,35 @@
.
+***********************************************************************/
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, $js_lib;
- if(in_ajax()) return;// just for speed up
+ 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 "";
+
+ add_user_js_data();
+ echo "\n\n";
echo "