'.
@@ -725,7 +732,7 @@ ENDHEADERS
$currentversion.' | ');
# Used in course
my $usedversion=$hash{'version_'.$linkurl};
- if ($usedversion) {
+ if (($usedversion) && ($usedversion ne 'mostrecent')) {
$r->print($usedversion);
} else {
$r->print($currentversion);
@@ -735,7 +742,7 @@ ENDHEADERS
$r->print(&Apache::loncommon::select_form($setversions{$linkurl},
'set_version_'.$linkurl,
('' => '',
- 'current' => 'most recent',
+ 'mostrecent' => 'most recent',
map {$_,$_} (1..$currentversion))));
$r->print(' | ');
my $lastold=1;
@@ -789,7 +796,6 @@ sub handler {
$r->send_http_header;
return OK if $r->header_only;
- &Apache::lonlocal::clearreroutetrans();
# --------------------------------------------- Initialize help topics for this
foreach ('Adding_Course_Doc','Main_Course_Documents',
'Adding_External_Resource','Navigate_Content',
@@ -960,7 +966,9 @@ ENDNEWSCRIPT
# -------------------------------------------------------------------- Body tag
$r->print(''.
&Apache::loncommon::bodytag('Course Documents','',$events,
- '','',$showdoc));
+ '','',$showdoc).
+ &Apache::loncommon::help_open_faq(273).
+ &Apache::loncommon::help_open_bug('RAT'));
unless ($showdoc) {
# -----------------------------------------------------------------------------
my %lt=&Apache::lonlocal::texthash(
@@ -981,7 +989,10 @@ ENDNEWSCRIPT
'sipr' => 'Simple Problem',
'scuf' => 'Score Upload Form',
'bull' => 'Bulletin Board',
- 'mypi' => 'My Personal Info'
+ 'mypi' => 'My Personal Info',
+ 'file' => 'File',
+ 'title' => 'Title',
+ 'comment' => 'Comment'
);
# -----------------------------------------------------------------------------
if ($allowed) {
@@ -1011,7 +1022,7 @@ $dumpbut
ENDCOURSEVERIFY
$r->print(&Apache::loncommon::help_open_topic('Docs_Adding_Course_Doc',
- 'Editing the Table of Contents for your Course'));
+ &mt('Editing the Table of Contents for your Course')));
}
# --------------------------------------------------------- Standard documents
$r->print('');
@@ -1040,11 +1051,11 @@ ENDCOURSEVERIFY
$lt{'spec'} |
-File:
+$lt{'file'}:
| ');
}
}
- $r->print(&Apache::lonlocal::endreroutetrans().' |