version 1.42, 2013/12/18 01:23:21
|
version 1.43, 2013/12/30 00:23:40
|
Line 228 sub handler {
|
Line 228 sub handler {
|
if ($env{'form.searchterm'}=~/\w/) { |
if ($env{'form.searchterm'}=~/\w/) { |
$caller = 'search'; |
$caller = 'search'; |
} |
} |
my $starthash = { |
|
only_body => 1, |
|
add_entries => { |
|
'onload' => "javascript:expand_div('$caller');", |
|
}, |
|
}; |
|
|
|
|
my $starthash; |
|
|
|
if ($env{'browser.mobile'}) { |
|
$starthash = { |
|
only_body => 1, |
|
add_entries => { |
|
'onload' => "javascript:expand_div('$caller');", |
|
}, |
|
}; |
|
} else { |
|
$starthash = { |
|
only_body => 1, |
|
}; |
|
} |
my $firstfile; |
my $firstfile; |
my $start_page= |
my $start_page= |
&Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash); |
&Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash); |