");
$r->print(&Apache::loncommon::end_data_table_row());
}
@@ -1088,14 +1111,14 @@ Note: Any students previously added manu
if ($update) {
$r->print(' '.$commentary.'
');
} else {
$r->print(&mt('Update of photos via the Automated Enrollment Manager is unavailable in this domain.')
- .'
');
+ .'
');
}
} else {
$r->print('Update of photos is unavailable, as import of student photos is currently disabled. Enable this first via: '.$$tasktitleref{'photos'}.'');
@@ -1132,7 +1155,8 @@ onclick="javascript:document.photoupdate
my ($indexhash,$keylist) = &Apache::lonuserutils::make_keylist_array();
my $classlist = &Apache::loncoursedata::get_classlist();
my $secidx = &Apache::loncoursedata::CL_SECTION();
- my ($permission,$allowed) = &Apache::lonuserutils::get_permission();
+ my $crstype =&Apache::loncommon::course_type();
+ my ($permission,$allowed) = &Apache::lonuserutils::get_permission('course',$crstype);
foreach my $student (keys(%{$classlist})) {
if (exists($permission->{'view_section'})) {
if ($classlist->{$student}[$secidx] ne $permission->{'view_section'}) {
@@ -1230,14 +1254,17 @@ END
}
sub notifier_tables {
- my ($role,$lt,$users,$status,$notifystate,$pname,$notifyshow) = @_;
+ my ($role,$lt,$users,$status,$notifystate,$pname,$notifyshow,$olddomcoord,
+ $futuredomcoord) = @_;
my $output = &Apache::loncommon::start_data_table();
$output .= &Apache::loncommon::start_data_table_header_row();
$output .= "
$$lt{name}
$$lt{usnm}
";
- if ($role eq 'cc') {
+ if ($role eq 'dc') {
+ $output .= "