version 1.3, 2011/01/17 22:56:27
|
version 1.4, 2011/12/25 20:41:53
|
Line 41 use Apache::lonlocal;
|
Line 41 use Apache::lonlocal;
|
use LONCAPA::lonmetadata(); |
use LONCAPA::lonmetadata(); |
use HTML::Entities(); |
use HTML::Entities(); |
use Apache::lonnavmaps; |
use Apache::lonnavmaps; |
use Apache::londocs(); |
use Apache::lonnavdisplay(); |
use Apache::lonindexer(); |
use Apache::lonindexer(); |
use LONCAPA; |
use LONCAPA; |
|
|
Line 320 sub handler {
|
Line 320 sub handler {
|
text => 'Search Results'}); |
text => 'Search Results'}); |
} |
} |
$r->print(&Apache::lonhtmlcommon::breadcrumbs("$crstype Search")); |
$r->print(&Apache::lonhtmlcommon::breadcrumbs("$crstype Search")); |
&Apache::londocs::startContentScreen($r,'coursesearch'); |
&Apache::lonnavdisplay::startContentScreen($r,'coursesearch'); |
if ($env{'form.phase'} eq 'results') { |
if ($env{'form.phase'} eq 'results') { |
&course_search($r); |
&course_search($r); |
} else { |
} else { |
$r->print(&menu()); |
$r->print(&menu()); |
} |
} |
&Apache::londocs::endContentScreen($r); |
&Apache::lonnavdisplay::endContentScreen($r); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
return OK; |
return OK; |
} |
} |