diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-16 11:11:06 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-16 11:11:06 +0100 |
commit | 78c9f752af8db5db290a57224fa1d0239a36a34d (patch) | |
tree | 97f75c296cceb5cb248fe7335b3c3b79e41941c0 /Zotlabs/Module | |
parent | d13a6180be310cb184f891fa2b969542691c1863 (diff) | |
download | volse-hubzilla-78c9f752af8db5db290a57224fa1d0239a36a34d.tar.gz volse-hubzilla-78c9f752af8db5db290a57224fa1d0239a36a34d.tar.bz2 volse-hubzilla-78c9f752af8db5db290a57224fa1d0239a36a34d.zip |
provide ability to pin apps to navbar from /apps. this removes the ability to have per custom navbar pinned apps - this can be added later if desired
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Appman.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Module/Appman.php b/Zotlabs/Module/Appman.php index 5c0667357..64d4628ae 100644 --- a/Zotlabs/Module/Appman.php +++ b/Zotlabs/Module/Appman.php @@ -64,7 +64,11 @@ class Appman extends \Zotlabs\Web\Controller { } if($_POST['feature']) { - Zlib\Apps::app_feature(local_channel(),$papp); + Zlib\Apps::app_feature(local_channel(), $papp, $_POST['feature']); + } + + if($_POST['pin']) { + Zlib\Apps::app_feature(local_channel(), $papp, $_POST['pin']); } if($_SESSION['return_url']) |