dir/mod/tags.php

13 lines
184 B
PHP
Raw Normal View History

2012-07-06 07:06:42 +02:00
<?php
function tags_init(&$a) {
if($a->argc > 1)
$limit = intval($a->argv[1]);
require_once('widget.php');
echo json_encode(get_taglist(($limit) ? $limit : 50));
killme();
}