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

bisitz bisitz@source.lon-capa.org
Mon, 11 May 2009 16:10:34 -0000


bisitz		Mon May 11 16:10:34 2009 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm loncommon.pm 
  Log:
  Replaced table using special style "thinborder" by fieldset (group settings: specific privs for each user).
  Removed now totally unused style "thinborder".
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.99 loncom/interface/loncoursegroups.pm:1.100
--- loncom/interface/loncoursegroups.pm:1.99	Thu May  7 16:36:33 2009
+++ loncom/interface/loncoursegroups.pm	Mon May 11 16:10:33 2009
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.99 2009/05/07 16:36:33 bisitz Exp $
+# $Id: loncoursegroups.pm,v 1.100 2009/05/11 16:10:33 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2958,9 +2958,8 @@
                     foreach my $tool (@{$tools}) {
                         if (@{$showboxes{$tool}} > 0) {
                             $r->print('<td valign="top">');
-                            $r->print('<table class="thinborder"><tr>'.
-				      '<th colspan="'.$colspan.'">'.
-                                      &mt($tool).'</th></tr><tr>');
+                            $r->print('<fieldset><legend>'.&mt($tool).'</legend>');
+                            $r->print('<table><tr>');
                             my $privcount = 0;
                             foreach my $priv (@{$showboxes{$tool}}) {
                                 $privcount ++;
@@ -2995,7 +2994,7 @@
                                     }
                                 }
                             }
-                            $r->print('</tr></table></td><td>&nbsp;</td>');
+                            $r->print('</tr></table></fieldset></td><td>&nbsp;</td>');
                         }
                     }
                     $r->print('</tr></table>');
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.809 loncom/interface/loncommon.pm:1.810
--- loncom/interface/loncommon.pm:1.809	Mon May 11 14:13:51 2009
+++ loncom/interface/loncommon.pm	Mon May 11 16:10:33 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.809 2009/05/11 14:13:51 bisitz Exp $
+# $Id: loncommon.pm,v 1.810 2009/05/11 16:10:33 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4577,20 +4577,6 @@
   background: yellow 
 }
 
-table.thinborder,
-table.thinborder tr th {
-  border-style: solid;
-  border-width: 1px;
-  border-color: $lg_border_color;
-  background: $tabbg;
-}
-
-table.thinborder tr td {
-  border-style: solid;
-  border-width: 1px;
-  border-color: $lg_border_color;
-}
-
 form, .inline { 
    display: inline; 
 }