diff options
| author | Carson Fleming <cflems@cflems.net> | 2022-12-12 06:45:42 -0800 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2022-12-12 06:45:42 -0800 |
| commit | 38dc09a3756fc8dcf79af03a94f66aeab973a449 (patch) | |
| tree | eaa303820db2fe6780584fdb790f3bfa4a3a413f /forgot.php | |
| parent | e538ce3f3720230d66eab20925a0be3bf90f50c9 (diff) | |
| download | bulletin-38dc09a3756fc8dcf79af03a94f66aeab973a449.tar.gz | |
Improve the UI a bit with the captcha
Diffstat (limited to 'forgot.php')
| -rw-r--r-- | forgot.php | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -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 |
