' . "\n"; $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; $pkgtbl .= '' . gettext("Name") . "\n"; $pkgtbl .= '' . gettext("Version") . "\n"; $pkgtbl .= '' . gettext("Description") . "\n"; $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; foreach ($pkg_info as $index) { if (isset($index['installed'])) { continue; } $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; if ($index['www']) { $pkgtbl .= '' . "\n"; } $pkgtbl .= htmlspecialchars($index['shortname']); $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; if (!$g['disablepackagehistory']) { $pkgtbl .= '' . "\n"; $pkgtbl .= htmlspecialchars($index['version']) . '' . "\n"; } else { $pkgtbl .= htmlspecialchars($index['version']); } $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; $pkgtbl .= $index['desc']; if (is_array($index['deps']) && count($index['deps'])) { $pkgtbl .= '

' . gettext("Package Dependencies") . ":' . "\n"; } $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; $pkgtbl .= 'install' . "\n"; if (!$g['disablepackageinfo'] && $index['pkginfolink'] && $index['pkginfolink'] != $index['www']) { $pkgtbl .= 'info' . "\n"; } $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; } $pkgtbl .= '' . "\n"; $pkgtbl .= '' . "\n"; return ($pkgtbl); } $pgtitle = array(gettext("System"), gettext("Package Manager"), gettext("Available Packages")); include("head.inc"); $tab_array = array(); $tab_array[] = array(gettext("Available Packages"), true, "pkg_mgr.php"); $tab_array[] = array(gettext("Installed Packages"), false, "pkg_mgr_installed.php"); display_top_tabs($tab_array); ?>

')?>