Diff for /loncom/interface/lonhelp.pm between versions 1.46.2.1 and 1.47

version 1.46.2.1, 2024/07/01 23:40:56 version 1.47, 2022/05/27 05:09:21
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'))) {
           $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" />'.
                     '</a>&nbsp;';
       }
     $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) {
Line 246  sub handler { Line 253  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/) {

Removed from v.1.46.2.1  
changed lines
  Added in v.1.47


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>