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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 29 Jun 2006 17:51:39 -0000


albertel		Thu Jun 29 13:51:39 2006 EDT

  Modified files:              (Branch: version_2_2_X)
    /loncom/auth	lonroles.pm 
  Log:
  - hide course type idea from 2.2
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.162 loncom/auth/lonroles.pm:1.162.2.1
--- loncom/auth/lonroles.pm:1.162	Thu Jun 29 13:10:39 2006
+++ loncom/auth/lonroles.pm	Thu Jun 29 13:51:37 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.162 2006/06/29 17:10:39 albertel Exp $
+# $Id: lonroles.pm,v 1.162.2.1 2006/06/29 17:51:37 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -635,7 +635,7 @@
 # More than one possible role
 # ----------------------------------------------------------------------- Table
     unless (($advanced) || ($nochoose)) {
-	$r->print("<h2>".&mt('Select a Course/Group to Enter')."</h2>\n");
+	$r->print("<h2>".&mt('Select a Course to Enter')."</h2>\n");
     }
     $r->print('<br /><table><tr>');
     unless ($nochoose) { $r->print('<th>&nbsp;</th>'); }
@@ -1012,7 +1012,7 @@
     my ($dcdom,$rowtype) = @_;
     my $output = '<tr bgcolor="#77FF77">'.
                  ' <td colspan="5">';
-    foreach my $type ('Course','Group') {
+    foreach my $type ('Course') {
         my $selectlink = &courselink($dcdom,$rowtype,$type);
         my $ccrole = &Apache::lonnet::plaintext('cc',$type);
         $output.= '<font color="#002200">'.$ccrole.'</font>'.