Fix responsive layout.

This commit is contained in:
tim
2015-11-21 23:27:53 +02:00
parent f3fd6fd3f1
commit 602d644181
15 changed files with 617 additions and 21 deletions
+1 -4
View File
@@ -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">&nbsp;*</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>';