--- loncom/interface/lonhtmlcommon.pm 2008/09/05 22:12:47 1.180 +++ loncom/interface/lonhtmlcommon.pm 2008/10/07 10:13:58 1.182 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.180 2008/09/05 22:12:47 riegler Exp $ +# $Id: lonhtmlcommon.pm,v 1.182 2008/10/07 10:13:58 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -102,18 +102,20 @@ can be used to paste LaTeX into a textar =cut sub dragmath_js { + my ($popup) = @_; return < function mathedit(textarea, doc) { targetEntry = textarea; targetDoc = doc; - newwin = window.open("/adm/dragmath/applet/EditMathPopup.html","","width=565,height=500,resizable"); + newwin = window.open("/adm/dragmath/applet/$popup.html","","width=565,height=500,resizable"); } ENDDRAGMATHJS } + ############################################## ############################################## @@ -1482,6 +1484,13 @@ sub end_pick_box { END return $output; } + +sub row_headline { + my $output = <<"END"; + +END + return $output; +} sub row_title { my ($title,$css_title_class,$css_value_class) = @_;