version 1.4, 2011/12/25 20:41:53
|
version 1.5, 2020/09/22 11:23:08
|
Line 311 sub handler {
|
Line 311 sub handler {
|
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['phase']); |
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['phase']); |
$r->print(&Apache::loncommon::start_page("$crstype Search")); |
$r->print(&Apache::loncommon::start_page("$crstype Search")); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
|
if ($env{'request.course.id'} eq '') { |
|
$r->print(&Apache::lonhtmlcommon::breadcrumbs("$crstype Search")); |
|
$r->print(&Apache::loncommon::end_page()); |
|
my $requrl = $r->uri; |
|
$env{'user.error.msg'} = "$requrl:bre:0:0:Course not initialized"; |
|
$env{'user.reinit'} = 1; |
|
return HTTP_NOT_ACCEPTABLE; |
|
} |
&Apache::lonhtmlcommon::add_breadcrumb( |
&Apache::lonhtmlcommon::add_breadcrumb( |
{ href => '/adm/searchcourse', |
{ href => '/adm/searchcourse', |
text => "$crstype Search"}); |
text => "$crstype Search"}); |