summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-rw-r--r--web/template/account_details.php6
-rw-r--r--web/template/account_edit_form.php5
2 files changed, 11 insertions, 0 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php
index fdebfb33..02ed32b9 100644
--- a/web/template/account_details.php
+++ b/web/template/account_details.php
@@ -38,6 +38,12 @@
<td><?= html_format_pgp_fingerprint($row["PGPKey"]) ?></td>
</tr>
<tr>
+ <th><?= __("Status") . ":" ?></th>
+ <td>
+ <?= $row["InactivityTS"] ? __("Inactive since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active"); ?>
+ </td>
+ </tr>
+ <tr>
<th><?= __("Last Voted") . ":" ?></th>
<td>
<?= $row["LastVoted"] ? date("Y-m-d", $row["LastVoted"]) : __("Never"); ?>
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index a0de2a38..30b26fdc 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -56,6 +56,11 @@
<?php endif; ?>
<p>
+ <label for="id_inactive"><?= __("Inactive") ?>:</label>
+ <input type="checkbox" name="J" id="id_inactive" <?= $J ? 'checked="checked"' : '' ?> />
+ </p>
+
+ <p>
<label for="id_email"><?= __("Email Address") ?>:</label>
<input type="text" size="30" maxlength="64" name="E" id="id_email" value="<?= htmlspecialchars($E,ENT_QUOTES) ?>" /> (<?= __("required") ?>)
</p>