diff --git a/app/call_forward/app_config.php b/app/call_forward/app_config.php index 58b24d9dcf..6744d55957 100644 --- a/app/call_forward/app_config.php +++ b/app/call_forward/app_config.php @@ -80,5 +80,53 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; $apps[$x]['default_settings'][$y]['default_setting_order'] = "0"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the default Follow Me Timeout value."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ed901e23-1abb-454c-b0d3-e986efed9f56"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "dashboard"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "call_forward_chart_color_call_forward"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "#2a9df4"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b65593fa-fe16-4380-936c-16d0d2e9bf48"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "dashboard"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "call_forward_chart_color_follow_me"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "#00b337"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c21c0ab6-5d23-4079-ba4d-439547f81978"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "dashboard"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "call_forward_chart_color_do_not_disturb"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "#b30000"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d5dc5bcb-65ff-46a6-9d1a-c83b19c3782e"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "dashboard"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "call_forward_chart_color_active"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "#d4d4d4"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "add25bdb-c0a5-44e7-adf0-87dea41955e7"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "dashboard"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "call_forward_chart_border_color"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "rgba(0,0,0,0)"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3b2384d4-be62-44a1-96dc-27bb470f9473"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "dashboard"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "call_forward_chart_border_width"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; ?> diff --git a/app/call_forward/app_languages.php b/app/call_forward/app_languages.php index aa3bb8a521..db5086e9bd 100644 --- a/app/call_forward/app_languages.php +++ b/app/call_forward/app_languages.php @@ -610,6 +610,28 @@ $text['label-call_forward']['ru-ru'] = "Переадресация"; $text['label-call_forward']['sv-se'] = "Vidarekoppling"; $text['label-call_forward']['uk-ua'] = "Переадресація"; +$text['label-active']['en-us'] = "Active"; +$text['label-active']['en-gb'] = "Active"; +$text['label-active']['ar-eg'] = "Active"; +$text['label-active']['de-at'] = "Active"; +$text['label-active']['de-ch'] = "Active"; +$text['label-active']['de-de'] = "Active"; +$text['label-active']['el-gr'] = "Active"; +$text['label-active']['es-cl'] = "Active"; +$text['label-active']['es-mx'] = "Active"; +$text['label-active']['fr-ca'] = "Active"; +$text['label-active']['fr-fr'] = "Active"; +$text['label-active']['he-il'] = "Active"; +$text['label-active']['it-it'] = "Active"; +$text['label-active']['nl-nl'] = "Active"; +$text['label-active']['pl-pl'] = "Active"; +$text['label-active']['pt-br'] = "Active"; +$text['label-active']['pt-pt'] = "Active"; +$text['label-active']['ro-ro'] = "Active"; +$text['label-active']['ru-ru'] = "Active"; +$text['label-active']['sv-se'] = "Active"; +$text['label-active']['uk-ua'] = "Active"; + $text['description-on-busy']['en-us'] = "If enabled, it overrides the value of voicemail enabling in extension."; $text['description-on-busy']['en-gb'] = "If enabled, it overrides the value of voicemail enabling in extension."; $text['description-on-busy']['ar-eg'] = ""; diff --git a/app/call_forward/resources/dashboard/call_forward.php b/app/call_forward/resources/dashboard/call_forward.php index ba93dd63dd..3b6c00209c 100644 --- a/app/call_forward/resources/dashboard/call_forward.php +++ b/app/call_forward/resources/dashboard/call_forward.php @@ -1,38 +1,10 @@ - Portions created by the Initial Developer are Copyright (C) 2021 - the Initial Developer. All Rights Reserved. - - Contributor(s): - Mark J Crane -*/ - -//set the include path - $conf = glob("{/usr/local/etc,/etc}/fusionpbx/config.conf", GLOB_BRACE); - set_include_path(parse_ini_file($conf[0])['document.root']); - -//includes files +//includes require_once "resources/require.php"; - require_once "resources/check_auth.php"; //check permissions + require_once "resources/check_auth.php"; if (permission_exists('follow_me') || permission_exists('call_forward') || permission_exists('do_not_disturb')) { //access granted } @@ -41,14 +13,203 @@ exit; } +//connect to the database + if (!isset($database)) { + $database = new database; + } + //add multi-lingual support $language = new text; $text = $language->get($_SESSION['domain']['language']['code'], 'app/call_forward'); -//set a variable for the included code to know its included - $is_included = true; +//set the row style + $c = 0; + $row_style["0"] = "row_style0"; + $row_style["1"] = "row_style1"; -//include the call forward - require_once "app/call_forward/call_forward.php"; +//get data + $sql = " + select + extension_uuid, + extension, + forward_all_enabled, + forward_all_destination, + follow_me_enabled, + follow_me_uuid, + do_not_disturb + from + v_extensions "; + if ($_GET['show'] == "all" && permission_exists('call_forward_all')) { + $sql .= "where true "; + } + else { + $sql .= "where domain_uuid = :domain_uuid "; + $parameters['domain_uuid'] = $_SESSION['domain_uuid']; + } + $sql .= "and enabled = 'true' "; + if (!permission_exists('extension_edit')) { + if (is_array($_SESSION['user']['extension']) && count($_SESSION['user']['extension']) > 0) { + $sql .= "and ("; + $x = 0; + foreach($_SESSION['user']['extension'] as $row) { + if ($x > 0) { $sql .= "or "; } + $sql .= "extension = '".$row['user']."' "; + $x++; + } + $sql .= ")"; + } + else { + //used to hide any results when a user has not been assigned an extension + $sql .= "and extension = 'disabled' "; + } + } + $sql .= order_by($order_by, $order, 'extension', 'asc'); + $database = new database; + $extensions = $database->select($sql, $parameters, 'all'); + unset($parameters); -?> +//determine keys and stats + unset($stats); + $show_stat = false; + if (is_array($extensions) && @sizeof($extensions) != 0) { + foreach ($extensions as $row) { + if (permission_exists('call_forward')) { + $stats['call_forward'] += $row['forward_all_enabled'] == 'true' && $row['forward_all_destination'] ? 1 : 0; + } + if (permission_exists('follow_me')) { + $stats['follow_me'] += $row['follow_me_enabled'] == 'true' && is_uuid($row['follow_me_uuid']) ? 1 : 0; + } + if (permission_exists('do_not_disturb')) { + $stats['dnd'] += $row['do_not_disturb'] == 'true' ? 1 : 0; + } + } + $stats['active'] = @sizeof($extensions) - $stats['call_forward'] - $stats['follow_me'] - $stats['dnd']; + } + if (is_array($stats) && @sizeof($stats) != 0) { + $show_stat = true; + } + +//begin widget + echo "
\n"; + +//doughnut chart + if ($show_stat) { + echo "
\n"; + echo "
\n"; + echo "
\n"; + + echo "\n"; + } + +//details + echo "
"; + echo "\n"; + echo "\n"; + echo "\n"; + if (permission_exists('call_forward')) { + echo " \n"; + } + if (permission_exists('follow_me')) { + echo " \n"; + } + if (permission_exists('do_not_disturb')) { + echo " \n"; + } + echo "\n"; + +// data + if (is_array($extensions) && @sizeof($extensions) != 0) { + foreach($extensions as $row) { + $tr_link = PROJECT_PATH."/app/call_forward/call_forward_edit.php?id=".$row['extension_uuid']; + echo "\n"; + echo " \n"; + if (permission_exists('call_forward')) { + echo " \n"; + } + if (permission_exists('follow_me')) { + //get destination count + $follow_me_destination_count = 0; + if ($row['follow_me_enabled'] == 'true' && is_uuid($row['follow_me_uuid'])) { + $sql = "select count(*) from v_follow_me_destinations "; + $sql .= "where follow_me_uuid = :follow_me_uuid "; + $sql .= "and domain_uuid = :domain_uuid "; + $parameters['follow_me_uuid'] = $row['follow_me_uuid']; + $parameters['domain_uuid'] = $_SESSION['domain_uuid']; + $database = new database; + $follow_me_destination_count = $database->select($sql, $parameters, 'column'); + unset($sql, $parameters); + } + echo " \n"; + } + if (permission_exists('do_not_disturb')) { + echo " \n"; + } + echo "\n"; + $c = ($c) ? 0 : 1; + } + unset($extensions); + } + + echo "
".$text['label-extension']."".$text['label-call_forward']."".$text['label-follow_me']."".$text['label-dnd']."
".escape($row['extension'])."".($row['forward_all_enabled'] == 'true' ? escape(format_phone($row['forward_all_destination'])) : ' ')."".($follow_me_destination_count ? $text['label-enabled'].' ('.$follow_me_destination_count.')' : ' ')."".($row['do_not_disturb'] == 'true' ? $text['label-enabled'] : ' ')."
\n"; + echo "
"; + $n++; + + echo "\n"; + echo "
\n"; + +?> \ No newline at end of file diff --git a/app/call_forward/resources/dashboard/config.php b/app/call_forward/resources/dashboard/config.php index 2225978bbb..8dfb603efd 100644 --- a/app/call_forward/resources/dashboard/config.php +++ b/app/call_forward/resources/dashboard/config.php @@ -1,5 +1,6 @@ -
+
diff --git a/app/system/resources/dashboard/system_counts.php b/app/system/resources/dashboard/system_counts.php index bf1cf0e631..db6dcc1ebb 100644 --- a/app/system/resources/dashboard/system_counts.php +++ b/app/system/resources/dashboard/system_counts.php @@ -285,7 +285,7 @@ if ($show_stat) { //add doughnut chart ?> -
+
diff --git a/app/system/resources/dashboard/system_cpu_status.php b/app/system/resources/dashboard/system_cpu_status.php index a168008a1a..23ff8c5e28 100644 --- a/app/system/resources/dashboard/system_cpu_status.php +++ b/app/system/resources/dashboard/system_cpu_status.php @@ -56,7 +56,7 @@ //add half doughnut chart ?> -
+
diff --git a/app/system/resources/dashboard/system_status.php b/app/system/resources/dashboard/system_status.php index c9b68b395d..5a55ce9f14 100644 --- a/app/system/resources/dashboard/system_status.php +++ b/app/system/resources/dashboard/system_status.php @@ -41,7 +41,7 @@ if ($percent_disk_usage != '') { //add half doughnut chart ?> -
+
diff --git a/app/voicemails/resources/dashboard/voicemails.php b/app/voicemails/resources/dashboard/voicemails.php index 178340a877..640fdf39a1 100644 --- a/app/voicemails/resources/dashboard/voicemails.php +++ b/app/voicemails/resources/dashboard/voicemails.php @@ -59,7 +59,7 @@ //add doughnut chart ?> -
+
diff --git a/app/xml_cdr/resources/dashboard/missed_calls.php b/app/xml_cdr/resources/dashboard/missed_calls.php index 7efb2f679f..aba78e75a9 100644 --- a/app/xml_cdr/resources/dashboard/missed_calls.php +++ b/app/xml_cdr/resources/dashboard/missed_calls.php @@ -82,7 +82,7 @@ //add doughnut chart ?> -
+
diff --git a/app/xml_cdr/resources/dashboard/recent_calls.php b/app/xml_cdr/resources/dashboard/recent_calls.php index c823168c2d..a292b0ef78 100644 --- a/app/xml_cdr/resources/dashboard/recent_calls.php +++ b/app/xml_cdr/resources/dashboard/recent_calls.php @@ -84,7 +84,7 @@ //add doughnut chart ?> -
+
diff --git a/core/dashboard/app_languages.php b/core/dashboard/app_languages.php index 3c289628e5..2f9dacc26c 100644 --- a/core/dashboard/app_languages.php +++ b/core/dashboard/app_languages.php @@ -426,4 +426,50 @@ $text['label-welcome']['ru-ru'] = "Добро пожаловать:"; $text['label-welcome']['sv-se'] = "Välkommen:"; $text['label-welcome']['uk-ua'] = "Ласкаво просимо:"; -?> + + $text['button-contract_all']['en-us'] = "Contract All"; + $text['button-contract_all']['en-gb'] = "Contract All"; + $text['button-contract_all']['ar-eg'] = "Contract All"; + $text['button-contract_all']['de-at'] = "Contract All"; + $text['button-contract_all']['de-ch'] = "Contract All"; + $text['button-contract_all']['de-de'] = "Contract All"; + $text['button-contract_all']['el-gr'] = "Contract All"; + $text['button-contract_all']['es-cl'] = "Contract All"; + $text['button-contract_all']['es-mx'] = "Contract All"; + $text['button-contract_all']['fr-ca'] = "Contract All"; + $text['button-contract_all']['fr-fr'] = "Contract All"; + $text['button-contract_all']['he-il'] = "Contract All"; + $text['button-contract_all']['it-it'] = "Contract All"; + $text['button-contract_all']['nl-nl'] = "Contract All"; + $text['button-contract_all']['pl-pl'] = "Contract All"; + $text['button-contract_all']['pt-br'] = "Contract All"; + $text['button-contract_all']['pt-pt'] = "Contract All"; + $text['button-contract_all']['ro-ro'] = "Contract All"; + $text['button-contract_all']['ru-ru'] = "Contract All"; + $text['button-contract_all']['sv-se'] = "Contract All"; + $text['button-contract_all']['uk-ua'] = "Contract All"; + $text['button-contract_all']['tr-tr'] = "Contract All"; + + $text['button-expand_all']['en-us'] = "Expand All"; + $text['button-expand_all']['en-gb'] = "Expand All"; + $text['button-expand_all']['ar-eg'] = "Expand All"; + $text['button-expand_all']['de-at'] = "Expand All"; + $text['button-expand_all']['de-ch'] = "Expand All"; + $text['button-expand_all']['de-de'] = "Expand All"; + $text['button-expand_all']['el-gr'] = "Expand All"; + $text['button-expand_all']['es-cl'] = "Expand All"; + $text['button-expand_all']['es-mx'] = "Expand All"; + $text['button-expand_all']['fr-ca'] = "Expand All"; + $text['button-expand_all']['fr-fr'] = "Expand All"; + $text['button-expand_all']['he-il'] = "Expand All"; + $text['button-expand_all']['it-it'] = "Expand All"; + $text['button-expand_all']['nl-nl'] = "Expand All"; + $text['button-expand_all']['pl-pl'] = "Expand All"; + $text['button-expand_all']['pt-br'] = "Expand All"; + $text['button-expand_all']['pt-pt'] = "Expand All"; + $text['button-expand_all']['ro-ro'] = "Expand All"; + $text['button-expand_all']['ru-ru'] = "Expand All"; + $text['button-expand_all']['sv-se'] = "Expand All"; + $text['button-expand_all']['uk-ua'] = "Expand All"; + $text['button-expand_all']['tr-tr'] = "Expand All"; +?> \ No newline at end of file diff --git a/core/dashboard/dashboard.php b/core/dashboard/dashboard.php index 276c9d2362..5f0139375c 100644 --- a/core/dashboard/dashboard.php +++ b/core/dashboard/dashboard.php @@ -241,6 +241,7 @@ echo "
\n"; echo "
".$text['title-dashboard']." (".$num_rows.")
\n"; echo "
\n"; + echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','name'=>'btn_back','style'=>'margin-right: 15px;','link'=>'index.php']); if (permission_exists('dashboard_add')) { echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'id'=>'btn_add','name'=>'btn_add','link'=>'dashboard_edit.php']); } diff --git a/core/dashboard/index.php b/core/dashboard/index.php index cba06a4b58..3b4b5c9fa0 100644 --- a/core/dashboard/index.php +++ b/core/dashboard/index.php @@ -172,6 +172,14 @@ \n"; echo "
\n"; @@ -181,13 +189,13 @@ echo " ".$text['label-welcome']." ".$_SESSION["username"]."   "; } if (permission_exists('dashboard_edit')) { - if ($_GET['edit'] == 'true') { - echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','name'=>'btn_back','link'=>'index.php']); - echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save','name'=>'btn_save']); - } - else { - echo button::create(['type'=>'button','label'=>$text['button-edit'],'icon'=>$_SESSION['theme']['button_icon_edit'],'id'=>'btn_edit','name'=>'btn_edit','link'=>'index.php?edit=true']); - } + echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','name'=>'btn_back','style'=>'display: none;','onclick'=>"edit_mode('off');"]); + echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save','name'=>'btn_save','style'=>'display: none; margin-left: 15px;']); + echo "\n"; + echo button::create(['type'=>'button','label'=>$text['button-expand_all'],'icon'=>$_SESSION['theme']['button_icon_expand'],'id'=>'btn_expand','name'=>'btn_expand','style'=>($expanded_all ? 'display: none;' : null),'onclick'=>"$('.hud_details').slideDown('fast'); $(this).hide(); $('#btn_contract').show();"]); + echo button::create(['type'=>'button','label'=>$text['button-contract_all'],'icon'=>$_SESSION['theme']['button_icon_contract'],'id'=>'btn_contract','name'=>'btn_contract','style'=>(!$expanded_all ? 'display: none;' : null),'onclick'=>"$('.hud_details').slideUp('fast'); $(this).hide(); $('#btn_expand').show();"]); + echo "\n"; + echo button::create(['type'=>'button','label'=>$text['button-edit'],'icon'=>$_SESSION['theme']['button_icon_edit'],'id'=>'btn_edit','name'=>'btn_edit','style'=>'margin-left: 15px;','onclick'=>"edit_mode('on');"]); echo button::create(['type'=>'button','label'=>$text['button-settings'],'icon'=>$_SESSION['theme']['button_icon_add'],'id'=>'btn_add','name'=>'btn_add','link'=>'dashboard.php']); } echo "
\n"; @@ -213,6 +221,7 @@ .widget { /*background-color: #eee;*/ + cursor: pointer; } .widgets { @@ -312,11 +321,7 @@ foreach($dashboard as $row) { $dashboard_name = strtolower($row['dashboard_name']); $dashboard_name = str_replace(" ", "_", $dashboard_name); - $draggable = ''; - if ($_GET['edit'] == 'true') { - $draggable = "draggable='true'"; - } - echo "
\n"; + echo "
\n"; include($row['dashboard_path']); echo "
\n"; $x++; @@ -324,7 +329,7 @@ echo "
\n"; //begin edit - if ($_GET['edit'] == 'true') { + if (permission_exists('dashboard_edit')) { ?> +?> \ No newline at end of file diff --git a/core/user_settings/app_languages.php b/core/user_settings/app_languages.php index eb9d2552f6..3aa7bdd84e 100644 --- a/core/user_settings/app_languages.php +++ b/core/user_settings/app_languages.php @@ -2589,16 +2589,16 @@ $text['label-active']['ru-ru'] = "Активные"; $text['label-active']['sv-se'] = "Aktiv"; $text['label-active']['uk-ua'] = ""; -$text['label-inactive']['en-us'] = "InActive"; -$text['label-inactive']['en-gb'] = "InActive"; +$text['label-inactive']['en-us'] = "Inactive"; +$text['label-inactive']['en-gb'] = "Inactive"; $text['label-inactive']['ar-eg'] = ""; -$text['label-inactive']['de-at'] = "InAktiv"; //copied from de-de -$text['label-inactive']['de-ch'] = "InAktiv"; //copied from de-de -$text['label-inactive']['de-de'] = "InAktiv"; +$text['label-inactive']['de-at'] = "Inaktiv"; //copied from de-de +$text['label-inactive']['de-ch'] = "Inaktiv"; //copied from de-de +$text['label-inactive']['de-de'] = "Inaktiv"; $text['label-inactive']['es-cl'] = ""; $text['label-inactive']['es-mx'] = ""; -$text['label-inactive']['fr-ca'] = "InActif"; -$text['label-inactive']['fr-fr'] = "InActif"; +$text['label-inactive']['fr-ca'] = "Inactif"; +$text['label-inactive']['fr-fr'] = "Inactif"; $text['label-inactive']['he-il'] = ""; $text['label-inactive']['it-it'] = "Non Attivo"; $text['label-inactive']['nl-nl'] = ""; @@ -2607,7 +2607,7 @@ $text['label-inactive']['pt-br'] = ""; $text['label-inactive']['pt-pt'] = ""; $text['label-inactive']['ro-ro'] = ""; $text['label-inactive']['ru-ru'] = "Неактивный"; -$text['label-inactive']['sv-se'] = "InAktiv"; +$text['label-inactive']['sv-se'] = "Inaktiv"; $text['label-inactive']['uk-ua'] = ""; ?> diff --git a/themes/default/app_config.php b/themes/default/app_config.php index e05e2f9530..22611519cd 100644 --- a/themes/default/app_config.php +++ b/themes/default/app_config.php @@ -2335,6 +2335,22 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "75424d2d-cb7d-4469-9269-7cb814e863b8"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "theme"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "button_icon_expand"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "fas fa-expand"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "df614b6d-217c-43a6-a6ce-5cef689e5348"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "theme"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "button_icon_contract"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "fas fa-compress"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; + $y++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "814ed631-a315-4bde-a822-4038432ae2a6"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "theme"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "keyboard_shortcut_check_all_enabled"; diff --git a/themes/default/css.php b/themes/default/css.php index 5f9ed03185..d00c25c165 100644 --- a/themes/default/css.php +++ b/themes/default/css.php @@ -2431,7 +2431,6 @@ header('Expires: '.gmdate('D, d M Y H:i:s',time()+3600).' GMT'); -webkit-box-shadow: inset 0 7px 7px -7px , inset 0 -8px 12px -10px ; box-shadow: inset 0 7px 7px -7px , inset 0 -8px 12px -10px ; */ - padding-top: 3px; padding-bottom: 15px; overflow-y: auto; } @@ -2455,6 +2454,35 @@ header('Expires: '.gmdate('D, d M Y H:i:s',time()+3600).' GMT'); font-size: ; font-family: color: ; + padding-top: 3px; + + background: ; + background-image: -ms-linear-gradient(left, 0%, 30%, 70%, 100%); + background-image: -moz-linear-gradient(left, 0%, 30%, 70%, 100%); + background-image: -o-linear-gradient(left, 0%, 30%, 70%, 100%); + background-image: -webkit-gradient(linear, left, right, color-stop(0, ), color-stop(0.30, ), color-stop(0.70, ), color-stop(1, )); + background-image: -webkit-linear-gradient(left, 0%, 30%, 70%, 100%); + background-image: linear-gradient(to right, 0%, 30%, 70%, 100%); + + } + + th.hud_heading:first-of-type { + + -webkit-border-top-left-radius: ; + -moz-border-top-left-radius: ; + border-top-left-radius: ; + + } + + th.hud_heading:first-of-type { + + -webkit-border-top-left-radius: ; + -moz-border-top-left-radius: ; + border-top-left-radius: ; + } td.hud_text {