node_show()
by 蘇德宙, 2011-04-30 16:04, 人氣(1992)
function node_show($node, $cid, $message = FALSE) {
$output = node_view($node, FALSE, TRUE);
if (function_exists('comment_render') && $node->comment) {
$output .= comment_render($node, $cid);
}
node_tag_new($node->nid); // Update the 'last viewed' timestamp
return $output;
}
}