[LON-CAPA-cvs] cvs: rat / lonratedt.pm

www lon-capa-cvs@mail.lon-capa.org
Thu, 03 Oct 2002 15:07:25 -0000


www		Thu Oct  3 11:07:25 2002 EDT

  Modified files:              
    /rat	lonratedt.pm 
  Log:
  Bug #777
  
  
Index: rat/lonratedt.pm
diff -u rat/lonratedt.pm:1.36 rat/lonratedt.pm:1.37
--- rat/lonratedt.pm:1.36	Wed Sep  4 12:54:44 2002
+++ rat/lonratedt.pm	Thu Oct  3 11:07:25 2002
@@ -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 @@
                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 @@
        $targetdetail.='&'.&Apache::lonnet::escape($name).'='.
 	                  &Apache::lonnet::escape($url);
        $idx++;
+       $name=~s/\:/\:/g;
        '<option value="'.$idx.'">'.$name.'</option>';
    } @order);
 
@@ -746,13 +748,12 @@
 $bodytag
 $buttons
 <font color=red>$errtext</font>
-<h1>$url</h1>
 <form name=simpleedit method=post>
 <input type=hidden name=forcesmp value=1>
 <table>
-    <tr><th width="40%">Import</th>
+    <tr><th width="40%">Temporary Assembly Workspace</th>
 <th>&nbsp;</th>
-<th width="40%">Target</th></tr>
+<th width="40%">File: $url</th></tr>
 <tr><td bgcolor="#FFFFCC">
 <input type=button onClick="javascript:groupsearch()" value="Search">
 <input type=button onClick="javascript:groupimport();" value="Import">
@@ -769,9 +770,9 @@
     </td><td>&nbsp;</td><td bgcolor="#FFFFCC">
 
 <input type=button onClick=
-"javascript:impfortarget.value=1;groupsearch()" value="Group Search">
+"javascript:impfortarget.value=1;groupsearch()" value="Search">
 <input type=button onClick=
-"javascript:impfortarget.value=1;groupimport();" value="Group Import">
+"javascript:impfortarget.value=1;groupimport();" value="Import">
 after selected
 <hr>$targetmsg
 <input type=submit name="revert" value="Revert to Last Saved">