mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
convert even more ajax modals to new syntax
This commit is contained in:
@@ -360,7 +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 ajax-modal" href="#" data-modal-url="ajax/ajax_location_edit.php?id=<?=$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) { ?>
|
||||
|
||||
@@ -292,11 +292,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_network_edit.php"
|
||||
data-ajax-id="<?php echo $network_id; ?>"
|
||||
>
|
||||
<a class="text-dark ajax-modal" href="#" data-modal-url="ajax/ajax_network_edit.php?id=<?= $network_id ?>">
|
||||
<div class="media">
|
||||
<i class="fa fa-fw fa-2x fa-network-wired mr-3"></i>
|
||||
<div class="media-body">
|
||||
@@ -324,11 +320,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_network_edit.php"
|
||||
data-ajax-id="<?php echo $network_id; ?>"
|
||||
>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="ajax/ajax_network_edit.php?id=<?=$network_id ?>">
|
||||
<i class="fas fa-fw fa-edit mr-2"></i>Edit
|
||||
</a>
|
||||
<?php if ($session_user_role == 3) { ?>
|
||||
|
||||
@@ -263,11 +263,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
?>
|
||||
<tr class="<?php echo $tr_class; ?>">
|
||||
<td>
|
||||
<a class="text-dark" href="#"
|
||||
data-toggle="ajax-modal"
|
||||
data-ajax-url="ajax/ajax_software_edit.php"
|
||||
data-ajax-id="<?php echo $software_id; ?>"
|
||||
>
|
||||
<a class="text-dark ajax-modal" href="#" data-modal-url="ajax/ajax_software_edit.php?id=<?= $software_id ?>">
|
||||
<div class="media">
|
||||
<i class="fa fa-fw fa-2x fa-cube mr-3"></i>
|
||||
<div class="media-body">
|
||||
@@ -291,10 +287,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_software_edit.php"
|
||||
data-ajax-id="<?php echo $software_id; ?>"
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="ajax/ajax_software_edit.php?id=<?= $software_id ?>"
|
||||
>
|
||||
<i class="fas fa-fw fa-edit mr-2"></i>Edit
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user