]> git.mxchange.org Git - friendica.git/commitdiff
forumlist: use a more unique identifier
authorrabuzarus <>
Wed, 11 Nov 2015 00:29:31 +0000 (01:29 +0100)
committerrabuzarus <>
Wed, 11 Nov 2015 00:29:31 +0000 (01:29 +0100)
include/features.php
include/forums.php
mod/network.php

index 8eee2daa1753b58a772a1ecd828ffc1d647073e9..3aaa22d6390643644e31b4b9f7b4837363542039 100644 (file)
@@ -38,7 +38,7 @@ function get_features() {
                'widgets' => array(
                        t('Network Sidebar Widgets'),
                        array('archives',       t('Search by Date'),                    t('Ability to select posts by date ranges')),
-                       array('forumlist',      t('List Forums'),                       t('Enable widget to display the forums your are connected with')),
+                       array('forumlist_widget', t('List Forums'),                     t('Enable widget to display the forums your are connected with')),
                        array('groups',         t('Group Filter'),                      t('Enable widget to display Network posts only from selected group')),
                        array('networks',       t('Network Filter'),                    t('Enable widget to display Network posts only from selected network')),
                        array('savedsearch',    t('Saved Searches'),                    t('Save search terms for re-use')),
index c515162420b5b0e35568041df8f4c1b9af698d09..425a5e623422f79e740e0080e49c42ac46a05066 100644 (file)
@@ -64,7 +64,7 @@ function get_forumlist($uid, $showhidden = true, $lastitem, $showprivate = false
  */
 function widget_forumlist($a) {
 
-       if(! intval(feature_enabled(local_user(),'forumlist')))
+       if(! intval(feature_enabled(local_user(),'forumlist_widget')))
                return;
 
        $o = '';
index 07a6bbd8e6ed0366333f6dfd7713c04716908be3..903ee4154839ca37493a89b02dbdf8e23fdb7630 100644 (file)
@@ -146,7 +146,7 @@ function network_init(&$a) {
        }
 
        $a->page['aside'] .= (feature_enabled(local_user(),'groups') ? group_side('network/0','network',true,$group_id) : '');
-       $a->page['aside'] .= (feature_enabled(local_user(),'forumlist') ? widget_forumlist($a) : '');
+       $a->page['aside'] .= (feature_enabled(local_user(),'forumlist_widget') ? widget_forumlist($a) : '');
        $a->page['aside'] .= posted_date_widget($a->get_baseurl() . '/network',local_user(),false);
        $a->page['aside'] .= networks_widget($a->get_baseurl(true) . '/network',(x($_GET, 'nets') ? $_GET['nets'] : ''));
        $a->page['aside'] .= saved_searches($search);