diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-08-11 20:40:50 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-08-11 20:48:04 +0200 |
commit | 345c04f757a876bcc0b59134583953a698bbb9f2 (patch) | |
tree | 2a891384247b729864e72df088d887ab7480371e | |
parent | f1a0f4a8f7549c6937663b19e176e662c715c38e (diff) | |
download | aurweb-pu.tar.xz |
Add details link from account edit formpu
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | web/template/account_details.php | 2 | ||||
-rw-r--r-- | web/template/account_edit_form.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php index c34e65b..b79685b 100644 --- a/web/template/account_details.php +++ b/web/template/account_details.php @@ -61,7 +61,7 @@ </tr> <tr> <th><?= __("Registration date:") ?></th> - <td><?= date("Y-m-d", $row["RegistrationTS"]) ?></td> + <td><?= (new DateTime($row["RegistrationTS"]))->format('Y-m-d') ?></td> </tr> <?php if (has_credential(CRED_ACCOUNT_LAST_LOGIN)): ?> <tr> diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index 6c2b8fb..19821a0 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -1,6 +1,7 @@ <?php if ($A == "UpdateAccount"): ?> <p> <?= __('Click %shere%s if you want to permanently delete this account.', '<a href="' . get_user_uri($N) . 'delete/' . '">', '</a>') ?> + <?= __('Click %shere%s for user details.', '<a href="' . get_user_uri($N) . '">', '</a>') ?> </p> <form id="edit-profile-form" action="<?= get_user_uri($N) . 'update/'; ?>" method="post"> |