version 1.101, 2005/04/07 21:36:22
|
version 1.103, 2005/04/11 18:19:23
|
Line 2955 be able to call methods on it.
|
Line 2955 be able to call methods on it.
|
=cut |
=cut |
|
|
use Apache::lonlocal; |
use Apache::lonlocal; |
|
use Apache::lonnet; |
|
|
BEGIN { |
BEGIN { |
&Apache::lonhelper::register('Apache::lonhelper::general', |
&Apache::lonhelper::register('Apache::lonhelper::general', |
Line 3182 sub render {
|
Line 3183 sub render {
|
my $targetURL = ''; |
my $targetURL = ''; |
my $finish=&mt('Finish'); |
my $finish=&mt('Finish'); |
if ($self->{'restartCourse'}) { |
if ($self->{'restartCourse'}) { |
my $actionURL = '/adm/roles'; |
$actionURL = '/adm/roles'; |
$targetURL = '/adm/menu'; |
$targetURL = '/adm/menu'; |
if ($env{'course.'.$env{'request.course.id'}.'.url'}=~/^uploaded/) { |
if ($env{'course.'.$env{'request.course.id'}.'.url'}=~/^uploaded/) { |
$targetURL = '/adm/coursedocs'; |
$targetURL = '/adm/coursedocs'; |
Line 3225 no strict;
|
Line 3226 no strict;
|
@ISA = ('Apache::lonhelper::element'); |
@ISA = ('Apache::lonhelper::element'); |
use strict; |
use strict; |
use Apache::lonlocal; |
use Apache::lonlocal; |
|
use Apache::lonnet; |
|
|
BEGIN { |
BEGIN { |
&Apache::lonhelper::register('Apache::lonhelper::parmwizfinal', |
&Apache::lonhelper::register('Apache::lonhelper::parmwizfinal', |