xref: /webtrees/resources/views/help/link.phtml (revision 78606cf427772fbdc5222ff607ee23f43078f94b)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Http\RequestHandlers\HelpText;
6use Fisharebest\Webtrees\I18N;
7
8/**
9 * @var string $topic
10 */
11
12?>
13<a href="#" data-bs-toggle="modal" data-bs-backdrop="static" data-bs-target="#wt-ajax-modal" data-wt-href="<?= e(route(HelpText::class, ['topic' => $topic])) ?>" title="<?= I18N::translate('Help') ?>">
14    <?= view('icons/help') ?>
15    <span class="visually-hidden"><?= I18N::translate('Help') ?></span>
16</a>
17