version 1.62, 2011/01/24 00:59:50
|
version 1.63.6.1, 2013/08/23 00:47:57
|
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.\\n\"All types\" is not allowed.', |
all => 'You must choose a specific course type when making a new course request.', |
|
allt => '"All types" is not allowed.', |
); |
); |
$js .= <<END; |
$js .= <<END; |
if (crschoice == 'official') { |
if (crschoice == 'official') { |
Line 734 END
|
Line 735 END
|
} |
} |
} else { |
} else { |
if (actionchoice == 'new') { |
if (actionchoice == 'new') { |
alert("$lt{'all'}"); |
alert('$lt{'all'}'+'\\n'+'$lt{'allt'}'); |
return false; |
return false; |
} |
} |
} |
} |
Line 3489 sub print_request_outcome {
|
Line 3490 sub print_request_outcome {
|
} |
} |
($storeresult,my $updateresult) = |
($storeresult,my $updateresult) = |
&Apache::loncoursequeueadmin::update_coursereq_status(\%reqhash,$dom, |
&Apache::loncoursequeueadmin::update_coursereq_status(\%reqhash,$dom, |
$cnum,$reqstatus,'request'); |
$cnum,$reqstatus,'request',$env{'user.domain'},$env{'user.name'}); |
if ($modified && $queued && $storeresult eq 'ok') { |
if ($modified && $queued && $storeresult eq 'ok') { |
if ($crstype eq 'community') { |
if ($crstype eq 'community') { |
$output .= '<p>'.&mt('Your community request has been updated').'</p>'; |
$output .= '<p>'.&mt('Your community request has been updated').'</p>'; |