equal
deleted
inserted
replaced
141 $row['comment_source'] = $row['comment_data']; |
141 $row['comment_source'] = $row['comment_data']; |
142 |
142 |
143 // Format text |
143 // Format text |
144 $row['comment_data'] = RenderMan::render($row['comment_data']); |
144 $row['comment_data'] = RenderMan::render($row['comment_data']); |
145 |
145 |
|
146 // Hide it if it's a post from a foe |
146 if ( $row['is_buddy'] == 1 && $row['is_friend'] == 0 ) |
147 if ( $row['is_buddy'] == 1 && $row['is_friend'] == 0 ) |
147 { |
148 { |
148 $seed = md5(sha1(mt_rand() . microtime())); |
149 $seed = md5(sha1(mt_rand() . microtime())); |
149 $wrapper = ' |
150 $wrapper = ' |
150 <div id="posthide_'.$seed.'" style="display: none;"> |
151 <div id="posthide_'.$seed.'" style="display: none;"> |