Revision b3a32a59
Added by Phil Davis about 8 years ago
src/usr/local/www/pkg_mgr.php | ||
---|---|---|
75 | 75 |
exit; |
76 | 76 |
} |
77 | 77 |
|
78 |
// We are being called only to get the pacakge data, not to display anything
|
|
78 |
// We are being called only to get the package data, not to display anything
|
|
79 | 79 |
if (($_REQUEST) && ($_REQUEST['ajax'])) { |
80 | 80 |
print(get_pkg_table()); |
81 | 81 |
exit; |
82 | 82 |
} |
83 | 83 |
|
84 |
// THe content for the table of packages is created here and fetched by Ajax. This allows us to draw the page and dispay
|
|
85 |
// any required messages while the table it being downloaded/populated. On very small/slow systems, that can take a while
|
|
84 |
// The content for the table of packages is created here and fetched by Ajax. This allows us to draw the page and display
|
|
85 |
// any required messages while the table is being downloaded/populated. On very small/slow systems, that can take a while
|
|
86 | 86 |
function get_pkg_table() { |
87 | 87 |
|
88 | 88 |
$pkg_info = get_pkg_info(); |
... | ... | |
281 | 281 |
} |
282 | 282 |
}); |
283 | 283 |
|
284 |
// Retrieve the table formatted pacakge information and display it in the "Packages" panel
|
|
284 |
// Retrieve the table formatted package information and display it in the "Packages" panel
|
|
285 | 285 |
// (Or display an appropriate error message) |
286 | 286 |
var ajaxRequest; |
287 | 287 |
|
Also available in: Unified diff
Typos in pkg management code comments
(cherry picked from commit 146dbf0139d1f3049131bdf7a7d96675e4ff00a4)