1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 19:11:29 +00:00

MSIE5 compatibility workarounds

This commit is contained in:
Andrew Dolgov
2005-08-25 16:15:27 +01:00
parent 36bf74967c
commit c0e5a40e73
5 changed files with 53 additions and 60 deletions

View File

@@ -479,11 +479,14 @@
}
}
$result = pg_query("SELECT * FROM ttrss_feeds ORDER by title");
$result = pg_query("SELECT
id,title,feed_url,substring(last_updated,1,16) as last_updated
FROM
ttrss_feeds ORDER by title");
print "<p><table width=\"100%\" class=\"prefFeedList\" id=\"prefFeedList\">";
print "<tr class=\"title\">
<td>Select</td><td>Title</td><td>Link</td><td>Last Updated</td></tr>";
<td>&nbsp;</td><td>Select</td><td>Title</td><td>Link</td><td>Last Updated</td></tr>";
$lnum = 0;
@@ -495,8 +498,19 @@
print "<tr class=\"$class\" id=\"FEEDR-$feed_id\">";
$icon_file = ICONS_DIR . "/$feed_id.ico";
if (file_exists($icon_file) && filesize($icon_file) > 0) {
$feed_icon = "<img width=\"16\" height=\"16\"
src=\"" . ICONS_URL . "/$feed_id.ico\">";
} else {
$feed_icon = "&nbsp;";
}
print "<td align='center'>$feed_icon</td>";
print "<td><input onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"FRCHK-".$line["id"]."\"></td>";
print "<td><a href=\"javascript:editFeed($feed_id);\">" .
$line["title"] . "</td>";
print "<td><a href=\"javascript:editFeed($feed_id);\">" .