<?php

declare(strict_types=1);

/**
 * @var string $MATOMO_SITE_ID
 * @var string $MATOMO_URL
 */

use Fisharebest\Webtrees\I18N;

?>

<div class="row mb-3">
    <label for="MATOMO_SITE_ID" class="col-sm-3 col-form-label">
        <?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
    </label>
    <div class="col-sm-9">
        <input type="text" class="form-control" id="MATOMO_SITE_ID" name="MATOMO_SITE_ID" value="<?= e($MATOMO_SITE_ID) ?>" maxlength="255" pattern="[0-9]+">
    </div>
</div>

<div class="row mb-3">
    <label for="MATOMO_URL" class="col-sm-3 col-form-label">
        <?= /* I18N: A configuration setting */ I18N::translate('URL') ?>
    </label>
    <div class="col-sm-9">
        <input type="text" class="form-control" id="MATOMO_URL" name="MATOMO_URL" value="<?= e($MATOMO_URL) ?>" placeholder="//example.com/piwik/" maxlength="255">
    </div>
</div>
