From 790c4a4e1a583b9e8ad909f8d562a62c8d700ad5 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 24 Oct 2011 17:25:49 -0700 Subject: tag display with item --- include/text.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/text.php b/include/text.php index ba6c2531f..a9763fd21 100644 --- a/include/text.php +++ b/include/text.php @@ -787,6 +787,15 @@ function prepare_body($item,$attach = false) { $s .= '
'; } + $arr = explode(',',$item['tag']); + if(count($arr)) { + $s .= '
'; + foreach($arr as $r) { + $s .= bbcode($r) . ' '; + } + $s .= '
'; + } + $prep_arr = array('item' => $item, 'html' => $s); call_hooks('prepare_body_final', $prep_arr); return $prep_arr['html']; -- cgit v1.2.3