1ce42304aSGreg Roach<?php 2ce42304aSGreg Roach 3ce42304aSGreg Roachdeclare(strict_types=1); 4ce42304aSGreg Roach 5ce42304aSGreg Roachuse Fisharebest\Webtrees\I18N; 6ce42304aSGreg Roach 7ce42304aSGreg Roach/** 8ce42304aSGreg Roach * @var string $default_method 9ce42304aSGreg Roach * @var string $default_type 10ce42304aSGreg Roach * @var array<string,string> $methods 11ce42304aSGreg Roach * @var array<string,string> $types 12ce42304aSGreg Roach */ 13ce42304aSGreg Roach 14ce42304aSGreg Roach?> 15ce42304aSGreg Roach 16ce42304aSGreg Roach<div class="row form-group"> 17ce42304aSGreg Roach <label class="col-sm-3 col-form-label" for="search"> 18ce42304aSGreg Roach <?= I18N::translate('Search text/pattern') ?> 19ce42304aSGreg Roach </label> 20ce42304aSGreg Roach 21ce42304aSGreg Roach <div class="col-sm-9"> 22ce42304aSGreg Roach <input class="form-control" id="search" name="search"> 23ce42304aSGreg Roach </div> 24ce42304aSGreg Roach</div> 25ce42304aSGreg Roach 26ce42304aSGreg Roach<div class="row form-group"> 27ce42304aSGreg Roach <label class="col-sm-3 col-form-label" for="replace"> 28ce42304aSGreg Roach <?= I18N::translate('Replacement text') ?> 29ce42304aSGreg Roach </label> 30ce42304aSGreg Roach 31ce42304aSGreg Roach <div class="col-sm-9"> 32ce42304aSGreg Roach <input class="form-control" id="replace" name="replace"> 33ce42304aSGreg Roach </div> 34ce42304aSGreg Roach</div> 35ce42304aSGreg Roach 36ce42304aSGreg Roach<div class="row form-group"> 37ce42304aSGreg Roach <label class="col-sm-3 col-form-label"> 38ce42304aSGreg Roach <?= I18N::translate('Search method') ?> 39ce42304aSGreg Roach </label> 40ce42304aSGreg Roach 41ce42304aSGreg Roach <div class="col-sm-9"> 42ce42304aSGreg Roach <?= view('components/select', ['name' => 'method', 'options' => $methods, 'selected' => $default_method]) ?> 43*2ab7d347SGreg Roach <p class="small text-muted"> 44*2ab7d347SGreg Roach <?= I18N::translate('Regular expressions are an advanced pattern matching technique.') ?> 45*2ab7d347SGreg Roach <?= I18N::translate('See %s for more information.', '<a href="http://php.net/manual/regexp.reference.php">php.net/manual/regexp.reference.php</a>') ?> 46*2ab7d347SGreg Roach </p> 47ce42304aSGreg Roach </div> 48ce42304aSGreg Roach</div> 49ce42304aSGreg Roach 50ce42304aSGreg Roach<div class="row form-group"> 51ce42304aSGreg Roach <label class="col-sm-3 col-form-label" for="case"> 52ce42304aSGreg Roach <?= I18N::translate('Case insensitive') ?> 53ce42304aSGreg Roach </label> 54ce42304aSGreg Roach 55ce42304aSGreg Roach <div class="col-sm-9"> 56ce42304aSGreg Roach <?= view('components/radios-inline', ['name' => 'case', 'selected' => '', 'options' => ['' => I18N::translate('no'), 'i' => I18N::translate('yes')]]) ?> 57ce42304aSGreg Roach <p class="small text-muted"> 58ce42304aSGreg Roach <?= /* I18N: Help text for "Case insensitive" searches */ I18N::translate('Match both upper and lower case letters.') ?> 59ce42304aSGreg Roach </p> 60ce42304aSGreg Roach </div> 61ce42304aSGreg Roach</div> 62ce42304aSGreg Roach 63ce42304aSGreg Roach<div class="row form-group"> 64ce42304aSGreg Roach <label class="col-sm-3 col-form-label" for="type"> 65ce42304aSGreg Roach <?= I18N::translate('Records') ?> 66ce42304aSGreg Roach </label> 67ce42304aSGreg Roach 68ce42304aSGreg Roach <div class="col-sm-9"> 69ce42304aSGreg Roach <?= view('components/select', ['name' => 'type', 'options' => $types, 'selected' => $default_type]) ?> 70ce42304aSGreg Roach </div> 71ce42304aSGreg Roach</div> 72