diff options
author | Jonas Kohl | 2024-09-15 19:55:12 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-15 19:55:12 +0200 |
commit | cb9b87997993702131ca24d4d0e1fd45ef64805c (patch) | |
tree | 3ba1725028665f90b546703c461394b577b3e596 /src/application/views/form_register.php | |
parent | cc97f36b8c9a9522636d5b50fbcd2f52de06a01a (diff) |
Begun i18n work & more
Diffstat (limited to 'src/application/views/form_register.php')
-rw-r--r-- | src/application/views/form_register.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/application/views/form_register.php b/src/application/views/form_register.php index 6f62652..83f3f4e 100644 --- a/src/application/views/form_register.php +++ b/src/application/views/form_register.php @@ -10,7 +10,7 @@ RequestUtils::clearLastForm(); ?> <div class="page-header margin-top-0"> - <h1>Register</h1> + <h1><?= __("Register") ?></h1> </div> <div class="col-md-4"></div> <div class="well col-md-4"> @@ -22,7 +22,7 @@ if (($_formError = RequestUtils::getAndClearFormError()) !== null) { <form action="<?= htmlentities($_SERVER["REQUEST_URI"]) ?>" method="post"> <div class="form-group" id="group0"> <label for="i_username">Username:</label> - <input class="form-control" id="i_username" type="text" name="username" value="<?= htmlentities($lastForm["username"] ?? "") ?>" required> + <input class="form-control" id="i_username" type="text" name="username" value="" required> </div> <div class="form-group" id="group1"> @@ -79,5 +79,6 @@ $(function() { $("#btn-refresh-captcha").click(function() { $("#captcha-img").attr("src", "?_action=captcha&t=" + new Date().getTime().toString()); }); + $("#i_username").prop("disabled", true).prop("required", false); }); </script> |