version 1.338, 2013/09/02 00:18:39
|
version 1.341, 2014/01/14 18:54:56
|
Line 52 search (on a server basis) is displayed
|
Line 52 search (on a server basis) is displayed
|
|
|
=head1 Internals |
=head1 Internals |
|
|
=over 4 |
|
|
|
=cut |
=cut |
|
|
############################################################################### |
############################################################################### |
Line 196 sub handler {
|
Line 194 sub handler {
|
'Unable to recover data from '. |
'Unable to recover data from '. |
$persistent_db_file); |
$persistent_db_file); |
my $msg = |
my $msg = |
'We were unable to retrieve data describing your search. '. |
&mt('We were unable to retrieve data describing your search.'). |
'This is a serious error and has been logged. '. |
' '.&mt('This is a serious error and has been logged.'). |
'Please alert your LON-CAPA administrator.'; |
'<br />'. |
&Apache::loncommon::simple_error_page($r,'Search Error', |
&mt('Please alert your LON-CAPA administrator.'); |
$msg); |
&Apache::loncommon::simple_error_page( |
|
$r,'Search Error', |
|
$msg, |
|
{'no_auto_mt_msg' => 1}); |
return OK; |
return OK; |
} |
} |
} |
} |
Line 428 sub hidden_field {
|
Line 429 sub hidden_field {
|
|
|
###################################################################### |
###################################################################### |
|
|
=pod |
=pod |
|
|
|
=over 4 |
|
|
=item &print_basic_search_form() |
=item &print_basic_search_form() |
|
|
Prints the form for the basic search. Sorry the name is so cryptic. |
Prints the form for the basic search. Sorry the name is so cryptic. |
Line 3148 SCRIPT
|
Line 3151 SCRIPT
|
|
|
my $start_page = &Apache::loncommon::start_page(undef,$js, |
my $start_page = &Apache::loncommon::start_page(undef,$js, |
{'only_body' =>1, |
{'only_body' =>1, |
'add_wishlist' =>1}); |
'add_wishlist' =>1, |
|
'add_modal' =>1}); |
my $result=<<END; |
my $result=<<END; |
$start_page |
$start_page |
<form name="results" method="post" action="/adm/searchcat"> |
<form name="results" method="post" action="/adm/searchcat"> |