1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 21:35:56 +00:00

move attachment dropdown to cdmFooter, use table styles for cdmFooter

This commit is contained in:
Andrew Dolgov
2015-08-11 15:29:27 +03:00
parent 8a1b2a1015
commit bc20cb9fad
3 changed files with 22 additions and 11 deletions

View File

@@ -699,21 +699,18 @@ class Feeds extends Handler_Protected {
$reply['content'] .= "</span>";
$always_display_enclosures = sql_bool_to_bool($line["always_display_enclosures"]);
$reply['content'] .= "</div>";
$reply['content'] .= "<div class=\"cdmFooter\" onclick=\"cdmFooterClick(event)\">";
$reply['content'] .= format_article_enclosures($id, $always_display_enclosures, $line["content"], sql_bool_to_bool($line["hide_images"]));
$reply['content'] .= "<br/>";
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_LEFT_BUTTON) as $p) {
$reply['content'] .= $p->hook_article_left_button($line);
}
$tags_str = format_tags_string($tags, $id);
$reply['content'] .= "<span class='left'>";
$reply['content'] .= "<img src='images/tag.png' alt='Tags' title='Tags'>
<span id=\"ATSTR-$id\">$tags_str</span>
<a title=\"".__('Edit tags for this article')."\"
@@ -740,11 +737,15 @@ class Feeds extends Handler_Protected {
if ($entry_comments) $reply['content'] .= "&nbsp;($entry_comments)";
$reply['content'] .= "<div style=\"float : right\">";
$reply['content'] .= "</span>";
$reply['content'] .= "<div>";
// $reply['content'] .= "$marked_pic";
// $reply['content'] .= "$published_pic";
$always_display_enclosures = sql_bool_to_bool($line["always_display_enclosures"]);
$reply['content'] .= format_article_enclosures($id, $always_display_enclosures, $line["content"], sql_bool_to_bool($line["hide_images"]));
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_BUTTON) as $p) {
$reply['content'] .= $p->hook_article_button($line);
}