nid = $ticket->nid; $n->uid = $ticket->uid; $n->organization_nid = $ticket->organization_nid; $n->type = 'stormticket'; $rows[] = array( storm_icon('category_'. $ticket->ticketcategory, $ticket->ticketcategory), l($ticket->organization_title, 'node/'. $ticket->organization_nid), l($ticket->project_title, 'node/'. $ticket->project_nid), l($ticket->title, 'node/'. $ticket->nid) . theme('mark', node_mark($ticket->nid, $ticket->changed)), format_date($ticket->created, 'small'), storm_icon('status_'. $ticket->ticketstatus, $ticket->ticketstatus), storm_icon('priority_'. $ticket->ticketpriority, $ticket->ticketpriority), array( 'data' => storm_icon_edit_node($n, $_GET) .' '. storm_icon_delete_node($n, $_GET), 'class' => 'storm_list_operations', ), ); } $o = theme('table', $header, $rows); return $o; }