'.&mt('Resource Type (Icon)').''.&mt('Resource or Folder').' | '
+ .&Apache::loncommon::end_data_table_header_row()
.$output.' '
.&Apache::loncommon::end_data_table();
}
@@ -5908,18 +5911,21 @@ $form_end;
} else {
$reinit = &mt('(re-initialize course to access)');
}
- $line.=''.$editlink.$renamelink.'';
- if ($orig_url =~ /$LONCAPA::assess_re/) {
- $line.= ' ';
- if ($curralias ne '') {
- $line.=''.
- $lt{'da'}.'';
- } else {
- $line.=''.
- $lt{'sa'}.'';
+ if ($allowed) {
+ $line.=' | '.$editlink.$renamelink.'';
+ if ($orig_url =~ /$LONCAPA::assess_re/) {
+ $line.= ' ';
+ if ($curralias ne '') {
+ $line.=''.
+ $lt{'da'}.'';
+ } else {
+ $line.=''.
+ $lt{'sa'}.'';
+ }
}
+ $line.=' | ';
}
- $line.='';
+ $line .= ' | ';
my ($link,$nolink);
if (($url=~m{/adm/(coursedocs|supplemental)}) || (!$allowed && $url)) {
if ($allowed && !$env{'request.role.adv'} && !$isfolder && !$ispage) {
@@ -6841,7 +6847,8 @@ sub create_form_ul {
sub startContentScreen {
my ($mode) = @_;
- my $output = '';
+ my $output = '';
+ return '';
}
sub supplemental_base {
@@ -7335,10 +7342,10 @@ sub handler {
@tabids = ('002','dd2','ee2','ff2');
$tid = 2;
} else {
- @tabids = ('aa1','bb1','cc1','ff1');
+ @tabids = ('aa1','bb1','cc1','dd1','ff1');
unless ($env{'form.folderpath'} =~ /\:1$/) {
unshift(@tabids,'001');
- push(@tabids,('dd1','ee1'));
+ push(@tabids,'ee1');
}
}
my $tabidstr = join("','",@tabids);
|