--- loncom/interface/loncreatecourse.pm 2003/11/12 21:37:07 1.39
+++ loncom/interface/loncreatecourse.pm 2003/12/09 00:43:47 1.43
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.39 2003/11/12 21:37:07 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.43 2003/12/09 00:43:47 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -48,6 +48,7 @@ use Apache::loncommon;
use Apache::lonratedt;
use Apache::londocs;
use Apache::lonlocal;
+use Apache::londropadd;
# ================================================ Get course directory listing
@@ -243,6 +244,19 @@ sub print_course_creation_page {
&Apache::loncommon::selectcourse_link
('ccrs','clonecourse','clonedomain');
my $coursebrowserjs=&Apache::loncommon::coursebrowser_javascript();
+ my $starttime = time;
+ my $endtime = time+(6*30*24*60*60); # 6 months from now, approx
+ my $date_table = &Apache::londropadd::date_setting_table($starttime,$endtime,'createcourse');
+ my ($krbdef,$krbdefdom) =
+ &Apache::loncommon::get_kerberos_defaults($defdom);
+ my $javascript_validations=&Apache::londropadd::javascript_validations('createcourse',$krbdefdom);
+ my %param = ( formname => 'document.ccrs',
+ kerb_def_dom => $krbdefdom,
+ kerb_def_auth => $krbdef
+ );
+ my $krbform = &Apache::loncommon::authform_kerberos(%param);
+ my $intform = &Apache::loncommon::authform_internal(%param);
+ my $locform = &Apache::loncommon::authform_local(%param);
$r->print(<
Course ID/Number (optional) +
+
+The following entries will be used to identify the course according to the naming scheme adopted by your institution. Your choices will be used to map an internal LON-CAPA course ID to the corresponding course section ID(s) used by the office responsible for providing official class lists for courses at your institution. This mapping is required if you choose to employ automatic population of class lists. +
+Course Code
+
+(to interface with institutional data, e.g., fs03glg231 for Fall 2003 Geology 231)
+
+Section Numbers and corresponding LON-CAPA section/group IDs
+
+(a comma separated list of institutional section numbers, each separated by a colon
+from the (optional) corresponding section/group ID to be used in LON-CAPA e.g., 001:1,002:2)
+
+Crosslisted courses
+
+(a comma separated list of course sections crosslisted with the current course, with each entry including the institutional course section name followed by a colon and then the (optional) groupID to be used in LON-CAPA, e.g., fs03ent231001:ent1,fs03bot231001:bot1,fs03zol231002:bot2)