aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Bookmarks.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-22 09:20:40 +0000
committerMario <mario@mariovavti.com>2021-08-22 09:20:40 +0000
commit3bb71a6ba88c42744652d793ae767cf0c79388bd (patch)
treea836e21e4dfb1e14aab0b316bdf5ab71e328f34e /Zotlabs/Module/Bookmarks.php
parent7093b66b76424efe311b67ed18141f6a478bf875 (diff)
downloadvolse-hubzilla-3bb71a6ba88c42744652d793ae767cf0c79388bd.tar.gz
volse-hubzilla-3bb71a6ba88c42744652d793ae767cf0c79388bd.tar.bz2
volse-hubzilla-3bb71a6ba88c42744652d793ae767cf0c79388bd.zip
infrastructure to provide an app install widget for modules and make the bookmark app use it
Diffstat (limited to 'Zotlabs/Module/Bookmarks.php')
-rw-r--r--Zotlabs/Module/Bookmarks.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/Zotlabs/Module/Bookmarks.php b/Zotlabs/Module/Bookmarks.php
index 000e2893f..ea34754da 100644
--- a/Zotlabs/Module/Bookmarks.php
+++ b/Zotlabs/Module/Bookmarks.php
@@ -74,10 +74,7 @@ class Bookmarks extends \Zotlabs\Web\Controller {
if(! Apps::system_app_installed(local_channel(), 'Bookmarks')) {
//Do not display any associated widgets at this point
App::$pdl = '';
-
- $o = '<b>' . t('Bookmarks App') . ' (' . t('Not Installed') . '):</b><br>';
- $o .= t('Bookmark links from posts and manage them');
- return $o;
+ return Apps::app_render_install('Bookmarks');
}
require_once('include/menu.php');
@@ -89,7 +86,7 @@ class Bookmarks extends \Zotlabs\Web\Controller {
$o .= '<div class="generic-content-wrapper-styled">';
- $o .= '<h3>' . t('My Bookmarks') . '</h3>';
+ $o .= '<h3>' . t('Bookmarks') . '</h3>';
$x = menu_list(local_channel(),'',MENU_BOOKMARK);