version 1.4, 2008/06/03 03:07:38
|
version 1.5, 2008/06/23 15:52:52
|
Line 431 sub print_selfenroll_types {
|
Line 431 sub print_selfenroll_types {
|
} |
} |
} |
} |
} else { |
} else { |
$output = &mt('Self-enrollment in this course is only available to users in the following domains (with the following status): ').'<ul>'; |
$output = &mt('Self-enrollment in this course is only available to users in the following domains (with the following status):').' <ul>'; |
foreach my $selfdom (sort(keys(%{$longtypes}))) { |
foreach my $selfdom (sort(keys(%{$longtypes}))) { |
if (ref($longtypes->{$selfdom}) eq 'ARRAY') { |
if (ref($longtypes->{$selfdom}) eq 'ARRAY') { |
$output .= '<li>'.$selfdom.': '.join(', ',@{$longtypes->{$selfdom}}).'</li>'; |
$output .= '<li>'.$selfdom.': '.join(', ',@{$longtypes->{$selfdom}}).'</li>'; |
Line 440 sub print_selfenroll_types {
|
Line 440 sub print_selfenroll_types {
|
$output .= '</ul>'; |
$output .= '</ul>'; |
} |
} |
} else { |
} else { |
$output = &mt('Self-enrollment is not currently available in this course'); |
$output = &mt('Self-enrollment is not currently available for this course.'); |
} |
} |
} |
} |
return $output; |
return $output; |