Update Font Awesome to v6.6.x, adjust some icon references.

This commit is contained in:
fusionate
2024-08-09 18:14:52 -06:00
parent 10bd1b9f9f
commit 4b23913555
2622 changed files with 321441 additions and 70166 deletions

View File

@@ -119,6 +119,16 @@ if ($domains_processed == 1) {
$p->delete('dashboard_add', 'temp');
$p->delete('dashboard_group_add', 'temp');
//update dashboard icons to be prefixed with v6.x font awesome style class name (e.g. 'fa-solid ')
$queries[] = "update v_dashboard set dashboard_icon = concat('fa-solid ', dashboard_icon) where dashboard_icon is not null and dashboard_icon not like 'fa-solid fa-%' and dashboard_icon not like 'fa-regular fa-%' and dashboard_icon not like 'fa-brands fa-%' ";
//execute array of queries
foreach ($queries as $sql) {
$database = new database;
$database->execute($sql);
}
unset($queries, $sql);
}
?>
?>