diff options
author | Cesar G <prototech91@gmail.com> | 2013-10-11 18:48:09 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2013-12-06 00:56:24 -0800 |
commit | e110d591a93b518edca00f01823d62c4d1a0ca91 (patch) | |
tree | 992f00a724cf8ba7ab001a1519824c89cbfbe80c /phpBB/includes | |
parent | 4b0410a9d9ab9a405722f0d14d659ab3b7096f11 (diff) | |
download | forums-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.php | 2 |
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) |