--- loncom/interface/londocs.pm 2002/10/20 18:42:53 1.34 +++ loncom/interface/londocs.pm 2002/10/21 20:31:06 1.35 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.34 2002/10/20 18:42:53 www Exp $ +# $Id: londocs.pm,v 1.35 2002/10/21 20:31:06 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -265,18 +265,13 @@ sub checkonthis { if (&Apache::loncommon::fileembstyle($1) eq 'ssi') { $r->print('
'); $r->rflush(); - my $default=''; - if ($1=~/(problem|exam|quiz|assess|survey|form|library)/) { - $default=&Apache::lonnet::getfile( - '/home/httpd/html/res/adm/includes/default_homework.lcpm'); - } for (my $i=0;$i<=$level*5;$i++) { $r->print(' '); } $r->print('- Rendering: '); &Apache::lonxml::xmlparse($r,'web', &Apache::lonnet::getfile( - &Apache::lonnet::filelocation('',$url)),$default); + &Apache::lonnet::filelocation('',$url))); if (($Apache::lonxml::errorcount) || ($Apache::lonxml::warningcount)) { if ($Apache::lonxml::errorcount) {