From a82bd419c6430e415c7fca75a77ec0eb5efd1316 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 16 Sep 2024 14:40:28 -0600 Subject: [PATCH] Add dashboard icon to the list --- core/dashboard/dashboard.php | 6 +++--- core/dashboard/dashboard_edit.php | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/dashboard/dashboard.php b/core/dashboard/dashboard.php index 941287d813..7d3076b9dd 100644 --- a/core/dashboard/dashboard.php +++ b/core/dashboard/dashboard.php @@ -101,7 +101,7 @@ $sql = "select \n"; $sql .= "dashboard_uuid, \n"; $sql .= "dashboard_name, \n"; - $sql .= "dashboard_icon,\n"; + $sql .= "dashboard_icon, \n"; $sql .= "( \n"; $sql .= " select \n"; $sql .= " string_agg(g.group_name, ', ') \n"; @@ -190,7 +190,7 @@ } echo th_order_by('dashboard_name', $text['label-dashboard_name'], $order_by, $order); echo th_order_by('dashboard_groups', $text['label-dashboard_groups'], $order_by, $order); - //echo th_order_by('dashboard_icon', 'Icons', $order_by, $order); + echo th_order_by('dashboard_icon', $text['label-icons'], $order_by, $order); echo th_order_by('dashboard_order', $text['label-dashboard_order'], $order_by, $order); echo th_order_by('dashboard_enabled', $text['label-dashboard_enabled'], $order_by, $order, null, "class='center'"); echo " ".$text['label-dashboard_description']."\n"; @@ -221,7 +221,7 @@ } echo " \n"; echo " ".escape($row['dashboard_groups'])."\n"; - //echo " ".escape($row['dashboard_icon'])."\n"; + echo " ".escape($row['dashboard_icon'])."\n"; echo " ".escape($row['dashboard_order'])."\n"; if (permission_exists('dashboard_edit')) { echo " \n"; diff --git a/core/dashboard/dashboard_edit.php b/core/dashboard/dashboard_edit.php index d8532efa7b..225449b07e 100644 --- a/core/dashboard/dashboard_edit.php +++ b/core/dashboard/dashboard_edit.php @@ -806,6 +806,7 @@ $dashboard_path == "call_forward/call_forward" || $dashboard_path == "ring_groups/ring_group_forward" || $dashboard_path == "registrations/registrations" || + $dashboard_path == "domains/domains" || $dashboard_path == "extensions/caller_id" || $dashboard_path == "maintenance/maintenance" ) {