summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-12-22 21:17:13 +0000
committerivan <ivan>2008-12-22 21:17:13 +0000
commitddf56ca7a1b29b3cf57daa64f79178ed7eeb5b71 (patch)
tree67eb1c0ba85cf7e5ab0fc760fdbfdf3018a993f5 /httemplate
parentd4b9486e967586d590ed47dd7d7e4219b113ee23 (diff)
soft-limit package names to 50 chars to avoid problems with typeset invoices, RT#4449
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi2
-rw-r--r--httemplate/edit/quick-charge.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index b306756..676b456 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -21,7 +21,7 @@ Package information
<TR>
<TD ALIGN="right">Package (customer-visible)</TD>
<TD>
- <INPUT TYPE="text" NAME="pkg" SIZE=32 MAXLENGTH=60 VALUE="<% $part_pkg->pkg %>">
+ <INPUT TYPE="text" NAME="pkg" SIZE=32 MAXLENGTH=50 VALUE="<% $part_pkg->pkg %>">
</TD>
</TR>
<TR>
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 52a36a7..682a718 100644
--- a/httemplate/edit/quick-charge.html
+++ b/httemplate/edit/quick-charge.html
@@ -84,7 +84,7 @@ function validate_quick_charge () {
<TR>
<TD>Description:</TD>
<TD>
- <INPUT TYPE="text" NAME="pkg" SIZE="60" MAXLENGTH="65" VALUE="<% $pkg %>" onChange="enable_quick_charge()" onKeyPress="enable_quick_charge()">
+ <INPUT TYPE="text" NAME="pkg" SIZE="50" MAXLENGTH="50" VALUE="<% $pkg %>" onChange="enable_quick_charge()" onKeyPress="enable_quick_charge()">
</TD>
</TR>