Fix responsive layout.
This commit is contained in:
@@ -110,16 +110,13 @@ if (isset($file_src) || isset($img)) {
|
||||
<?
|
||||
if (!$is_admin && (($action == "") || isset($validate['captcha']))) {
|
||||
echo '<div><br class="clear" /></div>';
|
||||
include('../lib/recaptchalib.inc.php');
|
||||
echo '<script type="text/javascript"> var RecaptchaOptions = { theme : "custom", custom_theme_widget : "captcha" }; </script>';
|
||||
echo '<div class="g-recaptcha" data-sitekey="'.htmlspecialchars(config('RECAPTCHA_SITE_KEY')).'"></div>';
|
||||
echo '<div id="captcha" style="display: none;">';
|
||||
echo '<div id="recaptcha_image"></div>';
|
||||
$redo_cap_class = isset($validate['captcha']) ? 'class="no" ' : '';
|
||||
echo '<label '.$redo_cap_class.'for="recaptcha_response_field">Type the two words:</label>';
|
||||
echo '<input type="text" name="recaptcha_response_field" id="recaptcha_response_field" maxlength="150" value="" />';
|
||||
echo '<span class="required"> *</span>';
|
||||
$publickey = config('RECAPTCHA_SITE_KEY');
|
||||
echo recaptcha_get_html($publickey, FALSE, TRUE);
|
||||
echo '<span class="icons">';
|
||||
echo '<a href="javascript:Recaptcha.reload()">';
|
||||
echo '<img src="/graphics/recaptcha-refresh.png" alt="Refresh CAPTCHA" title="Refresh CAPTCHA" /></a>';
|
||||
|
||||
Reference in New Issue
Block a user