|
@@ 371-384 (lines=14) @@
|
| 368 |
|
<div class="row"> |
| 369 |
|
<div class ="col-sm-6"> |
| 370 |
|
<p class="form-control-static"><strong><?= I18N::translate('Prefixes') ?></strong></p> |
| 371 |
|
<?php for ($level = 1; $level < 10; $level++): ?> |
| 372 |
|
<?php |
| 373 |
|
if ($level == 1) { |
| 374 |
|
$label = I18N::translate('Country'); |
| 375 |
|
} else { |
| 376 |
|
$label = I18N::translate('Level') . ' ' . $level; |
| 377 |
|
} |
| 378 |
|
?> |
| 379 |
|
<div class="input-group"> |
| 380 |
|
<label class="input-group-addon" for="GM_PREFIX_<?= $level ?>"><?= $label ?></label> |
| 381 |
|
<input class="form-control" type="text" name="GM_PREFIX_<?= $level ?>" value="<?= $this->getPreference('GM_PREFIX_' . $level) ?>"> |
| 382 |
|
</div> |
| 383 |
|
<?php endfor ?> |
| 384 |
|
</div> |
| 385 |
|
<div class="col-sm-6"> |
| 386 |
|
<p class="form-control-static"><strong><?= I18N::translate('Suffixes') ?></strong></p> |
| 387 |
|
<?php for ($level = 1; $level < 10; $level++): ?> |
|
@@ 387-400 (lines=14) @@
|
| 384 |
|
</div> |
| 385 |
|
<div class="col-sm-6"> |
| 386 |
|
<p class="form-control-static"><strong><?= I18N::translate('Suffixes') ?></strong></p> |
| 387 |
|
<?php for ($level = 1; $level < 10; $level++): ?> |
| 388 |
|
<?php |
| 389 |
|
if ($level == 1) { |
| 390 |
|
$label = I18N::translate('Country'); |
| 391 |
|
} else { |
| 392 |
|
$label = I18N::translate('Level') . ' ' . $level; |
| 393 |
|
} |
| 394 |
|
?> |
| 395 |
|
<div class="input-group"> |
| 396 |
|
<label class="input-group-addon" for="GM_POSTFIX_<?= $level ?>"><?= $label ?></label> |
| 397 |
|
<input class="form-control" type="text" name="GM_POSTFIX_<?= $level ?>" value="<?= $this->getPreference('GM_POSTFIX_' . $level) ?>"> |
| 398 |
|
</div> |
| 399 |
|
<?php endfor ?> |
| 400 |
|
</div> |
| 401 |
|
</div> |
| 402 |
|
<p class="small text-muted"><?= I18N::translate('Some place names may be written with optional prefixes and suffixes. For example “Orange” versus “Orange County”. If the family tree contains the full place names, but the geographic database contains the short place names, then you should specify a list of the prefixes and suffixes to be disregarded. Multiple values should be separated with semicolons. For example “County;County of” or “Township;Twp;Twp.”.') ?></p> |
| 403 |
|
</div> |