From a6c542289acd349baea37dff0fe7f37427964b15 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 30 Sep 2013 22:01:11 -0700 Subject: add link to channel source management in settings if channel_sources feature is enabled --- mod/settings.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mod/settings.php') 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"); -- cgit v1.2.3