xref: /webtrees/resources/views/modules/matomo-analytics/form.phtml (revision ad7270802ba57a28d195fc58fcc55f26458a779a)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<div class="row form-group">
4    <label for="PIWIK_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="PIWIK_SITE_ID" name="PIWIK_SITE_ID" value="<?= e($PIWIK_SITE_ID ?? '') ?>" maxlength="255" pattern="[0-9]+">
9    </div>
10</div>
11
12<!-- PIWIK_URL -->
13<div class="row form-group">
14    <label for="PIWIK_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="PIWIK_URL" name="PIWIK_URL" value="<?= e($PIWIK_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