Lines Matching refs:thread
5 <?php if ($tpl->factory('thread')->permission() >= BEZ_TABLE_PERMISSION_INSERT): ?>
149 <?php foreach ($tpl->get('threads') as $thread): ?>
150 <?php if ($thread->acl_of('id') < BEZ_PERMISSION_VIEW) continue ?>
152 <?php $total_cost += (float) $thread->task_sum_cost ?>
153 <?php $total_task_closed += (int) $thread->task_count_closed ?>
154 <?php $total_task += (int) $thread->task_count ?>
155 <?php $total_corrective += (int) $thread->corrective_count ?>
156 <?php $total_preventive += (int) $thread->preventive_count ?>
158 if ($thread->state == 'opened') {
159 echo 'priority_' . $thread->priority;
160 } elseif ($thread->state == 'proposal') {
165 <a href="<?php echo $tpl->url('thread', 'id', $thread->id) ?>">#<?php echo $thread->id ?></a>
166 <?php if($thread->private == '1'): ?>
171 <?php echo $tpl->getLang('state_'.$thread->state) ?>
175 <?php if ($thread->label_name === NULL): ?>
178 <?php echo $thread->label_name ?>
182 <td><?php echo $thread->title ?></td>
184 <?php if ($thread->coordinator === NULL): ?>
187 <?php echo $tpl->user_name($thread->coordinator) ?>
191 <?php echo $tpl->date($thread->create_date) ?>
194 <?php echo $tpl->date($thread->last_activity_date) ?>
197 <?php if (in_array($thread->state, array('closed', 'rejected'))): ?>
198 <?php echo $tpl->date($thread->close_date) ?><br />
200 $tpl->date_diff_days($thread->create_date, $thread->close_date, '%a') ?>
207 <?php if ($thread->task_sum_cost === NULL): ?>
210 <?php echo $thread->task_sum_cost ?>
214 <?php echo $thread->task_count_closed ?> / <?php echo $thread->task_count ?>
219 <?php echo $thread->corrective_count ?>
222 <?php echo $thread->preventive_count ?>