]> git.wh0rd.org - tt-rss.git/commitdiff
New class to differentiate post title & tags
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 14 Jun 2012 16:47:30 +0000 (20:47 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 14 Jun 2012 16:47:30 +0000 (20:47 +0400)
include/functions.php

index 3ad438d866f0d5862c8398783ee5bef07b61fad7..e914ac365f444ae61cc109b365f63339ac156641 100644 (file)
                        $rv['content'] .= "<div class=\"postDate$rtl_class\">$parsed_updated</div>";
 
                        if ($line["link"]) {
-                               $rv['content'] .= "<div clear='both'><a target='_blank'
+                               $rv['content'] .= "<div class='postTitle' clear='both'><a target='_blank'
                                        title=\"".htmlspecialchars($line['title'])."\"
                                        href=\"" .
                                        $line["link"] . "\">" .
                                        truncate_string($line["title"], 100) .
                                        "<span class='author'>$entry_author</span></a></div>";
                        } else {
-                               $rv['content'] .= "<div clear='both'>" . $line["title"] . "$entry_author</div>";
+                               $rv['content'] .= "<div class='postTitle' clear='both'>" . $line["title"] . "$entry_author</div>";
                        }
 
                        $tag_cache = $line["tag_cache"];
 
                        if (!$entry_comments) $entry_comments = "&nbsp;"; # placeholder
 
-                       $rv['content'] .= "<div style='float : right'>
+                       $rv['content'] .= "<div class='postTags' style='float : right'>
                                <img src='".theme_image($link, 'images/tag.png')."'
                                class='tagsPic' alt='Tags' title='Tags'>&nbsp;";