[LON-CAPA-cvs] cvs: loncom /publisher lonpubdir.pm lonpublisher.pm lonretrieve.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 19 Oct 2002 06:34:15 -0000
albertel Sat Oct 19 02:34:15 2002 EDT
Modified files:
/loncom/publisher lonpubdir.pm lonpublisher.pm lonretrieve.pm
Log:
- reversed the diff sense, it always seemed backwards to me
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.26 loncom/publisher/lonpubdir.pm:1.27
--- loncom/publisher/lonpubdir.pm:1.26 Mon Sep 16 09:05:49 2002
+++ loncom/publisher/lonpubdir.pm Sat Oct 19 02:34:15 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# (Publication Handler
#
-# $Id: lonpubdir.pm,v 1.26 2002/09/16 13:05:49 www Exp $
+# $Id: lonpubdir.pm,v 1.27 2002/10/19 06:34:15 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -282,7 +282,7 @@
if (&Apache::loncommon::fileembstyle(($filename=~/\.(\w+)$/)) eq 'ssi') {
$status.='<br><a href="/adm/diff?filename=/~'.$uname.
$thisdisfn.'/'.$filename.
- '&versionone=priv" target=cat>Diffs</a>';
+ '&versiontwo=priv" target=cat>Diffs</a>';
}
}
$status.='<br><a href="/adm/retrieve?filename=/~'.$uname.
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.103 loncom/publisher/lonpublisher.pm:1.104
--- loncom/publisher/lonpublisher.pm:1.103 Fri Oct 18 09:49:49 2002
+++ loncom/publisher/lonpublisher.pm Sat Oct 19 02:34:15 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpublisher.pm,v 1.103 2002/10/18 13:49:49 www Exp $
+# $Id: lonpublisher.pm,v 1.104 2002/10/19 06:34:15 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1698,7 +1698,7 @@
if (&Apache::loncommon::fileembstyle($thistype) eq 'ssi') {
$r->print('<br /><a href="/adm/diff?filename=/~'.$cuname.'/'.
$thisdisfn.
- '&versionone=priv" target="cat">Diffs with Current Version</a><p>');
+ '&versiontwo=priv" target="cat">Diffs with Current Version</a><p>');
}
# ------------------ Publishing from $thisfn to $thistarget with $thisembstyle.
Index: loncom/publisher/lonretrieve.pm
diff -u loncom/publisher/lonretrieve.pm:1.19 loncom/publisher/lonretrieve.pm:1.20
--- loncom/publisher/lonretrieve.pm:1.19 Mon Sep 16 09:05:50 2002
+++ loncom/publisher/lonretrieve.pm Sat Oct 19 02:34:15 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to retrieve an old version of a file
#
-# $Id: lonretrieve.pm,v 1.19 2002/09/16 13:05:50 www Exp $
+# $Id: lonretrieve.pm,v 1.20 2002/10/19 06:34:15 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -93,7 +93,7 @@
$r->print(
' <a target=cat href="/adm/diff?filename=/~'.
$uname.$fn.
- '&versionone=priv&versiontwo='.$version.
+ '&versiontwo=priv&versiontwo='.$version.
'">Diffs with Version '.$version.'</a>');
}
$r->print('</a></td></tr>');
@@ -112,7 +112,7 @@
$r->print(
' <a target=cat href="/adm/diff?filename=/~'.
$uname.$fn.
- '&versionone=priv'.
+ '&versiontwo=priv'.
'">Diffs with current Version</a>');
}
$r->print('</td></tr></table><p>'.