--- loncom/interface/lonindexer.pm 2018/08/07 17:41:40 1.228
+++ loncom/interface/lonindexer.pm 2025/03/18 19:36:59 1.232
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.228 2018/08/07 17:41:40 raeburn Exp $
+# $Id: lonindexer.pm,v 1.232 2025/03/18 19:36:59 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -584,7 +584,7 @@ END
$r->print(&Apache::loncommon::start_data_table("LC_tableBrowseRes")
.&Apache::loncommon::start_data_table_header_row());
$r->print("
".&mt('Name')." | \n");
- $r->print(" | \n");
+ $r->print(''.&mt('Add to Stored Links')." | \n");
$r->print("".&mt('Title')." | \n")
if ($hash{'display_attrs_0'} == 1);
$r->print(''.&mt("Size")." (".&mt("bytes").") ".
@@ -721,7 +721,7 @@ sub scanDir {
}
if ($udom ne '' && $uname ne '') {
# Don't display "course author" directory.
- next if (&Apache::lonnet::is_course($udom.'_'.$uname));
+ next if (&Apache::lonnet::is_course($udom,$uname));
}
}
my (@fileparts) = split(/\./,$strip);
@@ -1121,8 +1121,13 @@ $r->print ('print (" $listname ");
+ $r->print (" $listname ");
$quotable_filelink = &Apache::loncommon::escape_single($filelink.'.meta');
&Apache::loncommon::inhibit_menu_check(\$quotable_filelink);
$r->print (" (".&mt('metadata').") ");
|