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

raeburn raeburn at source.lon-capa.org
Sat Oct 22 11:53:56 EDT 2016


raeburn		Sat Oct 22 15:53:56 2016 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	loncreateuser.pm 
  Log:
  - For 2.11
    - Backport 1.413.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.406.2.3 loncom/interface/loncreateuser.pm:1.406.2.4
--- loncom/interface/loncreateuser.pm:1.406.2.3	Sun Sep 18 18:10:54 2016
+++ loncom/interface/loncreateuser.pm	Sat Oct 22 15:53:55 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.406.2.3 2016/09/18 18:10:54 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.406.2.4 2016/10/22 15:53:55 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6828,15 +6828,15 @@
         }
     }
     if ($response ne '') {
-        $response = '<span class="LC_warning">'.$response.'</span>';
+        $response = '<span class="LC_warning">'.$response.'</span><br />';
     }
     if ($srch->{'srchin'} eq 'instd') {
         my $instd_chk = &instdirectorysrch_check($srch);
         if ($instd_chk ne 'ok') {
             my $domd_chk = &domdirectorysrch_check($srch);
-            $response = '<span class="LC_warning">'.$instd_chk.'</span><br />';
+            $response .= '<span class="LC_warning">'.$instd_chk.'</span><br />';
             if ($domd_chk eq 'ok') {
-                $response = &mt('You may want to search in the LON-CAPA domain instead of the institutional directory.');
+                $response .= &mt('You may want to search in the LON-CAPA domain instead of the institutional directory.');
             }
             $response .= '<br /><br />';
         }
@@ -6845,9 +6845,9 @@
             my $domd_chk = &domdirectorysrch_check($srch);
             if ($domd_chk ne 'ok') {
                 my $instd_chk = &instdirectorysrch_check($srch);
-                $response = '<span class="LC_warning">'.$domd_chk.'</span><br />';
+                $response .= '<span class="LC_warning">'.$domd_chk.'</span><br />';
                 if ($instd_chk eq 'ok') {
-                    $response = &mt('You may want to search in the institutional directory instead of the LON-CAPA domain.');
+                    $response .= &mt('You may want to search in the institutional directory instead of the LON-CAPA domain.');
                 }
                 $response .= '<br /><br />';
             }




More information about the LON-CAPA-cvs mailing list