Merged changes from main trunk up to 2.2.7
[fa-stable.git] / reporting / includes / reports_classes.inc
index 97bfa0f6e2845a4b5aba147316831815a8d48968..f9fa8696934174b212ccde8e0f1e613f5f74532d 100644 (file)
@@ -50,7 +50,7 @@ class BoxReports
                                .$_SERVER['PHP_SELF']."?Class=$class_counter'"
                                ." class='menu_option' id='".default_focus()."'"
                                ." onclick='return showClass($class_counter);'$acc[1]>$acc[0]</a> <br>";
-                       $st_reports .= "<table id='TAB_" . $class_counter ."' $style cellpadding=0 cellspacing=0 border=0 width='100%'><tr><td><b>" . _("Reports For Class: ") . "&nbsp;$key</b></td></tr>\n";
+                       $st_reports .= "<table id='TAB_" . $class_counter ."' $style cellpadding=0 cellspacing=0 width='100%'><tr><td><b>" . _("Reports For Class: ") . "&nbsp;$key</b></td></tr>\n";
                        foreach($value as $report)
                        {
                                $acc = access_string($report->name);
@@ -62,7 +62,7 @@ class BoxReports
 
                                        $action = $path_to_root.'/reporting/prn_redirect.php';
        
-                                       $st_params = "<table border=0><tr><td>\n"
+                                       $st_params = "<table><tr><td>\n"
                                                . "<form method='POST' action='$action' target='_blank'>\n";
                                        $st_params .= submit('Rep'.$report->id,  
                                                _("Display: ") . access_string($report->name, true),
@@ -99,9 +99,9 @@ class BoxReports
                                        }
                                </script>
                                ";
-               $st .= "<table align='center' width='80%'><tr valign='top'>";
+               $st .= "<table align='center' width='80%' style='border:1px solid #cccccc;'><tr valign='top'>";
                $st .= "<td width='30%'>$st_classes</td>";
-               $st .= "<td width='35%'>$st_reports</td>";
+               $st .= "<td width='35%' style='border-left:1px solid #cccccc;border-right:1px solid #cccccc;padding-left:3px;'>$st_reports</td>";
                $st .= "<td width='35%'>$st_params</td>";
                $st .= "</tr></table><br>";