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