From b400ca775a2937f5e807c1744ccd99c2372fd347 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 25 Nov 2005 09:24:20 +0100 Subject: [PATCH] simplify article view header --- backend.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/backend.php b/backend.php index 01ea67ee..a831028a 100644 --- a/backend.php +++ b/backend.php @@ -559,8 +559,7 @@ print "
"; - print " - "; + print ""; $tmp_result = db_query($link, "SELECT DISTINCT tag_name FROM ttrss_tags WHERE post_int_id = " . $line["int_id"] . " @@ -570,13 +569,12 @@ while ($tmp_line = db_fetch_assoc($tmp_result)) { $tag = $tmp_line["tag_name"]; - $tags_str .= "$tag / "; + $tags_str .= "$tag, "; } - $tags_str = preg_replace("/ \/ $/", "", $tags_str); + $tags_str = preg_replace("/, $/", "", $tags_str); - print " - "; -- 2.39.5
Title:" . $line["title"] . "
" . $line["title"] . "
Link: + print "
".$line["link"]." $entry_comments $tags_str