aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-28 17:57:06 +0000
committerMario <mario@mariovavti.com>2021-08-28 17:57:06 +0000
commited277dbda931c31ac209561784af2a7f1e360d49 (patch)
treeb669a50297f98239a9906ba3d74dfae3ea57749c /Zotlabs/Module
parent5eaabbdb18b392478b6782fb580f22b3a1e666f2 (diff)
downloadvolse-hubzilla-ed277dbda931c31ac209561784af2a7f1e360d49.tar.gz
volse-hubzilla-ed277dbda931c31ac209561784af2a7f1e360d49.tar.bz2
volse-hubzilla-ed277dbda931c31ac209561784af2a7f1e360d49.zip
more app descriptions and remove some unused images
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');
}