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