aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-10-11 18:48:09 -0700
committerCesar G <prototech91@gmail.com>2013-12-06 00:56:24 -0800
commite110d591a93b518edca00f01823d62c4d1a0ca91 (patch)
tree992f00a724cf8ba7ab001a1519824c89cbfbe80c /phpBB/includes
parent4b0410a9d9ab9a405722f0d14d659ab3b7096f11 (diff)
downloadforums-e110d591a93b518edca00f01823d62c4d1a0ca91.tar
forums-e110d591a93b518edca00f01823d62c4d1a0ca91.tar.gz
forums-e110d591a93b518edca00f01823d62c4d1a0ca91.tar.bz2
forums-e110d591a93b518edca00f01823d62c4d1a0ca91.tar.xz
forums-e110d591a93b518edca00f01823d62c4d1a0ca91.zip
[ticket/11241] Consolidate topic actions into "Topic tools" dropdown.
PHPBB3-11241
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)