tag lister
This commit is contained in:
parent
ec7f06ec54
commit
55907cf599
2 changed files with 21 additions and 0 deletions
|
@ -32,3 +32,12 @@ function country_widget() {
|
|||
}
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
||||
function get_taglist($limit = 50) {
|
||||
$r = q("select distinct(term), count(term) as total from tag group by term order by count(term) desc limit %d",
|
||||
intval($limit)
|
||||
);
|
||||
|
||||
return $r;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue