[LON-CAPA-cvs] cvs: loncom(version_2_1_X) /homework bridgetask.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 29 Mar 2006 14:03:54 -0000
albertel Wed Mar 29 09:03:54 2006 EDT
Modified files: (Branch: version_2_1_X)
/loncom/homework bridgetask.pm
Log:
- stat_file isn't in 2.1
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.128 loncom/homework/bridgetask.pm:1.128.2.1
--- loncom/homework/bridgetask.pm:1.128 Wed Mar 29 08:24:43 2006
+++ loncom/homework/bridgetask.pm Wed Mar 29 09:03:53 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: bridgetask.pm,v 1.128 2006/03/29 13:24:43 albertel Exp $
+# $Id: bridgetask.pm,v 1.128.2.1 2006/03/29 14:03:53 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -455,11 +455,7 @@
my $files = '<ul>';
foreach my $file (@files) {
my $url="/uploaded/$domain/$user/portfolio$file";
- if (! &Apache::lonnet::stat_file($url)) {
- $file = &mt('<font color="red"> Nonexistant file:</font> <tt>[_1]</tt>',$file);
- } else {
- $file = '<tt>'.$file.'</tt>';
- }
+ $file = '<tt>'.$file.'</tt>';
$files .= '<li>'.$file.'</li>';
}
$files.='</ul>';