diff options
author | Phil Davis <phil.davis@inf.org> | 2017-05-02 09:40:17 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-05-03 09:28:50 -0300 |
commit | b3a32a59a8f9f904b32a0b6d0c5e082f6834d45a (patch) | |
tree | 377aaaa25983b8e8d9b014e50331244bbcf6393c | |
parent | c180fdbedeb534b3a4b32c83db754baad6a16a7e (diff) | |
download | pfsense-b3a32a59a8f9f904b32a0b6d0c5e082f6834d45a.zip pfsense-b3a32a59a8f9f904b32a0b6d0c5e082f6834d45a.tar.gz |
Typos in pkg management code comments
(cherry picked from commit 146dbf0139d1f3049131bdf7a7d96675e4ff00a4)
-rw-r--r-- | src/usr/local/www/pkg_mgr.php | 8 | ||||
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/pkg_mgr_installed.php | 4 |
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 e384095..b3404e8 100644 --- a/src/usr/local/www/pkg_mgr.php +++ b/src/usr/local/www/pkg_mgr.php @@ -75,14 +75,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(); @@ -281,7 +281,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 2e838bb..7959dfa 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -96,7 +96,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 8a915c1..a9447b2 100644 --- a/src/usr/local/www/pkg_mgr_installed.php +++ b/src/usr/local/www/pkg_mgr_installed.php @@ -71,7 +71,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; @@ -269,7 +269,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; |