diff --git a/src/usr/local/www/widgets/widgets/thermal_sensors.widget.php b/src/usr/local/www/widgets/widgets/thermal_sensors.widget.php index df3ed418c4..dc7e9a1663 100644 --- a/src/usr/local/www/widgets/widgets/thermal_sensors.widget.php +++ b/src/usr/local/www/widgets/widgets/thermal_sensors.widget.php @@ -119,6 +119,7 @@ if ($_POST['widgetkey']) { saveGraphDisplaySettings($user_settings, $_POST, "thermal_sensors_widget_show_full_sensor_name"); saveGraphDisplaySettings($user_settings, $_POST, "thermal_sensors_widget_pulsate_warning"); saveGraphDisplaySettings($user_settings, $_POST, "thermal_sensors_widget_pulsate_critical"); + saveGraphDisplaySettings($user_settings, $_POST, "thermal_sensors_widget_show_fahrenheit"); //write settings to config file save_widget_settings($_SESSION['Username'], $user_settings["widgets"], gettext("Saved thermal_sensors_widget settings via Dashboard.")); @@ -139,6 +140,7 @@ $thermal_sensors_widget_showRawOutput = getBoolValueFromConfig($user_settings, " $thermal_sensors_widget_showFullSensorName = getBoolValueFromConfig($user_settings, "thermal_sensors_widget_show_full_sensor_name", false, $widgetkey); $thermal_sensors_widget_pulsateWarning = getBoolValueFromConfig($user_settings, "thermal_sensors_widget_pulsate_warning", true, $widgetkey); $thermal_sensors_widget_pulsateCritical = getBoolValueFromConfig($user_settings, "thermal_sensors_widget_pulsate_critical", true, $widgetkey); +$thermal_sensors_widget_showFahrenheit = getBoolValueFromConfig($user_settings, "thermal_sensors_widget_show_fahrenheit", false, $widgetkey); //========================================================================= ?> @@ -157,6 +159,8 @@ $thermal_sensors_widget_pulsateCritical = getBoolValueFromConfig($user_settings, showFullSensorName:, pulsateWarning:, pulsateCritical: + showFahrenheit: + }; // --------------------- Centralized widget refresh system ------------------------------ @@ -257,6 +261,15 @@ $thermal_sensors_widget_pulsateCritical = getBoolValueFromConfig($user_settings, +
+ +
+ +
+
+