[LON-CAPA-cvs] cvs: loncom /interface printout.pl

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Wed, 27 Aug 2008 01:38:10 -0000


raeburn		Tue Aug 26 21:38:10 2008 EDT

  Modified files:              
    /loncom/interface	printout.pl 
  Log:
  - Fix link to LaTeX logfile.
  
  
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.136 loncom/interface/printout.pl:1.137
--- loncom/interface/printout.pl:1.136	Thu Aug  7 12:43:18 2008
+++ loncom/interface/printout.pl	Tue Aug 26 21:38:10 2008
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
 #
-# $Id: printout.pl,v 1.136 2008/08/07 16:43:18 bisitz Exp $
+# $Id: printout.pl,v 1.137 2008/08/27 01:38:10 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1071,7 +1071,7 @@
 	    $logfilename=~s{^\Q$perlvar{'lonPrtDir'}\E}{/prtspool};
 	    print "<b><big>"
                  .&mt('The link to [_1]Your log file[_2]'
-                     ,'<a href="$logfilename">'.$logfilename.'</a>')
+                     ,'<a href="'.$logfilename.'">','</a>')
 	         ."</big></b>\n";
 	    #link to original LaTeX file
 	    my $tex_temporary_file=IO::File->new($texfile) || die "Couldn't open tex file $texfile for reading: $!\n";