'.&make_anchor($url,\%anchor_fields,$port_path).'/');
if (@tree > 1){
my $newCurrentPath = '/';
@@ -222,7 +223,7 @@ sub display_usage {
' '."\n".
' '."\n".
' ';
- return $disk_meter;
+ return &Apache::loncommon::head_subbox($disk_meter);
}
sub display_directory_line {
@@ -452,8 +453,7 @@ sub display_directory {
$line .= '';
}
if ($can_modify) {
- my $cat='';
-# src="'.#&Apache::loncommon::lonhttpdurl('/res/adm/pages/catalog.gif').'" />';
+ my $cat='';
my %anchor_fields = (
'rename' => $filename,
currentpath => $current_path
@@ -521,7 +521,7 @@ sub display_directory {
-
+
');
@@ -1357,7 +1357,7 @@ sub standard_settings {
&build_access_summary($r,$count,$chg,%conditionals);
$r->print(&Apache::loncommon::end_data_table());
} else {
- $r->print(&make_anchor($url,\%anchor_fields,&mt('Add conditional access')).' '.&mt('based on domain, username, or course affiliation.'));
+ $r->print(&make_anchor($url,\%anchor_fields,&mt('Add conditional access')).' '.&mt('based on domain, username, or course/community affiliation.'));
}
}
@@ -1545,13 +1545,13 @@ sub course_row {
$r->print('');
}
$r->print('
'.&mt('Add a roles-based condition').
- ' {'domain'}','$content->{'number'}',
'$uctype'".')" value="" />');
$newrole_id = $max_id;
} else {
- $r->print('');
+ $r->print('');
}
$r->print(&add_course_role($num,$newrole_id));
$r->print('');
@@ -1579,7 +1579,7 @@ sub domains_row {
foreach my $dom (@{$all_doms}) {
if ((@{$content->{'dom'}} > 0)
&& (grep(/^\Q$dom\E$/,@{$content->{'dom'}}))) {
- $dom_select .= '';
} else {
$dom_select .= '';
@@ -1721,7 +1721,7 @@ sub role_selectors {
if ($caller eq 'display') {
if ((@{$$content{'roles'}{$role_id}{$item}} > 0) &&
(grep(/^\Q$entry\E$/,@{$$content{'roles'}{$role_id}{$item}}))) {
- $output .= ' ';
next;
}
@@ -1778,8 +1778,23 @@ function getIndexByName(item) {
END_SCRIPT
- $r->print(&mt('Select roles, course status, section(s) and group(s) for users who will be able to access the portfolio file.'));
- $r->print('