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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 03 Jul 2006 00:03:56 -0000


albertel		Sun Jul  2 20:03:56 2006 EDT

  Modified files:              
    /loncom/homework	imagechoice.pm 
  Log:
  - let's actually output the screen that writes the data to the coord screen
  
  
Index: loncom/homework/imagechoice.pm
diff -u loncom/homework/imagechoice.pm:1.11 loncom/homework/imagechoice.pm:1.12
--- loncom/homework/imagechoice.pm:1.11	Tue May 30 08:45:37 2006
+++ loncom/homework/imagechoice.pm	Sun Jul  2 20:03:56 2006
@@ -1,4 +1,4 @@
-# $Id: imagechoice.pm,v 1.11 2006/05/30 12:45:37 www Exp $
+# $Id: imagechoice.pm,v 1.12 2006/07/03 00:03:56 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -26,7 +26,6 @@
 use strict;
 use Apache::Constants qw(:common :http);
 use Apache::lonnet;
-use lib '/home/httpd/lib/perl/';
 use LONCAPA;
  
 
@@ -59,7 +58,7 @@
     my $end_page =
         &Apache::loncommon::end_page();
 
-    my $js=<<"ENDSUBM";
+    $r->print(<<"ENDSUBM");
 $start_page
 <h3>Position Selected</h3>
 $display