mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
more app descriptions
This commit is contained in:
@@ -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>';
|
||||
|
||||
|
||||
@@ -48,10 +48,8 @@ class Articles extends Controller {
|
||||
if(! Apps::system_app_installed(App::$profile_uid, 'Articles')) {
|
||||
//Do not display any associated widgets at this point
|
||||
App::$pdl = '';
|
||||
|
||||
$o = '<b>' . t('Articles App') . ' (' . t('Not Installed') . '):</b><br>';
|
||||
$o .= t('Create interactive articles');
|
||||
return $o;
|
||||
$papp = Apps::get_papp('Articles');
|
||||
return Apps::app_render($papp, 'module');
|
||||
}
|
||||
|
||||
nav_set_selected('Articles');
|
||||
|
||||
@@ -873,10 +873,8 @@ class Cdav extends Controller {
|
||||
if((argv(1) === 'addressbook') && (! Apps::system_app_installed(local_channel(), 'CardDAV'))) {
|
||||
//Do not display any associated widgets at this point
|
||||
App::$pdl = '';
|
||||
|
||||
$o = '<b>' . t('CardDAV App') . ' (' . t('Not Installed') . '):</b><br>';
|
||||
$o .= t('CalDAV capable addressbook');
|
||||
return $o;
|
||||
$papp = Apps::get_papp('CardDAV');
|
||||
return Apps::app_render($papp, 'module');
|
||||
}
|
||||
|
||||
App::$profile_uid = local_channel();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
version: 2
|
||||
version: 3
|
||||
url: $baseurl/articles/$nick
|
||||
name: Articles
|
||||
requires: local_channel
|
||||
photo: icon:file-text-o
|
||||
categories: nav_featured_app, Productivity
|
||||
desc: Create interactive articles
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
version: 1
|
||||
version: 2
|
||||
url: $baseurl/cdav/calendar, $baseurl/settings/calendar
|
||||
requires: local_channel
|
||||
name: Calendar
|
||||
photo: icon:calendar
|
||||
categories: Productivity, nav_featured_app
|
||||
desc: DAV capable calendar
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
version: 2
|
||||
version: 3
|
||||
url: $baseurl/cdav/addressbook
|
||||
requires: local_channel
|
||||
name: CardDAV
|
||||
photo: icon:vcard-o
|
||||
categories: Productivity, Personal
|
||||
desc: DAV capable addressbook
|
||||
|
||||
Reference in New Issue
Block a user