[LON-CAPA-cvs] cvs: rat / lonuserstate.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 04 Sep 2002 19:37:32 -0000
www Wed Sep 4 15:37:32 2002 EDT
Modified files:
/rat lonuserstate.pm
Log:
Now handles uploaded folders like maps.
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.40 rat/lonuserstate.pm:1.41
--- rat/lonuserstate.pm:1.40 Mon Sep 2 11:27:08 2002
+++ rat/lonuserstate.pm Wed Sep 4 15:37:32 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construct and maintain state and binary representation of course for user
#
-# $Id: lonuserstate.pm,v 1.40 2002/09/02 15:27:08 www Exp $
+# $Id: lonuserstate.pm,v 1.41 2002/09/04 19:37:32 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -124,7 +124,7 @@
if (($embstyle eq 'img') || ($embstyle eq 'emb')
|| ($embstyle eq 'ssi')) {
$turi='/adm/wrapper'.$turi;
- } else {
+ } elsif ($turi!~/\.(sequence|page)$/) {
$turi='/adm/coursedocs?showdoc='.$turi;
}
} else { # normal internal resource