summaryrefslogtreecommitdiff
path: root/forgot.php
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2022-12-12 06:45:42 -0800
committerCarson Fleming <cflems@cflems.net>2022-12-12 06:45:42 -0800
commit38dc09a3756fc8dcf79af03a94f66aeab973a449 (patch)
treeeaa303820db2fe6780584fdb790f3bfa4a3a413f /forgot.php
parente538ce3f3720230d66eab20925a0be3bf90f50c9 (diff)
downloadbulletin-38dc09a3756fc8dcf79af03a94f66aeab973a449.tar.gz
Improve the UI a bit with the captcha
Diffstat (limited to 'forgot.php')
-rw-r--r--forgot.php20
1 files changed, 8 insertions, 12 deletions
diff --git a/forgot.php b/forgot.php
index 03ddf9d..b40ec55 100644
--- a/forgot.php
+++ b/forgot.php
@@ -54,23 +54,19 @@ if (!empty($_POST['email'])) {
<input id="inpusername" type="text" name="email" placeholder="Email address" />
</div>
<?php
- if ($e == 2)
- echo ' <div class="fullrow">' . PHP_EOL;
- else
- echo ' <div class="fullrow err">' . PHP_EOL;
-?>
- <div class="halfrowl">
-<?php
if (!empty($b_config['recaptcha_api_key'])) {
+ if ($e == 2)
+ echo ' <div class="fullrow">' . PHP_EOL;
+ else
+ echo ' <div class="fullrow err">' . PHP_EOL;
?>
- <div class="g-recaptcha" data-sitekey="<?=$b_config['recaptcha_api_key']; ?>"></div>
+ <div class="g-recaptcha" data-sitekey="<?=$b_config['recaptcha_api_key']; ?>"></div>
+ </div>
<?php
}
?>
- </div>
- <div class="halfrowr">
- <input type="submit" name="recover" value="Recover" />
- </div>
+ <div class="fullrow text-center">
+ <input type="submit" name="recover" value="Recover" />
</div>
</form>
<?php