23 lines
1 KiB
PHP
23 lines
1 KiB
PHP
<?php declare(strict_types=1); ?>
|
|
<p>
|
|
<?= _('You can optionally tell the administrator <strong>how you want to be contacted</strong> in case a resource you own is involved in a <strong>specific problem</strong>, be it moderation, legal or technical. This may especially happen if your account\'s resources can host or address untrusted content.') ?>
|
|
</p>
|
|
|
|
<p>
|
|
<?= _('This is a free-form textual field that is only used manually. You may write detailed instructions. You should make sure the admin is able and willing to contact you this way.') ?>
|
|
</p>
|
|
|
|
<p>
|
|
<?= _('Information that is not related to a specific account is usually not conveyed this way.') ?>
|
|
</p>
|
|
|
|
<form method="post">
|
|
<label for="medium"><?= _('Contact information') ?></label><br>
|
|
<textarea name="medium" id="medium" rows="5" placeholder="matrix:u/neo:matrix.example
|
|
mailto:neo@email.example"><?php
|
|
|
|
echo htmlspecialchars(query('select', 'users', ['id' => $_SESSION['id'] ?? ''], ['medium'])[0] ?? '');
|
|
|
|
?></textarea>
|
|
<input type="submit" value="<?= _('Update') ?>">
|
|
</form>
|