From 13f08f7534a5422babf444ba45cd84c121361317 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Jan 2007 10:38:13 +0100 Subject: enable tags support in CDM --- backend.php | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 223842f34..d61d18f20 100644 --- a/backend.php +++ b/backend.php @@ -534,7 +534,7 @@ print "
"; - print "
$updated_fmt $id + print "
$updated_fmt
"; @@ -554,9 +554,27 @@ print "
" . $line["content_preview"] . "

"; print "
$marked_pic
-
-
"; +
"; + + + print ""; + + $tags = get_article_tags($link, $id); + + $tags_str = ""; + + foreach ($tags as $tag) { + $num_tags++; + $tags_str .= "$tag, "; + } + + $tags_str = preg_replace("/, $/", "", $tags_str); + + print "   $tags_str (+)"; + + print "
"; # print "
-- cgit v1.2.3