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

raeburn raeburn at source.lon-capa.org
Sat May 2 16:57:13 EDT 2020


raeburn		Sat May  2 20:57:13 2020 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	loncreateuser.pm 
  Log:
  - For 2.11
    Backport 1.453
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.406.2.17 loncom/interface/loncreateuser.pm:1.406.2.18
--- loncom/interface/loncreateuser.pm:1.406.2.17	Tue Aug 27 14:45:04 2019
+++ loncom/interface/loncreateuser.pm	Sat May  2 20:57:12 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.406.2.17 2019/08/27 14:45:04 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.406.2.18 2020/05/02 20:57:12 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7077,9 +7077,10 @@
     my ($nav_script,$nav_links);
 
 # table header
-    my $tableheader = '<h3>'.
+    my $heading = '<h3>'.
         &mt('User access logs for: [_1]',
-            &Apache::loncommon::aboutmewrapper(&Apache::loncommon::plainname($uname,$udom),$uname,$udom)).'</h3>'
+            &Apache::loncommon::aboutmewrapper(&Apache::loncommon::plainname($uname,$udom),$uname,$udom)).'</h3>';
+    my $tableheader = $heading
        .&Apache::loncommon::start_data_table_header_row()
        .'<th> </th>'
        .'<th>'.&mt('When').'</th>'
@@ -7197,7 +7198,7 @@
         $r->print(&Apache::loncommon::end_data_table().
                   &userlogdisplay_navlinks(\%curr,$more_records));
     } else { # No content displayed above
-        $r->print('<p class="LC_info">'
+        $r->print($heading.'<p class="LC_info">'
                  .&mt('There are no records to display.')
                  .'</p>');
     }




More information about the LON-CAPA-cvs mailing list