--- loncom/interface/loncreatecourse.pm 2002/03/25 19:28:41 1.7
+++ loncom/interface/loncreatecourse.pm 2003/05/04 07:38:32 1.22
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.7 2002/03/25 19:28:41 matthew Exp $
+# $Id: loncreatecourse.pm,v 1.22 2003/05/04 07:38:32 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -44,13 +44,28 @@ package Apache::loncreatecourse;
use strict;
use Apache::Constants qw(:common :http);
use Apache::lonnet;
+use Apache::loncommon;
+use Apache::lonratedt;
+use Apache::londocs;
# ===================================================== Phase one: fill-in form
-sub phase_one {
+sub print_course_creation_page {
my $r=shift;
-
- my $defdom=$ENV{'user.domain'};
+ my $defdom=$ENV{'request.role.domain'};
+ my %host_servers = &Apache::loncommon::get_library_servers($defdom);
+ my $course_home = '\n";
+ my $domform = &Apache::loncommon::select_dom_form($defdom,'ccdomain');
+ my $bodytag=&Apache::loncommon::bodytag('Create a New Course');
+ my $helplink=&Apache::loncommon::help_open_topic('Create_Course','Help on Creating Courses');
$r->print(<