--- loncom/interface/lonsupportreq.pm 2006/03/23 22:32:11 1.32 +++ loncom/interface/lonsupportreq.pm 2006/04/10 21:40:09 1.33 @@ -1,5 +1,5 @@ # -# $Id: lonsupportreq.pm,v 1.32 2006/03/23 22:32:11 albertel Exp $ +# $Id: lonsupportreq.pm,v 1.33 2006/04/10 21:40:09 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -197,12 +197,14 @@ function initialize_codes() { my $js = ''; - my $add_entries = - 'topmargin="0" marginheight="0" onLoad="initialize_codes()"', + my %add_entries = (topmargin => "0", + marginheight => "0", + onLoad =>"initialize_codes()",); + my $start_page = &Apache::loncommon::start_page('Support Request',$js, { 'function' => $function, - 'add_entries' => $add_entries, + 'add_entries' => \%add_entries, 'only_body' => 1,}); $r->print($start_page); @@ -696,10 +698,12 @@ Date/Time: $reporttime my $start_page = &Apache::loncommon::start_page('Support request recorded',undef, - {'function' => $function, - 'addentries' => - 'topmargin="0" marginheight="0"', - 'only_body' => 1,}); + {'function' => $function, + 'add_entries' => { + topmargin => "0", + marginheight => "0", + }, + 'only_body' => 1,}); $r->print(<<"END"); $start_page