From fae74a8b1e27b7571a12cbe7675d2059aa1aa224 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 5 Apr 2026 11:48:07 -0400 Subject: [PATCH] Software: Add Additional License Types --- CHANGELOG.md | 1 + admin/settings_theme.php | 126 ++++++++++++++++++------------ agent/project_details.php | 5 +- includes/load_global_settings.php | 29 ++----- 4 files changed, 83 insertions(+), 78 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fc90a83..d84cd6ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This file documents all notable changes made to ITFlow. - Table Lists: replace class table-responsive-sm with just table-reponsive was causing ui issues with certain screen sizes. - Client: Fix Edit erroring on certain characters. - Category: Fix Add/Edit due to missing CSRF fields. +- Category: Fix Restore function and Icon and text color. - Invoice: Do not apply late fee on first overdue reminder (1 day). - Ticket: Fix issue with contact not being added with Add contact modal v1. - Quote: Fix Copy was missing client. diff --git a/admin/settings_theme.php b/admin/settings_theme.php index 80957ff1..6e5cc6a5 100644 --- a/admin/settings_theme.php +++ b/admin/settings_theme.php @@ -1,68 +1,90 @@ -
-
-

Theme

-
-
-
- +$theme_colors_array = array ( + 'lightblue', + 'blue', + 'cyan', + 'green', + 'olive', + 'teal', + 'red', + 'maroon', + 'pink', + 'purple', + 'indigo', + 'fuchsia', + 'yellow', + 'orange', + 'yellow', + 'black', + 'navy', + 'gray' +); - -
+?> - +
+

Theme

+
+
+ + - foreach ($theme_colors_array as $theme_color) { + +
- ?> + -
-
- > - -
+ foreach ($theme_colors_array as $theme_color) { + + ?> + +
+
+
+ > +
+
- - -
- - -
-
- -
-
-

Favicon

-
-
-
- - - "> - -
- -
- -
- - - - Reset Favicon -
-
+ +
+ +
+
+ +
+
+

Favicon

+
+
+
+ + + "> + +
+ +
+ +
+ + + + Reset Favicon + +
+
+
-
+
- diff --git a/includes/load_global_settings.php b/includes/load_global_settings.php index a496f634..3cd7829f 100644 --- a/includes/load_global_settings.php +++ b/includes/load_global_settings.php @@ -135,28 +135,6 @@ $config_whitelabel_key = $row['config_whitelabel_key']; // Select Arrays - -$theme_colors_array = array ( - 'lightblue', - 'blue', - 'cyan', - 'green', - 'olive', - 'teal', - 'red', - 'maroon', - 'pink', - 'purple', - 'indigo', - 'fuchsia', - 'yellow', - 'orange', - 'yellow', - 'black', - 'navy', - 'gray' -); - $colors_array = array ( 'lightblue', 'blue', @@ -214,7 +192,12 @@ $asset_types_array = array ( $license_types_array = array ( 'Device', - 'User' + 'User', + 'Site', + 'Concurrent', + 'Trial', + 'Perpetual', + 'Usage-based' ); $document_types_array = array (
- +
@@ -494,7 +494,6 @@ if (isset($_GET['project_id'])) {