$result = get_all_item_units(check_value('show_inactive'));
start_form();
-start_table(TABLESTYLE, "width=40%");
+start_table(TABLESTYLE, "width='40%'");
$th = array(_('Unit'), _('Description'), _('Decimals'), "", "");
inactive_control_column($th);
label_cell($myrow["abbr"]);
label_cell($myrow["name"]);
label_cell(($myrow["decimals"]==-1?_("User Quantity Decimals"):$myrow["decimals"]));
- $id = htmlentities($myrow["abbr"]);
+ $id = html_specials_encode($myrow["abbr"]);
inactive_control_cell($id, $myrow["inactive"], 'item_units', 'abbr');
edit_button_cell("Edit".$id, _("Edit"));
delete_button_cell("Delete".$id, _("Delete"));
end_page();
-?>