summaryrefslogtreecommitdiff
path: root/src/application/views/form_login.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/views/form_login.php')
-rw-r--r--src/application/views/form_login.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/application/views/form_login.php b/src/application/views/form_login.php
index de8f28c..1ae20a9 100644
--- a/src/application/views/form_login.php
+++ b/src/application/views/form_login.php
@@ -21,21 +21,24 @@ if (($_formError = RequestUtils::getAndClearFormError()) !== null) {
?>
<form action="<?= htmlentities($_SERVER["REQUEST_URI"]) ?>" method="post">
<div class="form-group">
- <label for="i_username">Username:</label>
+ <label for="i_username"><?= __("Username:") ?></label>
<input class="form-control" type="text" id="i_username" name="username" value="<?= htmlentities($lastForm["username"] ?? "") ?>" required autofocus>
</div>
<div class="form-group">
- <label for="i_password">Password:</label>
+ <label for="i_password"><?= __("Password:") ?></label>
<input class="form-control" type="password" id="i_password" name="password" required>
</div>
<div class="form-group">
- <button class="btn btn-default" type="submit">Log in</button>
+ <button class="btn btn-default" type="submit"><?= __("Log in") ?></button>
</div>
<div class="form-group">
- Don't have an account? <a href="?_action=register">Register now</a>
+ <?= __("Don't have an account? %link%Register now%/link%", [
+ "link" => '<a href="?_action=register">',
+ "/link" => '</a>',
+ ]) ?>
</div>
</form>
</div>