|
@@ -2690,7 +2690,7 @@ discard block |
|
|
block discarded – undo |
|
2690
|
2690
|
[0 => I18N::translate('Geographic data')] + |
|
2691
|
2691
|
$this->placeIdToHierarchy($place_id === 0 ? $parent_id : $place_id); |
|
2692
|
2692
|
foreach ($hierarchy as $id => $name) { |
|
2693
|
|
- $breadcrumbs += ['module.php?mod=googlemap&mod_action=admin_places&parent_id=' . $id .'&inactive=' . $inactive => Filter::escapeHtml($name)]; |
|
|
2693
|
+ $breadcrumbs += ['module.php?mod=googlemap&mod_action=admin_places&parent_id=' . $id . '&inactive=' . $inactive => Filter::escapeHtml($name)]; |
|
2694
|
2694
|
} |
|
2695
|
2695
|
echo Bootstrap4::breadcrumbs($breadcrumbs, $place_id === 0 ? I18N::translate('Add') : I18N::translate('Edit')); |
|
2696
|
2696
|
|
|
@@ -3219,7 +3219,7 @@ discard block |
|
|
block discarded – undo |
|
3219
|
3219
|
[0 => I18N::translate('Geographic data')] + |
|
3220
|
3220
|
$this->placeIdToHierarchy($parent_id); |
|
3221
|
3221
|
foreach (array_slice($hierarchy, 0, -1, true) as $id => $name) { |
|
3222
|
|
- $breadcrumbs += ['module.php?mod=googlemap&mod_action=admin_places&parent_id=' . $id .'&inactive=' . $inactive => Filter::escapeHtml($name)]; |
|
|
3222
|
+ $breadcrumbs += ['module.php?mod=googlemap&mod_action=admin_places&parent_id=' . $id . '&inactive=' . $inactive => Filter::escapeHtml($name)]; |
|
3223
|
3223
|
} |
|
3224
|
3224
|
echo Bootstrap4::breadcrumbs($breadcrumbs, end($hierarchy)); |
|
3225
|
3225
|
|
|
@@ -3679,11 +3679,11 @@ discard block |
|
|
block discarded – undo |
|
3679
|
3679
|
<?php endif ?> |
|
3680
|
3680
|
</td> |
|
3681
|
3681
|
<td> |
|
3682
|
|
- <?= FontAwesome::linkIcon('edit', I18N::translate('Edit'), ['href' => 'module.php?mod=googlemap&mod_action=admin_places_edit&action=update&place_id=' . $place['place_id'] . '&parent_id=' . $place['parent_id'], 'class' => 'btn btn-primary']) ?> |
|
|
3682
|
+ <?= FontAwesome::linkIcon('edit', I18N::translate('Edit'), ['href' => 'module.php?mod=googlemap&mod_action=admin_places_edit&action=update&place_id=' . $place['place_id'] . '&parent_id=' . $place['parent_id'], 'class' => 'btn btn-primary']) ?> |
|
3683
|
3683
|
</td> |
|
3684
|
3684
|
<td> |
|
3685
|
3685
|
<?php if ($noRows == 0): ?> |
|
3686
|
|
- <?= FontAwesome::linkIcon('delete', I18N::translate('Delete'), ['href' => '', 'class' => 'btn btn-danger', 'onclick' => 'confirm("' . I18N::translate('Remove this location?') . '")']) ?> |
|
|
3686
|
+ <?= FontAwesome::linkIcon('delete', I18N::translate('Delete'), ['href' => '', 'class' => 'btn btn-danger', 'onclick' => 'confirm("' . I18N::translate('Remove this location?') . '")']) ?> |
|
3687
|
3687
|
<?php else: ?> |
|
3688
|
3688
|
<button type="button" class="btn btn-danger" disabled> |
|
3689
|
3689
|
<?= FontAwesome::decorativeIcon('delete') ?> |