--- loncom/interface/slotrequest.pm 2009/03/01 03:23:18 1.89 +++ loncom/interface/slotrequest.pm 2009/03/20 10:05:08 1.90 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for requesting to have slots added to a students record # -# $Id: slotrequest.pm,v 1.89 2009/03/01 03:23:18 raeburn Exp $ +# $Id: slotrequest.pm,v 1.90 2009/03/20 10:05:08 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -397,8 +397,10 @@ sub remove_registration_confirmation { '&\'').'" />'."\n"; } - my %lt = &Apache::lonlocal::texthash('yes' => 'Yes', - 'no' => 'No',); + my %lt = &Apache::lonlocal::texthash( + 'yes' => 'Yes', + 'no' => 'No', + ); $r->print(<<"END_CONFIRM");

$msg

@@ -665,10 +667,11 @@ STUFF return 1; } - my %lt=('request'=>"Availibility list", - 'try' =>'Try again?', - 'or' => 'or'); - %lt=&Apache::lonlocal::texthash(%lt); + my %lt = &Apache::lonlocal::texthash( + 'request' => 'Availibility list', + 'try' => 'Try again?', + 'or' => 'or', + ); my $extra_input; if ($conflictable_slot) {