Remove five bundled libraries: drop unused DataTables, zapcal and clipboard.js, make QR codes with TCPDF instead of libs/barcode, and replace IMask with own IP and MAC field code that leaves non-MAC text alone

This commit is contained in:
johnnyq
2026-11-19 00:37:07 -05:00
parent ac4880c3be
commit 527a1c5dd2
40 changed files with 377 additions and 6337 deletions

View File

@@ -79,7 +79,6 @@ $portal_contact_name = (string) ($contact['contact_name'] ?? '');
/ .bg-gradient-* families. Loads BEFORE itflow_custom.css so
our own .bg-<colour> box colours still win. */ ?>
<link rel="stylesheet" href="<?= staticFileUrl('/libs/adminlte/css/adminlte-colors-v3.min.css') ?>">
<link rel="stylesheet" href="<?= staticFileUrl('/libs/sweetalert2/css/sweetalert2.min.css') ?>">
<!-- ITFlow style: the AdminLTE 3 compatibility layer, the theme colours and the
portal's own look. Must load last so it wins. -->
@@ -92,10 +91,6 @@ $portal_contact_name = (string) ($contact['contact_name'] ?? '');
<link rel="stylesheet" href="<?= staticFileUrl('/libs/intl-tel-input/css/intlTelInput.min.css') ?>">
<?php } ?>
<?php if (!empty($portal_load_datatables)) { ?>
<link rel="stylesheet" href="<?= staticFileUrl('/libs/DataTables/datatables.min.css') ?>">
<?php } ?>
</head>
<?php /* Same country bridge as the agent header: intl-tel-input wants an ISO2