--- rat/lonratedt.pm 2002/09/04 16:54:44 1.36 +++ rat/lonratedt.pm 2002/10/03 15:07:25 1.37 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.36 2002/09/04 16:54:44 www Exp $ +# $Id: lonratedt.pm,v 1.37 2002/10/03 15:07:25 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -300,6 +300,7 @@ sub pastetarget { my $ext='false'; if ($url=~/^http\:\/\//) { $ext='true'; } $url=~s/\:/\:/g; + $name=~s/\:/\:/g; $resources[$idx]=$name.':'.$url.':'.$ext.':normal:res'; } } @@ -710,6 +711,7 @@ sub smpedt { $targetdetail.='&'.&Apache::lonnet::escape($name).'='. &Apache::lonnet::escape($url); $idx++; + $name=~s/\:/\:/g; ''; } @order); @@ -746,13 +748,12 @@ sub smpedt { $bodytag $buttons $errtext -

$url

- + - +
Import
Temporary Assembly Workspace  Target
File: $url
@@ -769,9 +770,9 @@ value="Browse">  +"javascript:impfortarget.value=1;groupsearch()" value="Search"> +"javascript:impfortarget.value=1;groupimport();" value="Import"> after selected
$targetmsg