X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fbrowse%2Fpart_pkg.cgi;h=58422c67d67471af800e8ed5773e428faa477541;hb=6d02e527490b2f0cf080f7b519443caeecd76357;hp=d5cfeeada1c5f3a92465964c805629a41ba7f8ce;hpb=71b05bcca672ea01074000eecd1b6cb93ee6c8f7;p=freeside.git diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi index d5cfeeada..58422c67d 100755 --- a/httemplate/browse/part_pkg.cgi +++ b/httemplate/browse/part_pkg.cgi @@ -11,13 +11,16 @@ if ( $cgi->param('showdisabled') ) { my @part_pkg = qsearch('part_pkg', \%search ); my $total = scalar(@part_pkg); -print header("Package Definition Listing",menubar( - 'Main Menu' => $p, -)). "One or more services are grouped together into a package and given". - " pricing information. Customers purchase packages". - " rather than purchase services directly.

". - "$total packages "; +%> +<%= header("Package Definition Listing",menubar( 'Main Menu' => $p )) %> +One or more services are grouped together into a package and given pricing +information. Customers purchase packages rather than purchase services +directly.

+Add a new package definition +

+<%= $total %> packages +<% if ( $cgi->param('showdisabled') ) { $cgi->param('showdisabled', 0); print qq!( hide disabled packages )!; @@ -89,8 +92,9 @@ END print ""; } +$colspan = $cgi->param('showdisabled') ? 8 : 9; print <param('showdisabled') ? 8 : 9 }>Add a new package definition +