version 1.47, 2022/05/27 05:09:21
|
version 1.49, 2023/04/06 17:36:12
|
Line 74 sub servetext {
|
Line 74 sub servetext {
|
my $goback; |
my $goback; |
if ((($env{'request.lti.login'}) && ($env{'request.lti.target'} eq 'iframe')) || |
if ((($env{'request.lti.login'}) && ($env{'request.lti.target'} eq 'iframe')) || |
(($env{'request.deeplink.login'}) && ($env{'request.deeplink.target'} eq '_self'))) { |
(($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">'. |
$goback = '<a href="javascript:history.go(-1);" class="LC_menubuttons_link" title="Go Back">'. |
'<img src="/res/adm/pages/tolastloc.png" alt="'.&mt('Go Back').'" class="LC_icon" border="0" />'. |
'<img src="'.$backicon.'" alt="'.&mt('Go Back').'" class="LC_icon" border="0" />'. |
'</a> '; |
'</a> '; |
} |
} |
$r->print(<<HEADER); |
$r->print(<<HEADER); |
Line 253 sub handler {
|
Line 254 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/) { |