xref: /webtrees/resources/views/modules/matomo-analytics/form.phtml (revision 26420f84cb96928cdc566963a4499db677a38ff9)
18e5c5efeSGreg Roach<?php use Fisharebest\Webtrees\I18N; ?>
28e5c5efeSGreg Roach
38e5c5efeSGreg Roach<div class="row form-group">
4*26420f84SGreg Roach    <label for="MATOMO_SITE_ID" class="col-sm-3 col-form-label">
58e5c5efeSGreg Roach        <?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
68e5c5efeSGreg Roach    </label>
78e5c5efeSGreg Roach    <div class="col-sm-9">
8*26420f84SGreg Roach        <input type="text" class="form-control" id="MATOMO_SITE_ID" name="MATOMO_SITE_ID" value="<?= e($MATOMO_SITE_ID ?? '') ?>" maxlength="255" pattern="[0-9]+">
98e5c5efeSGreg Roach    </div>
108e5c5efeSGreg Roach</div>
118e5c5efeSGreg Roach
12*26420f84SGreg Roach<!-- MATOMO_URL -->
138e5c5efeSGreg Roach<div class="row form-group">
14*26420f84SGreg Roach    <label for="MATOMO_URL" class="col-sm-3 col-form-label">
158e5c5efeSGreg Roach        <?= /* I18N: A configuration setting */ I18N::translate('URL') ?>
168e5c5efeSGreg Roach    </label>
178e5c5efeSGreg Roach    <div class="col-sm-9">
18*26420f84SGreg Roach        <input type="text" class="form-control" id="MATOMO_URL" name="MATOMO_URL" value="<?= e($MATOMO_URL ?? '') ?>" placeholder="//example.com/piwik/" maxlength="255">
198e5c5efeSGreg Roach    </div>
208e5c5efeSGreg Roach</div>
218e5c5efeSGreg Roach
228e5c5efeSGreg Roach<p>
238e5c5efeSGreg Roach    <?= I18N::translate('Tracking and analytics are not added to the control panel.') ?>
248e5c5efeSGreg Roach</p>
25