[LON-CAPA-cvs] cvs: loncom /interface lonindexer.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 11 Dec 2006 02:12:09 -0000


albertel		Sun Dec 10 21:12:09 2006 EDT

  Modified files:              
    /loncom/interface	lonindexer.pm 
  Log:
  - the 'All versions' toggle was causing a empty <td> to get added to the listing of directories
  
  
  
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.154 loncom/interface/lonindexer.pm:1.155
--- loncom/interface/lonindexer.pm:1.154	Mon Dec  4 21:55:53 2006
+++ loncom/interface/lonindexer.pm	Sun Dec 10 21:12:08 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.154 2006/12/05 02:55:53 albertel Exp $
+# $Id: lonindexer.pm,v 1.155 2006/12/11 02:12:08 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -799,7 +799,8 @@
     my $i=0;
     while ($i<=11) {
 	$tabtag=join('',$tabtag,"<td>&nbsp;</td>")
-	    if $hash{'display_attrs_'.$i} == 1;
+	    if ($i != 9 &&
+		$hash{'display_attrs_'.$i} == 1);
 	$i++;
     }
     my $valign = ($hash{'display_attrs_7'} == 1 ? 'top' : 'bottom');