xref: /webtrees/resources/views/modules/yahrzeit/config.phtml (revision 1c6adce825f16611bd8b75a22114302de4b41cfe)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5/**
6 * @var string               $calendar
7 * @var array<string,string> $calendars
8 * @var string               $days
9 * @var string               $info_style
10 * @var array<string,string> $styles
11 * @var int                  $max_days
12 */
13
14?>
15
16<div class="row form-group mb-3">
17    <label class="col-sm-3 col-form-label" for="days">
18        <?= I18N::translate('Number of days to show') ?>
19    </label>
20    <div class="col-sm-9">
21        <input class="form-control" type="text" id="days" name="days" value="<?= e($days) ?>">
22        <em>
23            <?= I18N::plural('maximum %s day', 'maximum %s days', $max_days, I18N::number($max_days)) ?>
24        </em>
25    </div>
26</div>
27
28<div class="row form-group mb-3">
29    <label class="col-sm-3 col-form-label" for="infoStyle">
30        <?= I18N::translate('Presentation style') ?>
31    </label>
32    <div class="col-sm-9">
33        <?= view('components/select', ['name' => 'infoStyle', 'selected' => $info_style, 'options' => $styles]) ?>
34    </div>
35</div>
36
37<div class="row form-group mb-3">
38    <label class="col-sm-3 col-form-label" for="calendar">
39        <?= I18N::translate('Calendar') ?>
40    </label>
41    <div class="col-sm-9">
42        <?= view('components/select', ['name' => 'calendar', 'selected' => $calendar, 'options' => $calendars]) ?>
43    </div>
44</div>
45