xref: /webtrees/resources/views/help/link.phtml (revision 1821c9e596679be8717c51394b448df204b1f577)
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