summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-06 09:41:45 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-06 09:41:45 -0300
commit05391c58669d35f960831a1515734abc08201c21 (patch)
treeb2bc3367af3a53f1394f96914dd04b6a843e887a /usr
parent4f118b9a1060d8122a0cb07ef60068a7b02e6c52 (diff)
parentd6fa899dfb47fa54a69003b552e284ae6e42c2cb (diff)
downloadpfsense-05391c58669d35f960831a1515734abc08201c21.zip
pfsense-05391c58669d35f960831a1515734abc08201c21.tar.gz
Merge pull request #1597 from phil-davis/Common-typos
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