Missing border layout in report centre
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 17 Feb 2010 08:58:17 +0000 (08:58 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 17 Feb 2010 08:58:17 +0000 (08:58 +0000)
CHANGELOG.txt
reporting/includes/reports_classes.inc

index 02c8600b233efedc6f9095e9d8425dd39177d7c5..3ea790ceab141d9c83716fa4d1674ce3b1b4bde5 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+17-Feb-2010 Joe Hunt
+# Missing border layout in report centre
+$ /reporting/includes/reports_classes.inc
+
 ------------------------------- Release 2.2.6 ----------------------------------
 16-Feb-2010 Joe Hunt
 ! Release 2.2.6
index c6c4cf8839af506306e4aba5361f6d51bd9f2705..563725c817ac8bb5ab28969c49124a56b0808343 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>";