1*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\I18N; ?> 2*dd6b2bfcSGreg Roach 3*dd6b2bfcSGreg Roach<?= view('components/breadcrumbs', ['links' => [route('admin-control-panel') => I18N::translate('Control panel'), route('admin-trees', ['ged' => $tree->getName()]) => I18N::translate('Manage family trees '), $title]]) ?> 4*dd6b2bfcSGreg Roach 5*dd6b2bfcSGreg Roach<h1><?= $title ?></h1> 6*dd6b2bfcSGreg Roach 7*dd6b2bfcSGreg Roach<p> 8*dd6b2bfcSGreg Roach <?= I18N::translate('In a family tree, each record has an internal reference number (called an “XREF”) such as “F123” or “R14”.') ?> 9*dd6b2bfcSGreg Roach</p> 10*dd6b2bfcSGreg Roach 11*dd6b2bfcSGreg Roach<p> 12*dd6b2bfcSGreg Roach <?= I18N::translate('You can renumber the records in a family tree, so that these internal reference numbers are not duplicated in any other family tree.') ?> 13*dd6b2bfcSGreg Roach</p> 14*dd6b2bfcSGreg Roach 15*dd6b2bfcSGreg Roach<p> 16*dd6b2bfcSGreg Roach <?= I18N::plural('This family tree has %s record which uses the same “XREF” as another family tree.', 'This family tree has %s records which use the same “XREF” as another family tree.', count($xrefs), I18N::number(count($xrefs))) ?> 17*dd6b2bfcSGreg Roach</p> 18*dd6b2bfcSGreg Roach 19*dd6b2bfcSGreg Roach<?php if (!empty($xrefs)) : ?> 20*dd6b2bfcSGreg Roach <p> 21*dd6b2bfcSGreg Roach <?= I18N::translate('You can renumber this family tree.') ?> 22*dd6b2bfcSGreg Roach </p> 23*dd6b2bfcSGreg Roach 24*dd6b2bfcSGreg Roach <form method="post"> 25*dd6b2bfcSGreg Roach <?= csrf_field() ?> 26*dd6b2bfcSGreg Roach <button type="submit" class="btn btn-primary"> 27*dd6b2bfcSGreg Roach <?= view('icons/save') ?> 28*dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ 29*dd6b2bfcSGreg Roach I18N::translate('continue') ?> 30*dd6b2bfcSGreg Roach </button> 31*dd6b2bfcSGreg Roach 32*dd6b2bfcSGreg Roach <?= I18N::translate('Caution! This may take a long time. Be patient.') ?> 33*dd6b2bfcSGreg Roach </form> 34*dd6b2bfcSGreg Roach<?php endif ?> 35