Lines Matching +full:comment +(+path:plugin +path:discussion) -(+path:plugin +path:discussion +path:lang)

32         switch ($_REQUEST['comment']) {
116 // finally sort by time of last comment
125 * Used for sorting threads in descending order by date of last comment.
169 …ptln('<input type="submit" class="button" name="comment" value="'.$this->getLang('btn_change').'" …
199 foreach ($data['comments'] as $cid => $comment) {
211 * Recursive function to add the comment hierarchy to the result
221 $comment = $data['comments'][$cid];
222 if ($comment['parent'] != $parent) return; // answer to another comment
224 // okay, add the comment to the result
225 $comment['id'] = $cid;
226 $comment['level'] = $level;
227 $result[] = $comment;
229 // check answers to this comment
230 if (count($comment['replies'])) {
231 foreach ($comment['replies'] as $rid) {
238 * Checkbox and info about a comment item
240 * @param array $comment
243 function _commentItem($comment) { argument
247 if (is_array($comment['user'])) { // new format
248 $name = $comment['user']['name'];
249 $mail = $comment['user']['mail'];
251 $name = $comment['name'];
252 $mail = $comment['mail'];
254 if (is_array($comment['date'])) { // new format
255 $created = $comment['date']['created'];
257 $created = $comment['date'];
259 $abstract = preg_replace('/\s+?/', ' ', strip_tags($comment['xhtml']));
264 return '<input type="checkbox" name="cid['.$comment['id'].']" value="1" /> '.
272 * @param array $comment
275 function _li_comment($comment) { argument
276 $show = ($comment['show'] ? '' : ' hidden');
277 return '<li class="level'.$comment['level'].$show.'">';
290 …ptln('<input type="submit" name="comment" value="'.$this->getLang('btn_show').'" class="button" ti…
291 …ptln('<input type="submit" name="comment" value="'.$this->getLang('btn_hide').'" class="button" ti…
292 …ptln('<input type="submit" name="comment" value="'.$lang['btn_delete'].'" class="button" title="'.…
345 * Changes the status of a comment
360 // save the comment metadata file