--- loncom/interface/Attic/londropadd.pm 2003/11/07 21:04:37 1.90
+++ loncom/interface/Attic/londropadd.pm 2004/01/21 00:23:30 1.91.2.1
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to drop and add students in courses
#
-# $Id: londropadd.pm,v 1.90 2003/11/07 21:04:37 matthew Exp $
+# $Id: londropadd.pm,v 1.91.2.1 2004/01/21 00:23:30 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -43,6 +43,7 @@ use Apache::lonhtmlcommon();
use Apache::Constants qw(:common :http REDIRECT);
use Spreadsheet::WriteExcel;
use Apache::lonlocal;
+use localenroll();
###############################################################
###############################################################
@@ -146,7 +147,8 @@ sub print_main_menu {
'enrollone' => 'Enroll a single student',
'modify' => 'Modify student data',
'view' => 'View Class List',
- 'drop' => 'Drop Students');
+ 'drop' => 'Drop Students',
+ 'populate' => 'Automated Enrollment Manager');
$r->print(<
+END
+ if (&localenroll::run() ) {
+ $r->print(<