|
@@ 429-441 (lines=13) @@
|
| 426 |
|
<div class="row"> |
| 427 |
|
<div class ="col-sm-6"> |
| 428 |
|
<p class="form-control-static"><strong><?php echo I18N::translate('Prefixes') ?></strong></p> |
| 429 |
|
<?php for ($level = 1; $level < 10; $level++): ?> |
| 430 |
|
<?php |
| 431 |
|
if ($level == 1) { |
| 432 |
|
$label = I18N::translate('Country'); |
| 433 |
|
} else { |
| 434 |
|
$label = I18N::translate('Level') . ' ' . $level; |
| 435 |
|
} |
| 436 |
|
?> |
| 437 |
|
<div class="input-group"> |
| 438 |
|
<label class="input-group-addon" for="GM_PREFIX_<?php echo $level ?>"><?php echo $label ?></label> |
| 439 |
|
<input class="form-control" type="text" name="GM_PREFIX_<?php echo $level ?>" value="<?php echo $this->getSetting('GM_PREFIX_' . $level) ?>"> |
| 440 |
|
</div> |
| 441 |
|
<?php endfor ?> |
| 442 |
|
</div> |
| 443 |
|
<div class="col-sm-6"> |
| 444 |
|
<p class="form-control-static"><strong><?php echo I18N::translate('Suffixes') ?></strong></p> |
|
@@ 445-457 (lines=13) @@
|
| 442 |
|
</div> |
| 443 |
|
<div class="col-sm-6"> |
| 444 |
|
<p class="form-control-static"><strong><?php echo I18N::translate('Suffixes') ?></strong></p> |
| 445 |
|
<?php for ($level = 1; $level < 10; $level++): ?> |
| 446 |
|
<?php |
| 447 |
|
if ($level == 1) { |
| 448 |
|
$label = I18N::translate('Country'); |
| 449 |
|
} else { |
| 450 |
|
$label = I18N::translate('Level') . ' ' . $level; |
| 451 |
|
} |
| 452 |
|
?> |
| 453 |
|
<div class="input-group"> |
| 454 |
|
<label class="input-group-addon" for="GM_POSTFIX_<?php echo $level ?>"><?php echo $label ?></label> |
| 455 |
|
<input class="form-control" type="text" name="GM_POSTFIX_<?php echo $level ?>" value="<?php echo $this->getSetting('GM_POSTFIX_' . $level) ?>"> |
| 456 |
|
</div> |
| 457 |
|
<?php endfor ?> |
| 458 |
|
</div> |
| 459 |
|
</div> |
| 460 |
|
<p class="small text-muted"><?php echo 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 options should be separated with semicolons. For example “County;County of” or “Township;Twp;Twp.”.') ?></p> |