diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-26 22:02:50 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-26 22:02:50 +0200 |
commit | a7948d7bfee1c0c8c9f1a731aabdc636c280bff0 (patch) | |
tree | 16ed302c1fc01084f8e8c9f790494d3b4762b567 /Zotlabs/Module/Connedit.php | |
parent | 505782f224d232acd57f7a5986adfc9bf8a7bb79 (diff) | |
download | volse-hubzilla-a7948d7bfee1c0c8c9f1a731aabdc636c280bff0.tar.gz volse-hubzilla-a7948d7bfee1c0c8c9f1a731aabdc636c280bff0.tar.bz2 volse-hubzilla-a7948d7bfee1c0c8c9f1a731aabdc636c280bff0.zip |
permcats app
Diffstat (limited to 'Zotlabs/Module/Connedit.php')
-rw-r--r-- | Zotlabs/Module/Connedit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php index 712215bc3..3d7ee449a 100644 --- a/Zotlabs/Module/Connedit.php +++ b/Zotlabs/Module/Connedit.php @@ -7,6 +7,7 @@ namespace Zotlabs\Module; * */ +use Zotlabs\Lib\Apps; require_once('include/socgraph.php'); require_once('include/selectors.php'); @@ -851,7 +852,7 @@ class Connedit extends \Zotlabs\Web\Controller { '$autoperms' => array('autoperms',t('Apply these permissions automatically'), ((get_pconfig(local_channel(),'system','autoperms')) ? 1 : 0), t('Connection requests will be approved without your interaction'), $yes_no), '$permcat' => [ 'permcat', t('Permission role'), '', '<span class="loading invisible">' . t('Loading') . '<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span></span>',$permcats ], '$permcat_new' => t('Add permission role'), - '$permcat_enable' => feature_enabled(local_channel(),'permcats'), + '$permcat_enable' => Apps::system_app_installed(local_channel(), 'Permission Categories'), '$addr' => unpunify($contact['xchan_addr']), '$primeurl' => unpunify($contact['xchan_url']), '$section' => $section, |