xref: /webtrees/resources/views/modules/matomo-analytics/form.phtml (revision d70512ab02636ee884ef6d7907223ed02c754ff5)
1*d70512abSGreg Roach<?php
2*d70512abSGreg Roach
3*d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
4*d70512abSGreg Roach
5*d70512abSGreg Roach?>
68e5c5efeSGreg Roach
78e5c5efeSGreg Roach<div class="row form-group">
826420f84SGreg Roach    <label for="MATOMO_SITE_ID" class="col-sm-3 col-form-label">
98e5c5efeSGreg Roach        <?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
108e5c5efeSGreg Roach    </label>
118e5c5efeSGreg Roach    <div class="col-sm-9">
1226420f84SGreg 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]+">
138e5c5efeSGreg Roach    </div>
148e5c5efeSGreg Roach</div>
158e5c5efeSGreg Roach
168e5c5efeSGreg Roach<div class="row form-group">
1726420f84SGreg Roach    <label for="MATOMO_URL" class="col-sm-3 col-form-label">
188e5c5efeSGreg Roach        <?= /* I18N: A configuration setting */ I18N::translate('URL') ?>
198e5c5efeSGreg Roach    </label>
208e5c5efeSGreg Roach    <div class="col-sm-9">
2126420f84SGreg Roach        <input type="text" class="form-control" id="MATOMO_URL" name="MATOMO_URL" value="<?= e($MATOMO_URL ?? '') ?>" placeholder="//example.com/piwik/" maxlength="255">
228e5c5efeSGreg Roach    </div>
238e5c5efeSGreg Roach</div>
24