aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Suggest.php6
-rw-r--r--Zotlabs/Module/Webpages.php6
-rw-r--r--Zotlabs/Module/Wiki.php6
3 files changed, 6 insertions, 12 deletions
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');
}