xref: /webtrees/resources/views/modules/matomo-analytics/form.phtml (revision ba1d7494e9648df5a87aaa3fece3e098e5ce26b1)
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<!-- MATOMO_URL -->
13<div class="row form-group">
14    <label for="MATOMO_URL" class="col-sm-3 col-form-label">
15        <?= /* I18N: A configuration setting */ I18N::translate('URL') ?>
16    </label>
17    <div class="col-sm-9">
18        <input type="text" class="form-control" id="MATOMO_URL" name="MATOMO_URL" value="<?= e($MATOMO_URL ?? '') ?>" placeholder="//example.com/piwik/" maxlength="255">
19    </div>
20</div>
21
22<p>
23    <?= I18N::translate('Tracking and analytics are not added to the control panel.') ?>
24</p>
25