--- loncom/interface/portfolio.pm 2009/02/19 11:03:42 1.210
+++ loncom/interface/portfolio.pm 2009/05/19 20:58:51 1.212.2.1
@@ -1,7 +1,7 @@
# The LearningOnline Network
# portfolio browser
#
-# $Id: portfolio.pm,v 1.210 2009/02/19 11:03:42 weissno Exp $
+# $Id: portfolio.pm,v 1.212.2.1 2009/05/19 20:58:51 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -158,6 +158,7 @@ END
'fieldname' => $env{"form.fieldname"},
'continue' => $env{"form.continue"}
);
+ $r->print('
');
$r->print(''.&make_anchor($url,\%anchor_fields,$port_path).'/');
if (@tree > 1){
my $newCurrentPath = '/';
@@ -521,7 +522,7 @@ sub display_directory {
-
+
');
@@ -1545,13 +1546,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 +1580,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 +1722,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;
}
@@ -2137,7 +2138,7 @@ sub missing_priv {
$r->print(&mt('You do not have sufficient privileges to [_1] ',
$longtext->{$priv}));
if (defined($env{'form.group'})) {
- $r->print(&mt("in the group's file repository."));
+ $r->print(&mt("in the group's group portfolio."));
$rtnlink .= &group_args()
} else {
$r->print(&mt('in this portfolio.'));
@@ -2245,7 +2246,7 @@ sub handler {
$r->print(&mt('Not a valid group for this course'));
$earlyout = 1;
}
- $title = &mt('Group files for [_1]', $group);
+ $title = &mt('Group portfolio for [_1]', $group);
} else {
$r->print(&mt('Invalid group'));
$earlyout = 1;