Lines Matching refs:tpl
1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?>
3 <?php if (count($tpl->get('8d_tasks')['correction']) > 0) $D++ ?>
4 <?php if (count($tpl->get('causes')) > 0) $D++ ?>
5 <?php if (count($tpl->get('8d_tasks')['corrective']) > 0) $D++ ?>
6 <?php $corrective_done = array_filter($tpl->get('8d_tasks')['corrective'], function ($task) {
10 <?php if (count($tpl->get('8d_tasks')['preventive']) > 0) $D++ ?>
11 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected') $D++ ?>
14 <?php printf($tpl->getLang('8d_report_header'), $D); ?>
16 <?php echo $tpl->mailto('',
17 $tpl->getLang('8d_report').': #'.$tpl->get('thread')->id.' '.$tpl->get('thread')->title,
18 $tpl->url('8d', 'id', $tpl->get('thread')->id) . '?t=' . $_GET['t']) ?>">
19 ✉ <?php echo $tpl->getLang('send_mail') ?>
27 <a href="<?php echo $tpl->url('thread', 'id', $tpl->get('thread')->id) ?>">
28 #<?php echo $tpl->get('thread')->id ?>
31 <?php if (!empty($tpl->get('thread')->label_name)): ?>
32 <?php echo $tpl->get('thread')->label_name ?>
34 <i style="color: #777"><?php echo $tpl->getLang('issue_type_no_specified') ?></i>
39 <strong><?php echo $tpl->getLang('open_date') ?>:</strong>
40 <?php echo $tpl->date($tpl->get('thread')->create_date) ?>
46 <strong><?php echo $tpl->getLang('title') ?>:</strong>
47 <?php echo $tpl->get('thread')->title ?>
52 <h2><?php echo $D++ ?>D - <?php echo $tpl->getLang('1d') ?></h2>
54 <?php foreach($tpl->get('thread')->get_participants() as $participant): ?>
55 <li><?php echo $tpl->user_name($participant['user_id']) ?></li>
59 <h2><?php echo $D++ ?>D - <?php echo $tpl->getLang('2d') ?></h2>
60 <?php echo $tpl->get('thread')->content_html ?>
62 <?php if (count($tpl->get('8d_tasks')['correction']) > 0): ?>
63 <h2><?php echo $D++ ?>D - <?php echo $tpl->getLang('3d') ?></h2>
64 <?php $tpl->set('tasks', $tpl->get('8d_tasks')['correction']) ?>
68 <?php if (count($tpl->get('causes')) > 0): ?>
69 <h2><?php echo $D++ ?>D - <?php echo $tpl->getLang('4d') ?></h2>
70 <?php $tpl->set('causes', $tpl->get('causes')) ?>
74 <?php if (count($tpl->get('8d_tasks')['corrective']) > 0): ?>
75 <h2><?php echo $D++ ?>D - <?php echo $tpl->getLang('5d') ?></h2>
76 <?php $tpl->set('tasks', $tpl->get('8d_tasks')['corrective']) ?>
80 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected'): ?>
81 <h2><?php echo $D++ ?>D - <?php echo $tpl->getLang('6d-var2') ?></h2>
82 <?php echo $tpl->get('thread')->closing_comment() ?>
85 <?php if (count($tpl->get('8d_tasks')['preventive']) > 0): ?>
86 <h2><?php echo $D++ ?>D - <?php echo $tpl->getLang('7d') ?></h2>
87 <?php $preventive = array_merge($tpl->get('risks'), $tpl->get('opportunities')) ?>
91 <?php $tpl->set('causes', $preventive) ?>
94 <?php $tpl->set('tasks', $tpl->get('8d_tasks')['preventive']) ?>
99 <h2><?php echo $D++ ?>D - <?php echo $tpl->getLang('8d') ?></h2>
103 <td <?php if (count($tpl->get('8d_tasks')['preventive']) == 0) echo 'colspan="2"' ?>>
104 <strong><?php echo $tpl->getLang('problem_close_date') ?>:</strong>
105 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected'): ?>
106 <?php echo $tpl->date($tpl->get('thread')->close_date) ?>
111 <?php if (count($tpl->get('8d_tasks')['preventive']) > 0): ?>
113 <strong><?php echo $tpl->getLang('preventive_close_date') ?>:</strong>
114 <?php if ($tpl->get('preventive_close_date')): ?>
115 <?php echo $tpl->get('preventive_close_date') ?>
125 <strong><?php echo $tpl->getLang('totalcost') ?>:</strong>
126 <?php if ($tpl->get('thread')->task_sum_cost != ''): ?>
127 <?php echo $tpl->get('thread')->task_sum_cost ?>
133 <strong><?php echo $tpl->getLang('coordinator') ?>:</strong>
134 <?php echo $tpl->user_name($tpl->get('thread')->coordinator) ?>