diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-17 21:10:04 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-17 22:22:09 +0200 |
commit | 4679e8ef5d2f998abe5b29fe8c1af9d6b3143b6a (patch) | |
tree | 2aaea2ce9c0e7f4ad5fa3c56aa55c184bac67961 /web/lib/pkgfuncs.inc.php | |
parent | c349cb2feafa1c2009e8f41c039edc661ef6e0be (diff) |
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>
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
-rw-r--r-- | web/lib/pkgfuncs.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index 0610617..1351e72 100644 --- a/web/lib/pkgfuncs.inc.php +++ b/web/lib/pkgfuncs.inc.php @@ -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(); |