--- loncom/interface/loncommon.pm 2009/07/31 03:14:20 1.873 +++ loncom/interface/loncommon.pm 2009/08/05 13:40:10 1.878 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.873 2009/07/31 03:14:20 raeburn Exp $ +# $Id: loncommon.pm,v 1.878 2009/08/05 13:40:10 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -484,26 +484,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; @@ -1815,7 +1889,7 @@ The optional $onchange argumnet specifie sub select_dom_form { my ($defdom,$name,$includeempty,$showdomdesc,$onchange) = @_; if ($onchange) { - ' onchange="'.$onchange.'"'; + $onchange = ' onchange="'.$onchange.'"'; } my @domains = sort {lc($a) cmp lc($b)} (&Apache::lonnet::all_domains()); if ($includeempty) { @domains=('',@domains); } @@ -4838,10 +4912,6 @@ td.LC_menubuttons_text { font-weight: bold; } -.LC_roleslog_note { - font-size: small; -} - table.LC_data_table, table.LC_mail_list { border: 1px solid #000000; @@ -5571,10 +5641,6 @@ table.LC_double_column tr td.LC_right_co vertical-align: top; } -span.LC_role_level { - font-weight: bold; -} - div.LC_left_float { float: left; padding-right: 5%; @@ -7623,24 +7689,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; } @@ -8557,7 +8619,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] }))) {