Move package actions to the action box

Note that this currently only works if the virtual path feature is
enabled. If you don't use virtual paths, these will still be displayed
as buttons below the package details listing.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2012-07-17 21:10:04 +02:00
parent c349cb2fea
commit 4679e8ef5d
3 changed files with 20 additions and 0 deletions

View file

@ -368,6 +368,7 @@ function pkgname_is_blacklisted($name, $dbh=NULL) {
#
function package_details($id=0, $SID="", $dbh=NULL) {
global $AUR_LOCATION;
global $USE_VIRTUAL_URLS;
if(!$dbh) {
$dbh = db_connect();