diff options
author | Mario <mario@mariovavti.com> | 2021-08-23 07:59:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-08-23 07:59:37 +0000 |
commit | 824894baf0f11e85552c283ee948febd8bac5e06 (patch) | |
tree | c98f5d1fa662f7421c50eb42e15cc469dd24051c /Zotlabs/Module/Cards.php | |
parent | 2bd4f7384e3693c4f1f1886216ec0feedd23021e (diff) | |
download | volse-hubzilla-824894baf0f11e85552c283ee948febd8bac5e06.tar.gz volse-hubzilla-824894baf0f11e85552c283ee948febd8bac5e06.tar.bz2 volse-hubzilla-824894baf0f11e85552c283ee948febd8bac5e06.zip |
more app descriptions and return to the app if installed from the module itself
Diffstat (limited to 'Zotlabs/Module/Cards.php')
-rw-r--r-- | Zotlabs/Module/Cards.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Zotlabs/Module/Cards.php b/Zotlabs/Module/Cards.php index 8f47208ce..b71af6044 100644 --- a/Zotlabs/Module/Cards.php +++ b/Zotlabs/Module/Cards.php @@ -47,10 +47,8 @@ class Cards extends Controller { if(! Apps::system_app_installed(App::$profile_uid, 'Cards')) { //Do not display any associated widgets at this point App::$pdl = ''; - - $o = '<b>' . t('Cards App') . ' (' . t('Not Installed') . '):</b><br>'; - $o .= t('Create personal planning cards'); - return $o; + $papp = Apps::get_papp('Cards'); + return Apps::app_render($papp, 'module'); } nav_set_selected('Cards'); |