viewfeed() call in multifeed display

This commit is contained in:
Andrew Dolgov 2005-11-16 06:22:21 +01:00
parent cbe45fa8ec
commit 2db4190c9e
2 changed files with 7 additions and 1 deletions

View File

@ -719,7 +719,8 @@
if ($line["feed_title"]) {
print "<td width='50%'>$content_link</td>";
print "<td width='20%'>".$line["feed_title"]."</td>";
print "<td width='20%'>
<a href='javascript:viewfeed($feed_id)'>".$line["feed_title"]."</a></td>";
} else {
print "<td width='70%'>$content_link</td>";
}

View File

@ -170,6 +170,11 @@ function moveToPost(mode) {
}
}
function viewfeed(id) {
var f = parent.frames["feeds-frame"];
f.viewfeed(id, 0);
}
function localHotkeyHandler(keycode) {
if (keycode == 78) {