--- loncom/interface/loncoursegroups.pm 2008/12/06 12:49:17 1.82
+++ loncom/interface/loncoursegroups.pm 2008/12/11 14:55:15 1.83
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: loncoursegroups.pm,v 1.82 2008/12/06 12:49:17 bisitz Exp $
+# $Id: loncoursegroups.pm,v 1.83 2008/12/11 14:55:15 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1553,11 +1553,11 @@ sub open_list_window {
my ($group,$status,$count,$text) = @_;
my $entry;
if ($count > 0) {
- $entry = ''.$text.' - '.$count.
- '
';
+ '
';
} else {
- $entry = ''.$text.' - '.$count.'
';
+ $entry = ''.$text.' - '.$count.'
';
}
return $entry;
}
@@ -2065,13 +2065,13 @@ sub pick_new_members {
if (@{$available} > 0 && $granularity eq 'Yes') {
$r->print('
| ');
}
$r->print('
@@ -2094,13 +2094,13 @@ sub pick_new_members {
if ($granularity eq 'Yes') {
$r->print(&Apache::loncommon::start_data_table_row('LC_data_table_dense LC_data_table_highlight').'
|
- '.&mt('All:').' ');
+ '.&mt('All:').' ');
foreach my $tool (@{$available}) {
$r->print(' ');
}
- $r->print(' | ');
+ $r->print(' | ');
}
}
my %Sortby = ();
@@ -2134,7 +2134,7 @@ sub pick_new_members {
''.$id.' | '.
''.$section.' | ');
if (@{$available} > 0) {
- $r->print(''.
+ $r->print(''.
' ');
foreach my $tool (@{$available}) {
if ($granularity eq 'Yes') {
@@ -2145,7 +2145,7 @@ sub pick_new_members {
$tool.'" value="'.$user.'" />'.$tool.' ');
}
}
- $r->print(' | ');
+ $r->print(' | ');
}
$r->print(&Apache::loncommon::end_data_table_row()."\n");
}
@@ -2232,8 +2232,8 @@ sub privilege_specificity {
if ($totaloptionalprivs) {
$r->print('
-
-
');
+
+
');
} else {
$r->print('');
}
@@ -2509,7 +2509,7 @@ sub current_membership {
$r->print(&check_uncheck_tools($r,$available));
$r->print('
-
+
-
+
|
');
}
@@ -2552,14 +2552,14 @@ END
if ($granularity eq 'Yes') {
$r->print(&Apache::loncommon::start_data_table_row('LC_data_table_dense LC_data_table_highlight').'
|
- '.&mt('All:').
+ '.&mt('All:').
' ');
foreach my $tool (@{$available}) {
$r->print(' ');
}
- $r->print(' | ');
+ $r->print(' | ');
}
}
my %Sortby = ();
@@ -2587,25 +2587,25 @@ END
$r->print(&Apache::loncommon::start_data_table_row('LC_data_table_dense').'
');
if ($$current{$user}{changestate} eq 'reenable') {
- $r->print(' ');
+ $lt{'reen'}.' ');
} elsif ($$current{$user}{changestate} eq 'expire') {
- $r->print(''.
+ $r->print(''.
''.
- $lt{'expi'}.' ');
+ $lt{'expi'}.' ');
} elsif ($$current{$user}{changestate} eq 'activate') {
- $r->print(''.
+ $r->print(''.
''.
- $lt{'acti'}.' ');
+ $lt{'acti'}.' ');
}
- $r->print(''.
+ $r->print(''.
''.
- $lt{'dele'}.'');
+ $lt{'dele'}.'');
if ($specificity eq 'Yes') {
- $r->print(' '.
+ $r->print(' '.
''.$lt{'chpr'}.
- '');
+ '');
}
$r->print('
| '.
@@ -2616,7 +2616,7 @@ END
''.$start.' | '.
''.$end.' | ');
if ($hastools) {
- $r->print(''.
+ $r->print(''.
' ');
foreach my $tool (@{$$current{$user}{currtools}}) {
if ($granularity eq 'Yes') {
@@ -2632,23 +2632,23 @@ END
}
$r->print(' ');
}
- $r->print(' | ');
+ $r->print(' | ');
}
if ($addtools) {
$r->print('');
if ($granularity eq 'Yes') {
foreach my $tool (@{$$current{$user}{newtools}}) {
- $r->print('print(''.$tool.
- ' ');
+ ' ');
}
} else {
foreach my $tool (@{$$current{$user}{newtools}}) {
- $r->print('print(''.$tool.
- ' ');
+ ' ');
}
}
$r->print(' | ');
@@ -2669,13 +2669,13 @@ sub check_uncheck_buttons {
|
');
@@ -3533,19 +3533,19 @@ sub automapping {
}
$r->print(&Apache::lonhtmlcommon::topic_bar($image,$$lt{'endi'}).'
'.$$lt{'gmma'}.':
'.$$lt{'adds'}.'
'.$$lt{'drops'}.'
- '.$$lt{'auad'}.':
+ '.$$lt{'auad'}.':
'.&mt('on').' '.&mt('off').'');
if ($action eq 'modify') {
$r->print(' ('.&mt('Currently set to [_1].',''.$$lt{$add}.'').')');
}
$r->print('
-
- '.$$lt{'auex'}.':
+
+ '.$$lt{'auex'}.':
'.&mt('on').' '.&mt('off').'');
if ($action eq 'modify') {
$r->print(' ('.&mt('Currently set to [_1].',''.$$lt{$drop}.'').')');
}
- $r->print('
'.$$lt{'mapr'});
+ $r->print('
'.$$lt{'mapr'});
}
sub mapping_settings {
@@ -3705,16 +3705,16 @@ sub member_privs_entries {
if ($privcount == 3) {
$dynamic .= '';
}
- $dynamic .=' | ';
+ '';
}
}
- $r->print('
'.$fixed.' |
'.$dynamic.'
');
+ $r->print(''.$fixed.' |
'.$dynamic.'
');
} else {
$r->print(' | ');
}
@@ -3741,8 +3741,8 @@ sub date_setting_table {
my $endform = &Apache::lonhtmlcommon::date_setter($formname,
'enddate',$endtime);
my $perpetual =
- ''.
- &mt('None').'';
+ ''.
+ &mt('None').'';
my $table = "