diff options
author | Andrew Dolgov <[email protected]> | 2007-05-17 17:46:57 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-17 17:46:57 +0100 |
commit | dcac082b4ba1bf2a48b6ec00df25e1639a826382 (patch) | |
tree | 3ed5d793a6c14d24e44cf8ac6d0fe6598d3bcc39 | |
parent | d00bfb5f45b8970de0fbef0ed93eb5a01d7a3dc6 (diff) |
don't limit tag cloud by last 30 days
-rw-r--r-- | functions.php | 6 | ||||
-rw-r--r-- | modules/popup-dialog.php | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/functions.php b/functions.php index 2ea1f856c..ba8c4e6a6 100644 --- a/functions.php +++ b/functions.php @@ -3867,6 +3867,8 @@ /* get first ref_id to count from */ + /* + $query = ""; if (DB_TYPE == "pgsql") { @@ -3880,11 +3882,11 @@ } $result = db_query($link, $query); - $first_id = db_fetch_result($result, 0, "id"); + $first_id = db_fetch_result($result, 0, "id"); */ + //AND post_int_id >= '$first_id' $query = "SELECT tag_name, COUNT(post_int_id) AS count FROM ttrss_tags WHERE owner_uid = ".$_SESSION["uid"]." - AND post_int_id >= '$first_id' GROUP BY tag_name ORDER BY count DESC LIMIT 50"; $result = db_query($link, $query); diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 98e27a6be..dbc85831f 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -416,7 +416,7 @@ print "<div id=\"infoBoxTitle\">".__('Tag cloud')."</div>"; print "<div class=\"infoBoxContents\">"; - print __("Showing most popular tags for the last month")." (<a + print __("Showing most popular tags ")." (<a href='javascript:toggleTags(true)'>".__('browse all')."</a>):<br/>"; print "<div class=\"tagCloudContainer\">"; |