/usr/lib/python2.7/dist-packages/sagenb/data/sage/html/recaptcha.html is in python-sagenb 0.13+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | <script type="text/javascript">
var RecaptchaOptions = {
// en, nl, fr, de, pt, ru, es, tr
lang: '{{ lang }}',
// red, white, blackglass, clean, custom
theme : 'clean',
tabindex: 5
};
</script>
<script type="text/javascript" src="{{ api_server }}/challenge?k={{ public_key }}{{ error_param }}"></script>
<noscript>
<iframe src="{{ api_server }}/noscript?k={{ public_key }}{{ error_param }}" height="300" width="500" frameborder="0"></iframe>
<br />
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type='hidden' name='recaptcha_response_field' value='manual_challenge' />
</noscript>
<p></p>
<p id="recaptcha_error_message"></p>
<script type="text/javascript">
var err = RecaptchaState.error_message;
if (err !== '') {
var ele = document.getElementById('recaptcha_error_message');
ele.innerHTML = '<span class="error">{{ gettext("Error") }}:</span>' +
err.replace(/class="\w*"/, '');
}
</script>
|