[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm

bisitz bisitz@source.lon-capa.org
Fri, 12 Jun 2009 09:19:22 -0000


bisitz		Fri Jun 12 09:19:22 2009 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  DC ad hoc roles line:
  - Removed unnecessary table
  - Corrected &mt usage (don't translate twice)
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.226 loncom/auth/lonroles.pm:1.227
--- loncom/auth/lonroles.pm:1.226	Thu Jun 11 19:02:27 2009
+++ loncom/auth/lonroles.pm	Fri Jun 12 09:19:21 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.226 2009/06/11 19:02:27 raeburn Exp $
+# $Id: lonroles.pm,v 1.227 2009/06/12 09:19:21 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1529,21 +1529,15 @@
     my ($dcdom,$rowtype) = @_;
     my $output = &Apache::loncommon::continue_data_table_row()
                  .' <td colspan="5">'
-                 .'<table><tr><td>'
                  .&mt('[_1]Ad hoc[_2] roles in domain [_3] --'
                      ,'<span class="LC_cusr_emph">','</span>',$dcdom)
-                 .'</td>'
-                 .'<td>';
+                 .' ';
     my $selectcclink = &courselink($dcdom,$rowtype);
     my $ccrole = &Apache::lonnet::plaintext('cc');
     my $carole = &Apache::lonnet::plaintext('ca');
     my $selectcalink = &coauthorlink($dcdom,$rowtype);
-    $output.=&mt('[_1]: [_2]',$ccrole,$selectcclink)
-            .'<br /></td>'
-            .'<td>&nbsp;&nbsp;</td>'
-            .'<td>'.&mt('[_1]: [_2]',$carole,$selectcalink).'<br /></td>'
-            .'</tr></table>'
-            .'</td>'
+    $output.=$ccrole.': '.$selectcclink
+            .' | '.$carole.': '.$selectcalink
             .&Apache::loncommon::end_data_table_row();
     return $output;
 }