$js = "";
if ($use_date_picker)
$js .= get_js_date_picker();
+
+add_js_file('reports.js');
+
page(_($help_context = "Reports and Analysis"), false, false, "", $js);
$reports = new BoxReports;
add_custom_reports($reports);
-echo "<script language='javascript'>
- function onWindowLoad() {
- showClass(" . $_GET['Class'] . ")
- }
- Behaviour.addLoadEvent(onWindowLoad);
- </script>
-";
echo $reports->getDisplay();
end_page();