[freeside-commits] freeside/httemplate/edit part_virtual_field.cgi,
1.6, 1.6.2.1
Kristian Hoffmann,420,,
khoff at wavetail.420.am
Thu Mar 15 13:09:31 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv9981/httemplate/edit
Modified Files:
Tag: FREESIDE_1_7_BRANCH
part_virtual_field.cgi
Log Message:
Set input form MAXLENGTH attributes to match actual field sizes.
Index: part_virtual_field.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_virtual_field.cgi,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- part_virtual_field.cgi 14 Sep 2006 19:33:48 -0000 1.6
+++ part_virtual_field.cgi 15 Mar 2007 20:09:29 -0000 1.6.2.1
@@ -42,7 +42,7 @@
<%ntable("#cccccc",2)%>
<TR>
<TD ALIGN="right">Name</TD>
- <TD><INPUT TYPE="text" NAME="name" MAXLENGTH=15 VALUE="<%
+ <TD><INPUT TYPE="text" NAME="name" MAXLENGTH=32 VALUE="<%
$part_virtual_field->name%>"></TD>
</TR>
<TR>
@@ -54,7 +54,7 @@
%
% my $dbdef = dbdef; # ick
% #foreach my $dbtable (sort { $a cmp $b } $dbdef->tables) {
-% foreach my $dbtable (qw( svc_broadband )) {
+% foreach my $dbtable (qw( svc_broadband router )) {
% if ($dbtable !~ /^h_/
% and $dbdef->table($dbtable)->primary_key) {
@@ -74,7 +74,7 @@
</TD>
<TR>
<TD ALIGN="right">Label</TD>
- <TD><INPUT TYPE="text" NAME="label" MAXLENGTH="20" VALUE="<%
+ <TD><INPUT TYPE="text" NAME="label" MAXLENGTH="80" VALUE="<%
$part_virtual_field->label%>"></TD>
</TR>
<TR>
More information about the freeside-commits
mailing list