blob: 90d29b4c3e8aa0b74873991a4081fb2d3781969d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<? if (!$slot_id): ?>
<?= MessageBox::info(
_('Das Ändern der Information wird auch die Information aller Termine dieses Blocks ändern.')
)->hideClose() ?>
<? endif; ?>
<form action="<?= $controller->note($block, $slot_id ?: 0, $page) ?>" method="post" class="default">
<?= CSRFProtection::tokenTag() ?>
<fieldset>
<legend>
<? if ($slot_id): ?>
<?= _('Information zu diesem Termin bearbeiten') ?>
<? else: ?>
<?= _('Information zu diesem Terminblock bearbeiten') ?>
<? endif; ?>
</legend>
<label>
<?=_('Information') ?> (<?= _('Öffentlich einsehbar') ?>)
<textarea name="note"><?= htmlReady($slot_id ? $block->slots->find($slot_id)->note : $block->note ) ?></textarea>
</label>
</fieldset>
<footer data-dialog-button>
<?= Studip\Button::createAccept(_('Speichern')) ?>
<?= Studip\LinkButton::createCancel(
_('Abbrechen'),
$controller->indexURL($page, "#block-{$block->id}")
) ?>
</footer>
</form>
|