--- loncom/interface/loncommon.pm 2009/08/14 07:49:01 1.692.4.7 +++ loncom/interface/loncommon.pm 2009/08/14 08:25:33 1.692.4.10 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.692.4.7 2009/08/14 07:49:01 raeburn Exp $ +# $Id: loncommon.pm,v 1.692.4.10 2009/08/14 08:25:33 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -483,26 +483,16 @@ ENDAUTHORBRW sub coursebrowser_javascript { my ($domainfilter,$sec_element,$formname)=@_; my $crs_or_grp_alert = &mt('Please select the type of LON-CAPA entity - Course or Community - for which you wish to add/modify a user role'); - my $output = ' + my $id_functions = &javascript_index_functions(); + my $output = ' ENDTEMPLATE return $template; @@ -7039,24 +7117,20 @@ $newuserscript $new_user_create - - - - - - - - - - -
$lt{'doma'}:$domform
$lt{'usr'}:$srchbysel - $srchtypesel - - $srchinsel -
-
END_BLOCK + $output .= &Apache::lonhtmlcommon::start_pick_box(). + &Apache::lonhtmlcommon::row_title($lt{'doma'}). + $domform. + &Apache::lonhtmlcommon::row_closure(). + &Apache::lonhtmlcommon::row_title($lt{'usr'}). + $srchbysel. + $srchtypesel. + ''. + $srchinsel. + &Apache::lonhtmlcommon::row_closure(1). + &Apache::lonhtmlcommon::end_pick_box(). + '
'; return $output; } @@ -7975,7 +8049,7 @@ sub csv_print_select_table { my ($value,$display,$defaultcol)=@{ $array_ref }; $r->print(&start_data_table_row().''.$display.''); - $r->print(''); $r->print(''); foreach my $sample (sort({$a <=> $b} keys(%{ $samples->[0] }))) {