Procedural File: _comment.funcs.php
Source Location: /blogs/inc/MODEL/comments/_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.4.2.3 2006/07/04 16:24:12 fplanque Exp $ |
| Copyright: | (c)2003-2006 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_link [line 226]
|
Displays link to comments page
Parameters:| $file: | ||
| $tb: | ||
| $pb: |
API Tags:
| Deprecated: | deprecated by Item::feedback_link(), used in rss2.php |
[ Top ]
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 ]
comments_popup_script [line 256]
|
This will include the javascript that is required to open comments, trackback and pingback in popup windows.
You should put this tag before the </head> tag in your template.
Parameters:| integer | $width: | width of window or false |
| integer | $height: | height of window or false |
| boolean | $scrollbars: | do you want a scrollbar |
| boolean | $status: | do you want a status bar |
| boolean | $resizable: | do you want the windows to be resizable |
[ Top ]
comment_author_url [line 289]
|
comment_author_url(-)
Parameters:| $echo: |
API Tags:
| Deprecated: | deprecated by Comment::author_url() |
| Usedby: | comment_author_url_basedomain() |
[ Top ]
comment_author_url_basedomain [line 312]
|
comment_author_url_basedomain(-)
Parameters:| $disp: |
API Tags:
| Deprecated: | |
| Uses: | comment_author_url() |
[ Top ]
Comment_get_by_ID [line 155]
generic_ctp_number [line 46]
|
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 ]
