$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";
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"]));
return viewCurrentFeed(0, '')
}
-function adjustArticleScore(id, score) {
+/* function adjustArticleScore(id, score) {
try {
var pr = prompt(__("Assign score to article:"), score);
} catch (e) {
exception_error("adjustArticleScore", e);
}
-}
+} */
function rescoreCurrentFeed() {