Move some arrays out of load global settings and into their own entity

This commit is contained in:
johnnyq
2026-04-05 12:00:56 -04:00
parent fae74a8b1e
commit b79a6c390e
9 changed files with 98 additions and 39 deletions

View File

@@ -41,9 +41,20 @@ while ($row = mysqli_fetch_assoc($contact_licenses_sql)) {
}
$contact_licenses = implode(',', $contact_licenses_array);
// Generate the HTML form content using output buffering.
$license_types_array = array (
'Device',
'User',
'Site',
'Concurrent',
'Trial',
'Perpetual',
'Usage-based'
);
ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-cube mr-2"></i>Editing license: <strong><?php echo $software_name; ?></strong></h5>
<button type="button" class="close text-white" data-dismiss="modal">