171378461SGreg Roach<?php 271378461SGreg Roach 371378461SGreg Roachuse Fisharebest\Webtrees\I18N; 471378461SGreg Roach 5*06a438b4SGreg Roach/** 6*06a438b4SGreg Roach * @var string $ajax_url 7*06a438b4SGreg Roach * @var bool $soundex_dm 8*06a438b4SGreg Roach * @var bool $soundex_std 9*06a438b4SGreg Roach * @var string $surname 10*06a438b4SGreg Roach * @var string $title 11*06a438b4SGreg Roach */ 12*06a438b4SGreg Roach 1371378461SGreg Roach?> 14dd6b2bfcSGreg Roach 15dd6b2bfcSGreg Roach<h2 class="wt-page-title"> 16dd6b2bfcSGreg Roach <?= $title ?> 17dd6b2bfcSGreg Roach</h2> 18dd6b2bfcSGreg Roach 19808ea2d4SGreg Roach<form method="post" class="wt-page-options wt-page-options-branches d-print-none"> 20808ea2d4SGreg Roach <?= csrf_field() ?> 21dd6b2bfcSGreg Roach 22dd6b2bfcSGreg Roach <div class="form-group row"> 23dd6b2bfcSGreg Roach <label class="col-form-label col-sm-3 wt-page-options-label" for="surname"> 24dd6b2bfcSGreg Roach <?= I18N::translate('Surname') ?> 25dd6b2bfcSGreg Roach </label> 26*06a438b4SGreg Roach 27dd6b2bfcSGreg Roach <div class="col-sm-9 wt-page-options-value"> 28808ea2d4SGreg Roach <input class="form-control" data-autocomplete-type="SURN" type="text" name="surname" id="surname" value="<?= e($surname) ?>" dir="auto" required> 29dd6b2bfcSGreg Roach </div> 30dd6b2bfcSGreg Roach </div> 31dd6b2bfcSGreg Roach 32dd6b2bfcSGreg Roach <fieldset class="form-group"> 33dd6b2bfcSGreg Roach <div class="row"> 34dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3 wt-page-options-label"> 35dd6b2bfcSGreg Roach <?= I18N::translate('Phonetic search') ?> 36dd6b2bfcSGreg Roach </legend> 37*06a438b4SGreg Roach 38dd6b2bfcSGreg Roach <div class="col-sm-9 wt-page-options-value"> 39b6c326d8SGreg Roach <?= view('components/checkbox-inline', ['label' => I18N::translate('Russell'), 'name' => 'soundex_std', 'checked' => $soundex_std]) ?> 40b6c326d8SGreg Roach <?= view('components/checkbox-inline', ['label' => I18N::translate('Daitch-Mokotoff'), 'name' => 'soundex_dm', 'checked' => $soundex_dm]) ?> 41dd6b2bfcSGreg Roach </div> 42dd6b2bfcSGreg Roach </div> 43dd6b2bfcSGreg Roach </fieldset> 44dd6b2bfcSGreg Roach 45dd6b2bfcSGreg Roach <div class="form-group row"> 46*06a438b4SGreg Roach <div class="col-sm-3 wt-page-options-label"></div> 47*06a438b4SGreg Roach 48dd6b2bfcSGreg Roach <div class="col-sm-9 wt-page-options-value"> 49dd6b2bfcSGreg Roach <button type="submit" class="btn btn-primary"> 50dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ I18N::translate('view') ?> 51dd6b2bfcSGreg Roach </button> 52dd6b2bfcSGreg Roach </div> 53dd6b2bfcSGreg Roach </div> 54dd6b2bfcSGreg Roach</form> 55dd6b2bfcSGreg Roach 56*06a438b4SGreg Roach<?php if ($ajax_url !== '') : ?> 57*06a438b4SGreg Roach <div class="wt-ajax-load wt-page-content wt-chart wt-branches" data-ajax-url="<?= e($ajax_url) ?>"></div> 58dd6b2bfcSGreg Roach<?php endif ?> 59