diff options
author | Friendika <info@friendika.com> | 2011-10-24 17:25:49 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-24 17:25:49 -0700 |
commit | 790c4a4e1a583b9e8ad909f8d562a62c8d700ad5 (patch) | |
tree | 735f346b698a40d306f0c621cc6cd1d03a982f1f /include/text.php | |
parent | 3b33c0d075fcce7f10468ad749742950077768b3 (diff) | |
download | volse-hubzilla-790c4a4e1a583b9e8ad909f8d562a62c8d700ad5.tar.gz volse-hubzilla-790c4a4e1a583b9e8ad909f8d562a62c8d700ad5.tar.bz2 volse-hubzilla-790c4a4e1a583b9e8ad909f8d562a62c8d700ad5.zip |
tag display with item
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 9 |
1 files changed, 9 insertions, 0 deletions
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 .= '<div class="clear"></div></div>'; } + $arr = explode(',',$item['tag']); + if(count($arr)) { + $s .= '<div class="body-tag">'; + foreach($arr as $r) { + $s .= bbcode($r) . ' '; + } + $s .= '</div>'; + } + $prep_arr = array('item' => $item, 'html' => $s); call_hooks('prepare_body_final', $prep_arr); return $prep_arr['html']; |