--- loncom/interface/londocs.pm 2003/12/30 20:47:23 1.97
+++ loncom/interface/londocs.pm 2004/02/04 20:53:54 1.102
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.97 2003/12/30 20:47:23 albertel Exp $
+# $Id: londocs.pm,v 1.102 2004/02/04 20:53:54 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -511,7 +511,7 @@ sub checkonthis {
if (($Apache::lonxml::errorcount) ||
($Apache::lonxml::warningcount)) {
if ($Apache::lonxml::errorcount) {
- $r->print(''.
+ $r->print(''.
$Apache::lonxml::errorcount.' '.
&mt('error(s)').' ');
}
@@ -535,7 +535,11 @@ sub checkonthis {
} elsif ($result==HTTP_SERVICE_UNAVAILABLE) {
$r->print(''.&mt('connection down').'');
} elsif ($result==HTTP_NOT_FOUND) {
- $r->print(''.&mt('not found').'');
+ unless ($url=~/\$/) {
+ $r->print(''.&mt('not found').'');
+ } else {
+ $r->print(''.&mt('unable to verify variable URL').'');
+ }
} else {
$r->print(''.&mt('access denied').'');
}
@@ -723,7 +727,10 @@ ENDHEADERS
&Apache::lonnet::gettitle($linkurl).
'
'.$linkurl.
'