Return to Autoenroll.pl CVS log | Up to [LON-CAPA] / loncom / enrollment |
version 1.20, 2006/05/18 01:09:14 | version 1.22, 2006/07/21 17:47:36 |
---|---|
Line 34 | Line 34 |
use Apache::loncoursedata; | use Apache::loncoursedata; |
use Apache::lonmsg; | use Apache::lonmsg; |
use Apache::longroup; | use Apache::longroup; |
use Apache::loncommon; | |
use HTML::Entities; | use HTML::Entities; |
# Determine the library server's domain and hostID | # Determine the library server's domain and hostID |
Line 51 | Line 52 |
if (! &localenroll::run($dom)) { next; } | if (! &localenroll::run($dom)) { next; } |
$env{'user.domain'} = $dom; | $env{'user.domain'} = $dom; |
# Determine the courses | # Determine the courses |
my %courses = &Apache::lonnet::courseiddump($dom,'.',1,'.','.','.',1,\@hostids); | my %courses = &Apache::lonnet::courseiddump($dom,'.',1,'.','.','.',1,\@hostids,'Course'); |
my %affiliates = (); | my %affiliates = (); |
my %enrollvar = (); | my %enrollvar = (); |
my %reply = (); | my %reply = (); |