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

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


albertel		Thu Sep  9 14:56:01 2004 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - put title of uploaded document on screen BUG#3455
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.140 loncom/interface/londocs.pm:1.141
--- loncom/interface/londocs.pm:1.140	Thu Sep  2 11:26:40 2004
+++ loncom/interface/londocs.pm	Thu Sep  9 14:56:01 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.140 2004/09/02 15:26:40 www Exp $
+# $Id: londocs.pm,v 1.141 2004/09/09 18:56:01 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1787,7 +1787,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>');
   }