replace app tagcloud with more traditional categories widget. One can always change this in the PDL

This commit is contained in:
redmatrix
2016-05-05 00:45:38 -07:00
parent 9b19a51fc6
commit 8ffdc4859b
3 changed files with 45 additions and 1 deletions

View File

@@ -79,12 +79,14 @@ function categories_widget($baseurl,$selected = '') {
where item.uid = %d
and term.uid = item.uid
and term.type = %d
and term.otype = %d
and item.owner_xchan = '%s'
and item.item_wall = 1
$item_normal
order by term.term asc",
intval(App::$profile['profile_uid']),
intval(TERM_CATEGORY),
intval(TERM_OBJ_POST),
dbesc(App::$profile['channel_hash'])
);
if($r && count($r)) {