diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php
index fe1e63186..42fd5280e 100644
--- a/Zotlabs/Lib/Apps.php
+++ b/Zotlabs/Lib/Apps.php
@@ -310,6 +310,7 @@ class Apps {
$apps = array(
'Apps' => t('Apps'),
'Friend Zoom' => t('Friend Zoom'),
+ 'Virtual Lists' => t('Virtual Lists'),
'Articles' => t('Articles'),
'Cards' => t('Cards'),
'Calendar' => t('Calendar'),
diff --git a/Zotlabs/Module/Vlists.php b/Zotlabs/Module/Vlists.php
new file mode 100644
index 000000000..24b82499e
--- /dev/null
+++ b/Zotlabs/Module/Vlists.php
@@ -0,0 +1,29 @@
+' . $desc . '';
+
+ $o .= $text;
+
+
+ $text2 = '
' . t('This app is installed. ') . '
';
+
+ if (local_channel() && Apps::system_app_installed(local_channel(),'Virtual Lists')) {
+ $o .= $text2;
+ }
+
+ return $o;
+ }
+}
diff --git a/app/vlists.apd b/app/vlists.apd
new file mode 100644
index 000000000..e6a2612a6
--- /dev/null
+++ b/app/vlists.apd
@@ -0,0 +1,6 @@
+version: 1
+url: $baseurl/vlists
+requires: local_channel
+name: Virtual Lists
+photo: icon:user-secret
+categories: Networking, Productivity
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index f3293732c..f37241992 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -5,6 +5,7 @@
* @package acl_selectors
*/
+use Zotlabs\Lib\Apps;
function fixacl(&$item) {
$item = str_replace( [ '<', '>' ], [ '', '' ], $item);
@@ -90,15 +91,15 @@ function populate_acl($defaults = null,$show_jotnets = true, $emptyACL_descripti
}
}
- if ($channel) {
+ if ($channel && Apps::system_app_installed($channel['channel_id'],'Virtual Lists')) {
$selected = (($single_group && 'connections:' . $channel['channel_hash'] === $allow_gid[0]) ? ' selected = "selected" ' : '');
- $groups .= '' . "\r\n";
+ $groups .= '' . "\r\n";
if (get_pconfig($channel['channel_id'],'system','activitypub',get_config('system','activitypub',true))) {
$selected = (($single_group && 'activitypub:' . $channel['channel_hash'] === $allow_gid[0]) ? ' selected = "selected" ' : '');
- $groups .= '' . "\r\n";
+ $groups .= '' . "\r\n";
}
$selected = (($single_group && 'zot:' . $channel['channel_hash'] === $allow_gid[0]) ? ' selected = "selected" ' : '');
- $groups .= '' . "\r\n";
+ $groups .= '' . "\r\n";