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

bisitz bisitz@source.lon-capa.org
Tue, 24 Feb 2009 12:03:59 -0000


bisitz		Tue Feb 24 12:03:59 2009 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  Added info / warning style to messages about appearance of course in course catalog
  to better highlight the current status
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.282 loncom/interface/loncreateuser.pm:1.283
--- loncom/interface/loncreateuser.pm:1.282	Wed Feb 18 19:34:08 2009
+++ loncom/interface/loncreateuser.pm	Tue Feb 24 12:03:59 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.282 2009/02/18 19:34:08 schafran Exp $
+# $Id: loncreateuser.pm,v 1.283 2009/02/24 12:03:59 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3839,9 +3839,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>';