--- loncom/publisher/lonpubdir.pm 2003/11/18 04:08:15 1.45
+++ loncom/publisher/lonpubdir.pm 2003/12/05 14:26:25 1.47
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.45 2003/11/18 04:08:15 taceyjo1 Exp $
+# $Id: lonpubdir.pm,v 1.47 2003/12/05 14:26:25 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -277,7 +277,7 @@ sub putdirectory {
unless (( ($dirname eq '..') && ($reqfile eq '')) ||
($dirname eq '.')) {
$r->print('
'.
- 'Go to ... | '.
+ ''.&mt('Go to ...').' | '.
''.
$disfilename.' | '.
' | '.
@@ -295,7 +295,7 @@ sub putresource {
$resdir, $targetdir, $linkdir,
$cmtime) = @_;
- my $status='Unpublished';
+ my $status=&mt('Unpublished');
my $bgcolor='#FFCCCC';
my $title=' ';
if (-e $resdir.'/'.$filename) {
@@ -337,8 +337,8 @@ sub putresource {
$editlink2=' ('.&mt('Edit').')';
}
if ($filename=~/\.(zip|tar|bz2|gz|tar.gz|tar.bz2|tgz)$/) {
- &Apache::lonnet::appenv('cgi.file' => $filename);
- $editlink=' ('.&mt('Decompress').')';
+ $editlink=' ('.&mt('Decompress').')';
}
$r->print('
'.
' |