diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-15 21:43:42 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-15 21:43:42 -0700 |
commit | 070397ef1470972476df48b169f4d6ee844c5c1f (patch) | |
tree | 2e370916bc4a78839498d1de96b10bbcd9dc6f18 /include/widgets.php | |
parent | b9fd8b46141cebbd5658819782f797cf14cef1fd (diff) | |
download | volse-hubzilla-070397ef1470972476df48b169f4d6ee844c5c1f.tar.gz volse-hubzilla-070397ef1470972476df48b169f4d6ee844c5c1f.tar.bz2 volse-hubzilla-070397ef1470972476df48b169f4d6ee844c5c1f.zip |
make tagadelic results (including categories in wall-to-wall posts) visible to wall visitors by checking ownership rather than authorship. It is doubtful the queries will scale on redmatrix so moved forward to hubzilla tree.
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/widgets.php b/include/widgets.php index bafd9c7a2..c79d2a6c0 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -29,7 +29,7 @@ function widget_tagcloud($args) { $type = TERM_CATEGORY; // FIXME there exists no $authors variable - $r = tagadelic($uid, $count, $authors, $flags, ITEM_TYPE_WEBPAGE, $type); + $r = tagadelic($uid, $count, $authors, $owner, $flags, ITEM_TYPE_WEBPAGE, $type); if($r) { $o = '<div class="tagblock widget"><h3>' . t('Categories') . '</h3><div class="tags" align="center">'; @@ -392,7 +392,7 @@ function widget_tagcloud_wall($arr) { $limit = ((array_key_exists('limit', $arr)) ? intval($arr['limit']) : 50); if(feature_enabled($a->profile['profile_uid'], 'tagadelic')) - return wtagblock($a->profile['profile_uid'], $limit, $a->profile['channel_hash'], 'wall'); + return wtagblock($a->profile['profile_uid'], $limit, '', $a->profile['channel_hash'], 'wall'); return ''; } @@ -407,7 +407,7 @@ function widget_catcloud_wall($arr) { $limit = ((array_key_exists('limit',$arr)) ? intval($arr['limit']) : 50); - return catblock($a->profile['profile_uid'], $limit, $a->profile['channel_hash'], 'wall'); + return catblock($a->profile['profile_uid'], $limit, '', $a->profile['channel_hash'], 'wall'); } |