surface the article feature

This commit is contained in:
zotlabs 2018-01-15 21:46:27 -08:00
parent 014a1f0158
commit 03f692f24f
4 changed files with 6 additions and 4 deletions

View File

@ -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'),

View File

@ -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),

View File

@ -1,4 +1,4 @@
version: 1.1
version: 1.2
url: $baseurl/articles/$nick
name: Articles
requires: local_channel, articles

View File

@ -126,7 +126,7 @@ function get_features($filtered = true) {
feature_level('cards',1),
],
/* reserved, work in progress
[
'articles',
t('Articles'),
@ -135,7 +135,7 @@ function get_features($filtered = true) {
get_config('feature_lock','articles'),
feature_level('articles',1),
],
*/
[
'nav_channel_select',
t('Navigation Channel Select'),