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

raeburn raeburn@source.lon-capa.org
Wed, 04 Aug 2010 14:20:26 -0000


raeburn		Wed Aug  4 14:20:26 2010 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - Suppress borders in printout if border="0" attribute set in <table> tag.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.418 loncom/xml/londefdef.pm:1.419
--- loncom/xml/londefdef.pm:1.418	Wed Jul 21 02:00:37 2010
+++ loncom/xml/londefdef.pm	Wed Aug  4 14:20:26 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.418 2010/07/21 02:00:37 www Exp $
+# $Id: londefdef.pm,v 1.419 2010/08/04 14:20:26 raeburn Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -2054,7 +2054,7 @@
 	#
 
 	my $table = new Apache::lontable();
-	if ($border ne '') {
+	if ($border ne '' && $border != 0) {
 	    $table->table_border(1);
 	    $table->cell_border(1);
 	}