| @@ 86-99 (lines=14) @@ | ||
| 83 | } |
|
| 84 | ||
| 85 | // New Source Link |
|
| 86 | if ($controller->record->canEdit()) { |
|
| 87 | ?> |
|
| 88 | <tr> |
|
| 89 | <th> |
|
| 90 | <?= I18N::translate('Source') ?> |
|
| 91 | </th> |
|
| 92 | <td> |
|
| 93 | <a href="edit_interface.php?action=add&ged=<?= $controller->record->getTree()->getNameHtml() ?>&xref=<?= $controller->record->getXref() ?>&fact=SOUR"> |
|
| 94 | <?= I18N::translate('Add a source citation') ?> |
|
| 95 | </a> |
|
| 96 | </td> |
|
| 97 | </tr> |
|
| 98 | <?php |
|
| 99 | } |
|
| 100 | ?> |
|
| 101 | </table> |
|
| 102 | <script> |
|
| @@ 293-297 (lines=5) @@ | ||
| 290 | ?> |
|
| 291 | <tr> |
|
| 292 | <th scope="row"> |
|
| 293 | <?php if (count($family->getChildren()) > 1): ?> |
|
| 294 | <a href="edit_interface.php?action=reorder-children&ged=<?= $family->getTree()->getNameHtml() ?>&xref=<?= $family->getXref() ?>"> |
|
| 295 | <i class="icon-media-shuffle"></i> <?= I18N::translate('Re-order children') ?> |
|
| 296 | </a> |
|
| 297 | <?php endif; ?> |
|
| 298 | </th> |
|
| 299 | <td> |
|
| 300 | <a href="edit_interface.php?action=add_child_to_family&ged=<?= $family->getTree()->getNameHtml() ?>&xref=<?= $family->getXref() ?>&gender=U"> |
|
| @@ 385-393 (lines=9) @@ | ||
| 382 | <br> |
|
| 383 | <table class="table table-sm wt-facts-table"> |
|
| 384 | <tbody> |
|
| 385 | <?php if (count($families) > 1) { ?> |
|
| 386 | <tr> |
|
| 387 | <td> |
|
| 388 | <a href="edit_interface.php?action=reorder-spouses&ged=<?= $controller->record->getTree()->getNameHtml() ?>&xref=<?= $controller->record->getXref() ?>"> |
|
| 389 | <?= I18N::translate('Re-order families') ?> |
|
| 390 | </a> |
|
| 391 | </td> |
|
| 392 | </tr> |
|
| 393 | <?php } ?> |
|
| 394 | <tr> |
|
| 395 | <td> |
|
| 396 | <a href="edit_interface.php?action=addfamlink&ged=<?= $controller->record->getTree()->getNameHtml() ?>&xref=<?= $controller->record->getXref() ?>"><?= I18N::translate('Link this individual to an existing family as a child') ?></a> |
|