--- loncom/interface/loncoursegroups.pm 2008/12/16 23:19:19 1.80.2.2
+++ loncom/interface/loncoursegroups.pm 2008/12/03 21:59:37 1.81
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: loncoursegroups.pm,v 1.80.2.2 2008/12/16 23:19:19 raeburn Exp $
+# $Id: loncoursegroups.pm,v 1.81 2008/12/03 21:59:37 schafran Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -76,10 +76,10 @@ sub handler {
my %functions = (
email => 'E-mail',
- discussion => 'Discussion boards',
+ discussion => 'Discussion Boards',
chat => 'Chat',
- files => 'File repository',
- roster => 'Membership roster',
+ files => 'File Repository',
+ roster => 'Membership Roster',
homepage => $ucgpterm.' home page',
);
@@ -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('
'.$lt{'setf'}.'
-
+
-
+
');
}
$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(' '.''.$tool.' ');
}
- $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('
- '.$lt{'algm'}.'
- '.$lt{'smgp'}.' ');
+ '.$lt{'algm'}.'
+ '.$lt{'smgp'}.' ');
} else {
$r->print(' ');
}
@@ -2509,7 +2509,7 @@ sub current_membership {
$r->print(&check_uncheck_tools($r,$available));
$r->print('
-
+
'.$lt{'curf'}.'
@@ -2517,7 +2517,7 @@ sub current_membership {
-
+
');
}
@@ -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(' '.''.$tool.' ');
}
- $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(''.
+ $r->print(''.
' '.
- $lt{'reen'}.' ');
+ $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 {
'.$title.'
-
+
-
+
');
@@ -3534,19 +3534,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(' ('.$$lt{'curr'}.' '.$$lt{$add}.' )');
}
$r->print('
-
- '.$$lt{'auex'}.':
+
+ '.$$lt{'auex'}.':
'.&mt('on').' '.&mt('off').' ');
if ($action eq 'modify') {
$r->print(' ('.$$lt{'curr'}.' '.$$lt{$drop}.' )');
}
- $r->print(' '.$$lt{'mapr'});
+ $r->print(' '.$$lt{'mapr'});
}
sub mapping_settings {
@@ -3706,16 +3706,16 @@ sub member_privs_entries {
if ($privcount == 3) {
$dynamic .= '';
}
- $dynamic .=' ';
+ '';
}
}
- $r->print(' '.$fixed.' '.$dynamic.' ');
+ $r->print(''.$fixed.' '.$dynamic.' ');
} else {
$r->print(' ');
}
@@ -3742,8 +3742,8 @@ sub date_setting_table {
my $endform = &Apache::lonhtmlcommon::date_setter($formname,
'enddate',$endtime);
my $perpetual =
- ' '.
- &mt('None').' ';
+ ' '.
+ &mt('None').' ';
my $table = "