fix headlines list sizing issues

master
Andrew Dolgov 20 years ago
parent 310da49d2f
commit c80e217587

@ -387,7 +387,7 @@
$update_pic = "<img src=\"images/updated.png\" alt=\"Updated\">"; $update_pic = "<img src=\"images/updated.png\" alt=\"Updated\">";
++$num_unread; ++$num_unread;
} else { } else {
$update_pic = "&nbsp;"; $update_pic = "<img src=\"images/blank_icon.png\" alt=\"Updated\">";
} }
if ($line["unread"] == "t") { if ($line["unread"] == "t") {
@ -412,15 +412,15 @@
print "<tr class='$class' id='RROW-$id'"; print "<tr class='$class' id='RROW-$id'";
// onclick=\"javascript:view($id,$feed_id)\"> // onclick=\"javascript:view($id,$feed_id)\">
print "<td id='FUPDPIC-$id' valign='center' print "<td id='FUPDPIC-$id' valign='center' align='center'
class='headlineUpdateMark'>$update_pic</td>"; class='headlineUpdateMark'>$update_pic</td>";
print "<td valign='center' print "<td valign='center' align='center'
class='headlineUpdateMark'>$marked_pic</td>"; class='headlineUpdateMark'>$marked_pic</td>";
print "<td class='headlineUpdated'> print "<td class='headlineUpdated' width='25%'>
<a href=\"javascript:view($id,$feed_id);\">".$line["updated"]."</a></td>"; <a href=\"javascript:view($id,$feed_id);\">".$line["updated"]."</a></td>";
print "<td class='headlineTitle'>$content_link</td>"; print "<td width='70%' class='headlineTitle'>$content_link</td>";
print "</tr>"; print "</tr>";

@ -59,7 +59,7 @@ function view(id, feed_id) {
var upd_img_pic = document.getElementById("FUPDPIC-" + id); var upd_img_pic = document.getElementById("FUPDPIC-" + id);
if (upd_img_pic) { if (upd_img_pic) {
upd_img_pic.innerHTML = ""; upd_img_pic.src = "images/blank_icon.png";
} }
var unread_rows = getVisibleUnreadHeadlines(); var unread_rows = getVisibleUnreadHeadlines();

Loading…
Cancel
Save