\n";
- echo " ".$text['label-recent_calls']."\n";
+ echo " ".$text['label-recent_calls']."\n";
if ($dashboard_chart_type == "doughnut") {
//add doughnut chart
diff --git a/core/dashboard/app_config.php b/core/dashboard/app_config.php
index f35483da4b..b94a46bbdd 100644
--- a/core/dashboard/app_config.php
+++ b/core/dashboard/app_config.php
@@ -107,21 +107,41 @@
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the heading text color.';
$z++;
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'dashboard_heading_text_color_hover';
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
+ $apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the heading text color hover.';
+ $z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'dashboard_heading_background_color';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the heading background color.';
$z++;
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'dashboard_heading_background_color_hover';
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
+ $apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the heading background color hover.';
+ $z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'dashboard_number_text_color';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the number text color.';
$z++;
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'dashboard_number_text_color_hover';
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
+ $apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the number text color hover.';
+ $z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'dashboard_background_color';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the background color.';
$z++;
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'dashboard_background_color_hover';
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
+ $apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the background color hover.';
+ $z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'dashboard_detail_background_color';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
diff --git a/core/dashboard/app_defaults.php b/core/dashboard/app_defaults.php
index 53cdf1c7ab..feaf670d88 100644
--- a/core/dashboard/app_defaults.php
+++ b/core/dashboard/app_defaults.php
@@ -56,22 +56,32 @@ if ($domains_processed == 1) {
$array['dashboard'][$x]['dashboard_uuid'] = $row['dashboard_uuid'];
$array['dashboard'][$x]['dashboard_name'] = $row['dashboard_name'];
$array['dashboard'][$x]['dashboard_path'] = $row['dashboard_path'];
+ $array['dashboard'][$x]['dashboard_chart_type'] = $row['dashboard_chart_type'] ?? "doughnut";
$array['dashboard'][$x]['dashboard_column_span'] = $row['dashboard_column_span'] ?? 1;
$array['dashboard'][$x]['dashboard_row_span'] = $row['dashboard_row_span'] ?? 2;
+ $array['dashboard'][$x]['dashboard_details_state'] = $row['dashboard_details_state'] ?? "expanded";
$array['dashboard'][$x]['dashboard_order'] = $row['dashboard_order'];
$array['dashboard'][$x]['dashboard_enabled'] = $row['dashboard_enabled'];
$array['dashboard'][$x]['dashboard_description'] = $row['dashboard_description'];
- if (!empty($row['dashboard_details_state'])) { $array['dashboard'][$x]['dashboard_details_state'] = $row['dashboard_details_state']; }
if (!empty($row['dashboard_heading_text_color'])) { $array['dashboard'][$x]['dashboard_heading_text_color'] = $row['dashboard_heading_text_color']; }
+ if (!empty($row['dashboard_heading_text_color_hover'])) { $array['dashboard'][$x]['dashboard_heading_text_color_hover'] = $row['dashboard_heading_text_color_hover']; }
if (!empty($row['dashboard_number_text_color'])) { $array['dashboard'][$x]['dashboard_number_text_color'] = $row['dashboard_number_text_color']; }
+ if (!empty($row['dashboard_number_text_color_hover'])) { $array['dashboard'][$x]['dashboard_number_text_color_hover'] = $row['dashboard_number_text_color_hover']; }
if (!empty($row['dashboard_icon'])) { $array['dashboard'][$x]['dashboard_icon'] = $row['dashboard_icon']; }
if (!empty($row['dashboard_url'])) { $array['dashboard'][$x]['dashboard_url'] = $row['dashboard_url']; }
if (!empty($row['dashboard_target'])) { $array['dashboard'][$x]['dashboard_target'] = $row['dashboard_target']; }
if (!empty($row['dashboard_heading_background_color'])) { $array['dashboard'][$x]['dashboard_heading_background_color'] = $row['dashboard_heading_background_color']; }
+ if (!empty($row['dashboard_heading_background_color_hover'])) { $array['dashboard'][$x]['dashboard_heading_background_color'] = $row['dashboard_heading_background_color_hover']; }
if (!empty($row['dashboard_background_color'])) { $array['dashboard'][$x]['dashboard_background_color'] = $row['dashboard_background_color']; }
+ if (!empty($row['dashboard_background_color_hover'])) { $array['dashboard'][$x]['dashboard_background_color'] = $row['dashboard_background_color_hover']; }
if (!empty($row['dashboard_detail_background_color'])) { $array['dashboard'][$x]['dashboard_detail_background_color'] = $row['dashboard_detail_background_color']; }
if (!empty($row['dashboard_content'])) { $array['dashboard'][$x]['dashboard_content'] = $row['dashboard_content']; }
if (!empty($row['dashboard_content_details'])) { $array['dashboard'][$x]['dashboard_content_details'] = $row['dashboard_content_details']; }
+ if (in_array($row['dashboard_path'], ['app/voicemails/resources/dashboard/voicemails.php', 'app/xml_cdr/resources/dashboard/missed_calls.php', 'app/xml_cdr/resources/dashboard/recent_calls.php'])) {
+ if (!isset($row['dashboard_chart_type'])) { $array['dashboard'][$x]['dashboard_chart_type'] = "number"; }
+ if (!isset($row['dashboard_row_span'])) { $array['dashboard'][$x]['dashboard_row_span'] = 1; }
+ if (!isset($row['dashboard_details_state'])) { $array['dashboard'][$x]['dashboard_details_state'] = "hidden"; }
+ }
$y = 0;
if (!empty($row['dashboard_groups'])) {
foreach ($row['dashboard_groups'] as $row) {
@@ -112,4 +122,4 @@ if ($domains_processed == 1) {
}
-?>
\ No newline at end of file
+?>
diff --git a/core/dashboard/app_languages.php b/core/dashboard/app_languages.php
index eb99809196..cafa6d47d1 100644
--- a/core/dashboard/app_languages.php
+++ b/core/dashboard/app_languages.php
@@ -416,6 +416,110 @@ $text['label-doughnut']['zh-cn'] = "油炸圈饼";
$text['label-doughnut']['ja-jp'] = "ドーナツ";
$text['label-doughnut']['ko-kr'] = "도넛";
+$text['label-dashboard_heading_text_color']['en-us'] = "Heading Text Color";
+$text['label-dashboard_heading_text_color']['en-gb'] = "Heading Text Color";
+$text['label-dashboard_heading_text_color']['ar-eg'] = "لون نص العنوان";
+$text['label-dashboard_heading_text_color']['de-at'] = "Farbe des Überschriftentextes";
+$text['label-dashboard_heading_text_color']['de-ch'] = "Farbe des Überschriftentextes";
+$text['label-dashboard_heading_text_color']['de-de'] = "Farbe des Überschriftentextes";
+$text['label-dashboard_heading_text_color']['el-gr'] = "Χρώμα κειμένου επικεφαλίδας";
+$text['label-dashboard_heading_text_color']['es-cl'] = "Color del texto del encabezado";
+$text['label-dashboard_heading_text_color']['es-mx'] = "Color del texto del encabezado";
+$text['label-dashboard_heading_text_color']['fr-ca'] = "Couleur du texte du titre";
+$text['label-dashboard_heading_text_color']['fr-fr'] = "Couleur du texte du titre";
+$text['label-dashboard_heading_text_color']['he-il'] = "צבע טקסט כותרת";
+$text['label-dashboard_heading_text_color']['it-it'] = "Colore del testo dell'intestazione";
+$text['label-dashboard_heading_text_color']['nl-nl'] = "Kleur van de koptekst";
+$text['label-dashboard_heading_text_color']['pl-pl'] = "Kolor tekstu nagłówka";
+$text['label-dashboard_heading_text_color']['pt-br'] = "Cor do texto do título";
+$text['label-dashboard_heading_text_color']['pt-pt'] = "Cor do texto do título";
+$text['label-dashboard_heading_text_color']['ro-ro'] = "Culoarea textului titlului";
+$text['label-dashboard_heading_text_color']['ru-ru'] = "Цвет текста заголовка";
+$text['label-dashboard_heading_text_color']['sv-se'] = "Rubrik Textfärg";
+$text['label-dashboard_heading_text_color']['uk-ua'] = "Колір тексту заголовка";
+$text['label-dashboard_heading_text_color']['tr-tr'] = "Başlık Metni Rengi";
+$text['label-dashboard_heading_text_color']['zh-cn'] = "标题文字颜色";
+$text['label-dashboard_heading_text_color']['ja-jp'] = "見出しの文字色";
+$text['label-dashboard_heading_text_color']['ko-kr'] = "제목 텍스트 색상";
+
+$text['description-dashboard_heading_text_color']['en-us'] = "Enter the dashboard widget heading text color.";
+$text['description-dashboard_heading_text_color']['en-gb'] = "Enter the dashboard widget heading text color.";
+$text['description-dashboard_heading_text_color']['ar-eg'] = "أدخل لون نص عنوان عنصر واجهة المستخدم للوحة المعلومات.";
+$text['description-dashboard_heading_text_color']['de-at'] = "Geben Sie die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_text_color']['de-ch'] = "Geben Sie die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_text_color']['de-de'] = "Geben Sie die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_text_color']['el-gr'] = "Εισαγάγετε το χρώμα κειμένου της επικεφαλίδας του γραφικού πίνακα εργαλείων.";
+$text['description-dashboard_heading_text_color']['es-cl'] = "Ingrese el color del texto del encabezado del widget del panel.";
+$text['description-dashboard_heading_text_color']['es-mx'] = "Ingrese el color del texto del encabezado del widget del panel.";
+$text['description-dashboard_heading_text_color']['fr-ca'] = "Entrez la couleur du texte du titre du widget du tableau de bord.";
+$text['description-dashboard_heading_text_color']['fr-fr'] = "Entrez la couleur du texte du titre du widget du tableau de bord.";
+$text['description-dashboard_heading_text_color']['he-il'] = "הזן את צבע הטקסט של ווידג'ט לוח המחוונים.";
+$text['description-dashboard_heading_text_color']['it-it'] = "Inserisci il colore del testo dell'intestazione del widget del dashboard.";
+$text['description-dashboard_heading_text_color']['nl-nl'] = "Voer de tekstkleur van de dashboardwidgetkop in.";
+$text['description-dashboard_heading_text_color']['pl-pl'] = "Wprowadź kolor tekstu nagłówka widżetu panelu kontrolnego.";
+$text['description-dashboard_heading_text_color']['pt-br'] = "Insira a cor do texto do cabeçalho do widget do painel.";
+$text['description-dashboard_heading_text_color']['pt-pt'] = "Insira a cor do texto do cabeçalho do widget do painel.";
+$text['description-dashboard_heading_text_color']['ro-ro'] = "Introduceți culoarea textului pentru antetul widgetului tabloului de bord.";
+$text['description-dashboard_heading_text_color']['ru-ru'] = "Введите цвет текста заголовка виджета информационной панели.";
+$text['description-dashboard_heading_text_color']['sv-se'] = "Ange textfärg för instrumentpanelwidgetens rubrik.";
+$text['description-dashboard_heading_text_color']['uk-ua'] = "Введіть колір тексту заголовка віджета інформаційної панелі.";
+$text['description-dashboard_heading_text_color']['tr-tr'] = "Kontrol paneli widget'ı başlık metni rengini girin.";
+$text['description-dashboard_heading_text_color']['zh-cn'] = "输入仪表板小部件标题文本颜色。";
+$text['description-dashboard_heading_text_color']['ja-jp'] = "ダッシュボード ウィジェットの見出しのテキストの色を入力します。";
+$text['description-dashboard_heading_text_color']['ko-kr'] = "대시보드 위젯 제목 텍스트 색상을 입력합니다.";
+
+$text['label-dashboard_heading_text_color_hover']['en-us'] = "Heading Text Color Hover";
+$text['label-dashboard_heading_text_color_hover']['en-gb'] = "Heading Text Color Hover";
+$text['label-dashboard_heading_text_color_hover']['ar-eg'] = "تحريك لون نص العنوان";
+$text['label-dashboard_heading_text_color_hover']['de-at'] = "Überschriftentextfarbe Hover";
+$text['label-dashboard_heading_text_color_hover']['de-ch'] = "Überschriftentextfarbe Hover";
+$text['label-dashboard_heading_text_color_hover']['de-de'] = "Überschriftentextfarbe Hover";
+$text['label-dashboard_heading_text_color_hover']['el-gr'] = "Χρώμα κειμένου επικεφαλίδας";
+$text['label-dashboard_heading_text_color_hover']['es-cl'] = "Color del texto del encabezado";
+$text['label-dashboard_heading_text_color_hover']['es-mx'] = "Color del texto del encabezado";
+$text['label-dashboard_heading_text_color_hover']['fr-ca'] = "Survol de la couleur du texte du titre";
+$text['label-dashboard_heading_text_color_hover']['fr-fr'] = "Survol de la couleur du texte du titre";
+$text['label-dashboard_heading_text_color_hover']['he-il'] = "ריחוף צבע כותרת טקסט";
+$text['label-dashboard_heading_text_color_hover']['it-it'] = "Colore del testo dell'intestazione al passaggio del mouse";
+$text['label-dashboard_heading_text_color_hover']['nl-nl'] = "Koptekstkleur Zweven";
+$text['label-dashboard_heading_text_color_hover']['pl-pl'] = "Najechanie kolorem tekstu nagłówka";
+$text['label-dashboard_heading_text_color_hover']['pt-br'] = "Cabeçalho da cor do texto ao passar o mouse";
+$text['label-dashboard_heading_text_color_hover']['pt-pt'] = "Cabeçalho da cor do texto ao passar o mouse";
+$text['label-dashboard_heading_text_color_hover']['ro-ro'] = "Culoarea textului de titlu Hover";
+$text['label-dashboard_heading_text_color_hover']['ru-ru'] = "Цвет текста заголовка при наведении";
+$text['label-dashboard_heading_text_color_hover']['sv-se'] = "Rubrik Text Färg Hover";
+$text['label-dashboard_heading_text_color_hover']['uk-ua'] = "Колір тексту заголовка при наведенні";
+$text['label-dashboard_heading_text_color_hover']['tr-tr'] = "Başlık Metni Rengi Vurgulu";
+$text['label-dashboard_heading_text_color_hover']['zh-cn'] = "标题文字颜色悬停";
+$text['label-dashboard_heading_text_color_hover']['ja-jp'] = "見出しテキストの色 ホバー";
+$text['label-dashboard_heading_text_color_hover']['ko-kr'] = "제목 텍스트 색상 호버";
+
+$text['description-dashboard_heading_text_color_hover']['en-us'] = "Enter the dashboard widget heading text color hover.";
+$text['description-dashboard_heading_text_color_hover']['en-gb'] = "Enter the dashboard widget heading text color hover.";
+$text['description-dashboard_heading_text_color_hover']['ar-eg'] = "أدخل لون نص عنوان عنصر واجهة المستخدم الخاص بلوحة المعلومات.";
+$text['description-dashboard_heading_text_color_hover']['de-at'] = "Geben Sie beim Hovern die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_text_color_hover']['de-ch'] = "Geben Sie beim Hovern die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_text_color_hover']['de-de'] = "Geben Sie beim Hovern die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_text_color_hover']['el-gr'] = "Εισαγάγετε το δείκτη χρώματος κειμένου της επικεφαλίδας του γραφικού πίνακα εργαλείων.";
+$text['description-dashboard_heading_text_color_hover']['es-cl'] = "Introduzca el color del texto del encabezado del widget del panel de control.";
+$text['description-dashboard_heading_text_color_hover']['es-mx'] = "Introduzca el color del texto del encabezado del widget del panel de control.";
+$text['description-dashboard_heading_text_color_hover']['fr-ca'] = "Entrez le survol de la couleur du texte du titre du widget du tableau de bord.";
+$text['description-dashboard_heading_text_color_hover']['fr-fr'] = "Entrez le survol de la couleur du texte du titre du widget du tableau de bord.";
+$text['description-dashboard_heading_text_color_hover']['he-il'] = "הזן את ריחוף צבע הטקסט של הווידג'ט של לוח המחוונים.";
+$text['description-dashboard_heading_text_color_hover']['it-it'] = "Accedi al widget del dashboard, intestando il colore del testo al passaggio del mouse.";
+$text['description-dashboard_heading_text_color_hover']['nl-nl'] = "Voer de tekstkleur van de zweeftekst van de dashboardwidget in.";
+$text['description-dashboard_heading_text_color_hover']['pl-pl'] = "Wprowadź kolor tekstu nagłówka widżetu pulpitu nawigacyjnego.";
+$text['description-dashboard_heading_text_color_hover']['pt-br'] = "Insira o foco da cor do texto do cabeçalho do widget do painel.";
+$text['description-dashboard_heading_text_color_hover']['pt-pt'] = "Insira o foco da cor do texto do cabeçalho do widget do painel.";
+$text['description-dashboard_heading_text_color_hover']['ro-ro'] = "Introduceți cursorul de culoare a textului din widgetul tabloului de bord.";
+$text['description-dashboard_heading_text_color_hover']['ru-ru'] = "Введите цвет текста заголовка виджета панели управления при наведении курсора мыши.";
+$text['description-dashboard_heading_text_color_hover']['sv-se'] = "Ange instrumentpanelswidgetens rubrik för textfärg.";
+$text['description-dashboard_heading_text_color_hover']['uk-ua'] = "Введіть колір тексту заголовка віджета інформаційної панелі, наведіть курсор.";
+$text['description-dashboard_heading_text_color_hover']['tr-tr'] = "Kontrol paneli widget'ı başlık metni rengi vurgusunu girin.";
+$text['description-dashboard_heading_text_color_hover']['zh-cn'] = "输入仪表板小部件标题文本颜色悬停。";
+$text['description-dashboard_heading_text_color_hover']['ja-jp'] = "ダッシュボード ウィジェットの見出しテキストの色を入力します。";
+$text['description-dashboard_heading_text_color_hover']['ko-kr'] = "대시보드 위젯 제목 텍스트 색상 호버를 입력합니다.";
+
$text['label-dashboard_heading_background_color']['en-us'] = "Heading Background Color";
$text['label-dashboard_heading_background_color']['en-gb'] = "Heading Background Color";
$text['label-dashboard_heading_background_color']['ar-eg'] = "لون خلفية العنوان";
@@ -468,57 +572,57 @@ $text['description-dashboard_heading_background_color']['zh-cn'] = "输入仪表
$text['description-dashboard_heading_background_color']['ja-jp'] = "ダッシュボード ウィジェットの見出しの背景色を入力します。";
$text['description-dashboard_heading_background_color']['ko-kr'] = "대시보드 위젯 제목 배경색을 입력합니다.";
-$text['label-dashboard_heading_text_color']['en-us'] = "Heading Text Color";
-$text['label-dashboard_heading_text_color']['en-gb'] = "Heading Text Color";
-$text['label-dashboard_heading_text_color']['ar-eg'] = "لون نص العنوان";
-$text['label-dashboard_heading_text_color']['de-at'] = "Farbe des Überschriftentextes";
-$text['label-dashboard_heading_text_color']['de-ch'] = "Farbe des Überschriftentextes";
-$text['label-dashboard_heading_text_color']['de-de'] = "Farbe des Überschriftentextes";
-$text['label-dashboard_heading_text_color']['el-gr'] = "Χρώμα κειμένου επικεφαλίδας";
-$text['label-dashboard_heading_text_color']['es-cl'] = "Color del texto del encabezado";
-$text['label-dashboard_heading_text_color']['es-mx'] = "Color del texto del encabezado";
-$text['label-dashboard_heading_text_color']['fr-ca'] = "Couleur du texte du titre";
-$text['label-dashboard_heading_text_color']['fr-fr'] = "Couleur du texte du titre";
-$text['label-dashboard_heading_text_color']['he-il'] = "צבע טקסט כותרת";
-$text['label-dashboard_heading_text_color']['it-it'] = "Colore del testo dell'intestazione";
-$text['label-dashboard_heading_text_color']['nl-nl'] = "Kleur van de koptekst";
-$text['label-dashboard_heading_text_color']['pl-pl'] = "Kolor tekstu nagłówka";
-$text['label-dashboard_heading_text_color']['pt-br'] = "Cor do texto do título";
-$text['label-dashboard_heading_text_color']['pt-pt'] = "Cor do texto do título";
-$text['label-dashboard_heading_text_color']['ro-ro'] = "Culoarea textului titlului";
-$text['label-dashboard_heading_text_color']['ru-ru'] = "Цвет текста заголовка";
-$text['label-dashboard_heading_text_color']['sv-se'] = "Rubrik Textfärg";
-$text['label-dashboard_heading_text_color']['uk-ua'] = "Колір тексту заголовка";
-$text['label-dashboard_heading_text_color']['tr-tr'] = "Başlık Metni Rengi";
-$text['label-dashboard_heading_text_color']['zh-cn'] = "标题文字颜色";
-$text['label-dashboard_heading_text_color']['ja-jp'] = "見出しの文字色";
-$text['label-dashboard_heading_text_color']['ko-kr'] = "제목 텍스트 색상";
+$text['label-dashboard_heading_background_color_hover']['en-us'] = "Heading Background Color Hover";
+$text['label-dashboard_heading_background_color_hover']['en-gb'] = "Heading Background Color Hover";
+$text['label-dashboard_heading_background_color_hover']['ar-eg'] = "تحريك لون خلفية العنوان";
+$text['label-dashboard_heading_background_color_hover']['de-at'] = "Hintergrundfarbe für Überschriften beim Hovern";
+$text['label-dashboard_heading_background_color_hover']['de-ch'] = "Hintergrundfarbe für Überschriften beim Hovern";
+$text['label-dashboard_heading_background_color_hover']['de-de'] = "Hintergrundfarbe für Überschriften beim Hovern";
+$text['label-dashboard_heading_background_color_hover']['el-gr'] = "Χρώμα φόντου επικεφαλίδας";
+$text['label-dashboard_heading_background_color_hover']['es-cl'] = "Color de fondo del encabezado";
+$text['label-dashboard_heading_background_color_hover']['es-mx'] = "Color de fondo del encabezado";
+$text['label-dashboard_heading_background_color_hover']['fr-ca'] = "Survol de la couleur d’arrière-plan du titre";
+$text['label-dashboard_heading_background_color_hover']['fr-fr'] = "Survol de la couleur d’arrière-plan du titre";
+$text['label-dashboard_heading_background_color_hover']['he-il'] = "ריחוף צבע רקע לכותרת";
+$text['label-dashboard_heading_background_color_hover']['it-it'] = "Colore di sfondo dell'intestazione al passaggio del mouse";
+$text['label-dashboard_heading_background_color_hover']['nl-nl'] = "Kop Achtergrondkleur Zweven";
+$text['label-dashboard_heading_background_color_hover']['pl-pl'] = "Najedź kursorem na kolor tła nagłówka";
+$text['label-dashboard_heading_background_color_hover']['pt-br'] = "Cabeçalho da cor de fundo ao passar o mouse";
+$text['label-dashboard_heading_background_color_hover']['pt-pt'] = "Cabeçalho da cor de fundo ao passar o mouse";
+$text['label-dashboard_heading_background_color_hover']['ro-ro'] = "Culoarea de fundal al titlului Hover";
+$text['label-dashboard_heading_background_color_hover']['ru-ru'] = "Цвет фона заголовка при наведении";
+$text['label-dashboard_heading_background_color_hover']['sv-se'] = "Rubrik Bakgrundsfärg Hover";
+$text['label-dashboard_heading_background_color_hover']['uk-ua'] = "Наведення курсора на фоновий колір заголовка";
+$text['label-dashboard_heading_background_color_hover']['tr-tr'] = "Başlık Arka Plan Rengi Vurgulu";
+$text['label-dashboard_heading_background_color_hover']['zh-cn'] = "标题背景颜色悬停";
+$text['label-dashboard_heading_background_color_hover']['ja-jp'] = "見出しの背景色ホバー";
+$text['label-dashboard_heading_background_color_hover']['ko-kr'] = "제목 배경색 가리키기";
-$text['description-dashboard_heading_text_color']['en-us'] = "Enter the dashboard widget heading text color.";
-$text['description-dashboard_heading_text_color']['en-gb'] = "Enter the dashboard widget heading text color.";
-$text['description-dashboard_heading_text_color']['ar-eg'] = "أدخل لون نص عنوان عنصر واجهة المستخدم للوحة المعلومات.";
-$text['description-dashboard_heading_text_color']['de-at'] = "Geben Sie die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
-$text['description-dashboard_heading_text_color']['de-ch'] = "Geben Sie die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
-$text['description-dashboard_heading_text_color']['de-de'] = "Geben Sie die Textfarbe für die Überschrift des Dashboard-Widgets ein.";
-$text['description-dashboard_heading_text_color']['el-gr'] = "Εισαγάγετε το χρώμα κειμένου της επικεφαλίδας του γραφικού πίνακα εργαλείων.";
-$text['description-dashboard_heading_text_color']['es-cl'] = "Ingrese el color del texto del encabezado del widget del panel.";
-$text['description-dashboard_heading_text_color']['es-mx'] = "Ingrese el color del texto del encabezado del widget del panel.";
-$text['description-dashboard_heading_text_color']['fr-ca'] = "Entrez la couleur du texte du titre du widget du tableau de bord.";
-$text['description-dashboard_heading_text_color']['fr-fr'] = "Entrez la couleur du texte du titre du widget du tableau de bord.";
-$text['description-dashboard_heading_text_color']['he-il'] = "הזן את צבע הטקסט של ווידג'ט לוח המחוונים.";
-$text['description-dashboard_heading_text_color']['it-it'] = "Inserisci il colore del testo dell'intestazione del widget del dashboard.";
-$text['description-dashboard_heading_text_color']['nl-nl'] = "Voer de tekstkleur van de dashboardwidgetkop in.";
-$text['description-dashboard_heading_text_color']['pl-pl'] = "Wprowadź kolor tekstu nagłówka widżetu panelu kontrolnego.";
-$text['description-dashboard_heading_text_color']['pt-br'] = "Insira a cor do texto do cabeçalho do widget do painel.";
-$text['description-dashboard_heading_text_color']['pt-pt'] = "Insira a cor do texto do cabeçalho do widget do painel.";
-$text['description-dashboard_heading_text_color']['ro-ro'] = "Introduceți culoarea textului pentru antetul widgetului tabloului de bord.";
-$text['description-dashboard_heading_text_color']['ru-ru'] = "Введите цвет текста заголовка виджета информационной панели.";
-$text['description-dashboard_heading_text_color']['sv-se'] = "Ange textfärg för instrumentpanelwidgetens rubrik.";
-$text['description-dashboard_heading_text_color']['uk-ua'] = "Введіть колір тексту заголовка віджета інформаційної панелі.";
-$text['description-dashboard_heading_text_color']['tr-tr'] = "Kontrol paneli widget'ı başlık metni rengini girin.";
-$text['description-dashboard_heading_text_color']['zh-cn'] = "输入仪表板小部件标题文本颜色。";
-$text['description-dashboard_heading_text_color']['ja-jp'] = "ダッシュボード ウィジェットの見出しのテキストの色を入力します。";
-$text['description-dashboard_heading_text_color']['ko-kr'] = "대시보드 위젯 제목 텍스트 색상을 입력합니다.";
+$text['description-dashboard_heading_background_color_hover']['en-us'] = "Enter the dashboard widget heading background color hover.";
+$text['description-dashboard_heading_background_color_hover']['en-gb'] = "Enter the dashboard widget heading background color hover.";
+$text['description-dashboard_heading_background_color_hover']['ar-eg'] = "أدخل لون خلفية عنوان عنصر واجهة المستخدم للوحة المعلومات.";
+$text['description-dashboard_heading_background_color_hover']['de-at'] = "Geben Sie beim Hovern die Hintergrundfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_background_color_hover']['de-ch'] = "Geben Sie beim Hovern die Hintergrundfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_background_color_hover']['de-de'] = "Geben Sie beim Hovern die Hintergrundfarbe für die Überschrift des Dashboard-Widgets ein.";
+$text['description-dashboard_heading_background_color_hover']['el-gr'] = "Εισαγάγετε τον δείκτη του ποντικιού χρώματος φόντου της επικεφαλίδας του γραφικού πίνακα εργαλείων.";
+$text['description-dashboard_heading_background_color_hover']['es-cl'] = "Ingrese al widget del panel de control con el color de fondo del encabezado.";
+$text['description-dashboard_heading_background_color_hover']['es-mx'] = "Ingrese al widget del panel de control con el color de fondo del encabezado.";
+$text['description-dashboard_heading_background_color_hover']['fr-ca'] = "Entrez la couleur d'arrière-plan du titre du widget du tableau de bord.";
+$text['description-dashboard_heading_background_color_hover']['fr-fr'] = "Entrez la couleur d'arrière-plan du titre du widget du tableau de bord.";
+$text['description-dashboard_heading_background_color_hover']['he-il'] = "הזן את ה-widget של לוח המחוונים כותרת צבע הרקע.";
+$text['description-dashboard_heading_background_color_hover']['it-it'] = "Accedi al widget del dashboard intestando il colore di sfondo al passaggio del mouse.";
+$text['description-dashboard_heading_background_color_hover']['nl-nl'] = "Voer de achtergrondkleur van de kop van de dashboardwidget in.";
+$text['description-dashboard_heading_background_color_hover']['pl-pl'] = "Wprowadź kolor tła widżetu pulpitu nawigacyjnego po najechaniu kursorem.";
+$text['description-dashboard_heading_background_color_hover']['pt-br'] = "Insira o foco da cor de fundo do cabeçalho do widget do painel.";
+$text['description-dashboard_heading_background_color_hover']['pt-pt'] = "Insira o foco da cor de fundo do cabeçalho do widget do painel.";
+$text['description-dashboard_heading_background_color_hover']['ro-ro'] = "Introduceți culoarea de fundal pentru antetul widgetului tabloului de bord.";
+$text['description-dashboard_heading_background_color_hover']['ru-ru'] = "Введите цвет фона заголовка виджета панели управления при наведении курсора мыши.";
+$text['description-dashboard_heading_background_color_hover']['sv-se'] = "Ange instrumentpanelswidgetens rubrik för bakgrundsfärg.";
+$text['description-dashboard_heading_background_color_hover']['uk-ua'] = "Введіть колір тла заголовка віджета інформаційної панелі, наведіть курсор.";
+$text['description-dashboard_heading_background_color_hover']['tr-tr'] = "Kontrol paneli widget başlığı arka plan rengi vurgusunu girin.";
+$text['description-dashboard_heading_background_color_hover']['zh-cn'] = "输入仪表板小部件标题背景颜色悬停。";
+$text['description-dashboard_heading_background_color_hover']['ja-jp'] = "ダッシュボード ウィジェットの見出しの背景色を入力します。";
+$text['description-dashboard_heading_background_color_hover']['ko-kr'] = "대시보드 위젯 제목 배경색 마우스오버를 입력합니다.";
$text['label-dashboard_number_text_color']['en-us'] = "Number Text Color";
$text['label-dashboard_number_text_color']['en-gb'] = "Number Text Color";
@@ -572,6 +676,58 @@ $text['description-dashboard_number_text_color']['zh-cn'] = "输入仪表板小
$text['description-dashboard_number_text_color']['ja-jp'] = "ダッシュボード ウィジェット番号のテキストの色を入力します。";
$text['description-dashboard_number_text_color']['ko-kr'] = "대시보드 위젯 번호 텍스트 색상을 입력하세요.";
+$text['label-dashboard_number_text_color_hover']['en-us'] = "Number Text Color Hover";
+$text['label-dashboard_number_text_color_hover']['en-gb'] = "Number Text Color Hover";
+$text['label-dashboard_number_text_color_hover']['ar-eg'] = "رقم لون النص تحوم";
+$text['label-dashboard_number_text_color_hover']['de-at'] = "Nummer Textfarbe Hover";
+$text['label-dashboard_number_text_color_hover']['de-ch'] = "Nummer Textfarbe Hover";
+$text['label-dashboard_number_text_color_hover']['de-de'] = "Nummer Textfarbe Hover";
+$text['label-dashboard_number_text_color_hover']['el-gr'] = "Χρώμα κειμένου αριθμού Αριθμός";
+$text['label-dashboard_number_text_color_hover']['es-cl'] = "Número Color del texto Pasar el cursor";
+$text['label-dashboard_number_text_color_hover']['es-mx'] = "Número Color del texto Pasar el cursor";
+$text['label-dashboard_number_text_color_hover']['fr-ca'] = "Survol de la couleur du texte numérique";
+$text['label-dashboard_number_text_color_hover']['fr-fr'] = "Survol de la couleur du texte numérique";
+$text['label-dashboard_number_text_color_hover']['he-il'] = "ריחוף צבע טקסט מספר";
+$text['label-dashboard_number_text_color_hover']['it-it'] = "Numero Colore testo al passaggio del mouse";
+$text['label-dashboard_number_text_color_hover']['nl-nl'] = "Nummer Tekstkleur Zweven";
+$text['label-dashboard_number_text_color_hover']['pl-pl'] = "Najechanie kursorem na kolor tekstu liczbowego";
+$text['label-dashboard_number_text_color_hover']['pt-br'] = "Número, texto, cor, foco";
+$text['label-dashboard_number_text_color_hover']['pt-pt'] = "Número, texto, cor, foco";
+$text['label-dashboard_number_text_color_hover']['ro-ro'] = "Număr Text Culoare Hover";
+$text['label-dashboard_number_text_color_hover']['ru-ru'] = "Номер Текст Цвет При наведении";
+$text['label-dashboard_number_text_color_hover']['sv-se'] = "Nummer Text Färg Hover";
+$text['label-dashboard_number_text_color_hover']['uk-ua'] = "Номер Колір тексту Наведіть курсор";
+$text['label-dashboard_number_text_color_hover']['tr-tr'] = "Sayı Metin Rengi Vurgulu";
+$text['label-dashboard_number_text_color_hover']['zh-cn'] = "数字文字颜色悬停";
+$text['label-dashboard_number_text_color_hover']['ja-jp'] = "数字 テキスト 色 ホバー";
+$text['label-dashboard_number_text_color_hover']['ko-kr'] = "숫자 텍스트 색상 마우스 오버";
+
+$text['description-dashboard_number_text_color_hover']['en-us'] = "Enter the dashboard widget number text color hover.";
+$text['description-dashboard_number_text_color_hover']['en-gb'] = "Enter the dashboard widget number text color hover.";
+$text['description-dashboard_number_text_color_hover']['ar-eg'] = "أدخل لون نص رقم عنصر واجهة المستخدم الخاص بلوحة المعلومات.";
+$text['description-dashboard_number_text_color_hover']['de-at'] = "Geben Sie beim Hovern die Textfarbe der Dashboard-Widgetnummer ein.";
+$text['description-dashboard_number_text_color_hover']['de-ch'] = "Geben Sie beim Hovern die Textfarbe der Dashboard-Widgetnummer ein.";
+$text['description-dashboard_number_text_color_hover']['de-de'] = "Geben Sie beim Hovern die Textfarbe der Dashboard-Widgetnummer ein.";
+$text['description-dashboard_number_text_color_hover']['el-gr'] = "Εισαγάγετε το δείκτη του ποντικιού χρώματος κειμένου του αριθμού widget του πίνακα εργαλείων.";
+$text['description-dashboard_number_text_color_hover']['es-cl'] = "Ingrese el color del texto del número del widget del panel de control.";
+$text['description-dashboard_number_text_color_hover']['es-mx'] = "Ingrese el color del texto del número del widget del panel de control.";
+$text['description-dashboard_number_text_color_hover']['fr-ca'] = "Entrez le survol de la couleur du texte du numéro du widget du tableau de bord.";
+$text['description-dashboard_number_text_color_hover']['fr-fr'] = "Entrez le survol de la couleur du texte du numéro du widget du tableau de bord.";
+$text['description-dashboard_number_text_color_hover']['he-il'] = "הזן את ריחוף צבע הטקסט של הווידג'ט של לוח המחוונים.";
+$text['description-dashboard_number_text_color_hover']['it-it'] = "Numero Colore testo al passaggio del mouse";
+$text['description-dashboard_number_text_color_hover']['nl-nl'] = "Nummer Tekstkleur Zweven";
+$text['description-dashboard_number_text_color_hover']['pl-pl'] = "Najechanie kursorem na kolor tekstu liczbowego";
+$text['description-dashboard_number_text_color_hover']['pt-br'] = "Insira o foco da cor do texto do número do widget do painel.";
+$text['description-dashboard_number_text_color_hover']['pt-pt'] = "Insira o foco da cor do texto do número do widget do painel.";
+$text['description-dashboard_number_text_color_hover']['ro-ro'] = "Introduceți numărul widgetului din tabloul de bord, culoarea textului.";
+$text['description-dashboard_number_text_color_hover']['ru-ru'] = "Введите цвет текста номера виджета панели управления при наведении курсора мыши.";
+$text['description-dashboard_number_text_color_hover']['sv-se'] = "Ange instrumentpanelens widgetnummer textfärg svävare.";
+$text['description-dashboard_number_text_color_hover']['uk-ua'] = "Введіть номер віджета інформаційної панелі, колір тексту, наведіть курсор.";
+$text['description-dashboard_number_text_color_hover']['tr-tr'] = "Kontrol paneli widget numarası metin rengi vurgusunu girin.";
+$text['description-dashboard_number_text_color_hover']['zh-cn'] = "输入仪表板小部件编号文本颜色悬停。";
+$text['description-dashboard_number_text_color_hover']['ja-jp'] = "ダッシュボード ウィジェットの番号、テキストの色、ホバーを入力します。";
+$text['description-dashboard_number_text_color_hover']['ko-kr'] = "대시보드 위젯 번호 텍스트 색상을 마우스로 가리키면 입력됩니다.";
+
$text['label-dashboard_background_color']['en-us'] = "Background Color";
$text['label-dashboard_background_color']['en-gb'] = "Background Color";
$text['label-dashboard_background_color']['ar-eg'] = "لون الخلفية";
@@ -624,6 +780,58 @@ $text['description-dashboard_background_color']['zh-cn'] = "输入仪表板小
$text['description-dashboard_background_color']['ja-jp'] = "ダッシュボード ウィジェットの背景色を入力します。";
$text['description-dashboard_background_color']['ko-kr'] = "대시보드 위젯 배경색을 입력하세요.";
+$text['label-dashboard_background_color_hover']['en-us'] = "Background Color Hover";
+$text['label-dashboard_background_color_hover']['en-gb'] = "Background Color Hover";
+$text['label-dashboard_background_color_hover']['ar-eg'] = "لون الخلفية تحوم";
+$text['label-dashboard_background_color_hover']['de-at'] = "Hintergrundfarbe Hover";
+$text['label-dashboard_background_color_hover']['de-ch'] = "Hintergrundfarbe Hover";
+$text['label-dashboard_background_color_hover']['de-de'] = "Hintergrundfarbe Hover";
+$text['label-dashboard_background_color_hover']['el-gr'] = "Χρώμα φόντου Hover";
+$text['label-dashboard_background_color_hover']['es-cl'] = "Color de fondo";
+$text['label-dashboard_background_color_hover']['es-mx'] = "Color de fondo";
+$text['label-dashboard_background_color_hover']['fr-ca'] = "Survol de la couleur d’arrière-plan";
+$text['label-dashboard_background_color_hover']['fr-fr'] = "Survol de la couleur d’arrière-plan";
+$text['label-dashboard_background_color_hover']['he-il'] = "ריחוף צבע רקע";
+$text['label-dashboard_background_color_hover']['it-it'] = "Colore di sfondo al passaggio del mouse";
+$text['label-dashboard_background_color_hover']['nl-nl'] = "Achtergrondkleur zweven";
+$text['label-dashboard_background_color_hover']['pl-pl'] = "Najedź kolorem tła";
+$text['label-dashboard_background_color_hover']['pt-br'] = "Flutuar cor de fundo";
+$text['label-dashboard_background_color_hover']['pt-pt'] = "Flutuar cor de fundo";
+$text['label-dashboard_background_color_hover']['ro-ro'] = "Culoarea de fundal Hover";
+$text['label-dashboard_background_color_hover']['ru-ru'] = "Цвет фона при наведении";
+$text['label-dashboard_background_color_hover']['sv-se'] = "Bakgrundsfärg Hover";
+$text['label-dashboard_background_color_hover']['uk-ua'] = "Колір фону при наведенні";
+$text['label-dashboard_background_color_hover']['tr-tr'] = "Arka Plan Rengi Vurgulu";
+$text['label-dashboard_background_color_hover']['zh-cn'] = "背景颜色悬停";
+$text['label-dashboard_background_color_hover']['ja-jp'] = "背景色ホバー";
+$text['label-dashboard_background_color_hover']['ko-kr'] = "배경색 마우스오버";
+
+$text['description-dashboard_background_color_hover']['en-us'] = "Enter the dashboard widget background color hover.";
+$text['description-dashboard_background_color_hover']['en-gb'] = "Enter the dashboard widget background color hover.";
+$text['description-dashboard_background_color_hover']['ar-eg'] = "أدخل لون خلفية عنصر واجهة المستخدم للوحة المعلومات.";
+$text['description-dashboard_background_color_hover']['de-at'] = "Geben Sie beim Hovern die Hintergrundfarbe des Dashboard-Widgets ein.";
+$text['description-dashboard_background_color_hover']['de-ch'] = "Geben Sie beim Hovern die Hintergrundfarbe des Dashboard-Widgets ein.";
+$text['description-dashboard_background_color_hover']['de-de'] = "Geben Sie beim Hovern die Hintergrundfarbe des Dashboard-Widgets ein.";
+$text['description-dashboard_background_color_hover']['el-gr'] = "Εισαγάγετε τον δείκτη του ποντικιού χρώματος φόντου του γραφικού πίνακα εργαλείων.";
+$text['description-dashboard_background_color_hover']['es-cl'] = "Introduzca el color de fondo del widget del panel de control.";
+$text['description-dashboard_background_color_hover']['es-mx'] = "Introduzca el color de fondo del widget del panel de control.";
+$text['description-dashboard_background_color_hover']['fr-ca'] = "Entrez la couleur d'arrière-plan du widget du tableau de bord.";
+$text['description-dashboard_background_color_hover']['fr-fr'] = "Entrez la couleur d'arrière-plan du widget du tableau de bord.";
+$text['description-dashboard_background_color_hover']['he-il'] = "הזן את ריחוף צבע הרקע של ווידג'ט לוח המחוונים.";
+$text['description-dashboard_background_color_hover']['it-it'] = "Inserisci il colore di sfondo del widget del dashboard al passaggio del mouse.";
+$text['description-dashboard_background_color_hover']['nl-nl'] = "Voer de achtergrondkleur van de dashboardwidget in.";
+$text['description-dashboard_background_color_hover']['pl-pl'] = "Wprowadź kolor tła widżetu pulpitu nawigacyjnego po najechaniu myszką.";
+$text['description-dashboard_background_color_hover']['pt-br'] = "Insira o foco na cor de fundo do widget do painel.";
+$text['description-dashboard_background_color_hover']['pt-pt'] = "Insira o foco na cor de fundo do widget do painel.";
+$text['description-dashboard_background_color_hover']['ro-ro'] = "Introduceți culoarea de fundal a widgetului tabloului de bord.";
+$text['description-dashboard_background_color_hover']['ru-ru'] = "Введите цвет фона виджета панели управления при наведении курсора мыши.";
+$text['description-dashboard_background_color_hover']['sv-se'] = "Gå in i instrumentpanelswidgetens bakgrundsfärg.";
+$text['description-dashboard_background_color_hover']['uk-ua'] = "Введіть колір тла віджета інформаційної панелі, наведіть курсор.";
+$text['description-dashboard_background_color_hover']['tr-tr'] = "Kontrol paneli widget'ının arka plan rengi vurgusunu girin.";
+$text['description-dashboard_background_color_hover']['zh-cn'] = "输入仪表板小部件背景颜色悬停。";
+$text['description-dashboard_background_color_hover']['ja-jp'] = "ダッシュボード ウィジェットの背景色のホバーを入力します。";
+$text['description-dashboard_background_color_hover']['ko-kr'] = "대시보드 위젯 배경색 마우스오버를 입력하세요.";
+
$text['label-dashboard_detail_background_color']['en-us'] = "Detail Background Color";
$text['label-dashboard_detail_background_color']['en-gb'] = "Detail Background Color";
$text['label-dashboard_detail_background_color']['ar-eg'] = "تفاصيل لون الخلفية";
@@ -1093,5 +1301,3 @@ $text['login-message_dismiss']['ja-jp'] = "メッセージを閉じる";
$text['login-message_dismiss']['ko-kr'] = "메시지 닫기";
?>
-
-
diff --git a/core/dashboard/dashboard_edit.php b/core/dashboard/dashboard_edit.php
index 98d1a81be1..9f84c21420 100644
--- a/core/dashboard/dashboard_edit.php
+++ b/core/dashboard/dashboard_edit.php
@@ -82,9 +82,13 @@
$dashboard_groups = $_POST["dashboard_groups"] ?? '';
$dashboard_chart_type = $_POST["dashboard_chart_type"] ?? '';
$dashboard_heading_text_color = $_POST["dashboard_heading_text_color"] ?? '';
+ $dashboard_heading_text_color_hover = $_POST["dashboard_heading_text_color_hover"] ?? '';
$dashboard_heading_background_color = $_POST["dashboard_heading_background_color"] ?? '';
+ $dashboard_heading_background_color_hover = $_POST["dashboard_heading_background_color_hover"] ?? '';
$dashboard_number_text_color = $_POST["dashboard_number_text_color"] ?? '';
+ $dashboard_number_text_color_hover = $_POST["dashboard_number_text_color_hover"] ?? '';
$dashboard_background_color = $_POST["dashboard_background_color"] ?? '';
+ $dashboard_background_color_hover = $_POST["dashboard_background_color_hover"] ?? '';
$dashboard_detail_background_color = $_POST["dashboard_detail_background_color"] ?? '';
$dashboard_column_span = $_POST["dashboard_column_span"] ?? '';
$dashboard_row_span = $_POST["dashboard_row_span"] ?? '';
@@ -193,6 +197,17 @@
}
}
}
+ if (!empty($dashboard_background_color_hover)) {
+ if (is_array($dashboard_background_color_hover)) {
+ $dashboard_background_color_hover = array_filter($dashboard_background_color_hover);
+ if (count($dashboard_background_color_hover) > 0) {
+ $dashboard_background_color_hover = json_encode($dashboard_background_color_hover);
+ }
+ else {
+ $dashboard_background_color_hover = '';
+ }
+ }
+ }
if (!empty($dashboard_detail_background_color)) {
if (is_array($dashboard_detail_background_color)) {
$dashboard_detail_background_color = array_filter($dashboard_detail_background_color);
@@ -216,9 +231,13 @@
$array['dashboard'][0]['dashboard_content_details'] = $dashboard_content_details;
$array['dashboard'][0]['dashboard_chart_type'] = $dashboard_chart_type;
$array['dashboard'][0]['dashboard_heading_text_color'] = $dashboard_heading_text_color;
+ $array['dashboard'][0]['dashboard_heading_text_color_hover'] = $dashboard_heading_text_color_hover;
$array['dashboard'][0]['dashboard_heading_background_color'] = $dashboard_heading_background_color;
+ $array['dashboard'][0]['dashboard_heading_background_color_hover'] = $dashboard_heading_background_color_hover;
$array['dashboard'][0]['dashboard_number_text_color'] = $dashboard_number_text_color;
+ $array['dashboard'][0]['dashboard_number_text_color_hover'] = $dashboard_number_text_color_hover;
$array['dashboard'][0]['dashboard_background_color'] = $dashboard_background_color;
+ $array['dashboard'][0]['dashboard_background_color_hover'] = $dashboard_background_color_hover;
$array['dashboard'][0]['dashboard_detail_background_color'] = $dashboard_detail_background_color;
$array['dashboard'][0]['dashboard_column_span'] = $dashboard_column_span;
$array['dashboard'][0]['dashboard_row_span'] = $dashboard_row_span;
@@ -273,9 +292,13 @@
$sql .= " dashboard_content_details, ";
$sql .= " dashboard_chart_type, ";
$sql .= " dashboard_heading_text_color, ";
+ $sql .= " dashboard_heading_text_color_hover, ";
$sql .= " dashboard_heading_background_color, ";
+ $sql .= " dashboard_heading_background_color_hover, ";
$sql .= " dashboard_number_text_color, ";
+ $sql .= " dashboard_number_text_color_hover, ";
$sql .= " dashboard_background_color, ";
+ $sql .= " dashboard_background_color_hover, ";
$sql .= " dashboard_detail_background_color, ";
$sql .= " dashboard_column_span, ";
$sql .= " dashboard_row_span, ";
@@ -298,9 +321,13 @@
$dashboard_content_details = $row["dashboard_content_details"];
$dashboard_chart_type = $row["dashboard_chart_type"];
$dashboard_heading_text_color = $row["dashboard_heading_text_color"];
+ $dashboard_heading_text_color_hover = $row["dashboard_heading_text_color_hover"];
$dashboard_heading_background_color = $row["dashboard_heading_background_color"];
+ $dashboard_heading_background_color_hover = $row["dashboard_heading_background_color_hover"];
$dashboard_number_text_color = $row["dashboard_number_text_color"];
+ $dashboard_number_text_color_hover = $row["dashboard_number_text_color_hover"];
$dashboard_background_color = $row["dashboard_background_color"];
+ $dashboard_background_color_hover = $row["dashboard_background_color_hover"];
$dashboard_detail_background_color = $row["dashboard_detail_background_color"];
$dashboard_column_span = $row["dashboard_column_span"];
$dashboard_row_span = $row["dashboard_row_span"];
@@ -334,31 +361,24 @@
if (!empty($dashboard_background_color) && is_json($dashboard_background_color)) {
$dashboard_background_color = json_decode($dashboard_background_color, true);
}
+ if (!empty($dashboard_background_color_hover) && is_json($dashboard_background_color_hover)) {
+ $dashboard_background_color_hover = json_decode($dashboard_background_color_hover, true);
+ }
if (!empty($dashboard_detail_background_color) && is_json($dashboard_detail_background_color)) {
$dashboard_detail_background_color = json_decode($dashboard_detail_background_color, true);
}
-//add a default value to $dashboard_chart_type
- if (!isset($dashboard_chart_type) && in_array($dashboard_path, ['app/voicemails/resources/dashboard/voicemails.php', 'app/xml_cdr/resources/dashboard/missed_calls.php', 'app/xml_cdr/resources/dashboard/recent_calls.php'])) {
- $dashboard_chart_type = "number";
- }
-
//add a default value to $dashboard_details_state
- if (!isset($dashboard_details_state) && in_array($dashboard_path, ['app/voicemails/resources/dashboard/voicemails.php', 'app/xml_cdr/resources/dashboard/missed_calls.php', 'app/xml_cdr/resources/dashboard/recent_calls.php'])) {
- $dashboard_details_state = "hidden";
- }
if (!isset($dashboard_details_state)) {
$dashboard_details_state = "expanded";
}
//add a default value to $dashboard_row_span
- if (!isset($dashboard_row_span) && in_array($dashboard_path, ['app/voicemails/resources/dashboard/voicemails.php', 'app/xml_cdr/resources/dashboard/missed_calls.php', 'app/xml_cdr/resources/dashboard/recent_calls.php'])) {
- $dashboard_row_span = 1;
- }
if (empty($dashboard_row_span)) {
$dashboard_row_span = 2;
}
+
//add an empty row
$x = is_array($dashboard_groups) ? count($dashboard_groups) : 0;
$dashboard_groups[$x]['dashboard_uuid'] = $dashboard_uuid;
@@ -669,6 +689,19 @@
echo "\n";
echo "\n";
+ if ($action == "add" || $dashboard_path == "core/dashboard/resources/dashboard/icon.php") {
+ echo "