diff options
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/lists/families-table.phtml | 2 | ||||
| -rw-r--r-- | resources/views/lists/individuals-table.phtml | 4 | ||||
| -rw-r--r-- | resources/views/modules/pedigree-map/event-sidebar.phtml | 2 | ||||
| -rw-r--r-- | resources/views/modules/places/event-sidebar.phtml | 2 | ||||
| -rw-r--r-- | resources/views/modules/todays_events/list.phtml | 2 | ||||
| -rw-r--r-- | resources/views/modules/upcoming_events/list.phtml | 2 | ||||
| -rw-r--r-- | resources/views/place-hierarchy.phtml | 2 | ||||
| -rw-r--r-- | resources/views/place-list.phtml | 2 | ||||
| -rw-r--r-- | resources/views/place-sidebar.phtml | 2 | ||||
| -rw-r--r-- | resources/views/places-page.phtml | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/resources/views/lists/families-table.phtml b/resources/views/lists/families-table.phtml index 4a4f6ab052..b0a54deb9a 100644 --- a/resources/views/lists/families-table.phtml +++ b/resources/views/lists/families-table.phtml @@ -321,7 +321,7 @@ for ($year = 1550; $year < 2030; $year += 10) { <!-- Marriage place --> <td> <?php foreach ($family->getAllMarriagePlaces() as $n => $marriage_place) : ?> - <a href="<?= $marriage_place->getURL() ?>" title="<?= strip_tags($marriage_place->getFullName()) ?>"> + <a href="<?= e($marriage_place->url()) ?>" title="<?= strip_tags($marriage_place->getFullName()) ?>"> <?= $marriage_place->getShortName() ?> </a> <br> diff --git a/resources/views/lists/individuals-table.phtml b/resources/views/lists/individuals-table.phtml index df461b8408..ba59a82904 100644 --- a/resources/views/lists/individuals-table.phtml +++ b/resources/views/lists/individuals-table.phtml @@ -283,7 +283,7 @@ for ($year = 1550; $year < 2030; $year += 10) { <!-- Birth place --> <td> <?php foreach ($individual->getAllBirthPlaces() as $n => $birth_place) : ?> - <a href="<?= $birth_place->getURL() ?>" title="<?= strip_tags($birth_place->getFullName()) ?>"> + <a href="<?= e($birth_place->url()) ?>" title="<?= strip_tags($birth_place->getFullName()) ?>"> <?= $birth_place->getShortName() ?> </a> <br> @@ -330,7 +330,7 @@ for ($year = 1550; $year < 2030; $year += 10) { <!-- Death place --> <td> <?php foreach ($individual->getAllDeathPlaces() as $n => $death_place) : ?> - <a href="<?= $death_place->getURL() ?>" title="<?= e(strip_tags($death_place->getFullName())) ?>"> + <a href="<?= e($death_place->url()) ?>" title="<?= e(strip_tags($death_place->getFullName())) ?>"> <?= $death_place->getShortName() ?> </a> <br> diff --git a/resources/views/modules/pedigree-map/event-sidebar.phtml b/resources/views/modules/pedigree-map/event-sidebar.phtml index 8b647768f1..df2f431386 100644 --- a/resources/views/modules/pedigree-map/event-sidebar.phtml +++ b/resources/views/modules/pedigree-map/event-sidebar.phtml @@ -24,7 +24,7 @@ <?php if (!$place->isEmpty()) : ?> <div> - <a href="<?= e($place->getUrl()) ?>"> + <a href="<?= e($place->url()) ?>"> <?= $place->getFullName() ?> </a> </div> diff --git a/resources/views/modules/places/event-sidebar.phtml b/resources/views/modules/places/event-sidebar.phtml index 8b647768f1..df2f431386 100644 --- a/resources/views/modules/places/event-sidebar.phtml +++ b/resources/views/modules/places/event-sidebar.phtml @@ -24,7 +24,7 @@ <?php if (!$place->isEmpty()) : ?> <div> - <a href="<?= e($place->getUrl()) ?>"> + <a href="<?= e($place->url()) ?>"> <?= $place->getFullName() ?> </a> </div> diff --git a/resources/views/modules/todays_events/list.phtml b/resources/views/modules/todays_events/list.phtml index 770f4f3d1b..a3796f2450 100644 --- a/resources/views/modules/todays_events/list.phtml +++ b/resources/views/modules/todays_events/list.phtml @@ -13,7 +13,7 @@ <?= $fact->label() . ' — ' . $fact->date()->display(true); ?> <?= ' (' . I18N::timeAgo($fact->anniv * 365 * 24 * 60 * 60) . ')'; ?> <?php if (!$fact->place()->isEmpty()) : ?> - <?= ' — <a href="' . $fact->place()->getURL() . '">' . $fact->place()->getFullName() . '</a>'; ?> + <?= ' — <a href="' . e($fact->place()->url()) . '">' . $fact->place()->getFullName() . '</a>'; ?> <?php endif ?> </div> <?php endforeach ?> diff --git a/resources/views/modules/upcoming_events/list.phtml b/resources/views/modules/upcoming_events/list.phtml index 770f4f3d1b..a3796f2450 100644 --- a/resources/views/modules/upcoming_events/list.phtml +++ b/resources/views/modules/upcoming_events/list.phtml @@ -13,7 +13,7 @@ <?= $fact->label() . ' — ' . $fact->date()->display(true); ?> <?= ' (' . I18N::timeAgo($fact->anniv * 365 * 24 * 60 * 60) . ')'; ?> <?php if (!$fact->place()->isEmpty()) : ?> - <?= ' — <a href="' . $fact->place()->getURL() . '">' . $fact->place()->getFullName() . '</a>'; ?> + <?= ' — <a href="' . e($fact->place()->url()) . '">' . $fact->place()->getFullName() . '</a>'; ?> <?php endif ?> </div> <?php endforeach ?> diff --git a/resources/views/place-hierarchy.phtml b/resources/views/place-hierarchy.phtml index 15489351b5..d31579517f 100644 --- a/resources/views/place-hierarchy.phtml +++ b/resources/views/place-hierarchy.phtml @@ -12,7 +12,7 @@ <ul class="col list_value_wrap mr-1"> <?php foreach ($column as $item) : ?> <li> - <a href="<?= $item->getURL() ?>"><?= $item->getPlaceName() ?></a> + <a href="<?= e($item->url()) ?>"><?= $item->getPlaceName() ?></a> </li> <?php endforeach ?> </ul> diff --git a/resources/views/place-list.phtml b/resources/views/place-list.phtml index 2d60ddad40..db19e64271 100644 --- a/resources/views/place-list.phtml +++ b/resources/views/place-list.phtml @@ -11,7 +11,7 @@ <ul class="col list_value_wrap mr-1"> <?php foreach ($column as $item) : ?> <li> - <a href="<?= $item->getURL() ?>"><?= $item->getReverseName() ?></a> + <a href="<?= e($item->url()) ?>"><?= $item->getReverseName() ?></a> </li> <?php endforeach ?> </ul> diff --git a/resources/views/place-sidebar.phtml b/resources/views/place-sidebar.phtml index d2d37e9429..3f19222247 100644 --- a/resources/views/place-sidebar.phtml +++ b/resources/views/place-sidebar.phtml @@ -4,7 +4,7 @@ <div class="d-table-row"> <div class="d-table-cell label"> <?php if ($showlink) : ?> - <a href="<?= $place->getURL() ?>"> + <a href="<?= e($place->url()) ?>"> <?= $place->getPlaceName() ?> </a> <?php else : ?> diff --git a/resources/views/places-page.phtml b/resources/views/places-page.phtml index 24796556c8..95c6d4b8bf 100644 --- a/resources/views/places-page.phtml +++ b/resources/views/places-page.phtml @@ -14,7 +14,7 @@ <?php foreach ($breadcrumbs as $item) : ?> - - <a href="<?= $item->getURL() ?>" dir="auto"><?= $item->getPlaceName() ?></a> + <a href="<?= e($item->url()) ?>" dir="auto"><?= $item->getPlaceName() ?></a> <?php endforeach ?> <?php if ($current) : ?> |
