add option to invite users to new calendar entry
This commit is contained in:
1 parent
8910a46d1d
commit
2070e9c390
7 files changed
+396
-13
No files matched your search
@@ -129,6 +129,33 @@ $l = $_['l10n'];
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="atocal-row">
|
||||
<label for="atocal-attendees">
|
||||
<strong><?= $h($l->t('Invitees')) ?></strong>
|
||||
</label>
|
||||
<span>
|
||||
<input
|
||||
id="atocal-attendees"
|
||||
name="attendees"
|
||||
type="text"
|
||||
list="atocal-contact-emails"
|
||||
value="<?= $h($_['attendees']) ?>"
|
||||
placeholder="<?= $h(
|
||||
$l->t('Email addresses, comma-separated')
|
||||
) ?>"
|
||||
>
|
||||
<?php if ($_['contacts'] !== []): ?>
|
||||
<datalist id="atocal-contact-emails">
|
||||
<?php foreach ($_['contacts'] as $contact): ?>
|
||||
<option
|
||||
value="<?= $h($contact['email']) ?>"
|
||||
><?= $h($contact['name']) ?></option>
|
||||
<?php endforeach; ?>
|
||||
</datalist>
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<input
|
||||
type="hidden"
|
||||
name="requesttoken"
|
||||
|
||||
Reference in new issue
Block a user