bring back the body tag list - though it really belongs in the templates. It's difficult to debug community tags when you can't see any tags (except those the author typed in).

This commit is contained in:
friendica
2013-06-20 20:34:00 -07:00
parent 61601dc23d
commit 58ac92f4e1
3 changed files with 26 additions and 4 deletions

View File

@@ -1025,6 +1025,20 @@ function prepare_body($item,$attach = false) {
$s .= '<div class="clear"></div></div>';
}
if(is_array($item['term']) && count($item['term'])) {
$tstr = '';
foreach($item['term'] as $t) {
$t1 = format_term_for_display($t);
if($t1) {
if($tstr)
$tstr .= ' ';
$tstr .= $t1;
}
}
if($tstr)
$s .= '<br /><div class="posttags">' . $tstr . '</div>';
}
$writeable = ((get_observer_hash() == $item['owner_xchan']) ? true : false);
$x = '';