diff options
| -rw-r--r-- | css/logsup.css | 3 | ||||
| -rw-r--r-- | forgot.php | 20 |
2 files changed, 11 insertions, 12 deletions
diff --git a/css/logsup.css b/css/logsup.css index ae60e1d..8526f31 100644 --- a/css/logsup.css +++ b/css/logsup.css @@ -27,6 +27,9 @@ body { display: table; width: 450px; } +.text-center { + text-align: center; +} .fullrow, .helper { margin: 15px -15px 15px -15px; width: 100%; @@ -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 |
