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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 04 Dec 2006 21:44:03 -0000


albertel		Mon Dec  4 16:44:03 2006 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm 
  Log:
  - style
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.67 loncom/interface/loncoursegroups.pm:1.68
--- loncom/interface/loncoursegroups.pm:1.67	Mon Dec  4 09:59:56 2006
+++ loncom/interface/loncoursegroups.pm	Mon Dec  4 16:44:02 2006
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.67 2006/12/04 14:59:56 raeburn Exp $
+# $Id: loncoursegroups.pm,v 1.68 2006/12/04 21:44:02 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3139,7 +3139,7 @@
                                            $description,$tools,\%groupinfo,
                                            $gpterm,$ucgpterm,$crstype);
             if ($result ne 'ok') {
-                $r->print(&mt('A problem occurred when creating folders for the new [_1].<br/>[_2]<br />',$gpterm,$result));
+                $r->print(&mt('A problem occurred when creating folders for the new [_1].<br />[_2]<br />',$gpterm,$result));
             }
             $r->print(&mt('[_1] [_2] was created.<br />',$ucgpterm,$groupname));
         } elsif ($action eq 'modify') {
@@ -3767,7 +3767,7 @@
 
     while (($gotlock ne 'ok') && $tries <3) {
         $tries ++;
-        sleep 1;
+        sleep(1);
         $gotlock = &Apache::lonnet::newput('coursegroups',$lockhash,$cdom,$cnum);
     }
     return $gotlock;