version 1.357, 2023/03/29 16:01:13
|
version 1.358, 2023/12/22 20:11:55
|
Line 176 sub handler {
|
Line 176 sub handler {
|
} |
} |
my $crumb_text = 'Portfolio Search'; |
my $crumb_text = 'Portfolio Search'; |
if (@allowed_searches ==2) { |
if (@allowed_searches ==2) { |
$crumb_text = 'Portfolio and Catalog Search'; |
$crumb_text = 'Portfolio and Content Library Search'; |
} |
} |
my $target = '_top'; |
my $target = '_top'; |
if ((($env{'request.lti.login'}) && ($env{'request.lti.target'} eq 'iframe')) || |
if ((($env{'request.lti.login'}) && ($env{'request.lti.target'} eq 'iframe')) || |
Line 474 sub setup_basic_search {
|
Line 474 sub setup_basic_search {
|
my ($r,$area,$hidden_fields,$closebutton) = @_; |
my ($r,$area,$hidden_fields,$closebutton) = @_; |
# Define interface components |
# Define interface components |
my %lt = &Apache::lonlocal::texthash ( |
my %lt = &Apache::lonlocal::texthash ( |
res => 'LON-CAPA Catalog Search', |
res => 'Content Library Search', |
portfolio => 'Portfolio Search', |
portfolio => 'Portfolio Search', |
); |
); |
my ($userelatedwords,$onlysearchdomain,$inclext,$adv_search_link,$scrout); |
my ($userelatedwords,$onlysearchdomain,$inclext,$adv_search_link,$scrout); |