Procedural File: _comment.funcs.php
Source Location: /blogs/inc/comments/model/_comment.funcs.php
Page Details
This file implements Comment handling functions.
This file is part of the b2evolution/evocms project - http://b2evolution.net/. See also http://sourceforge.net/projects/evocms/.
| Author: | cafelog (team) |
| Author: | blueyed: Daniel HAHLER. |
| Author: | fplanque: Francois PLANQUE. |
| Version: | $Id: _comment.funcs.php,v 1.9 2010/02/28 23:38:40 fplanque Exp $ |
| Copyright: | (c)2003-2010 by Francois PLANQUE - http://fplanque.net/. Parts of this file are copyright (c)2004-2005 by Daniel HAHLER - http://thequod.de/contact. |
| Todo: | implement CommentCache based on LinkCache |
| Filesource: | Source Code for this file |
| License: | GNU General Public License (GPL) |
Functions
comments_number [line 190]
|
comments_number(-)
Parameters:| $zero: | ||
| $one: | ||
| $more: | ||
| $post_ID: |
API Tags:
| Deprecated: | deprecated by Item::feedback_link(), used in _edit_showposts.php |
[ Top ]
Comment_get_by_ID [line 155]
echo_comment_buttons [line 229]
|
Create comment form submit buttons
Note: Publsih in only displayed when comment is in draft status
Parameters:| $Form | $Form: | |
| $edited_Comment | $edited_Comment: |
[ Top ]
echo_comment_publishbt_js [line 263]
|
JS Behaviour: Output JavaScript code to dynamically show or hide the "Publish!" button depending on the selected comment status.
This function is used by the comment edit screen.
[ Top ]
generic_ctp_number [line 43]
|
Generic comments/trackbacks/pingbacks counting
Parameters:| integer | $post_id: | |
| string | $mode: | what to count |
| $status: |
Information Tags:
| Todo: | check this in a multiblog page... |
| Todo: | This should support visibility: at least in the default front office (_feedback.php), there should only the number of visible comments/trackbacks get used (Item::feedback_link()). |
[ Top ]
