Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / includes / ui / ui_view.inc
index 8fee0ae0bf3c9b88a1cf3ea1843c3553ba6ad3f8..16da77e4ff5851fd06d7828abde4a33a0505ded2 100644 (file)
@@ -210,7 +210,7 @@ function get_package_view_str($pkg, $label="", $icon=false, $class='', $id='')
                $label = _("Info");
 //             $icon = ICON_GL;
        }
-       return viewer_link($label, "includes/ui/view_package.php?id=$pkg", $class, $id, $icon);
+       return viewer_link($label, "admin/view/view_package.php?id=$pkg", $class, $id, $icon);
 }
 
 
@@ -337,7 +337,7 @@ function is_voided_display($type, $id, $label)
        if ($void_entry == null)
                return false;
 
-       start_table(TABLESTYLE, "width=50%");
+       start_table(TABLESTYLE, "width='50%'");
        echo "<tr><td align=center><font color=red>$label</font><br>";
        echo "<font color=red>" . _("Date Voided:") . " " . sql2date($void_entry["date_"]) . "</font><br>";
        if (strlen($void_entry["memo_"]) > 0)
@@ -543,7 +543,7 @@ function display_allocations($alloc_result, $total, $title, $show_summary=true)
 
     display_heading2($title);
 
-    start_table(TABLESTYLE, "width=80%");
+    start_table(TABLESTYLE, "width='80%'");
 
     $th = array( _("Type"), _("Number"), _("Date"), _("Total Amount"),
        _("Left to Allocate"), _("This Allocation"));