diff options
author | friendica <info@friendica.com> | 2013-09-30 22:01:11 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-30 22:01:11 -0700 |
commit | a6c542289acd349baea37dff0fe7f37427964b15 (patch) | |
tree | d614a48ea2c4fe9fb6145082cdba50ffd4094e2f | |
parent | dffce63662c54db7ebb61786d39db6a900d1381f (diff) | |
download | volse-hubzilla-a6c542289acd349baea37dff0fe7f37427964b15.tar.gz volse-hubzilla-a6c542289acd349baea37dff0fe7f37427964b15.tar.bz2 volse-hubzilla-a6c542289acd349baea37dff0fe7f37427964b15.zip |
add link to channel source management in settings if channel_sources feature is enabled
-rw-r--r-- | mod/settings.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php index ba2323873..5f1106be5 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -113,6 +113,15 @@ function settings_aside(&$a) { } + if(feature_enabled(local_user(),'channel_sources')) { + $tabs[] = array( + 'label' => t('Channel Sources'), + 'url' => $a->get_baseurl(true) . '/sources', + 'selected' => '' + ); + + } + $tabtpl = get_markup_template("generic_links_widget.tpl"); |