version 1.46.2.1, 2024/07/01 23:40:56
|
version 1.49, 2023/04/06 17:36:12
|
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" |
<h3 style="font: sans-serif"><img align="right" alt="help logo" |
src="/adm/help/gif/lonhelpheader.gif" />$lt{'header'}</h3><hr /> |
src="/adm/help/gif/lonhelpheader.gif" />$goback$lt{'header'}</h3><hr /> |
<!-- BEGIN --> |
<!-- BEGIN --> |
HEADER |
HEADER |
if ($is_mobile) { |
if ($is_mobile) { |