[LON-CAPA-cvs] cvs: loncom /interface lonhelper.pm lonprintout.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 17 Jan 2006 18:39:50 -0000
albertel Tue Jan 17 13:39:50 2006 EDT
Modified files:
/loncom/interface lonhelper.pm lonprintout.pm
Log:
- use style file link didn't actually work (BUG#4575)
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.128 loncom/interface/lonhelper.pm:1.129
--- loncom/interface/lonhelper.pm:1.128 Tue Nov 22 07:49:50 2005
+++ loncom/interface/lonhelper.pm Tue Jan 17 13:39:50 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.128 2005/11/22 12:49:50 raeburn Exp $
+# $Id: lonhelper.pm,v 1.129 2006/01/17 18:39:50 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -576,6 +576,7 @@
my $html=&Apache::lonxml::xmlbegin();
my $stateTitle=&mt($state->title());
my $helperTitle = &mt($self->{TITLE});
+ my $browser_searcher_js = &Apache::loncommon::browser_and_searcher_javascript();
my $bodytag = &Apache::loncommon::bodytag($helperTitle,'','');
my $previous = HTML::Entities::encode(&mt("<- Previous"), '<>&"');
my $next = HTML::Entities::encode(&mt("Next ->"), '<>&"');
@@ -586,6 +587,9 @@
$html
<head>
<title>$loncapaHelper: $helperTitle</title>
+ <script type="text/javascript">
+$browser_searcher_js
+ </script>
</head>
$bodytag
HEADER
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.414 loncom/interface/lonprintout.pm:1.415
--- loncom/interface/lonprintout.pm:1.414 Tue Jan 17 13:34:58 2006
+++ loncom/interface/lonprintout.pm Tue Jan 17 13:39:50 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.414 2006/01/17 18:34:58 albertel Exp $
+# $Id: lonprintout.pm,v 1.415 2006/01/17 18:39:50 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2518,7 +2518,7 @@
</defaultvalue>
</string>
<message></td></tr><tr><td align="right">Use style file:</td><td></message>
- <message><input type="text" size="40" name="style_file_value" value="$stylevalue" /> <a href="javascript:openbrowser('helpform','style_file','sty')">Select style file</a> </td><tr><td></message>
+ <message><input type="text" size="40" name="style_file_value" value="$stylevalue" /> <a href="javascript:openbrowser('helpform','style_file_value','sty')">Select style file</a> </td><tr><td></message>
<choices allowempty="1" multichoice="true" variable="showallfoils">
<choice computer="1">Show all foils?</choice>
</choices>