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

raeburn raeburn@source.lon-capa.org
Tue, 16 Dec 2008 23:45:29 -0000


raeburn		Tue Dec 16 23:45:29 2008 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm 
  Log:
  - Warning inside "LC_warning" div.
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.85 loncom/interface/loncoursegroups.pm:1.86
--- loncom/interface/loncoursegroups.pm:1.85	Tue Dec 16 19:33:36 2008
+++ loncom/interface/loncoursegroups.pm	Tue Dec 16 23:45:29 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.85 2008/12/16 19:33:36 raeburn Exp $
+# $Id: loncoursegroups.pm,v 1.86 2008/12/16 23:45:29 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3956,8 +3956,10 @@
     my ($navmap,$cdom,$url,$groupname) = @_;
     my $allresults;
     if (!defined($navmap)) {
-        $allresults = &mt('Parameters not set for [_1] because the contents of the course could not be retrieved.',$url).' '.
-                      &mt('You need to reinitialize the course.').'<br />';
+        $allresults = '<div class="LC_warning">'.
+                      &mt('Parameters not set for [_1] because the contents of the course could not be retrieved.',$url).' '.
+                      &mt('You need to reinitialize the course.').
+                      '</div>';
     }
     my %hide_settings = (
                            'course' =>  {