version 1.46, 2017/04/01 13:55:32
|
version 1.50, 2025/02/21 21:28:48
|
Line 71 sub servetext {
|
Line 71 sub servetext {
|
search => 'Search LON-CAPA help', |
search => 'Search LON-CAPA help', |
query => 'Search', |
query => 'Search', |
); |
); |
|
my $goback; |
|
if ((($env{'request.lti.login'}) && ($env{'request.lti.target'} eq 'iframe')) || |
|
(($env{'request.deeplink.login'}) && ($env{'request.deeplink.target'} eq '_self'))) { |
|
my $backicon = &Apache::loncommon::lonhttpdurl($r->dir_config('lonIconsURL').'/').'clickhere.gif'; |
|
$goback = '<a href="javascript:history.go(-1);" class="LC_menubuttons_link" title="Go Back">'. |
|
'<img src="'.$backicon.'" alt="'.&mt('Go Back').'" class="LC_icon" border="0" />'. |
|
'</a> '; |
|
} |
$r->print(<<HEADER); |
$r->print(<<HEADER); |
<h3 style="font: sans-serif"><img align="right" alt="help logo" |
<div class="LC_landmark" role="complementary"> |
src="/adm/help/gif/lonhelpheader.gif" />$lt{'header'}</h3><hr /> |
<h1 style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 1.17em;"> |
|
<img align="right" alt="help logo" src="/adm/help/gif/lonhelpheader.gif" /> |
|
$goback$lt{'header'}</h1><hr /></div> |
|
<div class="LC_landmark" role="main"> |
<!-- BEGIN --> |
<!-- BEGIN --> |
HEADER |
HEADER |
if ($is_mobile) { |
if ($is_mobile) { |
Line 96 HEADER
|
Line 107 HEADER
|
$r->print(<<FOOTER); |
$r->print(<<FOOTER); |
<hr /><div class="LC_left_float"> |
<hr /><div class="LC_left_float"> |
<form action="$uri" method="post"> |
<form action="$uri" method="post"> |
<fieldset><legend>$lt{'search'}</legend> |
<fieldset><legend><label for="searchterm">$lt{'search'}</label></legend> |
<input type="text" name="searchterm" size="40" /> |
<input type="text" name="searchterm" id="searchterm" size="40" /> |
<input type="submit" value="$lt{'query'}" /> |
<input type="submit" value="$lt{'query'}" /> |
</fieldset> |
</fieldset> |
</form> |
</form> |
Line 110 FOOTER
|
Line 121 FOOTER
|
} |
} |
|
|
$r->print(<<ENDBODY); |
$r->print(<<ENDBODY); |
|
</div> |
<!-- END --> |
<!-- END --> |
ENDBODY |
ENDBODY |
|
|
Line 246 sub handler {
|
Line 258 sub handler {
|
}; |
}; |
} |
} |
my $firstfile; |
my $firstfile; |
|
$env{'form.texengine'} = 'tth'; |
my $start_page= |
my $start_page= |
&Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash); |
&Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash); |
|
delete($env{'form.texengine'}); |
my $text=''; |
my $text=''; |
my $uri = $r->uri; |
my $uri = $r->uri; |
if ($env{'form.searchterm'}=~/\w/) { |
if ($env{'form.searchterm'}=~/\w/) { |