mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Consolidate vendor modals to modals/vendor removed ajax_ and _modal prefixes from file names and use new ajax-modal syntax
This commit is contained in:
@@ -205,7 +205,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
$vendor_name = nullable_htmlentities($row['vendor_name']);
|
||||
$vendor_id = intval($row['vendor_id']);
|
||||
if ($vendor_name) {
|
||||
$vendor_display = "<a href='#' data-toggle='ajax-modal' data-ajax-url='ajax/ajax_vendor_details.php' data-ajax-id='$vendor_id'>$vendor_name</a>";
|
||||
$vendor_display = "<a class='ajax-modal' href='#' data-modal-url='modals/vendor/vendor_details.php?id=$vendor_id'>$vendor_name</a>";
|
||||
} else {
|
||||
$vendor_display = "<span class='text-muted'>N/A</span>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user