--- loncom/interface/lonhelper.pm 2005/04/07 06:56:23 1.100 +++ loncom/interface/lonhelper.pm 2005/04/11 18:19:23 1.103 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # .helper XML handler to implement the LON-CAPA helper # -# $Id: lonhelper.pm,v 1.100 2005/04/07 06:56:23 albertel Exp $ +# $Id: lonhelper.pm,v 1.103 2005/04/11 18:19:23 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2073,7 +2073,7 @@ BUTTONS hidden.value=select.options[which].value; } -; + RADIO $env{'form.condition'} = !$self->{'toponly'}; @@ -2955,6 +2955,7 @@ be able to call methods on it. =cut use Apache::lonlocal; +use Apache::lonnet; BEGIN { &Apache::lonhelper::register('Apache::lonhelper::general', @@ -3182,7 +3183,7 @@ sub render { my $targetURL = ''; my $finish=&mt('Finish'); if ($self->{'restartCourse'}) { - my $actionURL = '/adm/roles'; + $actionURL = '/adm/roles'; $targetURL = '/adm/menu'; if ($env{'course.'.$env{'request.course.id'}.'.url'}=~/^uploaded/) { $targetURL = '/adm/coursedocs'; @@ -3225,6 +3226,7 @@ no strict; @ISA = ('Apache::lonhelper::element'); use strict; use Apache::lonlocal; +use Apache::lonnet; BEGIN { &Apache::lonhelper::register('Apache::lonhelper::parmwizfinal',