--- loncom/interface/lonrequestcourse.pm 2009/09/08 13:05:00 1.31
+++ loncom/interface/lonrequestcourse.pm 2009/09/09 15:49:26 1.33
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Request a course
#
-# $Id: lonrequestcourse.pm,v 1.31 2009/09/08 13:05:00 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.33 2009/09/09 15:49:26 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1639,8 +1639,13 @@ sub print_personnel_menu {
}
if ($persontotal) {
+ my %lt = &Apache::lonlocal::texthash(
+ community => 'Requestor is automatically assigned Coordinator role.',
+ official => 'Requestor is automatically assigned Course Coordinator role.',
+ );
+ $lt{'unofficial'} = $lt{'official'};
$output .= &Apache::lonhtmlcommon::row_headline().
- '
'.&mt('Requestor is automatically assigned Course Coordinator role.').' '.&mt('Include other personnel?').'
';
+ ''.$lt{$crstype}.' '.&mt('Include other personnel?').'
';
}
for (my $i=0; $i<$persontotal; $i++) {
my @linkargs = map { 'person_'.$i.'_'.$_ } (@items);
@@ -1682,8 +1687,8 @@ sub print_personnel_menu {
''.&mt('First Name').' '.$form_elems{'firstname'}.' | '."\n".
''.&mt('Last Name').' '.$form_elems{'lastname'}.' | '."\n".
''.&mt('E-mail').' '.$form_elems{'emailaddr'}.' | '."\n".
- ''.&mt('Role').' '.$roleselector.' | '."\n".
- ''.&mt('Section(s)').' '.$sectionselector.' | '."\n".
+ '
'.&mt('Role').&Apache::loncommon::help_open_topic('Course_Roles').' '.$roleselector.' | '."\n".
+ ''.&mt('LON-CAPA Section(s)').' '.$sectionselector.' | '."\n".
'
'.&Apache::lonhtmlcommon::row_closure();
}
$output .= &Apache::lonhtmlcommon::row_title(&mt('Add another?')).
@@ -2210,14 +2215,18 @@ sub dates_from_form {
sub courseinfo_form {
my ($dom,$formname,$crstype,$next) = @_;
- my $nodescr = &mt('You must provide a (brief) course description.');
+ my %lt = &Apache::lonlocal::texthash(
+ official => 'You must provide a (brief) course description.',
+ community => 'You must provide a (brief) community description.'
+ );
+ $lt{'unofficial'} = $lt{'official'};
my $js_validate = <<"ENDJS";