}
}
+function tSR(sender) {
+ return toggleSelectRow(sender);
+}
function toggleSelectRow(sender) {
var parent_row = sender.parentNode.parentNode;
}
if ($line["marked"] == "t" || $line["marked"] == "1") {
- $marked_pic = "<img id=\"FMARKPIC-$id\" src=\"images/mark_set.png\"
+ $marked_pic = "<img id=\"FMPIC-$id\" src=\"images/mark_set.png\"
class=\"markedPic\"
- alt=\"Reset mark\" onclick='javascript:toggleMark($id)'>";
+ alt=\"Reset mark\" onclick='javascript:tMark($id)'>";
} else {
- $marked_pic = "<img id=\"FMARKPIC-$id\" src=\"images/mark_unset.png\"
+ $marked_pic = "<img id=\"FMPIC-$id\" src=\"images/mark_unset.png\"
class=\"markedPic\"
- alt=\"Set mark\" onclick='javascript:toggleMark($id)'>";
+ alt=\"Set mark\" onclick='javascript:tMark($id)'>";
}
# $content_link = "<a target=\"_new\" href=\"".$line["link"]."\">" .
print "<tr class='$class' id='RROW-$id'>";
- print "<td class='hlUpdatePic'>$update_pic</td>";
+ print "<td class='hlUpdPic'>$update_pic</td>";
print "<td class='hlSelectRow'>
- <input type=\"checkbox\" onclick=\"toggleSelectRow(this)\"
- class=\"feedCheckBox\" id=\"RCHK-$id\">
+ <input type=\"checkbox\" onclick=\"tSR(this)\"
+ id=\"RCHK-$id\">
</td>";
print "<td class='hlMarkedPic'>$marked_pic</td>";
text-align : right;
}
-td.hlSelectRow, td.hlUpdatePic {
+td.hlSelectRow, td.hlUpdPic {
width : 25px;
text-align : center;
}
}
}
+function tMark(id) {
+ return toggleMark(id);
+}
+
function toggleMark(id) {
if (!xmlhttp_ready(xmlhttp_rpc)) {
var query = "backend.php?op=rpc&id=" + id + "&subop=mark";
- var mark_img = document.getElementById("FMARKPIC-" + id);
+ var mark_img = document.getElementById("FMPIC-" + id);
var vfeedu = document.getElementById("FEEDU--1");
var crow = document.getElementById("RROW-" + id);