some feed browser detail improvements

This commit is contained in:
Andrew Dolgov 2006-08-30 05:05:43 +01:00
parent a753538d06
commit 7a4dd79927
1 changed files with 4 additions and 4 deletions

View File

@ -3753,15 +3753,15 @@
$last_updated = date($short_date, strtotime($last_updated)); $last_updated = date($short_date, strtotime($last_updated));
} }
print "Site: <a href='$site_url'>$site_url</a> ". print "Site: <a target=\"_new\" href='$site_url'>$site_url</a> ".
"(<a href='$feed_url'>feed</a>), ". "(<a target=\"_new\" href='$feed_url'>feed</a>), ".
"Last updated: $last_updated"; "Last updated: $last_updated";
print "</div>"; print "</div>";
$result = db_query($link, "SELECT $result = db_query($link, "SELECT
ttrss_entries.title, ttrss_entries.title,
content, content,link,
substring(date_entered,1,19) as date_entered, substring(date_entered,1,19) as date_entered,
substring(updated,1,19) as updated substring(updated,1,19) as updated
FROM ttrss_entries,ttrss_user_entries FROM ttrss_entries,ttrss_user_entries
@ -3783,7 +3783,7 @@
$entry_dt = date($short_date, strtotime($line["updated"])); $entry_dt = date($short_date, strtotime($line["updated"]));
} }
print "<li>" . $line["title"] . print "<li><a target=\"_new\" href=\"" . $line["link"] . "\">" . $line["title"] . "</a>" .
"&nbsp;<span class=\"insensitive\">($entry_dt)</span></li>"; "&nbsp;<span class=\"insensitive\">($entry_dt)</span></li>";
} }
print "</ul></div>"; print "</ul></div>";