X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fpage%2Ffooter.inc;h=90c951c19bb46e60327b4bf3c8ac5831056c93b1;hb=510d6e1925c4d1621ae3efd85e117cc9bb4320f0;hp=f0a9b65e92435dc16b97669dfa8dd0e68ccc3db5;hpb=f6e1b649fc75750383b17c2ced6a5c1d6f19fe2e;p=fa-stable.git
diff --git a/includes/page/footer.inc b/includes/page/footer.inc
index f0a9b65e..90c951c1 100644
--- a/includes/page/footer.inc
+++ b/includes/page/footer.inc
@@ -1,46 +1,39 @@
.
+***********************************************************************/
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, $Validate, $Editors, $Ajax;
- 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);
+
+ $edits = "editors = ".$Ajax->php2js($Editors).";";
+ $Ajax->addScript('editors', $edits);
+
+ echo "";
+
+ add_user_js_data();
+ echo "\n\n";
echo "