From: Andrew Dolgov Date: Sun, 18 Jan 2009 15:15:38 +0000 (+0100) Subject: disable manual article rescoring X-Git-Tag: 1.3.0~72 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9bf3f101cc47b8c521b44217e5763e85b79898db;p=tt-rss.git disable manual article rescoring --- diff --git a/functions.php b/functions.php index 984365e7..d7342e2c 100644 --- a/functions.php +++ b/functions.php @@ -5106,10 +5106,12 @@ $score_pic = get_score_pic($score); - $score_title = __("(Click to change)"); +/* $score_title = __("(Click to change)"); + $score_pic = ""; */ $score_pic = ""; + title=\"$score\">"; if ($score > 500) { $hlc_suffix = "H"; diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 22a92641..3ec7df9e 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -378,7 +378,7 @@ return; } - if ($subop == "setScore") { +/* if ($subop == "setScore") { $id = db_escape_string($_REQUEST["id"]); $score = sprintf("%d", $_REQUEST["score"]); @@ -389,7 +389,7 @@ return; - } + } */ if ($subop == "getArticles") { $ids = split(",", db_escape_string($_REQUEST["ids"])); diff --git a/tt-rss.js b/tt-rss.js index 9757639b..8dfcb825 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -942,7 +942,7 @@ function viewLimitChanged() { return viewCurrentFeed(0, '') } -function adjustArticleScore(id, score) { +/* function adjustArticleScore(id, score) { try { var pr = prompt(__("Assign score to article:"), score); @@ -959,7 +959,7 @@ function adjustArticleScore(id, score) { } catch (e) { exception_error("adjustArticleScore", e); } -} +} */ function rescoreCurrentFeed() {