summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-08-11 12:20:20 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-08-11 12:20:20 +0200
commitd84c2f1cc767bc428b84a5590e4c1c8a9c53fb36 (patch)
treee1a2ad265f9dc7fd9cd77beac672d70767917b8b /inc/template.php
parent95905cbe48caa3de7d6d809a8f0d0cffc9df4720 (diff)
parentf73480e9843c2c7609d25f9bb340210e01ea5344 (diff)
downloadrpg-d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36.tar.gz
rpg-d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36.tar.bz2
Merge branch 'master' into extension_manager
* master: (33 commits) translation update translation update translation update translation update translation update changed style of `<file>` slightly to help tell it apart from `<code>` translation update translation update translation update translation update translation update translation update translation update removed now unused interwiki icons removed old, possibly never used interwiki definitions FS#2806 - fix auth capability listing in html_debug() translation update change 'debug' setting to 'security' (rather than 'danger') convert from iso-8859-1 if not utf8 add 'danger' alert to authpgsql config settings ...
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index ea73b01b6..8f41ce65b 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -1233,7 +1233,7 @@ function tpl_localeFN($id) {
* @param bool $fromajax - set true when calling this function via ajax
* @author Andreas Gohr <andi@splitbrain.org>
*/
-function tpl_mediaContent($fromajax = false) {
+function tpl_mediaContent($fromajax = false, $sort='natural') {
global $IMG;
global $AUTH;
global $INUSE;
@@ -1263,7 +1263,7 @@ function tpl_mediaContent($fromajax = false) {
if($do == 'filesinuse') {
media_filesinuse($INUSE, $IMG);
} elseif($do == 'filelist') {
- media_filelist($NS, $AUTH, $JUMPTO);
+ media_filelist($NS, $AUTH, $JUMPTO,false,$sort);
} elseif($do == 'searchlist') {
media_searchlist($INPUT->str('q'), $NS, $AUTH);
} else {