X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fpage%2Ffooter.inc;h=23318932abfc68376ad4f2f4d76043fb29b59f23;hb=3613e32ad573d5faccb974a421702bdd87583878;hp=8f3db720db2aa8563fc4d4dd36ddade677c8ada3;hpb=d415c4b31baaa6379a0c360a93a1f78f983df4e7;p=fa-stable.git diff --git a/includes/page/footer.inc b/includes/page/footer.inc index 8f3db720..23318932 100644 --- a/includes/page/footer.inc +++ b/includes/page/footer.inc @@ -1,46 +1,37 @@ . +***********************************************************************/ +function page_footer($no_menu=false, $is_index=false, $hide_back_link=false) +{ + global $path_to_root, $js_lib, $Validate, $Editors, $Ajax; -include_once($path_to_root . "/includes/date_functions.inc"); + include_once($path_to_root."/themes/".user_theme()."/renderer.php"); + $rend = new renderer(); + $rend->menu_footer($no_menu, $is_index); -function page_footer($no_menu=false, $is_index=false) -{ - global $version, $allow_demo_mode; - global $app_title, $power_url, $power_by; + $edits = "editors = ".$Ajax->php2js($Editors).";"; + $Ajax->addScript('editors', $edits); + + echo ""; - if (isset($_GET['ajax'])) return; + add_user_js_data(); + echo "\n\n"; echo "\n"; }