--- loncom/interface/lonindexer.pm 2003/10/24 21:09:24 1.79
+++ loncom/interface/lonindexer.pm 2003/12/22 18:58:26 1.82
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.79 2003/10/24 21:09:24 albertel Exp $
+# $Id: lonindexer.pm,v 1.82 2003/12/22 18:58:26 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -83,6 +83,20 @@ my @Only = ();
my @Omit = ();
+# ------------------------------------------------------- Puts directory header
+
+sub crumbs {
+ my $uri=shift;
+ my $output='
/';
+ my $path='/';
+ foreach (split('/',$uri)) {
+ unless ($_) { next; }
+ $path.=$_.'/';
+ $output.=''.$_.'/';
+ }
+ return $output.'
';
+}
+
# ----------------------------- Handling routine called via Apache and mod_perl
sub handler {
my $r = shift;
@@ -432,10 +446,11 @@ $r->print(&Apache::loncommon::bodytag('B
'av' => 'All versions',
'ud' => 'Update Display'
);
+ my $Displayfileattributes=&mt('Display file attributes');
$r->print(<
-Display file attributes
+$Displayfileattributes