mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Typos in pkg management code comments
This commit is contained in:
parent
74ddcdb2be
commit
146dbf0139
@ -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;
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user