Lines Matching refs:tpl
1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?>
3 <?php if (!$tpl->get('no_filters', false)): ?>
5 <?php if ($tpl->factory('thread')->permission() >= BEZ_TABLE_PERMISSION_INSERT): ?>
6 <a href="<?php echo $tpl->url('thread_report', 'type', $tpl->action() == 'projects' ? 'project' : 'issue') ?>" class="bez_start_button" id="bez_report_issue_button">
7 <?php echo $tpl->getLang('report_' . $tpl->action()) ?>
14 <form action="<?php echo $tpl->url($tpl->action()) ?>" method="post">
16 <label><?php echo $tpl->getLang('reporter') ?>:
18 <option <?php if ($tpl->value('original_poster') == '-all') echo 'selected' ?>
19 value="-all">--- <?php echo $tpl->getLang('all') ?> ---</option>
20 <optgroup label="<?php echo $tpl->getLang('users') ?>">
21 <?php foreach ($tpl->get('users') as $nick => $name): ?>
22 <option <?php if ($tpl->value('original_poster') == $nick) echo 'selected' ?>
26 <optgroup label="<?php echo $tpl->getLang('groups') ?>">
27 <?php foreach ($tpl->get('groups') as $name): ?>
29 <option <?php if ($tpl->value('original_poster') == $group) echo 'selected' ?>
36 <label><?php echo $tpl->getLang('state') ?>:
38 <option <?php if ($tpl->value('state') === '-all') echo 'selected' ?>
39 value="-all">--- <?php echo $tpl->getLang('all_not_rejected') ?> ---</option>
41 <option <?php if ($tpl->value('state') === $state) echo 'selected' ?>
42 value="<?php echo $state ?>"><?php echo $tpl->getLang('state_' . $state) ?></option>
46 <?php if ($tpl->action() != 'projects'): ?>
47 <label><?php echo $tpl->getLang('just_type') ?>:
49 <option <?php if ($tpl->value('label_id') === '-all') echo 'selected' ?>
50 value="-all">--- <?php echo $tpl->getLang('all') ?> ---</option>
51 <option <?php if ($tpl->value('label_id') === '-none') echo 'selected' ?>
52 value="-none">--- <?php echo $tpl->getLang('issue_type_no_specified') ?> ---</option>
53 <?php foreach ($tpl->get('labels') as $label): ?>
54 <option <?php if ($tpl->value('label_id') === $label->id) echo 'selected' ?>
61 <label><?php echo $tpl->getLang('coordinator') ?>:
63 <option <?php if ($tpl->value('coordinator') === '-all') echo 'selected' ?>
64 value="-all">--- <?php echo $tpl->getLang('all') ?> ---</option>
65 <option <?php if ($tpl->value('coordinator') === '-none') echo 'selected' ?>
66 value="-none">--- <?php echo $tpl->getLang('none') ?> ---</option>
67 <optgroup label="<?php echo $tpl->getLang('users') ?>">
68 <?php foreach ($tpl->get('users') as $nick => $name): ?>
69 <option <?php if ($tpl->value('coordinator') === $nick) echo 'selected' ?>
73 <optgroup label="<?php echo $tpl->getLang('groups') ?>">
74 <?php foreach ($tpl->get('groups') as $name): ?>
76 <option <?php if ($tpl->value('coordinator') === $group) echo 'selected' ?>
83 <label><?php echo $tpl->getLang('title') ?>:
84 <input name="title" value="<?php echo $tpl->value('title') ?>" />
87 <label><?php echo $tpl->getLang('content') ?>:
88 <input name="content" value="<?php echo $tpl->value('content') ?>" />
91 <label><?php echo $tpl->getLang('year') ?>:
93 <option <?php if ($tpl->value('year') === '-all') echo 'selected' ?>
94 value="-all">--- <?php echo $tpl->getLang('all') ?> ---</option>
95 <?php foreach ($tpl->get('years') as $year): ?>
96 <option <?php if ($tpl->value('year') === $year) echo 'selected' ?>
102 <label><?php echo $tpl->getLang('sort_by_open_date') ?>:
104 <?php if ($tpl->value('sort_open') === 'on') echo 'checked="checked"' ?>>
106 <?php if ($tpl->action() != 'projects'): ?>
107 <label><?php echo $tpl->getLang('has_corrective') ?>:
109 <?php if ($tpl->value('has_corrective') === 'on') echo 'checked="checked"' ?>>
111 <label><?php echo $tpl->getLang('has_preventive') ?>:
113 <?php if ($tpl->value('has_preventive') === 'on') echo 'checked="checked"' ?>>
117 <label><input type="submit" value="<?php echo $tpl->getLang('filter') ?>" /></label>
125 <th><?php echo $tpl->getLang('id') ?></th>
126 <th><?php echo $tpl->getLang('state') ?></th>
127 <?php if ($tpl->action() != 'projects'): ?>
128 <th><?php echo $tpl->getLang('type') ?></th>
130 <th><?php echo $tpl->getLang('title')?></th>
131 <th><?php echo $tpl->getLang('coordinator') ?></th>
132 <th><?php echo $tpl->getLang('date') ?></th>
133 <th><?php echo $tpl->getLang('last_mod_date') ?></th>
134 <th><?php echo $tpl->getLang('closed') ?></th>
135 <th><?php echo $tpl->getLang('cost') ?></th>
136 <th><?php echo $tpl->getLang('closed_tasks') ?></th>
137 <?php if ($tpl->action() != 'projects'): ?>
138 <th><?php echo $tpl->getLang('corrective_action_h') ?></th>
139 <th><?php echo $tpl->getLang('preventive_action_h') ?></th>
149 <?php foreach ($tpl->get('threads') as $thread): ?>
165 <a href="<?php echo $tpl->url('thread', 'id', $thread->id) ?>">#<?php echo $thread->id ?></a>
171 <?php echo $tpl->getLang('state_'.$thread->state) ?>
173 <?php if ($tpl->action() != 'projects'): ?>
176 <i style="color: #777"><?php echo $tpl->getLang('issue_type_no_specified') ?></i>
185 <i style="color: #777"><?php echo $tpl->getLang('none') ?></i>
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) ?>
198 <?php echo $tpl->date($thread->close_date) ?><br />
199 <?php $s = $tpl->getLang('report_priority').': ' .
200 $tpl->date_diff_days($thread->create_date, $thread->close_date, '%a') ?>
217 <?php if ($tpl->action() != 'projects'): ?>
228 <th><?php echo $tpl->getLang('report_total') ?></th>
229 <td colspan="<?php echo $tpl->action() != 'projects' ? '7' : '6' ?>"><?php echo $count ?></td>
233 <?php if ($tpl->action() != 'projects'): ?>