aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-12-06 12:54:32 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-12-06 12:54:32 +0100
commit71169de8230812f2d05b87bfba42331e04663b81 (patch)
tree57ac21bd303f0a44f582f0d3bb047b0fc33de004 /phpBB/includes
parent4684ba08690b1a6e305d9f6bf8d38cacb86dc387 (diff)
parentdbe7154065fd4195395d620654ae7897e057a37e (diff)
downloadforums-71169de8230812f2d05b87bfba42331e04663b81.tar
forums-71169de8230812f2d05b87bfba42331e04663b81.tar.gz
forums-71169de8230812f2d05b87bfba42331e04663b81.tar.bz2
forums-71169de8230812f2d05b87bfba42331e04663b81.tar.xz
forums-71169de8230812f2d05b87bfba42331e04663b81.zip
Merge remote-tracking branch 'prototech/ticket/11241' into develop
* prototech/ticket/11241: [ticket/11241] Retain button gradient when menu is active. [ticket/11241] Fix the disappearing dropdown when responsive changes take effect [ticket/11241] Add border to dropdown menu options. [ticket/11241] Add events & var for extensions to dropdown. [ticket/11241] Fix the dropdown in RTL languages. [ticket/11241] Use DEFINE for the block. [ticket/11241] Consolidate topic actions into "Topic tools" dropdown. [ticket/11241] Add dropdown control button.
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 5592aa89ba..0ff842ea6a 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1464,6 +1464,8 @@ function phpbb_gen_download_links($param_key, $param_val, $phpbb_root_path, $php
}
$methods = compress::methods();
+ // Sort by preferred type.
+ $methods = array_intersect(array('.zip', '.tar.bz2', '.tar.gz', '.tar'), $methods);
$links = array();
foreach ($methods as $method)