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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 26 Jun 2006 22:23:28 -0000


albertel		Mon Jun 26 18:23:28 2006 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  - was producing invalid xhtml, colors aren't correct yet though.
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.120 loncom/interface/portfolio.pm:1.121
--- loncom/interface/portfolio.pm:1.120	Fri Jun 23 16:15:24 2006
+++ loncom/interface/portfolio.pm	Mon Jun 26 18:23:27 2006
@@ -656,11 +656,11 @@
                             } else {
                                 $r->print(join(',',@{$content->{'roles'}{$id}{$item}}));
                             }
-                            $r->print('</td>');
+                            $r->print('</tr>');
                         }
+			$r->print("</table>");
                     }
-                    $r->print(&Apache::loncommon::end_data_table_row());
-                    $r->print(&Apache::loncommon::end_data_table());
+		    $r->print("</tr></table>");
                 } elsif ($scope eq 'domains') {
                     $r->print(&mt('Domains: ').join(',',@{$content->{'dom'}}));
                 } elsif ($scope eq 'users') {