--- loncom/interface/londocs.pm 2025/01/07 21:01:37 1.722
+++ loncom/interface/londocs.pm 2025/02/03 22:52:36 1.723
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.722 2025/01/07 21:01:37 raeburn Exp $
+# $Id: londocs.pm,v 1.723 2025/02/03 22:52:36 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2526,6 +2526,15 @@ sub print_paste_buffer {
&LONCAPA::map::qtescape($env{'docs.markedcopy_title_'.$suffix});
} else {
my $icon = &Apache::loncommon::icon($extension);
+ my $icontext;
+ if ($extension eq 'sequence') {
+ $icontext = &mt('folder icon');
+ } elsif ($extension eq 'page') {
+ $icontext = &mt('composite page icon');
+ } else {
+ $icontext = &mt('file icon');
+ }
+ $icontext = &HTML::Entities::encode($icontext);
if ($extension eq 'sequence' &&
$url =~ m{/default_\d+\.sequence$}x) {
$icon = &Apache::loncommon::lonhttpdurl($r->dir_config('lonIconsURL'));
@@ -2535,7 +2544,7 @@ sub print_paste_buffer {
if ($title eq '') {
($title) = ($url =~ m{/([^/]+)$});
}
- $buffer = ''.
+ $buffer = '
'.
': '.
&Apache::loncommon::parse_supplemental_title(
&LONCAPA::map::qtescape($title));
@@ -4971,16 +4980,18 @@ sub editor {
if (!$allowed) {
$helpitem = 'Supplemental_Navigation';
}
- $toolslink = '
'
+ $toolslink = ' '
+ .' '
.&Apache::loncommon::help_open_menu('Navigation Screen',
$helpitem,undef,'RAT')
- .' | '.&mt('Tools:').' | ' - .'
'.&mt('Tools:').' '
+ .''."\n".'
|