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