diff options
author | Thomas Willingham <founder@kakste.com> | 2013-07-10 19:30:10 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-07-10 19:30:10 +0100 |
commit | 085be3a16f704a3f89bbe4d795c9ca915cc26e8a (patch) | |
tree | cd0a1b608630d5e819df221ed84a0fbd3755fc2f /include/text.php | |
parent | d065135d909bf876f4c305d303de7642657f7e3e (diff) | |
parent | 72d737cc82f5987791c9ceba0c8b99a505886274 (diff) | |
download | volse-hubzilla-085be3a16f704a3f89bbe4d795c9ca915cc26e8a.tar.gz volse-hubzilla-085be3a16f704a3f89bbe4d795c9ca915cc26e8a.tar.bz2 volse-hubzilla-085be3a16f704a3f89bbe4d795c9ca915cc26e8a.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/text.php')
-rwxr-xr-x | include/text.php | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/include/text.php b/include/text.php index db29697f9..2d29dff31 100755 --- a/include/text.php +++ b/include/text.php @@ -1023,19 +1023,24 @@ 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>'; - } +// At some point in time, posttags were removed from the threaded conversation templates, but remained in the search_item template. +// Code to put them back was added into include/conversation.php and/or include/ItemObject.php but under new class names +// Then it was discovered that the following bits remained of the old code. +// Commented out, but we may decide to use this instead of the other version and put all the tag rendering in one place. In the other +// location it is more theme-able. +// 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); |