provide mechanism to arbitrarily sort the nav tray apps, currently the preferred order list needs to be manually created

This commit is contained in:
zotlabs
2017-05-16 22:57:34 -07:00
parent 7a39ccf7bb
commit a1ba44db72
2 changed files with 46 additions and 0 deletions

View File

@@ -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');
}