For a start, I have done some code cleanup for /modules/repgen/repgen_strings.php by bringing all form elements into one cell for each record. They just have the same name for each record's form.
The last empty column after "Action" is removed in Line 602 by replacing:
$th = array(IT_TYP, IT_ART, IT_FONT, IT_FONT_SIZE, IT_ORD, IT_LEN, IT_X1, IT_Y1, "Total", IT_STRING, "Action", "");
with
$th = array(IT_TYP, IT_ART, IT_FONT, IT_FONT_SIZE, IT_ORD, IT_LEN, IT_X1, IT_Y1, "Total", IT_STRING, "Action");
Then replace the snippet from "existing items" till "end of while" with:
// <!-- existing items -->
$hiddenattrs = hidden("id1", $id_new, false);
$hiddenattrs .= hidden("attrib", $val, false);
$hiddenattrs .= hidden("id_new", $id_new, false);
$hiddenattrs .= hidden("sql", $sql,false);
$hiddenattrs .= hidden("long", $long, false);
alt_table_row_color($k);
label_cell($it_typ);
label_cell($it_art);
label_cell($it_font);
label_cell($it_fontsize);
label_cell($it_ord);
label_cell($it_number);
label_cell($it_x1);
label_cell(($it_y1 != "" ? $it_y1 : "."));
label_cell(($it_total != "" ? $it_total : "."));
if (in_array($it_typ, array("Line","Rectangle")))
label_cell(".");
else
{
if (!(empty($it_from) || empty($it_to)))
label_cell($it_str."(".$it_from."-".$it_to.")");
else
label_cell($it_str);
}
if (in_array($it_typ,array("String","DB","Term","Block","Textarea")))
$editbutton = submit("alter", CHANGE, false);
else
$editbutton = " ";
echo "<td>\n";
start_form(false, false, "repgen_strings.php?report_type=".$report_type, "edit");
echo $hiddenattrs . $editbutton . submit("delete", DELETE, false);
end_form();
echo "</td>\n";
end_row();
} // end of while
The form URL is still suspect - the $report_type variable in the submit url may cause problems with the other POST variables.