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

riegler lon-capa-cvs-allow@mail.lon-capa.org
Thu, 04 Sep 2008 20:31:59 -0000


riegler		Thu Sep  4 16:31:59 2008 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.196 loncom/homework/response.pm:1.197
--- loncom/homework/response.pm:1.196	Thu Sep  4 10:41:04 2008
+++ loncom/homework/response.pm	Thu Sep  4 16:31:55 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.196 2008/09/04 14:41:04 www Exp $
+# $Id: response.pm,v 1.197 2008/09/04 20:31:55 riegler Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -524,6 +524,7 @@
     my ($id,$field)=@_;
     my $button=&mt('Edit Answer');
     my $helplink=&Apache::loncommon::help_open_topic('Formula_Editor');
+    my $iconpath=$Apache::lonnet::perlvar{'lonIconsURL'};
     return(<<ENDFORMULABUTTON);
 <script language="JavaScript">
 function edit_${id}_${field} (textarea) {
@@ -532,7 +533,7 @@
     newwin = window.open("/adm/dragmath/applet/MaximaPopup.html","","width=565,height=400,resizable");
 }
 </script>
-<a href="javascript:edit_${id}_${field}('${field}');void(0);"><img src='$Apache::lonnet::perlvar{'lonIconsURL'}/stift.gif' /></a>
+<a href="javascript:edit_${id}_${field}('${field}');void(0);"><img src='$iconpath/stift.gif' /></a>
 <input type='button' value='$button' onclick="javascript:edit_${id}_${field}('${field}');void(0);" />$helplink
 ENDFORMULABUTTON
 }