version 1.60, 2003/10/14 18:32:15
|
version 1.64, 2004/02/27 19:51:46
|
Line 2905 the old values taking effect.
|
Line 2905 the old values taking effect.
|
no strict; |
no strict; |
@ISA = ("Apache::lonhelper::element"); |
@ISA = ("Apache::lonhelper::element"); |
use strict; |
use strict; |
|
use Apache::lonlocal; |
BEGIN { |
BEGIN { |
&Apache::lonhelper::register('Apache::lonhelper::final', |
&Apache::lonhelper::register('Apache::lonhelper::final', |
('final', 'exitpage')); |
('final', 'exitpage')); |
Line 2999 sub render {
|
Line 2999 sub render {
|
|
|
if ($self->{'restartCourse'}) { |
if ($self->{'restartCourse'}) { |
my $targetURL = '/adm/menu'; |
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'}) { |
if ($ENV{'course.'.$ENV{'request.course.id'}.'.clonedfrom'}) { |
$targetURL = '/adm/parmset?overview=1'; |
$targetURL = '/adm/parmset?overview=1'; |
} |
} |
Line 3011 sub render {
|
Line 3016 sub render {
|
"<input type='hidden' name='selectrole' value='1' />\n" . |
"<input type='hidden' name='selectrole' value='1' />\n" . |
"<input type='hidden' name='" . $ENV{'request.role'} . |
"<input type='hidden' name='" . $ENV{'request.role'} . |
"' value='1' />\n<input type='submit' value='" . |
"' value='1' />\n<input type='submit' value='" . |
&mt('Finish Course Initialization') . " />\n" . |
&mt('Finish Course Initialization') . "' />\n" . |
"</form></center>"; |
"</form></center>"; |
} |
} |
|
|
Line 3114 sub render {
|
Line 3119 sub render {
|
} |
} |
|
|
my $result = "<form name='helpform' method='get' action='/adm/parmset#$affectedResourceId&$parm_name&$level'>\n"; |
my $result = "<form name='helpform' method='get' action='/adm/parmset#$affectedResourceId&$parm_name&$level'>\n"; |
$result .= '<p>Confirm that this information is correct, then click "Finish Wizard" to complete setting the parameter.<ul>'; |
$result .= '<p>Confirm that this information is correct, then click "Finish Helper" to complete setting the parameter.<ul>'; |
|
|
# Print the type of manipulation: |
# Print the type of manipulation: |
$result .= '<li>Setting the <b>' . $dateTypeHash{$vars->{ACTION_TYPE}} . '</b>'; |
$result .= '<li>Setting the <b>' . $dateTypeHash{$vars->{ACTION_TYPE}} . '</b>'; |