Lines Matching refs:thread
54 foreach ($threads as $thread) {
55 if ($thread->acl_of('id') < BEZ_PERMISSION_VIEW) continue;
58 if ($thread->type == 'project') {
62 if ($thread->state == 'proposal') {
63 $timeline->push($thread->create_date, 'thread_proposal' . $project, $thread->original_poster, $thread);
65 $timeline->push($thread->create_date, 'thread_opened' . $project, $thread->coordinator, $thread);
68 if ($thread->state == 'done') {
69 $timeline->push($thread->last_activity_date, 'thread_done' . $project, $thread->coordinator, $thread);
70 } elseif ($thread->state == 'closed') {
71 $timeline->push($thread->last_activity_date, 'thread_closed' . $project, $thread->coordinator, $thread);
72 } elseif ($thread->state == 'rejected') {
73 $timeline->push($thread->last_activity_date, 'thread_rejected' . $project, $thread->coordinator, $thread);
78 if ($thread_comment->thread->acl_of('id') < BEZ_PERMISSION_VIEW) continue;