Return to Autoenroll.pl CVS log | Up to [LON-CAPA] / loncom / enrollment |
version 1.23, 2007/01/01 19:19:58 | version 1.24, 2007/03/01 18:58:42 |
---|---|
Line 35 | Line 35 |
use Apache::lonmsg; | use Apache::lonmsg; |
use Apache::longroup; | use Apache::longroup; |
use Apache::loncommon; | use Apache::loncommon; |
use Apache::lonlocal; | |
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 |
#only run if configured to | #only run if configured to |
if (! &localenroll::run($dom)) { next; } | if (! &localenroll::run($dom)) { next; } |
$env{'user.domain'} = $dom; | $env{'user.domain'} = $dom; |
# Determine the courses | # Initialize language handler |
&Apache::lonlocal::get_language_handle(); | |
# Determine the courses | |
my %courses = &Apache::lonnet::courseiddump($dom,'.',1,'.','.','.',1,\@hostids,'Course'); | my %courses = &Apache::lonnet::courseiddump($dom,'.',1,'.','.','.',1,\@hostids,'Course'); |
my %affiliates = (); | my %affiliates = (); |
my %enrollvar = (); | my %enrollvar = (); |