Typos in pkg management code comments

This commit is contained in:
Phil Davis 2017-05-02 09:40:17 +05:45
parent 74ddcdb2be
commit 146dbf0139
No known key found for this signature in database
GPG Key ID: 340A5689A513CA23
3 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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;