Diff for /loncom/cgi/archive.pl between versions 1.2 and 1.3

version 1.2, 2024/05/21 02:57:17 version 1.3, 2024/09/03 10:40:04
Line 70  if (!&LONCAPA::loncgi::check_cookie_and_ Line 70  if (!&LONCAPA::loncgi::check_cookie_and_
     &Apache::lonlocal::get_language_handle();      &Apache::lonlocal::get_language_handle();
     my %lt = &Apache::lonlocal::texthash (      my %lt = &Apache::lonlocal::texthash (
                                             indi => 'Invalid directory name',                                              indi => 'Invalid directory name',
                                               noau => 'Archive creation only available to Author',
                                             outo => 'Output of command:',                                              outo => 'Output of command:',
                                             comp => 'Archive creation complete.',                                              comp => 'Archive creation complete.',
                                             erro => 'An error occurred.',                                              erro => 'An error occurred.',
                                             cctf  => 'Cannot create tar file',                                              cctf => 'Cannot create tar file',
                                             dtf  => 'Download tar file',                                              dtf  => 'Download tar file',
                                          );                                           );
 # Get the identifier and set a lock  # Get the identifier and set a lock
Line 150  if (!&LONCAPA::loncgi::check_cookie_and_ Line 151  if (!&LONCAPA::loncgi::check_cookie_and_
                         if ($hashref->{'extension'}) {                          if ($hashref->{'extension'}) {
                             $extension = $hashref->{'extension'};                              $extension = $hashref->{'extension'};
                         }                          }
                       } else {
                           $error = 'noau';
                     }                      }
                 }                  }
             } else {              } else {

Removed from v.1.2  
changed lines
  Added in v.1.3


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