[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /interface loncreateuser.pm

raeburn raeburn@source.lon-capa.org
Wed, 18 Mar 2009 15:27:14 -0000


raeburn		Wed Mar 18 15:27:14 2009 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/interface	loncreateuser.pm 
  Log:
  - Backport 1.283.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.268.2.6 loncom/interface/loncreateuser.pm:1.268.2.7
--- loncom/interface/loncreateuser.pm:1.268.2.6	Wed Mar 18 15:18:49 2009
+++ loncom/interface/loncreateuser.pm	Wed Mar 18 15:27:13 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.268.2.6 2009/03/18 15:18:49 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.268.2.7 2009/03/18 15:27:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3670,9 +3670,10 @@
     my ($visible,$cansetvis,$vismsgs,$visactions) = &visible_in_cat($cdom,$cnum);
     if (ref($visactions) eq 'HASH') {
         if ($visible) {
-            $output .= '<p>'.$visactions->{'vis'}.'</p>';
+            $output .= '<p class="LC_info">'.$visactions->{'vis'}.'</p>';
         } else {
-            $output .= $visactions->{'miss'}.'<br />'.$visactions->{'yous'}.
+            $output .= '<p class="LC_warning">'.$visactions->{'miss'}.'</p>'
+                       .$visactions->{'yous'}.
                        '<p>'.$visactions->{'gen'}.'<br />'.$visactions->{'coca'};
             if (ref($vismsgs) eq 'ARRAY') {
                 $output .= '<br />'.$visactions->{'make'}.'<ul>';