[LON-CAPA-cvs] cvs: loncom /homework edit.pm
www
lon-capa-cvs@mail.lon-capa.org
Sat, 10 May 2003 23:04:58 -0000
www Sat May 10 19:04:58 2003 EDT
Modified files:
/loncom/homework edit.pm
Log:
Give name of form element to imagechoice.pl for coordinate pairs.
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.50 loncom/homework/edit.pm:1.51
--- loncom/homework/edit.pm:1.50 Fri May 9 18:10:12 2003
+++ loncom/homework/edit.pm Sat May 10 19:04:58 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.50 2003/05/09 22:10:12 albertel Exp $
+# $Id: edit.pm,v 1.51 2003/05/10 23:04:58 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -627,7 +627,7 @@
$formwidth='&formwidth='.$width.'_'.$Apache::edit::bgimgsrccurdepth;
}
my $result = <<"ENDBUTTON";
-<a href="/cgi-bin/imagechoice.pl?mode=pair&formname=$form&file=$bgfile$formheight$formwidth"
+<a href="/cgi-bin/imagechoice.pl?mode=pair&formname=$form&file=$bgfile$formheight$formwidth&formcoord=$element"
target="imagechoice">Click Coordinate Pair</a>
ENDBUTTON
return $result;