function talk_handle in Talk 5
Same name and namespace in other branches
- 6 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 83 - Comments are displayed in a separate 'talk' tab, for node types you wish Made for Drupal 5.x
Code
function talk_handle($nid) {
$node = node_load($nid);
drupal_set_title(check_plain($node->title));
$add_comments = _talk_node_comment_value($node) == COMMENT_NODE_READ_WRITE && user_access('post comments');
return theme('talkpage', $node, $add_comments);
}