Bug in demensions_list. If dimensions are closed they shall NOT show up in the lists.
[fa-stable.git] / includes / page / footer.inc
index 2ce07a2947590d17668d0cffe02fa40e9141cabb..29900c7deb97201d5c15216dfb88317d117297c8 100644 (file)
@@ -11,7 +11,7 @@
 ***********************************************************************/
 function page_footer($no_menu=false, $is_index=false)
 {
-       global $path_to_root;
+       global $path_to_root, $js_lib;
 
        if (in_ajax())
                return;// just for speed up
@@ -21,6 +21,14 @@ function page_footer($no_menu=false, $is_index=false)
        include_once($path_to_root."/themes/".user_theme()."/renderer.php");
        $rend = new renderer();
        $rend->menu_footer($no_menu, $is_index);
+
+       add_user_js_data();
+       echo "\n<script type=\"text/javascript\"><!--\n";
+
+       foreach($js_lib as $text)
+               echo $text;
+
+       echo "\n--></script>\n";
     echo "</body></html>\n";
 }