aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-05-17 10:06:14 +0200
committerGitHub <noreply@github.com>2017-05-17 10:06:14 +0200
commited4d5890770febc994f55b8eb1b9b3f6a380e664 (patch)
tree92956525aed778f630af821988a9bb0c0d14e88f /include
parent47a080d79c6e685f3f99c01eb7df0747066d76d5 (diff)
parenta1ba44db720abab58d8b6b13035daa25710acd03 (diff)
downloadvolse-hubzilla-ed4d5890770febc994f55b8eb1b9b3f6a380e664.tar.gz
volse-hubzilla-ed4d5890770febc994f55b8eb1b9b3f6a380e664.tar.bz2
volse-hubzilla-ed4d5890770febc994f55b8eb1b9b3f6a380e664.zip
Merge pull request #783 from zotlabs/app_order
provide mechanism to arbitrarily sort the nav tray apps, currently th…
Diffstat (limited to 'include')
-rw-r--r--include/nav.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index 849e19d9a..0fd555abf 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -257,6 +257,8 @@ EOT;
usort($syslist,'Zotlabs\\Lib\\Apps::app_name_compare');
+ $syslist = Zlib\Apps::app_order(local_channel(),$syslist);
+
foreach($syslist as $app) {
$nav_apps[] = Zlib\Apps::app_render($app,'nav');
}