diff options
| author | winter | 2025-02-07 18:26:05 +0000 |
|---|---|---|
| committer | winter | 2025-02-07 18:26:05 +0000 |
| commit | d18ec187847893f94418b29bc6a087d6b2dd9a2d (patch) | |
| tree | 8ea4451cb1f62f8041eae71ca60ec2b64fafe8b2 /templates/settings_field.php | |
| parent | 43f0b9f41a582925838b2ba686110b2f07576be3 (diff) | |
localise note timestamps and stuff
Diffstat (limited to 'templates/settings_field.php')
| -rw-r--r-- | templates/settings_field.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/settings_field.php b/templates/settings_field.php index fe68a52..f9de886 100644 --- a/templates/settings_field.php +++ b/templates/settings_field.php @@ -38,5 +38,13 @@ $fieldName ??= str_replace('.', '<DOT>', $key); <input id="<?= $id ?>" name="<?= $fieldName ?>" value="<?= $value ?>" type="<?= $inputType ?>" autocomplete="off"> + <?php if ($inputType == 'timezone'): ?> + <button type="button" class="primary material-symbols update" title="<?= __('preferences.timezone.auto') ?>" _=" + on click + js return Intl.DateTimeFormat().resolvedOptions().timeZone end + set the value of #<?= $id ?> to it + "></button> + <?php endif; ?> + <?php endif; ?> </div>
\ No newline at end of file |
