X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fpage%2Ffooter.inc;h=23318932abfc68376ad4f2f4d76043fb29b59f23;hb=3613e32ad573d5faccb974a421702bdd87583878;hp=cefc3c1afb5d39bd98d70cd76d75a4c756b93807;hpb=1a2a0326b84927ccaaf01b52f0d3e97d7b782f47;p=fa-stable.git diff --git a/includes/page/footer.inc b/includes/page/footer.inc index cefc3c1a..23318932 100644 --- a/includes/page/footer.inc +++ b/includes/page/footer.inc @@ -1,47 +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"; }