\n ");
+ if ($mode eq 'autoenroll') {
+ my $lockedtype = $sdata->[$index{'lockedtype'}];
+ $studentcount++;
+ my $cellentry;
+ if ($type eq 'auto') {
+ $cellentry = ''.&mt('auto').' Change';
+ $autocount ++;
+ } else {
+ $cellentry = '';
+ }
+ $r->print("$cellentry | \n ");
+ } else {
+ $r->print(" | ".(++$studentcount)." | \n ");
+ }
if ($linkto eq 'nothing') {
$r->print($username);
} elsif ($linkto eq 'aboutme') {
@@ -1384,17 +1419,8 @@ END
| $section |
$start |
$end |
+
END
- if ($mode eq 'autoenroll') {
- my $longtype = &mt('manual').' ';
- if ($type eq 'auto') {
- $longtype = &mt('auto').' ';
- }
- $r->print("