version 1.63.6.1, 2013/08/23 00:47:57
|
version 1.64, 2012/08/14 15:45:06
|
Line 712 END
|
Line 712 END
|
official => 'You are not permitted to request creation of an official course in this domain.', |
official => 'You are not permitted to request creation of an official course in this domain.', |
unofficial => 'You are not permitted to request creation of an unofficial course in this domain.', |
unofficial => 'You are not permitted to request creation of an unofficial course in this domain.', |
community => 'You are not permitted to request creation of a community this domain.', |
community => 'You are not permitted to request creation of a community this domain.', |
all => 'You must choose a specific course type when making a new course request.', |
all => 'You must choose a specific course type when making a new course request.\\n\"All types\" is not allowed.', |
allt => '"All types" is not allowed.', |
|
); |
); |
$js .= <<END; |
$js .= <<END; |
if (crschoice == 'official') { |
if (crschoice == 'official') { |
Line 735 END
|
Line 734 END
|
} |
} |
} else { |
} else { |
if (actionchoice == 'new') { |
if (actionchoice == 'new') { |
alert('$lt{'all'}'+'\\n'+'$lt{'allt'}'); |
alert("$lt{'all'}"); |
return false; |
return false; |
} |
} |
} |
} |
Line 3334 sub print_request_outcome {
|
Line 3333 sub print_request_outcome {
|
}; |
}; |
my (@inststatuses,$storeresult,$creationresult); |
my (@inststatuses,$storeresult,$creationresult); |
my $val = |
my $val = |
&Apache::loncoursequeueadmin::get_processtype($env{'user.name'},$env{'user.domain'}, |
&Apache::loncoursequeueadmin::get_processtype('course',$env{'user.name'}, |
$env{'user.adv'},$dom,$crstype,\@inststatuses,\%domconfig); |
$env{'user.domain'},$env{'user.adv'}, |
|
$dom,$crstype,\@inststatuses,\%domconfig); |
if ($val eq '') { |
if ($val eq '') { |
if ($crstype eq 'official') { |
if ($crstype eq 'official') { |
$output = &mt('You are not permitted to request creation of official courses.'); |
$output = &mt('You are not permitted to request creation of official courses.'); |