xref: /webtrees/resources/views/modules/matomo-analytics/form.phtml (revision 45ebc6c6221f90468111ed2015b8449dca331d93)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7?>
8
9<div class="row mb-3">
10    <label for="MATOMO_SITE_ID" class="col-sm-3 col-form-label">
11        <?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
12    </label>
13    <div class="col-sm-9">
14        <input type="text" class="form-control" id="MATOMO_SITE_ID" name="MATOMO_SITE_ID" value="<?= e($MATOMO_SITE_ID ?? '') ?>" maxlength="255" pattern="[0-9]+">
15    </div>
16</div>
17
18<div class="row mb-3">
19    <label for="MATOMO_URL" class="col-sm-3 col-form-label">
20        <?= /* I18N: A configuration setting */ I18N::translate('URL') ?>
21    </label>
22    <div class="col-sm-9">
23        <input type="text" class="form-control" id="MATOMO_URL" name="MATOMO_URL" value="<?= e($MATOMO_URL ?? '') ?>" placeholder="//example.com/piwik/" maxlength="255">
24    </div>
25</div>
26