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

banghart lon-capa-cvs@mail.lon-capa.org
Tue, 12 Oct 2004 00:08:44 -0000


banghart		Mon Oct 11 20:08:44 2004 EDT

  Modified files:              
    /loncom/homework	essayresponse.pm 
  Log:
  	Added text area to hold returned files from 
  	select file function in porfolio.pm
  
  
Index: loncom/homework/essayresponse.pm
diff -u loncom/homework/essayresponse.pm:1.38 loncom/homework/essayresponse.pm:1.39
--- loncom/homework/essayresponse.pm:1.38	Wed Oct  6 14:50:14 2004
+++ loncom/homework/essayresponse.pm	Mon Oct 11 20:08:44 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # essay (ungraded) style responses
 #
-# $Id: essayresponse.pm,v 1.38 2004/10/06 18:50:14 banghart Exp $
+# $Id: essayresponse.pm,v 1.39 2004/10/12 00:08:44 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -51,9 +51,10 @@
 	my $uploadedfile= &HTML::Entities::encode($Apache::lonhomework::history{"resource.$part.$id.uploadedfile"},'<>&"');
 	$result='<br /><table border="1">';
 	$result.='<tr><td>'.
-        '<a href='."'".'javascript:void(window.open("/adm/portfolio?mode=pickfile","cat","height=300,'.
+        '<a href='."'".'javascript:void(window.open("/adm/portfolio?action=selectfile","cat","height=300,'.
         'width=500,scrollbars=1,resizable=1,menubar=0,location=1"))'."'".'>Select Portfolio Files</a>'.
         '<br />'.
+            '<input type="textarea" name="selectedfiles" value="select files will appear here" /><br />'.
 	    '<input type="radio" name="HWDRAFT'.$part.'_'.$id.'" value="yes" checked> '.
 	    &mt('Submit entries below as answer to receive credit').' <br />'.
 	    '<input type="radio" name="HWDRAFT'.$part.'_'.$id.'" value="no"> '.