xref: /webtrees/resources/views/modules/matomo-analytics/form.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
5d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
6d70512abSGreg Roach
7d70512abSGreg Roach?>
88e5c5efeSGreg Roach
99e3c2cf9SGreg Roach<div class="row mb-3">
1026420f84SGreg Roach    <label for="MATOMO_SITE_ID" class="col-sm-3 col-form-label">
118e5c5efeSGreg Roach        <?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
128e5c5efeSGreg Roach    </label>
138e5c5efeSGreg Roach    <div class="col-sm-9">
1426420f84SGreg 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]+">
158e5c5efeSGreg Roach    </div>
168e5c5efeSGreg Roach</div>
178e5c5efeSGreg Roach
189e3c2cf9SGreg Roach<div class="row mb-3">
1926420f84SGreg Roach    <label for="MATOMO_URL" class="col-sm-3 col-form-label">
208e5c5efeSGreg Roach        <?= /* I18N: A configuration setting */ I18N::translate('URL') ?>
218e5c5efeSGreg Roach    </label>
228e5c5efeSGreg Roach    <div class="col-sm-9">
2326420f84SGreg Roach        <input type="text" class="form-control" id="MATOMO_URL" name="MATOMO_URL" value="<?= e($MATOMO_URL ?? '') ?>" placeholder="//example.com/piwik/" maxlength="255">
248e5c5efeSGreg Roach    </div>
258e5c5efeSGreg Roach</div>
26