function talk_handle in Talk 7
Same name and namespace in other branches
- 5 talk.module \talk_handle()
- 6 talk.module \talk_handle()
Menu callback for talk page.
1 string reference to 'talk_handle'
- talk_menu in ./
talk.module - Implementation of hook_menu().
File
- ./
talk.module, line 160 - Comments are displayed in a separate 'talk' tab, for node types you wish
Code
function talk_handle($node) {
drupal_set_title(talk_title($node, 'page'));
$add_comments = _talk_node_comment_value($node) == COMMENT_NODE_OPEN && user_access('post comments');
return theme('talkpage', array(
'node' => $node,
'add_comments' => $add_comments,
));
}