summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-18 16:15:38 +0100
committerAndrew Dolgov <[email protected]>2009-01-18 16:15:38 +0100
commit9bf3f101cc47b8c521b44217e5763e85b79898db (patch)
tree7eb52ca3b2fa2b94c457123b3f27da526e4e17cc
parentf92471951b6bf7f3e11a7c9e584cb6eff5d8c233 (diff)
disable manual article rescoring
-rw-r--r--functions.php6
-rw-r--r--modules/backend-rpc.php4
-rw-r--r--tt-rss.js4
3 files changed, 8 insertions, 6 deletions
diff --git a/functions.php b/functions.php
index 984365e73..d7342e2cd 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 = "<img class='hlScorePic' src=\"images/$score_pic\"
+ onclick=\"adjustArticleScore($id, $score)\" title=\"$score $score_title\">"; */
$score_pic = "<img class='hlScorePic' src=\"images/$score_pic\"
- onclick=\"adjustArticleScore($id, $score)\" title=\"$score $score_title\">";
+ title=\"$score\">";
if ($score > 500) {
$hlc_suffix = "H";
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 22a926412..3ec7df9e1 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 9757639b3..8dfcb8259 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() {