summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-08-11 20:40:50 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2016-08-11 20:48:04 +0200
commit345c04f757a876bcc0b59134583953a698bbb9f2 (patch)
tree2a891384247b729864e72df088d887ab7480371e /web
parentf1a0f4a8f7549c6937663b19e176e662c715c38e (diff)
downloadaurweb-pu.tar.xz
Add details link from account edit formpu
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'web')
-rw-r--r--web/template/account_details.php2
-rw-r--r--web/template/account_edit_form.php1
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">