version 1.240.2.22, 2010/12/05 17:22:18
|
version 1.240.2.23, 2010/12/08 06:48:56
|
Line 801 ENDHEADER
|
Line 801 ENDHEADER
|
if ($show_course) { |
if ($show_course) { |
if ($env{'user.domain'} =~ /^\w+citest$/) { |
if ($env{'user.domain'} =~ /^\w+citest$/) { |
$r->print('<h2>'.&mt('Currently no active Concept Tests').'</h2>'); |
$r->print('<h2>'.&mt('Currently no active Concept Tests').'</h2>'); |
} elsif ($env{'user.domain'} =~ /ci$/) { |
} elsif ($env{'user.domain'} =~ /^\w+ci$/) { |
$r->print('<h2>'.&mt('Currently not assigned as a GCI contributor').'</h2>'); |
my $inventory = uc($env{'user.domain'}); |
|
$r->print('<h2>'.&mt('Currently not assigned as a [_1] contributor',$inventory).'</h2>'); |
} |
} |
} else { |
} else { |
$r->print('<h2>'.&mt('Currently no active roles, courses or communities').'</h2>'); |
$r->print('<h2>'.&mt('Currently no active roles, courses or communities').'</h2>'); |
Line 979 sub ci_info_page {
|
Line 980 sub ci_info_page {
|
); |
); |
my $inventory = uc($env{'user.domain'}); |
my $inventory = uc($env{'user.domain'}); |
my %features = ( |
my %features = ( |
review => 'Review and comment on existing $inventory questions', |
review => "Review and comment on existing $inventory questions", |
submit => "Submit $inventory questions of your own", |
submit => "Submit $inventory questions of your own", |
managetest => 'Create an online test for your students', |
managetest => 'Create an online test for your students', |
tutorial => 'View tutorials on creating online tests', |
tutorial => 'View tutorials on creating online tests', |