version 1.1212, 2015/04/06 19:05:27
|
version 1.1217, 2015/04/13 18:52:44
|
Line 4969 END_MYBLOCK
|
Line 4969 END_MYBLOCK
|
|
|
my $popupUrl = "/adm/blockingstatus/$querystring"; |
my $popupUrl = "/adm/blockingstatus/$querystring"; |
my $text = &mt('Communication Blocked'); |
my $text = &mt('Communication Blocked'); |
|
my $class = 'LC_comblock'; |
if ($activity eq 'docs') { |
if ($activity eq 'docs') { |
$text = &mt('Content Access Blocked'); |
$text = &mt('Content Access Blocked'); |
|
$class = ''; |
} elsif ($activity eq 'printout') { |
} elsif ($activity eq 'printout') { |
$text = &mt('Printing Blocked'); |
$text = &mt('Printing Blocked'); |
} |
} |
$output .= <<"END_BLOCK"; |
$output .= <<"END_BLOCK"; |
<div class='LC_comblock'> |
<div class='$class'> |
<a onclick='openWindow("$popupUrl","Blocking Table",600,300,"no","no");return false;' href='/adm/blockingstatus/$querystring' |
<a onclick='openWindow("$popupUrl","Blocking Table",600,300,"no","no");return false;' href='/adm/blockingstatus/$querystring' |
title='$text'> |
title='$text'> |
<img class='LC_noBorder LC_middle' title='$text' src='/res/adm/pages/comblock.png' alt='$text'/></a> |
<img class='LC_noBorder LC_middle' title='$text' src='/res/adm/pages/comblock.png' alt='$text'/></a> |
Line 6836 div.LC_edit_problem_discards {
|
Line 6838 div.LC_edit_problem_discards {
|
div.LC_edit_actionbar { |
div.LC_edit_actionbar { |
margin: -5px 0px 0px 0px !important; |
margin: -5px 0px 0px 0px !important; |
background-color: $sidebg; |
background-color: $sidebg; |
height: 31px; |
height: 35px; |
} |
} |
|
|
div.LC_edit_problem_saves { |
div.LC_edit_problem_saves { |
Line 7772 ADDMETA
|
Line 7774 ADDMETA
|
$result.=<<OFFLOAD |
$result.=<<OFFLOAD |
<meta http-equiv="pragma" content="no-cache" /> |
<meta http-equiv="pragma" content="no-cache" /> |
<script type="text/javascript"> |
<script type="text/javascript"> |
|
// <![CDATA[ |
function LC_Offload_Now() { |
function LC_Offload_Now() { |
var dest = "$newurl"; |
var dest = "$newurl"; |
if (dest != '') { |
if (dest != '') { |
window.location.href="$newurl"; |
window.location.href="$newurl"; |
} |
} |
} |
} |
window.alert('$msg'); |
\$(document).ready(function () { |
if ($disable_submit) { |
window.alert('$msg'); |
\$(document).ready(function () { |
if ($disable_submit) { |
\$(".LC_hwk_submit").prop("disabled", true); |
\$(".LC_hwk_submit").prop("disabled", true); |
\$( ".LC_textline" ).prop( "readonly", "readonly"); |
\$( ".LC_textline" ).prop( "readonly", "readonly"); |
}); |
} |
} |
setTimeout('LC_Offload_Now()', $timeout); |
setTimeout('LC_Offload_Now()', $timeout); |
}); |
|
// ]]> |
</script> |
</script> |
OFFLOAD |
OFFLOAD |
} |
} |
Line 16243 sub create_recaptcha {
|
Line 16247 sub create_recaptcha {
|
my $captcha = Captcha::reCAPTCHA->new; |
my $captcha = Captcha::reCAPTCHA->new; |
return $captcha->get_options_setter({theme => 'white'})."\n". |
return $captcha->get_options_setter({theme => 'white'})."\n". |
$captcha->get_html($pubkey,undef,$use_ssl). |
$captcha->get_html($pubkey,undef,$use_ssl). |
&mt('If either word is hard to read, [_1] will replace them.', |
&mt('If the text is hard to read, [_1] will replace them.', |
'<img src="/res/adm/pages/refresh.gif" alt="reCAPTCHA refresh" />'). |
'<img src="/res/adm/pages/refresh.gif" alt="reCAPTCHA refresh" />'). |
'<br /><br />'; |
'<br /><br />'; |
} |
} |