version 1.1462, 2025/02/21 20:55:17
|
version 1.1465, 2025/02/26 19:50:21
|
Line 9360 pre.LC_wordwrap {
|
Line 9360 pre.LC_wordwrap {
|
/* |
/* |
styles used for response display |
styles used for response display |
*/ |
*/ |
div.LC_radiofoil, div.LC_rankfoil, div.LC_optionfoil, div.LC_matchfoil { |
div.LC_radiofoil, div.LC_rankfoil, div.LC_optionfoil, div.LC_matchfoil, div.LC_login_links { |
margin: .5em 0em .5em 0em; |
margin: .5em 0em .5em 0em; |
} |
} |
table.LC_itemgroup { |
table.LC_itemgroup { |
Line 10936 sub simple_error_page {
|
Line 10936 sub simple_error_page {
|
} |
} |
|
|
sub start_data_table_header_row { |
sub start_data_table_header_row { |
return '<tr class="LC_header_row">'."\n";; |
my ($add_class,$id) = @_; |
|
my $css_class = 'LC_header_row'; |
|
$css_class = (join(' ',$css_class,$add_class)) unless ($add_class eq ''); |
|
$id = (' id="'.$id.'"') unless ($id eq ''); |
|
return '<tr class="'.$css_class.'"'.$id.'>'."\n"; |
} |
} |
|
|
sub end_data_table_header_row { |
sub end_data_table_header_row { |
Line 19063 Returns: HTML to display with informatio
|
Line 19067 Returns: HTML to display with informatio
|
sub check_release_result { |
sub check_release_result { |
my ($switchwarning,$switchserver) = @_; |
my ($switchwarning,$switchserver) = @_; |
my $output = &start_page('Selected course unavailable on this server'). |
my $output = &start_page('Selected course unavailable on this server'). |
'<p class="LC_warning">'; |
'<div class="LC_landmark" role="main"><p class="LC_warning">'; |
if ($switchwarning) { |
if ($switchwarning) { |
$output .= $switchwarning.'<br /><a href="/adm/roles">'; |
$output .= $switchwarning.'<br /><a href="/adm/roles">'; |
if (&show_course()) { |
if (&show_course()) { |
Line 19079 sub check_release_result {
|
Line 19083 sub check_release_result {
|
&mt('Switch Server'). |
&mt('Switch Server'). |
'</a>'; |
'</a>'; |
} |
} |
$output .= '</p>'.&end_page(); |
$output .= '</p></div>'.&end_page(); |
return $output; |
return $output; |
} |
} |
|
|
Line 19696 sub create_captcha {
|
Line 19700 sub create_captcha {
|
$output = '<input type="hidden" name="crypt" value="'.$md5sum.'" />'."\n". |
$output = '<input type="hidden" name="crypt" value="'.$md5sum.'" />'."\n". |
'<span class="LC_nobreak">'. |
'<span class="LC_nobreak">'. |
'<label>'.&mt('Type in the letters/numbers shown below').' '. |
'<label>'.&mt('Type in the letters/numbers shown below').' '. |
'<input type="text" size="5" name="code" value="" autocomplete="new-password" />'. |
'<input type="text" size="5" name="code" value="" autocomplete="new-password" aria-required="true" />'. |
'</label></span><br />'. |
'</label></span><br />'. |
'<img src="'.$captcha_params{'www_output_dir'}.'/'.$md5sum.'.png" alt="captcha" />'; |
'<img src="'.$captcha_params{'www_output_dir'}.'/'.$md5sum.'.png" alt="captcha" />'; |
last; |
last; |