summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-04-04 23:08:16 +0545
committerRenato Botelho <garga@FreeBSD.org>2015-04-06 09:41:59 -0300
commited005b2000ddeae4782fc2b84eea83eff44a0907 (patch)
tree23a9464a7454062c90081b3cfd2d5cd1679cac07 /usr
parent5d7a0701d1715e15802968e50c36fd81ab5524cf (diff)
downloadpfsense-ed005b2000ddeae4782fc2b84eea83eff44a0907.zip
pfsense-ed005b2000ddeae4782fc2b84eea83eff44a0907.tar.gz
Few minor text typos
Note that advertise is spelt with an "s" in other places in the GUI, so making it consistent in services_ntpd - but maybe Americans do spell it "advertize" these days?
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/services_ntpd.php4
-rw-r--r--usr/local/www/widgets/include/thermal_sensors.inc7
-rw-r--r--usr/local/www/widgets/javascript/thermal_sensors.js2
3 files changed, 6 insertions, 7 deletions
diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php
index 88b38fa..88d3f20 100644
--- a/usr/local/www/services_ntpd.php
+++ b/usr/local/www/services_ntpd.php
@@ -348,7 +348,7 @@ include("head.inc");
<input type="button" onclick="show_advanced('showstatisticsbox', 'showstatistics')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show statistics logging options");?>
</div>
<div id="showstatistics" style="display:none">
- <strong><?php echo gettext("Warning: ")?></strong><?php echo gettext("these options will create persistant daily log files in /var/log/ntp."); ?>
+ <strong><?php echo gettext("Warning: ")?></strong><?php echo gettext("these options will create persistent daily log files in /var/log/ntp."); ?>
<br /><br />
<input name="clockstats" type="checkbox" class="formcheckbox" id="clockstats"<?php if($pconfig['clockstats']) echo " checked=\"checked\""; ?> />
<?php echo gettext("Enable logging of reference clock statistics (default: disabled)."); ?>
@@ -397,7 +397,7 @@ include("head.inc");
<input type="button" onclick="show_advanced('showleapsecbox', 'showleapsec')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show Leap second configuration");?>
</div>
<div id="showleapsec" style="display:none">
- <?php echo gettext("A leap second file allows NTP to advertize an upcoming leap second addition or subtraction.");?>
+ <?php echo gettext("A leap second file allows NTP to advertise an upcoming leap second addition or subtraction.");?>
<?php echo gettext("Normally this is only useful if this server is a stratum 1 time server.");?>
<br /><br />
<?php echo gettext("Enter Leap second configuration as text:");?><br />
diff --git a/usr/local/www/widgets/include/thermal_sensors.inc b/usr/local/www/widgets/include/thermal_sensors.inc
index e193b15..a27b1eb 100644
--- a/usr/local/www/widgets/include/thermal_sensors.inc
+++ b/usr/local/www/widgets/include/thermal_sensors.inc
@@ -1,13 +1,12 @@
<?php
/*
$Id: thermal_sensors.inc
- File location:
+ File location:
\usr\local\www\widgets\include\
Used by:
\usr\local\www\widgets\widgets\thermal_sensors.widget.php
-
*/
//set variable for custom title
@@ -16,12 +15,12 @@ $thermal_sensors_widget_title = "Thermal Sensors";
//returns core temp data (from coretemp.ko or amdtemp.ko driver) as "|"-delimited string.
-//NOTE: depends on proper cofing in System >> Advanced >> Miscellaneous tab >> Thermal Sensors section.
+//NOTE: depends on proper config in System >> Advanced >> Miscellaneous tab >> Thermal Sensors section.
function getThermalSensorsData() {
$_gb = exec("/sbin/sysctl -a | grep temperature", $dfout);
$thermalSensorsData = join("|", $dfout);
return $thermalSensorsData;
-
+
}
?>
diff --git a/usr/local/www/widgets/javascript/thermal_sensors.js b/usr/local/www/widgets/javascript/thermal_sensors.js
index edc9990..f244296 100644
--- a/usr/local/www/widgets/javascript/thermal_sensors.js
+++ b/usr/local/www/widgets/javascript/thermal_sensors.js
@@ -2,7 +2,7 @@
$Id: thermal_sensors.js
Description:
Javascript functions to get and show thermal sensors data in thermal_sensors.widget.php.
- NOTE: depends on proper cofing in System >> Advanced >> Miscellaneous tab >> Thermal Sensors section.
+ NOTE: depends on proper config in System >> Advanced >> Miscellaneous tab >> Thermal Sensors section.
File location:
\usr\local\www\widgets\javascript\
Used by:
OpenPOWER on IntegriCloud