[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 18 May 2005 16:34:05 -0000


albertel		Wed May 18 12:34:05 2005 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - debug doesn't need br is wraps everything in a <pre> </pre> any way
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.271 loncom/xml/londefdef.pm:1.272
--- loncom/xml/londefdef.pm:1.271	Tue May 17 19:27:25 2005
+++ loncom/xml/londefdef.pm	Wed May 18 12:34:03 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.271 2005/05/17 23:27:25 foxr Exp $
+# $Id: londefdef.pm,v 1.272 2005/05/18 16:34:03 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -3878,10 +3878,10 @@
 sub get_eps_image {
     my ($src)=@_;
     my $orig_src=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1], $src);
-    &Apache::lonxml::debug("get_eps_image: Original image: $orig_src<BR />");
+    &Apache::lonxml::debug("get_eps_image: Original image: $orig_src");
     $src=~s/\.(gif|png|jpg|jpeg)$/\.eps/i;
     $src=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1],$src);
-    &Apache::lonxml::debug("Filelocation gives; $src <BR />");
+    &Apache::lonxml::debug("Filelocation gives: $src");
     if (! -e $src) {
 	&Apache::lonxml::debug("$src does not exist");
 	if (&Apache::lonnet::repcopy($src) ne 'ok' ) {
@@ -3902,7 +3902,7 @@
 		open(FILE,">>/home/httpd/prtspool/$env{'user.name'}_$env{'user.domain'}_printout.dat");
 		my $newsrc=$orig_src;
 		$newsrc =~ s|(.*)/res/|/home/httpd/html/res/|;
-		&Apache::lonxml::debug("queueing $newsrc for dynamic eps production. <BR/>");
+		&Apache::lonxml::debug("queueing $newsrc for dynamic eps production.");
 		print FILE "$newsrc\n";
 		close FILE;
 		$src=~s|/home/httpd/html/res|/home/httpd/prtspool|;