--- loncom/homework/randomlabel.pm 2002/03/06 21:56:27 1.17
+++ loncom/homework/randomlabel.pm 2002/03/08 18:31:27 1.18
@@ -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 @@ sub start_randomlabel {
$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').'
'.
+ $result.=&Apache::edit::text_arg('Image:','bgimg',$token,75).' ';
+ $result.=&Apache::edit::browse('bgimg').' ';
+ $result.=&Apache::edit::search('bgimg').'
'.
&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).