[LON-CAPA-cvs] cvs: loncom(version_1_2_X) /interface londocs.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 09 Sep 2004 18:57:22 -0000


albertel		Thu Sep  9 14:57:22 2004 EDT

  Modified files:              (Branch: version_1_2_X)
    /loncom/interface	londocs.pm 
  Log:
  - backport 1.141
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.137.2.1 loncom/interface/londocs.pm:1.137.2.2
--- loncom/interface/londocs.pm:1.137.2.1	Sun Aug 29 03:54:40 2004
+++ loncom/interface/londocs.pm	Thu Sep  9 14:57:21 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.137.2.1 2004/08/29 07:54:40 albertel Exp $
+# $Id: londocs.pm,v 1.137.2.2 2004/09/09 18:57:21 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1577,7 +1577,8 @@
     $r->print('</table>');
   } else {
 # -------------------------------------------------------- This is showdoc mode
-      $r->print("<h1>".&mt('Uploaded Document').'</h1><p>'.
+      $r->print("<h1>".&mt('Uploaded Document').' - '.
+		&Apache::lonnet::gettitle($r->uri).'</h1><p>'.
 &mt('It is recommended that you use an up-to-date virus scanner before handling this file.')."</p><p><table>".
          &entryline(0,&mt("Click to download or use your browser's Save Link function"),$showdoc).'</table></p>');
   }