apporder module and all the associated backend stuff to make it work; probably needs a bit of UI cleanup and a link to it from somewhere

This commit is contained in:
zotlabs
2017-05-21 22:23:36 -07:00
parent 21103f8bc4
commit e4448423fb
5 changed files with 153 additions and 2 deletions

View File

@@ -84,6 +84,20 @@ class Appman extends \Zotlabs\Web\Controller {
}
$channel = \App::get_channel();
if(argc() > 2) {
if(argv(2) === 'moveup') {
Zlib\Apps::moveup(local_channel(),argv(1));
}
if(argv(2) === 'movedown') {
Zlib\Apps::movedown(local_channel(),argv(1));
}
goaway(z_root() . '/apporder');
}
$app = null;
$embed = null;
if($_REQUEST['appid']) {