ENHANCEMENT: COnfiguration options for threading, namely on/off and the maximum depth of threading

This commit is contained in:
Gordon Anderson 2015-02-07 12:15:24 +07:00
parent 2648e42ef4
commit 8fb5bba1ab

View File

@ -40,6 +40,8 @@ class Commenting {
'html_allowed' => false, // allow for sanitized HTML in comments
'html_allowed_elements' => array('a', 'img', 'i', 'b'),
'use_preview' => false, // preview formatted comment (when allowing HTML). Requires include_js=true
'thread_comments' => false, // allow replies to existing comments. Requires include_js=true,
'maximum_thread_comment_depth' => 10 // how deep the level of replies can be when threads are used
);
/**