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/Defperms.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/Defperms.php')
-rw-r--r-- | Zotlabs/Module/Defperms.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Defperms.php b/Zotlabs/Module/Defperms.php index 63acc9795..2e886aa64 100644 --- a/Zotlabs/Module/Defperms.php +++ b/Zotlabs/Module/Defperms.php @@ -1,6 +1,7 @@ <?php namespace Zotlabs\Module; +use Zotlabs\Lib\Apps; require_once('include/socgraph.php'); require_once('include/selectors.php'); @@ -238,7 +239,7 @@ class Defperms extends \Zotlabs\Web\Controller { '$autoperms' => array('autoperms',t('Apply these permissions automatically'), ((get_pconfig(local_channel(),'system','autoperms')) ? 1 : 0), t('If enabled, 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'), '$section' => $section, '$sections' => $sections, '$autolbl' => t('The permissions indicated on this page will be applied to all new connections.'), |