--- loncom/interface/londocs.pm 2012/12/03 14:47:30 1.519
+++ loncom/interface/londocs.pm 2012/12/04 00:39:48 1.520
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.519 2012/12/03 14:47:30 raeburn Exp $
+# $Id: londocs.pm,v 1.520 2012/12/04 00:39:48 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1862,6 +1862,16 @@ sub editor {
&Apache::loncommon::end_data_table_count();
if (($allowed) || ($supplementalflag && $folder eq 'supplemental')) {
+ my $toolslink = '
'
+ .&Apache::loncommon::help_open_menu('Navigation Screen',
+ 'Navigation_Screen',undef,'RAT')
+ .' | '.&mt('Tools:').' | '
+ .' |
';
if ($shown) {
if ($allowed) {
$to_show = &Apache::loncommon::start_scrollbox('900px','880px','400px','contentscroll')
@@ -1879,19 +1889,15 @@ sub editor {
.'
'
.&Apache::loncommon::end_scrollbox();
} else {
- $to_show = ''.&Apache::loncommon::help_open_menu('Navigation Screen','Navigation_Screen',undef,'RAT')
- .' | '.&mt('Tools:').' | '
- .' |
'
+ $to_show .= $toolslink
.&Apache::loncommon::start_data_table('LC_tableOfContent')
.$output.' '
.&Apache::loncommon::end_data_table();
}
} else {
+ if (!$allowed) {
+ $to_show .= $toolslink;
+ }
$to_show .= &Apache::loncommon::start_scrollbox('400px','380px','200px','contentscroll')
.''
.&mt('Currently no documents.')