summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-07-17 21:10:04 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-17 22:22:09 +0200
commit4679e8ef5d2f998abe5b29fe8c1af9d6b3143b6a (patch)
tree2aaea2ce9c0e7f4ad5fa3c56aa55c184bac67961 /web/lib
parentc349cb2feafa1c2009e8f41c039edc661ef6e0be (diff)
downloadaur-4679e8ef5d2f998abe5b29fe8c1af9d6b3143b6a.tar.gz
aur-4679e8ef5d2f998abe5b29fe8c1af9d6b3143b6a.tar.xz
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')
-rw-r--r--web/lib/pkgfuncs.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index 06106170..1351e725 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();