function comments_popup_display_comment
Search API
7.x comments.module | comments_popup_display_comment() |
6.x comments.module | comments_popup_display_comment() |
4.x comments.module | comments_popup_display_comment() |
5.x comments.module | comments_popup_display_comment() |
File
- modules/
comments/ comments.module, line 100
Code
function comments_popup_display_comment() {
$rtn = "";
fp_add_css(fp_get_module_path("comments") . "/css/comments.css");
$id = $_REQUEST ["id"];
// Try to render this comment id.
$comment = comments_get_comment($id);
$rtn .= comments_render_comment($comment);
watchdog("comments", "popup_display_comment id:$id", array(), WATCHDOG_DEBUG);
return $rtn;
}