Code Duplication    Length = 4-5 lines in 4 locations

edit_interface.php 4 locations

@@ 1522-1526 (lines=5) @@
1519
				                                  maxlength="255"> <?= FunctionsPrint::printSpecialCharacterLink('ABBR') ?>
1520
				</td>
1521
			</tr>
1522
			<?php if (strstr($controller->tree()->getPreference('ADVANCED_NAME_FACTS'), '_HEB') !== false) { ?>
1523
				<tr>
1524
					<th scope="row"><?= GedcomTag::getLabel('_HEB') ?></th>
1525
					<td><input type="text" name="_HEB" id="_HEB" value="" size="60">
1526
						<?= FunctionsPrint::printSpecialCharacterLink('_HEB') ?></td>
1527
				</tr>
1528
			<?php } ?>
1529
			<?php if (strstr($controller->tree()->getPreference('ADVANCED_NAME_FACTS'), 'ROMN') !== false) { ?>
@@ 1529-1533 (lines=5) @@
1526
						<?= FunctionsPrint::printSpecialCharacterLink('_HEB') ?></td>
1527
				</tr>
1528
			<?php } ?>
1529
			<?php if (strstr($controller->tree()->getPreference('ADVANCED_NAME_FACTS'), 'ROMN') !== false) { ?>
1530
				<tr>
1531
					<th scope="row">
1532
						<?= GedcomTag::getLabel('ROMN') ?></th>
1533
					<td><input type="text" name="ROMN" id="ROMN" value=""
1534
					                                  size="60"> <?= FunctionsPrint::printSpecialCharacterLink('ROMN') ?></td>
1535
				</tr>
1536
			<?php } ?>
@@ 1867-1870 (lines=4) @@
1864
				                                  maxlength="255"> <?= FunctionsPrint::printSpecialCharacterLink('REPO_NAME') ?>
1865
				</td>
1866
			</tr>
1867
			<?php if (strstr($controller->tree()->getPreference('ADVANCED_NAME_FACTS'), '_HEB') !== false) { ?>
1868
				<tr>
1869
					<th scope="row"><?= GedcomTag::getLabel('_HEB') ?></th>
1870
					<td><input type="text" name="_HEB" id="_HEB" value="" size="40"
1871
					                                  maxlength="255"> <?= FunctionsPrint::printSpecialCharacterLink('_HEB') ?>
1872
					</td>
1873
				</tr>
@@ 1875-1878 (lines=4) @@
1872
					</td>
1873
				</tr>
1874
			<?php } ?>
1875
			<?php if (strstr($controller->tree()->getPreference('ADVANCED_NAME_FACTS'), 'ROMN') !== false) { ?>
1876
				<tr>
1877
					<th scope="row"><?= GedcomTag::getLabel('ROMN') ?></th>
1878
					<td><input type="text" name="ROMN" id="ROMN" value="" size="40"
1879
					                                  maxlength="255"> <?= FunctionsPrint::printSpecialCharacterLink('ROMN') ?>
1880
					</td>
1881
				</tr>