Eliminated non-static method calls and some more fixes to avoid log warnings on php4&5
[fa-stable.git] / includes / page / footer.inc
index 7256dfe1aa41cb4910993cc2dc22b03c9b703d8f..90c951c19bb46e60327b4bf3c8ac5831056c93b1 100644 (file)
@@ -19,12 +19,12 @@ function page_footer($no_menu=false, $is_index=false)
        $rend = new renderer();
        $rend->menu_footer($no_menu, $is_index);
 
-       $edits = "editors = ".JsHttpRequest::php2js($Editors).";";
+       $edits = "editors = ".$Ajax->php2js($Editors).";";
        $Ajax->addScript('editors', $edits);
 
        echo "<script>
                _focus = '" . get_post('_focus') . "';
-               _validate = " . JsHttpRequest::php2js($Validate).";
+               _validate = " . $Ajax->php2js($Validate).";
                var $edits
        </script>";