xref: /webtrees/resources/views/lists/given-names-list.phtml (revision e57829396e448d173bb4be808a8b9fd89548228b)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5/**
6 * @var array<string,int> $given_names
7 * @var bool              $show_totals
8 */
9
10?>
11
12<ul>
13    <?php foreach ($given_names as $given_name => $count) : ?>
14        <li>
15            <bdi><?= e($given_name) ?></bdi>
16            <?php if ($show_totals) : ?>
17             (<?= I18N::number($count) ?>)
18            <?php endif ?>
19        </li>
20    <?php endforeach ?>
21</ul>
22