add option to invite users to new calendar entry

This commit is contained in:
stefan.tollkuehn committed 2026-10-22 18:19:12 +02:00
1 parent 8910a46d1d
commit 2070e9c390
7 files changed
+396 -13

No files matched your search

+27
View File
@@ -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"