');
-# ''.&mt('Main Course Documents'). -# ($allowed?' '.$help{'Main_Course_Documents'}:'').''); + my $active = 'style="display: none;"'; + if($activeClass == 0){ + $active = 'style="display: block;"'; + } + $r->print('');
+ $r->print(&Apache::loncommon::help_open_topic('Docs_Adding_Course_Doc',
+ &mt('Editing the Table of Contents for your '.$type)));
my $folder=$env{'form.folder'};
if ($folder eq '' || $folder eq 'supplemental') {
$folder='default';
@@ -2897,11 +2917,6 @@ ERFORM
#$postexec='self.close();';
}
$hadchanges=0;
- my $error = &editor($r,$coursenum,$coursedom,$folder,$allowed,
- $upload_output,$type);
- if ($error) {
- $r->print(' '.$error.' '); - } if ($hadchanges) { &mark_hash_old(); } @@ -3036,46 +3051,9 @@ NASOFORM NROSTFORM - $r->print(<
| |||
');
-# ''.&mt('Supplemental Course Documents'). -# ($allowed?' '.$help{'Supplemental'}:'').''); + my $active = 'style="display: none;"'; + if($activeClass == 1){ + $active = 'style="display: block;"'; + } + $r->print('');
my $folder=$env{'form.folder'};
unless ($folder=~/^supplemental/) {
$folder='supplemental';
@@ -3179,10 +3163,6 @@ ENDBLOCK
$env{'form.folderpath'} = 'supplemental&'.
&escape(&mt('Supplemental '.$type.' Documents'));
}
- my $error = &editor($r,$coursenum,$coursedom,$folder,$allowed,'',$type);
- if ($error) {
- $r->print(' '.$error.' '); - } if ($allowed) { my $folderseq= '/uploaded/'.$coursedom.'/'.$coursenum.'/supplemental_'.time. @@ -3261,30 +3241,33 @@ SNSFORM SNAMFORM - $r->print(<
|