version 1.199, 2007/12/05 17:13:34
|
version 1.200, 2007/12/05 17:31:28
|
Line 1198 ENDBADAUTH
|
Line 1198 ENDBADAUTH
|
} |
} |
} else { # Authentication type is valid |
} else { # Authentication type is valid |
&initialize_authen_forms($ccdomain,$currentauth); |
&initialize_authen_forms($ccdomain,$currentauth); |
|
my $authformnop_row; |
|
if (&Apache::lonnet::allowed('mau',$ccdomain)) { |
|
$authformnop_row = &Apache::loncommon::start_data_table_row(); |
|
} |
my ($authformcurrent,$authform_other,$can_modify) = |
my ($authformcurrent,$authform_other,$can_modify) = |
&modify_login_block($ccdomain,$currentauth); |
&modify_login_block($ccdomain,$currentauth); |
if (&Apache::lonnet::allowed('mau',$ccdomain)) { |
if (&Apache::lonnet::allowed('mau',$ccdomain)) { |
Line 1213 ENDBADAUTH
|
Line 1217 ENDBADAUTH
|
'</script>'."\n". |
'</script>'."\n". |
'<h3>'.$lt{'ld'}.'</h3>'. |
'<h3>'.$lt{'ld'}.'</h3>'. |
&Apache::loncommon::start_data_table(). |
&Apache::loncommon::start_data_table(). |
&Apache::loncommon::start_data_table_row(). |
$authformnop_row. |
'<td>'.$authformnop; |
'<td>'.$authformnop; |
if ($can_modify) { |
if ($can_modify) { |
$outcome .= '</td>'."\n". |
$outcome .= '</td>'."\n". |
Line 1222 ENDBADAUTH
|
Line 1226 ENDBADAUTH
|
'<td>'.$authformcurrent.'</td>'. |
'<td>'.$authformcurrent.'</td>'. |
&Apache::loncommon::end_data_table_row()."\n"; |
&Apache::loncommon::end_data_table_row()."\n"; |
} else { |
} else { |
$outcome .= ' ('.$authformcurrent.')</td>'; |
$outcome .= ' ('.$authformcurrent.')</td>'. |
|
&Apache::loncommon::end_data_table_row()."\n"; |
} |
} |
if ($authform_other ne '') { |
if ($authform_other ne '') { |
$outcome .= $authform_other; |
$outcome .= $authform_other; |