mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
convert more ajax modals to new syntax
This commit is contained in:
@@ -328,11 +328,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a class="text-dark" href="#"
|
||||
data-toggle="ajax-modal"
|
||||
data-ajax-url="ajax/ajax_location_edit.php"
|
||||
data-ajax-id="<?php echo $location_id; ?>"
|
||||
>
|
||||
<a class="text-dark ajax-modal" href="#" data-modal-url="ajax/ajax_location_edit.php?id=<?= $location_id ?>">
|
||||
<div class="media">
|
||||
<i class="fa fa-fw fa-2x fa-map-marker-alt mr-3"></i>
|
||||
<div class="media-body">
|
||||
@@ -364,11 +360,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
<i class="fas fa-ellipsis-h"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="#"
|
||||
data-toggle="ajax-modal"
|
||||
data-ajax-url="ajax/ajax_location_edit.php"
|
||||
data-ajax-id="<?php echo $location_id; ?>"
|
||||
>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="ajax/ajax_location_edit.php?id=<?=$location_id; ?>">
|
||||
<i class="fas fa-fw fa-edit mr-2"></i>Edit
|
||||
</a>
|
||||
<?php if ($session_user_role == 3 && $location_primary == 0) { ?>
|
||||
|
||||
Reference in New Issue
Block a user