node_type == 'comment'){ global $base_url; $original_parent = $data->node_node_comments_nid; $parent_title = $data->node_node_comments_title; $url = $base_url.'/'.drupal_get_path_alias("node/$original_parent"); if ($data->node_comments_pid != 0){ $url = $url.'#comment-'.$data->node_comments_pid; } if ($data->node_node_comments_type == 'general_comment'){ $type= "Comment";} else{ $type = ucwords(preg_replace('/_/',' ',$data->node_node_comments_type)); } print $type.": $parent_title"; } else { print "General Comment"; } ?>