]> git.wh0rd.org Git - tt-rss.git/commitdiff
simplify article view header
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 25 Nov 2005 08:24:20 +0000 (09:24 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 25 Nov 2005 08:24:20 +0000 (09:24 +0100)
backend.php

index 01ea67eedbf5923876cda7421b5ed4729051f10e..a831028aa87b2220bc69735e8c6f820a43870483 100644 (file)
 
                        print "<div class=\"postHeader\"><table width=\"100%\">";
 
-                       print "<tr><td width='5%'><b>Title:</b></td>
-                               <td colspan='2'>" . $line["title"] . "</td></tr>";
+                       print "<tr><td colspan='2'>" . $line["title"] . "</td></tr>";
 
                        $tmp_result = db_query($link, "SELECT DISTINCT tag_name FROM
                                ttrss_tags WHERE post_int_id = " . $line["int_id"] . "
 
                        while ($tmp_line = db_fetch_assoc($tmp_result)) {
                                $tag = $tmp_line["tag_name"];
-                               $tags_str .= "<a href=\"javascript:parent.viewfeed('$tag')\">$tag</a> / "; 
+                               $tags_str .= "<a href=\"javascript:parent.viewfeed('$tag')\">$tag</a>, "; 
                        }               
 
-                       $tags_str = preg_replace("/ \/ $/", "", $tags_str);                     
+                       $tags_str = preg_replace("/, $/", "", $tags_str);                       
 
-                       print "<tr><td><b>Link:</b></td>
-                               <td width='50%'>
+                       print "<tr><td width='50%'>
                                <a href=\"" . $line["link"] . "\">".$line["link"]."</a>
                                $entry_comments</td>
                                <td align=\"right\">$tags_str</td></tr>";