summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-05-02 09:40:17 +0545
committerPhil Davis <phil.davis@inf.org>2017-05-02 09:40:17 +0545
commit146dbf0139d1f3049131bdf7a7d96675e4ff00a4 (patch)
treeee0280922bf79b19f38e6470b3a1cd8ea9127f86
parent74ddcdb2be383425c745c2ed9cea1649ad73d25a (diff)
downloadpfsense-146dbf0139d1f3049131bdf7a7d96675e4ff00a4.zip
pfsense-146dbf0139d1f3049131bdf7a7d96675e4ff00a4.tar.gz
Typos in pkg management code comments
-rw-r--r--src/usr/local/www/pkg_mgr.php8
-rw-r--r--src/usr/local/www/pkg_mgr_install.php2
-rw-r--r--src/usr/local/www/pkg_mgr_installed.php4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/local/www/pkg_mgr.php b/src/usr/local/www/pkg_mgr.php
index d92ae49..800ff5f 100644
--- a/src/usr/local/www/pkg_mgr.php
+++ b/src/usr/local/www/pkg_mgr.php
@@ -43,14 +43,14 @@ if (is_subsystem_dirty('packagelock')) {
exit;
}
-// We are being called only to get the pacakge data, not to display anything
+// We are being called only to get the package data, not to display anything
if (($_REQUEST) && ($_REQUEST['ajax'])) {
print(get_pkg_table());
exit;
}
-// THe content for the table of packages is created here and fetched by Ajax. This allows us to draw the page and dispay
-// any required messages while the table it being downloaded/populated. On very small/slow systems, that can take a while
+// The content for the table of packages is created here and fetched by Ajax. This allows us to draw the page and display
+// any required messages while the table is being downloaded/populated. On very small/slow systems, that can take a while
function get_pkg_table() {
$pkg_info = get_pkg_info();
@@ -249,7 +249,7 @@ events.push(function() {
}
});
- // Retrieve the table formatted pacakge information and display it in the "Packages" panel
+ // Retrieve the table formatted package information and display it in the "Packages" panel
// (Or display an appropriate error message)
var ajaxRequest;
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php
index df3147d..b36c0a6 100644
--- a/src/usr/local/www/pkg_mgr_install.php
+++ b/src/usr/local/www/pkg_mgr_install.php
@@ -64,7 +64,7 @@ if ($_REQUEST['ajax']) {
$response = "";
$code = 0;
- // If this is an ajax call to get the installed and newst versions, call that function,
+ // If this is an ajax call to get the installed and newest versions, call that function,
// JSON encode the result, print it and exit
if ($_REQUEST['getversion']) {
$firmwareversions = get_system_pkg_version(true);
diff --git a/src/usr/local/www/pkg_mgr_installed.php b/src/usr/local/www/pkg_mgr_installed.php
index c9f47d9..7fbb37f 100644
--- a/src/usr/local/www/pkg_mgr_installed.php
+++ b/src/usr/local/www/pkg_mgr_installed.php
@@ -39,7 +39,7 @@ if (is_subsystem_dirty('packagelock')) {
exit;
}
-// We are being called only to get the pacakge data, not to display anything
+// We are being called only to get the package data, not to display anything
if (($_REQUEST) && ($_REQUEST['ajax'])) {
print(get_pkg_table());
exit;
@@ -237,7 +237,7 @@ display_top_tabs($tab_array);
events.push(function() {
- // Retrieve the table formatted pacakge information and display it in the "Packages" panel
+ // Retrieve the table formatted package information and display it in the "Packages" panel
// (Or display an appropriate error message)
var ajaxRequest;
OpenPOWER on IntegriCloud