';
- $Str .= 'Course: '; - $Str .= $ENV{'course.'.$ENV{'request.course.id'}.'.description'}; - $Str .= ' | '."\n"; - $Str .= ''; - $Str .= ' |
'.$$codetitles[0].' '."\n". + ' | ';
+ for (my $i=1; $i<$numtitles; $i++) {
+ $output .= ''.$$codetitles[$i].' '."\n". + ''."\n". + ' | ';
+ }
+ $output .= '