aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-16 22:57:34 -0700
committerzotlabs <mike@macgirvin.com>2017-05-16 22:57:34 -0700
commita1ba44db720abab58d8b6b13035daa25710acd03 (patch)
tree7c5f2d750c46e99fb4598f1379ef593d4dc24719 /include
parent7a39ccf7bb3c61a354207486f83b970641e54680 (diff)
downloadvolse-hubzilla-a1ba44db720abab58d8b6b13035daa25710acd03.tar.gz
volse-hubzilla-a1ba44db720abab58d8b6b13035daa25710acd03.tar.bz2
volse-hubzilla-a1ba44db720abab58d8b6b13035daa25710acd03.zip
provide mechanism to arbitrarily sort the nav tray apps, currently the preferred order list needs to be manually created
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');
}