display feed icons in ungrouped vfeeds
This commit is contained in:
parent
f28b542cb9
commit
bd51294a51
|
@ -4989,6 +4989,14 @@
|
||||||
$entry_author = " - $entry_author";
|
$entry_author = " - $entry_author";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$has_feed_icon = is_file(ICONS_DIR . "/$feed_id.ico");
|
||||||
|
|
||||||
|
if ($has_feed_icon) {
|
||||||
|
$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"".ICONS_URL."/$feed_id.ico\" alt=\"\">";
|
||||||
|
} else {
|
||||||
|
//$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"images/blank_icon.gif\" alt=\"\">";
|
||||||
|
}
|
||||||
|
|
||||||
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
|
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
|
||||||
|
|
||||||
if (get_pref($link, 'VFEED_GROUP_BY_FEED')) {
|
if (get_pref($link, 'VFEED_GROUP_BY_FEED')) {
|
||||||
|
@ -5001,17 +5009,6 @@
|
||||||
|
|
||||||
$vf_catchup_link = "(<a onclick='javascript:catchupFeedInGroup($feed_id, \"$cur_feed_title\");' href='#'>mark as read</a>)";
|
$vf_catchup_link = "(<a onclick='javascript:catchupFeedInGroup($feed_id, \"$cur_feed_title\");' href='#'>mark as read</a>)";
|
||||||
|
|
||||||
$has_feed_icon = is_file(ICONS_DIR . "/$feed_id.ico");
|
|
||||||
|
|
||||||
if ($has_feed_icon) {
|
|
||||||
$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"".ICONS_URL."/$feed_id.ico\" alt=\"\">";
|
|
||||||
} else {
|
|
||||||
//$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"images/blank_icon.gif\" alt=\"\">";
|
|
||||||
}
|
|
||||||
|
|
||||||
// $class = "odd";
|
|
||||||
// $lnum = 0;
|
|
||||||
|
|
||||||
print "<tr class='feedTitle'><td colspan='7'>".
|
print "<tr class='feedTitle'><td colspan='7'>".
|
||||||
"<div style=\"float : right\">$feed_icon_img</div>".
|
"<div style=\"float : right\">$feed_icon_img</div>".
|
||||||
"<a href=\"javascript:viewfeed($feed_id, '', false)\">".
|
"<a href=\"javascript:viewfeed($feed_id, '', false)\">".
|
||||||
|
@ -5067,8 +5064,6 @@
|
||||||
</span>";
|
</span>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
print "</td>";
|
print "</td>";
|
||||||
|
|
||||||
# }
|
# }
|
||||||
|
@ -5077,6 +5072,10 @@
|
||||||
|
|
||||||
print "<td class='hlMarkedPic'>$score_pic</td>";
|
print "<td class='hlMarkedPic'>$score_pic</td>";
|
||||||
|
|
||||||
|
if ($line["feed_title"] && !get_pref($link, 'VFEED_GROUP_BY_FEED')) {
|
||||||
|
print "<td class=\"hlFeedIcon\">$feed_icon_img</td>";
|
||||||
|
}
|
||||||
|
|
||||||
print "</tr>";
|
print "</tr>";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -872,6 +872,12 @@ table.headlinesList {
|
||||||
width : 100%;
|
width : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.headlinesList td.hlFeedIcon {
|
||||||
|
width : 25px;
|
||||||
|
text-align : center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
table.headlinesList td.hlMarkedPic {
|
table.headlinesList td.hlMarkedPic {
|
||||||
width : 25px;
|
width : 25px;
|
||||||
text-align : center;
|
text-align : center;
|
||||||
|
|
Loading…
Reference in New Issue