--- rat/lonratedt.pm 2004/11/13 21:17:55 1.61 +++ rat/lonratedt.pm 2004/11/17 19:59:29 1.62 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.61 2004/11/13 21:17:55 albertel Exp $ +# $Id: lonratedt.pm,v 1.62 2004/11/17 19:59:29 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1148,7 +1148,8 @@ sub viewmap { foreach (&attemptread(&Apache::lonnet::filelocation('',$url))) { if (defined($_)) { $idx++; - my ($title,$url)=split(/\:/,$_); + my ($title,$url,$cond)=split(/\:/,$_); + if ($cond eq 'cond') { next; } $title=~s/\&colon\;/\:/g; $url=~s/\&colon\;/\:/g; unless ($title) { $title=(split(/\//,$url))[-1] }; @@ -1158,7 +1159,7 @@ sub viewmap { } $r->print(&Apache::lonratsrv::qtescape($title)); if ($url) { $r->print(''); } - $r->print('
'); + $r->print("
\n"); } } $r->print('');