From 1e5405ccaf3ddff88653cc34a04cfce9b7102891 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 22 Sep 2018 13:32:42 +0200 Subject: appification of sources --- Zotlabs/Module/Settings/Editor.php | 9 --------- Zotlabs/Module/Sources.php | 22 +++++++++++++++------- app/sources.apd | 6 ++++++ 3 files changed, 21 insertions(+), 16 deletions(-) create mode 100644 app/sources.apd diff --git a/Zotlabs/Module/Settings/Editor.php b/Zotlabs/Module/Settings/Editor.php index a87f31fe7..92775f154 100644 --- a/Zotlabs/Module/Settings/Editor.php +++ b/Zotlabs/Module/Settings/Editor.php @@ -46,15 +46,6 @@ class Editor { get_config('feature_lock','large_photos'), ], - [ - //TODO: This should be its own app - 'channel_sources', - t('Channel Sources'), - t('Automatically import channel content from other channels or feeds'), - false, - get_config('feature_lock','channel_sources'), - ], - [ 'content_encrypt', t('Even More Encryption'), diff --git a/Zotlabs/Module/Sources.php b/Zotlabs/Module/Sources.php index 2a2fa1835..5d05244a7 100644 --- a/Zotlabs/Module/Sources.php +++ b/Zotlabs/Module/Sources.php @@ -1,15 +1,18 @@ Sources App (Not Installed):
'; + $o .= t('Automatically import channel content from other channels or feeds'); + return $o; + } // list sources if(argc() == 1) { diff --git a/app/sources.apd b/app/sources.apd new file mode 100644 index 000000000..69dd0aac0 --- /dev/null +++ b/app/sources.apd @@ -0,0 +1,6 @@ +version: 1 +url: $baseurl/sources +requires: local_channel +name: Channel Sources +photo: icon:commenting-o +categories: Networking -- cgit v1.2.3