xref: /webtrees/resources/views/lists/given-names-list.phtml (revision 62dc46a69c19b130c54cf06c2246a10e684f6faa)
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