aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Affinity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-22 18:56:04 +0000
committerMario <mario@mariovavti.com>2021-08-22 18:56:04 +0000
commit2bd4f7384e3693c4f1f1886216ec0feedd23021e (patch)
treee45514335363a672a3265f4e3a5b8eb4c99d8deb /Zotlabs/Module/Affinity.php
parent1c44b37cb0e82122f383fd8350a00ffe3eacd66d (diff)
downloadvolse-hubzilla-2bd4f7384e3693c4f1f1886216ec0feedd23021e.tar.gz
volse-hubzilla-2bd4f7384e3693c4f1f1886216ec0feedd23021e.tar.bz2
volse-hubzilla-2bd4f7384e3693c4f1f1886216ec0feedd23021e.zip
more app descriptions
Diffstat (limited to 'Zotlabs/Module/Affinity.php')
-rw-r--r--Zotlabs/Module/Affinity.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/Zotlabs/Module/Affinity.php b/Zotlabs/Module/Affinity.php
index f0d99f1e7..0e163b89a 100644
--- a/Zotlabs/Module/Affinity.php
+++ b/Zotlabs/Module/Affinity.php
@@ -44,17 +44,14 @@ class Affinity extends \Zotlabs\Web\Controller {
if(! local_channel())
return;
- $desc = t('This app presents a slider control in your connection editor and also on your network page. The slider represents your degree of friendship (affinity) with each connection. It allows you to zoom in or out and display conversations from only your closest friends or everybody in your stream.');
- if(! Apps::system_app_installed(local_channel(),'Affinity Tool')) {
+ if(! Apps::system_app_installed(local_channel(), 'Affinity Tool')) {
//Do not display any associated widgets at this point
App::$pdl = '';
-
- $o = '<b>' . t('Affinity Tool App') . ' (' . t('Not Installed') . '):</b><br>';
- $o .= $desc;
- return $o;
+ $papp = Apps::get_papp('Affinity Tool');
+ return Apps::app_render($papp, 'module');
}
- $text = t('The numbers below represent the minimum and maximum slider default positions for your network/stream page as a percentage.');
+ $text = t('The numbers below represent the minimum and maximum slider default positions for your network/stream page as a percentage.');
$content = '<div class="section-content-info-wrapper">' . $text . '</div>';