--- modules/gci/londocsgci.pm 2009/11/27 23:48:25 1.3 +++ modules/gci/londocsgci.pm 2009/12/02 18:35:59 1.4 @@ -2,7 +2,7 @@ # Custom Edit Course Routines for Assembly of Valid Concept Tests from # Geoscience Concept Inventory. # -# $Id: londocsgci.pm,v 1.3 2009/11/27 23:48:25 gci Exp $ +# $Id: londocsgci.pm,v 1.4 2009/12/02 18:35:59 gci Exp $ # # Copyright Michigan State University Board of Trustees # @@ -164,6 +164,7 @@ sub editor { foreach my $item (@chosen) { $chosen{$item}=1; } + &Apache::lonnet::appenv({'request.gcicontext' => 'buildtest'}); $r->print('
'); $r->print('

'.&mt('You may select test items from the list below and then press "Store Problem Selection" at the bottom of the screen.').'

'); $r->print('

'.&mt('Tests should have at least one item from each bin and [_1] items total.',$reqnum).'

'); @@ -190,6 +191,7 @@ sub editor { $r->print(&Apache::loncommon::end_data_table()); $r->print(''); $r->print('
'); + &Apache::lonnet::delenv('request.gcicontext'); } sub evaluate {