--- loncom/publisher/lonretrieve.pm 2008/11/20 18:03:55 1.36
+++ loncom/publisher/lonretrieve.pm 2009/04/23 17:33:58 1.38
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to retrieve an old version of a file
#
-# $Id: lonretrieve.pm,v 1.36 2008/11/20 18:03:55 bisitz Exp $
+# $Id: lonretrieve.pm,v 1.38 2009/04/23 17:33:58 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -156,7 +156,7 @@ sub phaseone {
localtime($rmtime).'');
if (!$is_meta) {
- $r->print('
'.
+ $r->print(' | '.
&mt('Metadata Version').' '.$version.' | ');
}
if ($is_meta
@@ -178,7 +178,7 @@ sub phaseone {
''.&mt('Currently published version').' | '.localtime($rmtime).
' | ');
if (!$is_meta) {
- $r->print(''.
+ $r->print(' | '.
&mt('Metadata current version').' | ');
}
if ($is_meta
@@ -289,7 +289,7 @@ sub handler {
if ($env{'form.filename'}) {
$fn=$env{'form.filename'};
- $fn=~s/^http\:\/\/[^\/]+//;
+ $fn=~s/^https?\:\/\/[^\/]+//;
} else {
$r->log_reason($env{'user.name'}.' at '.$env{'user.domain'}.
' unspecified filename for retrieval', $r->filename);