%if ( $cgi->param('_type') eq 'html' || $cgi->param('_type') eq 'html-print' ) {

Part IV

%} elsif ( $cgi->param('_type') eq 'xml' ) { %} <% $cgi->param('notes') |h %> %if ( $cgi->param('_type') eq 'xml' ) { %} <%init> my $curuser = $FS::CurrentUser::CurrentUser; die "access denied" unless $curuser->access_right('List packages');