function talk_handle in Talk 6
Same name and namespace in other branches
- 5 talk.module \talk_handle()
- 7 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 118 - 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_READ_WRITE && user_access('post comments');
return theme('talkpage', $node, $add_comments);
}