Package Name |
Category |
Status |
Maintainer |
Description |
There are currently no packages available for installation. | ";
} else {
$pkgs = array();
$instpkgs = array();
if($config['installedpackages']['package'] != "")
foreach($config['installedpackages']['package'] as $instpkg) $instpkgs[] = $instpkg['name'];
$pkg_names = array_keys($pkg_info);
$pkg_keys = array();
foreach($pkg_names as $name) {
if(!in_array($name, $instpkgs)) $pkg_keys[] = $name;
}
sort($pkg_keys);
if(count($pkg_keys) != 0) {
foreach($pkg_keys as $key) {
$index = &$pkg_info[$key];
if(in_array($index['name'], $instpkgs)) continue;
?>
= $index['name'] ?>
|
= $index['category'] ?>
|
= $index['status'] ?>
= $index['version'] ?>
|
{$index['maintainer']}";
} else {
echo "Unknown";
}
?>
|
= $index['maintainer'] ?>
|
= $index['descr'] ?>
|
|
There are currently no packages available for installation. | ';
}
}
?>