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