Package Name |
Category |
Package Info |
Package Version |
Description |
$pkgname):
$pkg = $config['installedpackages']['package'][$index];
if(!$pkg['name'])
continue;
$latest_package = $currentvers[$pkg['name']]['version'];
if ($latest_package) {
// we're running a newer version of the package
if(strcmp($pkg['version'], $latest_package) > 0) {
$tdclass = "listbggrey";
$pkgver = "Available: {$latest_package} ";
$pkgver .= "Installed: {$pkg['version']}";
}
// we're running an older version of the package
if(strcmp($pkg['version'], $latest_package) < 0) {
$tdclass = "listbg";
$pkgver = "Available: {$latest_package} ";
$pkgver .= "Installed: {$pkg['version']}";
}
// we're running the current version
if(!strcmp($pkg['version'], $latest_package)) {
$tdclass = "listr";
$pkgver = $pkg['version'];
}
} else {
// unknown available package version
if(!strcmp($pkg['version'], $latest_package)) {
$tdclass = "listr";
$pkgver = $pkg['version'];
}
}
?>
=$pkg['name'];?>
|
=$pkg['category'];?>
|
Package Info";
} else {
echo "No info, check the forum";
}
?>
|
=$pkgver;?>
|
=$pkg['descr'];?>
|
|
There are no packages currently installed.
|
|