function task_view($node, $teaser = FALSE, $page = FALSE) { // Prepare the node drupal_add_css(TASK_PATH .'/task.css'); $node = node_prepare($node, $teaser); $node->content['priority'] = array( '#value' => theme('task_outputPriority', $node->priority), ); return $node; }