]> git.wh0rd.org - tt-rss.git/commitdiff
disable manual article rescoring
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Jan 2009 15:15:38 +0000 (16:15 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Jan 2009 15:15:38 +0000 (16:15 +0100)
functions.php
modules/backend-rpc.php
tt-rss.js

index 984365e73200fa4daf0712b18c790dfb4f33593c..d7342e2cdc70ecab5c0a186bff071e5f4c53f6b1 100644 (file)
 
                                $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";
index 22a926412fb1b8559d809fc12653d227f54b6511..3ec7df9e104d55b2a672bacbc56e25f52e344020 100644 (file)
                        return;
                }
 
-               if ($subop == "setScore") {
+/*             if ($subop == "setScore") {
                        $id = db_escape_string($_REQUEST["id"]);
                        $score = sprintf("%d", $_REQUEST["score"]);
 
 
                        return;
 
-               }
+               } */
 
                if ($subop == "getArticles") {
                        $ids = split(",", db_escape_string($_REQUEST["ids"]));
index 9757639b3345a27b68e59952edc1349e34a644d5..8dfcb825972afca7eefc361ea0acca366bb74d2f 100644 (file)
--- 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() {