Home
last modified time | relevance | path

Searched +full:comments +(+path:plugin +path:discussion) -(+path:plugin +path:discussion +path:lang) (Results 1 – 6 of 6) sorted by relevance

/plugin/discussion/
H A Dhelper.php27 'number of comments (optional)' => 'integer'),
69 $cfile = metaFN($id, '.comments');
70 $comments = unserialize(io_readFile($cfile, false));
72 $num = $comments['number'];
73 if ((!$comments['status']) || (($comments['status'] == 2) && (!$num))) return '';
108 // add pages with comments to result
116 $file = metaFN($id, '.comments');
122 …|| (($status == 2) && (!$number))) continue; // skip if comments are off or closed without comments
135 'comments' => $this->td($id, $number),
264 $parent_id = $data['comments'][$tcid]['parent'];
[all …]
H A Daction.php43 'comments',
112 * Preview Comments
418 $cnt = empty($data['comments']) ? 0 : count($data['comments']);
438 $data['comments'] = $this->_flattenThreads($data['comments']);
442 $data['comments'] = array_reverse($data['comments']);
479 $comments = $this->_flattenThreads($comments, $rids);
484 return $comments;
682 $data['comments'] = $this->_removeComment($cid, $data['comments']);
713 $comments = $this->_removeComment($rid, $comments);
716 unset($comments[$cid]);
[all …]
H A Dconvert.php69 'new' => metaFN($id, '.comments')
82 // handle file with no comments yet
92 // merge with possibly already existing (newer) comments
93 $comments = array();
95 $comments = unserialize(io_readFile($file['old'], false));
98 if (!isset($comments['status'])) $comments['status'] = 1;
99 $comments['number'] += count($old);
114 // skip empty comments
116 $comments['number']--;
134 $comments['comments'][$cid] = array(
[all …]
H A Dadmin.php67 $comments = $this->_getComments($thread);
69 if ($comments === false) {
99 // add pages with comments to result
105 $file = metaFN($id, '.comments');
178 * Returns the full comments data for a given wiki page
187 $thread['file'] = metaFN($id, '.comments');
196 if (!$data['comments']) return false; // no comments
199 foreach ($data['comments'] as $cid => $comment) {
221 $comment = $data['comments'][$cid];
281 * Show buttons to bulk remove, hide or show comments
[all …]
/plugin/discussion/conf/
H A Ddefault.php9 $conf['showguests'] = 1; // show/hide comments from guests
11 $conf['useavatar'] = 1; // use Avatar Plugin to display user images in comments
15 $conf['wikisyntaxok'] = 1; // allow wiki syntax in comments
16 $conf['subscribe'] = 1; // enable/disable subscribe to comments
17 $conf['newestfirst'] = 0; // list newest comments first
18 $conf['moderate'] = 0; // moderate newly added comments
/plugin/discussion/syntax/
H A Dthreads.php147 $pagelist->column['comments'] = true;