Sort installed packages in a case insensitive way on the widget and installed packages list.

This commit is contained in:
jim-p 2011-01-10 17:58:51 -05:00
parent c126131572
commit 001cbed200
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ include("head.inc");
foreach($config['installedpackages']['package'] as $instpkg) {
$instpkgs[] = $instpkg['name'];
}
asort($instpkgs);
natcasesort($instpkgs);
foreach ($instpkgs as $index => $pkgname):

View File

@ -60,7 +60,7 @@ $updateavailable = false;
$instpkgs = array();
foreach($config['installedpackages']['package'] as $instpkg)
$instpkgs[] = $instpkg['name'];
asort($instpkgs);
natcasesort($instpkgs);
$y=1;
foreach ($instpkgs as $index => $pkgname){