');
for (my $k=0; $k<$lasttitle-1; $k++) {
my @unsorted = @{$cat_items{$codetitles[$k]}};
@@ -236,22 +249,49 @@ function setCourseId(caller) {
''."\n".''."\n".
''
);
+ if (&user_is_dc($codedom)) {
+ my $showdetails_status;
+ if ($env{'form.showdetails'}) {
+ $showdetails_status = 'checked="checked" ';
+ }
+ $r->print(' | '.&mt('Show full details for each course (DC only)').' | ');
+ }
$r->print('