Diff for /rat/lonwrapper.pm between versions 1.28.2.1 and 1.29

version 1.28.2.1, 2008/12/21 04:49:58 version 1.29, 2008/11/10 13:22:23
Line 26 Line 26
 # http://www.lon-capa.org/  # http://www.lon-capa.org/
 #  #
   
   =pod
   
   =head1 NAME
   
   Apache::lonwrapper - External and binary file management.
   
   =head1 SYNOPSIS
   
   Wrapper for external and binary files as standalone resources. Edit handler for rat maps; TeX content handler.
   
   This is part of the LearningOnline Network with CAPA project
   described at http://www.lon-capa.org.
   
   =head2 Subroutines
   
   =cut
   
   
 package Apache::lonwrapper;  package Apache::lonwrapper;
   
 use strict;  use strict;
Line 88  sub wrapper { Line 106  sub wrapper {
  &Apache::loncommon::end_page({'frameset' => 1});   &Apache::loncommon::end_page({'frameset' => 1});
           
     foreach my $url ($topurl,$bottomurl) {      foreach my $url ($topurl,$bottomurl) {
  if ($url !~ /^https?\:/) {   if ($url !~ /^http:/) {
     $url = &Apache::lonenc::check_encrypt($url);      $url = &Apache::lonenc::check_encrypt($url);
  }   }
     }      }
Line 157  __END__ Line 175  __END__
   
   
   
   
   
   
   
   

Removed from v.1.28.2.1  
changed lines
  Added in v.1.29


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