@@ -15,8 +15,6 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | namespace Fisharebest\Webtrees; |
| 17 | 17 | |
| 18 | -use Rhumsaa\Uuid\Uuid; |
|
| 19 | - |
|
| 20 | 18 | /** |
| 21 | 19 | * System for generating menus. |
| 22 | 20 | */ |
@@ -34,7 +34,6 @@ |
||
| 34 | 34 | use Fisharebest\Webtrees\Log; |
| 35 | 35 | use Fisharebest\Webtrees\Menu; |
| 36 | 36 | use Fisharebest\Webtrees\Module; |
| 37 | -use Fisharebest\Webtrees\Select2; |
|
| 38 | 37 | use Fisharebest\Webtrees\Stats; |
| 39 | 38 | use Fisharebest\Webtrees\Tree; |
| 40 | 39 | use PDO; |
@@ -1470,7 +1470,7 @@ |
||
| 1470 | 1470 | '0' => I18N::translateContext('Show the [first/last] [N] parts of a place name.', 'first'), |
| 1471 | 1471 | '1' => I18N::translateContext('Show the [first/last] [N] parts of a place name.', 'last'), |
| 1472 | 1472 | ], $WT_TREE->getPreference('SHOW_PEDIGREE_PLACES_SUFFIX', ['name' => 'SHOW_PEDIGREE_PLACES_SUFFIX'])), |
| 1473 | - Bootstrap4::select(FunctionsEdit::numericOptions(range(1,9)), $WT_TREE->getPreference('SHOW_PEDIGREE_PLACES'), ['name' => 'SHOW_PEDIGREE_PLACES']) |
|
| 1473 | + Bootstrap4::select(FunctionsEdit::numericOptions(range(1, 9)), $WT_TREE->getPreference('SHOW_PEDIGREE_PLACES'), ['name' => 'SHOW_PEDIGREE_PLACES']) |
|
| 1474 | 1474 | ) ?> |
| 1475 | 1475 | <p class="small text-muted"> |
| 1476 | 1476 | <?= /* I18N: Help text for the “Abbreviate place names” configuration setting */ I18N::translate('Place names are frequently too long to fit on charts, lists, etc. They can be abbreviated by showing just the first few parts of the name, such as <i>village, county</i>, or the last few part of it, such as <i>region, country</i>.') ?> |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | <?= I18N::translate('Individual') ?> |
| 48 | 48 | </label> |
| 49 | 49 | <div class="col-sm-9"> |
| 50 | - <?= FunctionsEdit::formControlIndividual( $controller->root, ['id' => 'rootid', 'name' => 'rootid']) ?> |
|
| 50 | + <?= FunctionsEdit::formControlIndividual($controller->root, ['id' => 'rootid', 'name' => 'rootid']) ?> |
|
| 51 | 51 | </div> |
| 52 | 52 | </div> |
| 53 | 53 | |