cards feature

This commit is contained in:
zotlabs
2017-08-23 00:01:02 -07:00
parent 41ff8fdd37
commit e084b776ee
13 changed files with 373 additions and 7 deletions

View File

@@ -434,6 +434,18 @@ function channel_apps($is_owner = false, $nickname = null) {
];
}
if($p['view_pages'] && feature_enabled($uid,'cards')) {
$tabs[] = [
'label' => t('Cards'),
'url' => z_root() . '/cards/' . $nickname ,
'sel' => ((argv(0) == 'cards') ? 'active' : ''),
'title' => t('View Cards'),
'id' => 'cards-tab',
'icon' => 'list'
];
}
if($has_webpages && feature_enabled($uid,'webpages')) {
$tabs[] = [
'label' => t('Webpages'),