[freeside-commits] freeside/httemplate/edit part_pkg.cgi,1.67,1.68
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Feb 26 09:54:21 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv18143/httemplate/edit
Modified Files:
part_pkg.cgi
Log Message:
agent_type selector on new packages
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_pkg.cgi,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- part_pkg.cgi 8 Feb 2007 16:04:21 -0000 1.67
+++ part_pkg.cgi 26 Feb 2007 17:54:18 -0000 1.68
@@ -159,23 +159,23 @@
</TD><TD VALIGN="top">
-%#Reseller information # after 1.7.2
-%#<% ntable("#cccccc", 2) %>
-%# <TR>
-%# <TD ALIGN="right"><% 'Agent Types' %></TD>
-%# <TD>
-%# <% include( '/elements/select-table.html',
-%# 'element_name' => 'agent_type',
-%# 'table' => 'agent_type',
-%# 'name_col' => 'atype',
-%# 'value' => \@agent_type,
-%# 'empty_label' => '(none)',
-%# 'element_etc' => 'multiple size="10"',
-%# )
-%# %>
-%# </TD>
-%# </TR>
-%#</TABLE>
+Reseller information
+<% ntable("#cccccc", 2) %>
+ <TR>
+ <TD ALIGN="right"><% 'Agent Types' %></TD>
+ <TD>
+ <% include( '/elements/select-table.html',
+ 'element_name' => 'agent_type',
+ 'table' => 'agent_type',
+ 'name_col' => 'atype',
+ 'value' => \@agent_type,
+ 'empty_label' => '(none)',
+ 'element_etc' => 'multiple size="10"',
+ )
+ %>
+ </TD>
+ </TR>
+</TABLE>
</TD></TR></TABLE>
%
%
@@ -271,9 +271,7 @@
%#} else {
%# push @fixups, 'taxclass'; #hidden
%#}
-%my @form_elements = ( 'classnum', 'taxclass' );
-%# copying non-existant elements is probably harmless, but after 1.7.2
-%#my @form_elements = ( 'classnum', 'taxclass', 'agent_type' );
+%my @form_elements = ( 'classnum', 'taxclass', 'agent_type' );
%
%my @form_radio = ();
%if ( dbdef->table('pkg_svc')->column('primary_svc') ) {
@@ -330,7 +328,7 @@
% ( exists($plandata{$field})
% ? $plandata{$field}
% : $href->{$field}{'default'} ).
-% qq!" onChange="fchanged(this)">!; #after 1.7.2
+% qq!">!;
% } elsif ( $href->{$field}{'type'} eq 'checkbox' ) {
% $html .= qq!<INPUT TYPE="checkbox" NAME="$field" VALUE=1 !.
% ( exists($plandata{$field}) && $plandata{$field}
@@ -341,7 +339,7 @@
% $html .= '<SELECT';
% $html .= ' MULTIPLE'
% if $href->{$field}{'type'} eq 'select_multiple';
-% $html .= qq! NAME="$field" onChange="fchanged(this)">!; # after 1.7.2
+% $html .= qq! NAME="$field">!;
%
% if ( $href->{$field}{'select_table'} ) {
% foreach my $record (
@@ -385,7 +383,7 @@
%
% $html .= '<INPUT TYPE="submit" VALUE="'.
% ( $hashref->{pkgpart} ? "Apply changes" : "Add package" ).
-% '" onClick="fchanged(this)">'; #after 1.7.2
+% '">';
%
% $html;
%
More information about the freeside-commits
mailing list