Diff for /loncom/interface/lonsyllabus.pm between versions 1.144 and 1.145

version 1.144, 2018/12/27 18:14:25 version 1.145, 2018/12/27 20:10:31
Line 311  sub handler { Line 311  sub handler {
             $protocol = 'http' if ($protocol ne 'https');              $protocol = 'http' if ($protocol ne 'https');
             my $link = $r->uri;              my $link = $r->uri;
             if (($protocol eq 'https') && ($external =~ m{^http://})) {              if (($protocol eq 'https') && ($external =~ m{^http://})) {
                 $link .= '?usehttp=1';                  unless (&Apache::lonnet::uses_sts()) {
                 $protocol = 'http';                      $link .= '?usehttp=1';
                       $protocol = 'http';
                   }
             }              }
             $link = $protocol.'://'.$hostname.$link;              $link = $protocol.'://'.$hostname.$link;
             $r->print('<div class="LC_left_float">'              $r->print('<div class="LC_left_float">'

Removed from v.1.144  
changed lines
  Added in v.1.145


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