[LON-CAPA-cvs] cvs: rat(version_2_9_X) / lonratedt.pm

raeburn raeburn@source.lon-capa.org
Fri, 14 Aug 2009 02:16:31 -0000


raeburn		Fri Aug 14 02:16:31 2009 EDT

  Modified files:              (Branch: version_2_9_X)
    /rat	lonratedt.pm 
  Log:
  - Backport parts of 1.95, 1.97.
  
  
Index: rat/lonratedt.pm
diff -u rat/lonratedt.pm:1.94 rat/lonratedt.pm:1.94.2.1
--- rat/lonratedt.pm:1.94	Thu Apr 23 17:31:25 2009
+++ rat/lonratedt.pm	Fri Aug 14 02:16:31 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Edit Handler for RAT Maps
 #
-# $Id: lonratedt.pm,v 1.94 2009/04/23 17:31:25 bisitz Exp $
+# $Id: lonratedt.pm,v 1.94.2.1 2009/08/14 02:16:31 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -627,7 +627,9 @@
    $r->print(&Apache::loncommon::start_page(undef,undef,
 					    {'only_body' => 1,
 					     'bgcolor'   => '#FFFFFF',}).
-	     "<h1>No such directory: $dir</h1>".
+             '<p class="LC_error">'.
+             &mt('No such directory: [_1]','<span class="LC_filename">'.$dir.'</span>').
+             '</p>'.
 	     &Apache::loncommon::end_page());
 }
 
@@ -647,7 +649,7 @@
         );
     }
     my $idx=0;
-    $r->print('<h1>'.$url.'</h1>');
+    $r->print('<p><span class="LC_filename">'.$url.'</span></p>');
     if ($adv) {
 	$r->print('<p class="LC_warning">'
                  .&mt('Map contents are not shown in order.')