--- modules/gci/londocsgci.pm 2010/01/05 23:54:31 1.9 +++ modules/gci/londocsgci.pm 2010/09/14 06:23:15 1.12 @@ -2,7 +2,7 @@ # Custom Edit Course Routines for Assembly of Valid Concept Tests from # Geoscience Concept Inventory. # -# $Id: londocsgci.pm,v 1.9 2010/01/05 23:54:31 gci Exp $ +# $Id: londocsgci.pm,v 1.12 2010/09/14 06:23:15 gci Exp $ # # Copyright Michigan State University Board of Trustees # @@ -115,7 +115,7 @@ sub setdefaults { $revreqs{$prereqs{$item}} = $item; } @defchosen=('01','02','03','07','12','18','26','32','37','38','47','54','63','66','2004_73'); - @development = ('001','002','003','004','005','006','007','008','009','010','011','012','013','014'); + @development = ('001','002','003','004','005','006','007','008','009','010','011','012','013','014','015','016','017','018','019','020','021','022'); } sub checkvalid { @@ -243,7 +243,8 @@ sub listresources { &Apache::lonhtmlcommon::row_closure(1). &Apache::lonhtmlcommon::row_title(&mt('Close date')). $endform. - &Apache::lonhtmlcommon::end_pick_box().'
'. + &Apache::lonhtmlcommon::row_closure(1). + &Apache::lonhtmlcommon::end_pick_box().'
'. ''. ''. '

'); @@ -309,7 +310,7 @@ sub display_questions { 'value="'.$fixed{$catname}.'" readonly="readonly" />').''; } else { $output .= ''.&mt('[_1]: currently [_2] selected',$catlegend, - '').''; } $output .= ''. @@ -333,7 +334,7 @@ sub display_questions { } elsif ($catname eq 'development') { $output .= ''; } else { - $output .= '{$item}) { $output .= ' checked="checked"'; } $output .= ' onclick="countChecked('."'$catname'".');'; my $binname; @@ -360,6 +361,10 @@ sub display_questions { } $output .= ''.$title.''; my $content=&Apache::lonindexer::showpreview($url); + my $startformtag = '
'; + my $endtag = '