From 0780f4f4fdb88df7982c179ac581db5fb64aef7f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Apr 2011 14:54:27 +0400 Subject: add tooltip with all article tags --- functions.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index e1c60e15f..50228939b 100644 --- a/functions.php +++ b/functions.php @@ -4771,7 +4771,11 @@ $rv['content'] .= "
" . $line["title"] . "$entry_author
"; } - $tags_str = format_tags_string(get_article_tags($link, $id), $id); + $tags = get_article_tags($link, $id); + $tags_str = format_tags_string($tags, $id); + $tags_str_full = join(", ", $tags); + + if (!$tags_str_full) $tags_str_full = __("no tags"); if (!$entry_comments) $entry_comments = " "; # placeholder @@ -4784,6 +4788,10 @@ (+)"; + $rv['content'] .= "
$tags_str_full
"; + $rv['content'] .= "