- text_row($label, $name, $_POST[$name], 6, 6, "", "%");
+ echo "<td>";
+
+ echo "<input class='amount' type=\"text\" name=\"$name\" size=\"$size\" maxlength=\"$max\" dec=\"$dec\" value=\"" . $_POST[$name]. "\">";
+
+ if ($post_label)
+ echo " " . $post_label;
+
+ echo "</td>\n";
+}
+
+
+//-----------------------------------------------------------------------------------
+
+function amount_cells($label, $name, $init=null, $params=null, $post_label=null, $dec=null)
+{
+ amount_cells_ex($label, $name, 15, 15, $init, $params, $post_label, $dec);
+}
+
+function amount_row($label, $name, $init=null, $params=null, $post_label=null, $dec=null)
+{
+ echo "<tr>";
+ amount_cells($label, $name, $init, $params, $post_label, $dec);
+ echo "</tr>\n";
+}
+
+function small_amount_row($label, $name, $init=null, $params=null, $post_label=null, $dec=null)
+{
+ echo "<tr>";
+ small_amount_cells($label, $name, $init, $params, $post_label, $dec);
+ echo "</tr>\n";