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