mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
fix copy/paste error
This commit is contained in:
parent
8b09ec1864
commit
7620b362fe
@ -180,7 +180,7 @@ $thermal_sensors_widget_showFahrenheit = getBoolValueFromConfig($user_settings,
|
||||
$("#thermal_sensors_widget_core_warning_threshold").val(function(){return getFahrenheitValue(this.value);});
|
||||
$("#thermal_sensors_widget_core_critical_threshold").val(function(){return getFahrenheitValue(this.value);});
|
||||
} else {
|
||||
$(".thermal_sensors_widget_unit").html('<?=gettext("°F")?>');
|
||||
$(".thermal_sensors_widget_unit").html('<?=gettext("°C")?>');
|
||||
$(".thermal_sensors_widget_range").html('<?=gettext("(1–100)")?>');
|
||||
$("#thermal_sensors_widget_zone_warning_threshold").val(function(){return getCelsiusValue(this.value);});
|
||||
$("#thermal_sensors_widget_zone_critical_threshold").val(function(){return getCelsiusValue(this.value);});
|
||||
@ -241,7 +241,7 @@ if ($thermal_sensors_widget_showFahrenheit) {
|
||||
<?=gen_customwidgettitle_div($widgetconfig['title']); ?>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-6 control-label">
|
||||
<?=sprintf(gettext('Thresholds in <span class="thermal_sensors_widget_unit">%s</span><br/><span class="thermal_sensors_widget_range">%s</span>'), $thermal_sensors_widget_showFahrenheit ? "F" : "C", $thermal_sensors_widget_showFahrenheit ? "(1-212)" : "(1-100)")?>
|
||||
<?=sprintf(gettext('Thresholds in <span class="thermal_sensors_widget_unit">%s</span><br/><span class="thermal_sensors_widget_range">%s</span>:'), $thermal_sensors_widget_showFahrenheit ? gettext("°F") : gettext("°C"), $thermal_sensors_widget_showFahrenheit ? gettext("(1–212)") : gettext("(1–100)"))?>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user