surface the article feature
This commit is contained in:
parent
014a1f0158
commit
03f692f24f
@ -221,6 +221,7 @@ class Apps {
|
|||||||
static public function translate_system_apps(&$arr) {
|
static public function translate_system_apps(&$arr) {
|
||||||
$apps = array(
|
$apps = array(
|
||||||
'Apps' => t('Apps'),
|
'Apps' => t('Apps'),
|
||||||
|
'Articles' => t('Articles'),
|
||||||
'Cards' => t('Cards'),
|
'Cards' => t('Cards'),
|
||||||
'Admin' => t('Site Admin'),
|
'Admin' => t('Site Admin'),
|
||||||
'Report Bug' => t('Report Bug'),
|
'Report Bug' => t('Report Bug'),
|
||||||
|
@ -35,7 +35,7 @@ class Articles extends \Zotlabs\Web\Controller {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav_set_selected(t('Cards'));
|
nav_set_selected(t('Articles'));
|
||||||
|
|
||||||
head_add_link([
|
head_add_link([
|
||||||
'rel' => 'alternate',
|
'rel' => 'alternate',
|
||||||
@ -102,6 +102,7 @@ class Articles extends \Zotlabs\Web\Controller {
|
|||||||
'permissions' => $channel_acl,
|
'permissions' => $channel_acl,
|
||||||
'showacl' => (($is_owner) ? true : false),
|
'showacl' => (($is_owner) ? true : false),
|
||||||
'visitor' => true,
|
'visitor' => true,
|
||||||
|
'body' => '[summary][/summary]',
|
||||||
'hide_location' => false,
|
'hide_location' => false,
|
||||||
'hide_voting' => false,
|
'hide_voting' => false,
|
||||||
'profile_uid' => intval($owner),
|
'profile_uid' => intval($owner),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: 1.1
|
version: 1.2
|
||||||
url: $baseurl/articles/$nick
|
url: $baseurl/articles/$nick
|
||||||
name: Articles
|
name: Articles
|
||||||
requires: local_channel, articles
|
requires: local_channel, articles
|
||||||
|
@ -126,7 +126,7 @@ function get_features($filtered = true) {
|
|||||||
feature_level('cards',1),
|
feature_level('cards',1),
|
||||||
],
|
],
|
||||||
|
|
||||||
/* reserved, work in progress
|
|
||||||
[
|
[
|
||||||
'articles',
|
'articles',
|
||||||
t('Articles'),
|
t('Articles'),
|
||||||
@ -135,7 +135,7 @@ function get_features($filtered = true) {
|
|||||||
get_config('feature_lock','articles'),
|
get_config('feature_lock','articles'),
|
||||||
feature_level('articles',1),
|
feature_level('articles',1),
|
||||||
],
|
],
|
||||||
*/
|
|
||||||
[
|
[
|
||||||
'nav_channel_select',
|
'nav_channel_select',
|
||||||
t('Navigation Channel Select'),
|
t('Navigation Channel Select'),
|
||||||
|
Reference in New Issue
Block a user