diff options
author | ivan <ivan> | 2004-12-31 08:47:08 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-12-31 08:47:08 +0000 |
commit | 658e271baebcdf077e5756735204f8f10567a0ad (patch) | |
tree | 1f3e2fa192582f48e8164c1d3d6594675b02880f /httemplate/edit | |
parent | eb0fb11854244a8dcd154ecabc56befc8ff2913a (diff) |
add ignore_unrateable flag to voip price plan
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/part_pkg.cgi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index b3c389c9d..1790cdfeb 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -302,6 +302,12 @@ my $widget = new HTML::Widgets::SelectLayers( ? $plandata{$field} : $href->{$field}{'default'} ). qq!" onChange="fchanged(this)">!; + } elsif ( $href->{$field}{'type'} eq 'checkbox' ) { + $html .= qq!<INPUT TYPE="checkbox" NAME="$field" VALUE=1 !. + ( exists($plandata{$field}) && $plandata{$field} + ? ' CHECKED' + : '' + ). '>'; } elsif ( $href->{$field}{'type'} =~ /^select/ ) { $html .= '<SELECT'; $html .= ' MULTIPLE' |