diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-15 21:46:27 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-01-15 21:46:27 -0800 |
commit | 03f692f24fe543c740e5443223d8084b9ca0c4de (patch) | |
tree | bdc064db8bb8b4d66e2cd916dea144d404ce9158 /Zotlabs | |
parent | 014a1f01589c0389c60630148a4972840c63faad (diff) | |
download | volse-hubzilla-03f692f24fe543c740e5443223d8084b9ca0c4de.tar.gz volse-hubzilla-03f692f24fe543c740e5443223d8084b9ca0c4de.tar.bz2 volse-hubzilla-03f692f24fe543c740e5443223d8084b9ca0c4de.zip |
surface the article feature
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Apps.php | 1 | ||||
-rw-r--r-- | Zotlabs/Module/Articles.php | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 457b85b62..d2a307fd5 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -221,6 +221,7 @@ class Apps { static public function translate_system_apps(&$arr) { $apps = array( 'Apps' => t('Apps'), + 'Articles' => t('Articles'), 'Cards' => t('Cards'), 'Admin' => t('Site Admin'), 'Report Bug' => t('Report Bug'), diff --git a/Zotlabs/Module/Articles.php b/Zotlabs/Module/Articles.php index 25daca81d..e2e0fed5d 100644 --- a/Zotlabs/Module/Articles.php +++ b/Zotlabs/Module/Articles.php @@ -35,7 +35,7 @@ class Articles extends \Zotlabs\Web\Controller { return; } - nav_set_selected(t('Cards')); + nav_set_selected(t('Articles')); head_add_link([ 'rel' => 'alternate', @@ -102,6 +102,7 @@ class Articles extends \Zotlabs\Web\Controller { 'permissions' => $channel_acl, 'showacl' => (($is_owner) ? true : false), 'visitor' => true, + 'body' => '[summary][/summary]', 'hide_location' => false, 'hide_voting' => false, 'profile_uid' => intval($owner), |