--- loncom/interface/loncommon.pm 2004/01/15 01:43:43 1.172 +++ loncom/interface/loncommon.pm 2004/01/15 19:25:25 1.174 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.172 2004/01/15 01:43:43 www Exp $ +# $Id: loncommon.pm,v 1.174 2004/01/15 19:25:25 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -694,8 +694,8 @@ sub help_open_faq { if ($text ne "") { $template .= - "". - "
$text"; + "". + "'. ''."\n"); foreach (@$d) { - my ($value,$display)=@{ $_ }; + my ($value,$display,$defaultcol)=@{ $_ }; $r->print(''); $r->print(''."\n"); $i++; @@ -2858,8 +2865,10 @@ sub csv_samples_select_table { $r->print('
$text"; } # Add the graphic @@ -1158,6 +1158,11 @@ END } my $radioval = "'nochange'"; + if (exists($in{'curr_authtype'}) && + defined($in{'curr_authtype'}) && + $in{'curr_authtype'} ne '') { + $radioval = "'$in{'curr_authtype'}arg'"; + } my $argfield = 'null'; if ( grep/^mode$/,(keys %in) ) { if ($in{'mode'} eq 'modifycourse') { @@ -2795,7 +2800,7 @@ Prints a table to create associations be $r is an Apache Request ref, $records is an arrayref from &Apache::loncommon::upfile_record_sep, -$d is an array of 2 element arrays (internal name, displayed name) +$d is an array of 2 element arrays (internal name, displayed name,defaultcol) =cut @@ -2810,14 +2815,16 @@ sub csv_print_select_table { ''.&mt('Attribute').''.&mt('Column').'
'.$display.'
'); if (defined($sone{$_})) { $r->print($sone{$_}."
\n"); }