version 1.154, 2006/06/02 21:22:10
|
version 1.156, 2006/06/07 20:07:09
|
Line 88 sub error_page {
|
Line 88 sub error_page {
|
&Apache::lonmenu::rawconfig().'</script>'. |
&Apache::lonmenu::rawconfig().'</script>'. |
'<p>'.&mt('The following problems occurred:'). |
'<p>'.&mt('The following problems occurred:'). |
$error. |
$error. |
'</p><br /><a href="'.$dest.'>'.&mt('Continue').'</a>'. |
'</p><br /><a href="'.$dest.'">'.&mt('Continue').'</a>'. |
&Apache::loncommon::end_page()); |
&Apache::loncommon::end_page()); |
} |
} |
|
|
Line 265 ENDENTERKEY
|
Line 265 ENDENTERKEY
|
return OK; |
return OK; |
} else { |
} else { |
my $type = 'Course/Group'; |
my $type = 'Course/Group'; |
if ($env{'request.course.id'}) { |
if (!$env{'request.course.id'}) { |
if (defined($env{'course.'. |
if (defined($env{'course.'. |
$env{'request.course.id'}.'.type'})) { |
$env{'request.course.id'}.'.type'})) { |
$type = $env{'course.'. |
$type = $env{'course.'. |