--- loncom/interface/lonhelper.pm 2003/10/09 19:07:33 1.59 +++ loncom/interface/lonhelper.pm 2004/02/27 19:51:46 1.64 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # .helper XML handler to implement the LON-CAPA helper # -# $Id: lonhelper.pm,v 1.59 2003/10/09 19:07:33 bowersj2 Exp $ +# $Id: lonhelper.pm,v 1.64 2004/02/27 19:51:46 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2177,7 +2177,7 @@ BUTTONS $result .= "$name". "" . &mt('Section') . "" . "Status" . - "" . &mt("Role") . ""; + "" . &mt("Role") . "" . "Username:Domain"; my $checked = 0; @@ -2905,7 +2905,7 @@ the old values taking effect. no strict; @ISA = ("Apache::lonhelper::element"); use strict; - +use Apache::lonlocal; BEGIN { &Apache::lonhelper::register('Apache::lonhelper::final', ('final', 'exitpage')); @@ -2999,6 +2999,11 @@ sub render { if ($self->{'restartCourse'}) { my $targetURL = '/adm/menu'; + if ($ENV{'course.'.$ENV{'request.course.id'}.'.url'}=~/^uploaded/) { + $targetURL = '/adm/coursedocs'; + } else { + $targetURL = '/adm/navmaps'; + } if ($ENV{'course.'.$ENV{'request.course.id'}.'.clonedfrom'}) { $targetURL = '/adm/parmset?overview=1'; } @@ -3011,7 +3016,7 @@ sub render { "\n" . "\n\n" . + &mt('Finish Course Initialization') . "' />\n" . ""; } @@ -3114,7 +3119,7 @@ sub render { } my $result = "
\n"; - $result .= '

Confirm that this information is correct, then click "Finish Wizard" to complete setting the parameter.