aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Notes.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-24 18:50:19 +0000
committerMario <mario@mariovavti.com>2021-08-24 18:50:19 +0000
commitf39952805557b33f612a3d1769057bcefffeb438 (patch)
treeb6eee7d7fda21f40f57b984534c9d03e821159ae /Zotlabs/Module/Notes.php
parentfea3980c01499d627655cbe93361526c540e543e (diff)
downloadvolse-hubzilla-f39952805557b33f612a3d1769057bcefffeb438.tar.gz
volse-hubzilla-f39952805557b33f612a3d1769057bcefffeb438.tar.bz2
volse-hubzilla-f39952805557b33f612a3d1769057bcefffeb438.zip
more app descriptions and change the image counter to display % of images loaded instead of loaded images count
Diffstat (limited to 'Zotlabs/Module/Notes.php')
-rw-r--r--Zotlabs/Module/Notes.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/Zotlabs/Module/Notes.php b/Zotlabs/Module/Notes.php
index 452e3df60..6e8e03f20 100644
--- a/Zotlabs/Module/Notes.php
+++ b/Zotlabs/Module/Notes.php
@@ -51,11 +51,9 @@ class Notes extends Controller {
if(! Apps::system_app_installed(local_channel(), 'Notes')) {
//Do not display any associated widgets at this point
- App::$pdl = EMPTY_STR;
-
- $o = '<b>' . t('Notes App') . ' (' . t('Not Installed') . '):</b><br>';
- $o .= t('A simple notes app with a widget (note: notes are not encrypted)');
- return $o;
+ App::$pdl = '';
+ $papp = Apps::get_papp('Notes');
+ return Apps::app_render($papp, 'module');
}
$w = new \Zotlabs\Widget\Notes;