aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Manifest.php2
-rw-r--r--Zotlabs/Module/Suggest.php6
-rw-r--r--Zotlabs/Module/Webpages.php6
-rw-r--r--Zotlabs/Module/Wiki.php6
4 files changed, 6 insertions, 14 deletions
diff --git a/Zotlabs/Module/Manifest.php b/Zotlabs/Module/Manifest.php
index 30a091172..6fe468a14 100644
--- a/Zotlabs/Module/Manifest.php
+++ b/Zotlabs/Module/Manifest.php
@@ -27,8 +27,6 @@ class Manifest extends Controller {
'start_url' => z_root(),
'display' => 'standalone',
'orientation' => 'any',
- 'theme_color' => '#343a40',
- 'background_color' => '#ccccc',
'share_target' => [
'action' => '/rpost',
'method' => 'POST',
diff --git a/Zotlabs/Module/Suggest.php b/Zotlabs/Module/Suggest.php
index 0ed6ea8d7..22822bb87 100644
--- a/Zotlabs/Module/Suggest.php
+++ b/Zotlabs/Module/Suggest.php
@@ -36,10 +36,8 @@ class Suggest extends \Zotlabs\Web\Controller {
if(! Apps::system_app_installed(local_channel(), 'Suggest Channels')) {
//Do not display any associated widgets at this point
App::$pdl = '';
-
- $o = '<b>' . t('Suggest Channels App') . ' (' . t('Not Installed') . '):</b><br>';
- $o .= t('Suggestions for channels in the $Projectname network you might be interested in');
- return $o;
+ $papp = Apps::get_papp('Suggest Channels');
+ return Apps::app_render($papp, 'module');
}
$o = '';
diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php
index 72deba305..bc47484be 100644
--- a/Zotlabs/Module/Webpages.php
+++ b/Zotlabs/Module/Webpages.php
@@ -44,10 +44,8 @@ class Webpages extends Controller {
if(! Apps::system_app_installed(App::$profile_uid, 'Webpages')) {
//Do not display any associated widgets at this point
App::$pdl = '';
-
- $o = '<b>' . t('Webpages App') . ' (' . t('Not Installed') . '):</b><br>';
- $o .= t('Provide managed web pages on your channel');
- return $o;
+ $papp = Apps::get_papp('Webpages');
+ return Apps::app_render($papp, 'module');
}
nav_set_selected('Webpages');
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index da6e9dda6..a06119506 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -48,10 +48,8 @@ class Wiki extends Controller {
if(! Apps::system_app_installed(App::$profile_uid, 'Wiki')) {
//Do not display any associated widgets at this point
App::$pdl = '';
-
- $o = '<b>' . t('Wiki App') . ' (' . t('Not Installed') . '):</b><br>';
- $o .= t('Provide a wiki for your channel');
- return $o;
+ $papp = Apps::get_papp('Wiki');
+ return Apps::app_render($papp, 'module');
}