Change name get_js_num to add_js_num; extended for exrate/qty/percent formatting
[fa-stable.git] / includes / session.inc
index d3ddf6009ed36bbe5645a12e49fe00611659b9c7..c5d417f710d2b0d0dac559939b9573935c3bd27a 100644 (file)
@@ -76,7 +76,6 @@
        }
 
        //----------------------------------------------------------------------------------------
-
        if (!isset($_SESSION["wa_current_user"]) ||
                (isset($_SESSION["wa_current_user"]) && !$_SESSION["wa_current_user"]->logged_in())) 
        {
                }
        }
 
-       check_page_security($page_security);
+       global $js_lib, $js_static, $js_path;
+       $js_path = $path_to_root.'/js/';
+       // standard external js scripts included in all files
+       $js_static = array('behaviour.js');
+       // additional js source included in header
+       $js_lib = array();
+       
+       add_js_user_num(); // add user native numeric input functions
 
     // Run with debugging messages for the system administrator(s) but not anyone else
     /*if (in_array(15, $security_groups[$_SESSION["AccessLevel"]])) {
     }*/
 
        //----------------------------------------------------------------------------------------
+       check_page_security($page_security);
 ?>
\ No newline at end of file