[LON-CAPA-cvs] cvs: loncom /homework randomlabel.pm

matthew lon-capa-cvs@mail.lon-capa.org
Fri, 08 Mar 2002 18:31:27 -0000


matthew		Fri Mar  8 13:31:27 2002 EDT

  Modified files:              
    /loncom/homework	randomlabel.pm 
  Log:
  Added call to &Apache::edit::search().
  
  
Index: loncom/homework/randomlabel.pm
diff -u loncom/homework/randomlabel.pm:1.17 loncom/homework/randomlabel.pm:1.18
--- loncom/homework/randomlabel.pm:1.17	Wed Mar  6 16:56:27 2002
+++ loncom/homework/randomlabel.pm	Fri Mar  8 13:31:27 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # random labelling tool
 #
-# $Id: randomlabel.pm,v 1.17 2002/03/06 21:56:27 matthew Exp $
+# $Id: randomlabel.pm,v 1.18 2002/03/08 18:31:27 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -102,8 +102,9 @@
     $bgimg.'}\setlength{\unitlength}{1mm}  \begin{picture}('.$texwidth.','.$texwidth*$h/$w.')'
   } elsif ($target eq 'edit') {
     $result.=&Apache::edit::tag_start($target,$token);
-    $result.=&Apache::edit::text_arg('Image:','bgimg',$token,75);
-    $result.=&Apache::edit::browse('bgimg').'<br />'.
+    $result.=&Apache::edit::text_arg('Image:','bgimg',$token,75).' ';
+    $result.=&Apache::edit::browse('bgimg').' ';
+    $result.=&Apache::edit::search('bgimg').'<br />'.
         &Apache::edit::text_arg('Width(pixel):' ,'width'   ,$token,6).
         &Apache::edit::text_arg('Height(pixel):','height'  ,$token,6).
         &Apache::edit::text_arg('TeXWidth(mm):' ,'texwidth',$token,6).