compact some definitions in headlines list
This commit is contained in:
parent
961f4c7323
commit
67343d9f9b
|
@ -1109,6 +1109,9 @@ function toggleSelectListRow(sender) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function tSR(sender) {
|
||||||
|
return toggleSelectRow(sender);
|
||||||
|
}
|
||||||
|
|
||||||
function toggleSelectRow(sender) {
|
function toggleSelectRow(sender) {
|
||||||
var parent_row = sender.parentNode.parentNode;
|
var parent_row = sender.parentNode.parentNode;
|
||||||
|
|
|
@ -3653,13 +3653,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($line["marked"] == "t" || $line["marked"] == "1") {
|
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\"
|
class=\"markedPic\"
|
||||||
alt=\"Reset mark\" onclick='javascript:toggleMark($id)'>";
|
alt=\"Reset mark\" onclick='javascript:tMark($id)'>";
|
||||||
} else {
|
} 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\"
|
class=\"markedPic\"
|
||||||
alt=\"Set mark\" onclick='javascript:toggleMark($id)'>";
|
alt=\"Set mark\" onclick='javascript:tMark($id)'>";
|
||||||
}
|
}
|
||||||
|
|
||||||
# $content_link = "<a target=\"_new\" href=\"".$line["link"]."\">" .
|
# $content_link = "<a target=\"_new\" href=\"".$line["link"]."\">" .
|
||||||
|
@ -3693,11 +3693,11 @@
|
||||||
|
|
||||||
print "<tr class='$class' id='RROW-$id'>";
|
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'>
|
print "<td class='hlSelectRow'>
|
||||||
<input type=\"checkbox\" onclick=\"toggleSelectRow(this)\"
|
<input type=\"checkbox\" onclick=\"tSR(this)\"
|
||||||
class=\"feedCheckBox\" id=\"RCHK-$id\">
|
id=\"RCHK-$id\">
|
||||||
</td>";
|
</td>";
|
||||||
|
|
||||||
print "<td class='hlMarkedPic'>$marked_pic</td>";
|
print "<td class='hlMarkedPic'>$marked_pic</td>";
|
||||||
|
|
|
@ -774,7 +774,7 @@ table.headlinesList td.hlfeed {
|
||||||
text-align : right;
|
text-align : right;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.hlSelectRow, td.hlUpdatePic {
|
td.hlSelectRow, td.hlUpdPic {
|
||||||
width : 25px;
|
width : 25px;
|
||||||
text-align : center;
|
text-align : center;
|
||||||
}
|
}
|
||||||
|
|
|
@ -288,6 +288,10 @@ function view(id, feed_id, skip_history) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function tMark(id) {
|
||||||
|
return toggleMark(id);
|
||||||
|
}
|
||||||
|
|
||||||
function toggleMark(id) {
|
function toggleMark(id) {
|
||||||
|
|
||||||
if (!xmlhttp_ready(xmlhttp_rpc)) {
|
if (!xmlhttp_ready(xmlhttp_rpc)) {
|
||||||
|
@ -297,7 +301,7 @@ function toggleMark(id) {
|
||||||
|
|
||||||
var query = "backend.php?op=rpc&id=" + id + "&subop=mark";
|
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 vfeedu = document.getElementById("FEEDU--1");
|
||||||
var crow = document.getElementById("RROW-" + id);
|
var crow = document.getElementById("RROW-" + id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue