Lines Matching refs:tpl

1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?>
2 <?php if ($tpl->get('task')->thread_id != '' && $tpl->get('task')->thread->acl_of('id') >= BEZ_PERMISSION_VIEW): ?>
5 if ($tpl->get('task')->thread->state == 'opened') {
6 echo 'priority_' . $tpl->get('task')->thread->priority;
10 <strong><?php echo $tpl->getLang('issue') ?>:</strong>
11 <a href="<?php echo $tpl->url('thread', 'id', $tpl->get('task')->thread->id) ?>">
12 #<?php echo $tpl->get('task')->thread->id ?>
15 <?php if ($tpl->get('task')->thread->type == 'project'): ?>
16 <?php echo $tpl->getLang('project') ?>
17 <?php elseif (!empty($tpl->get('task')->thread->label_name)): ?>
18 <?php echo $tpl->get('task')->thread->label_name ?>
20 <i style="color: #777"><?php echo $tpl->getLang('issue_type_no_specified') ?></i>
23 (<?php echo $tpl->getLang('state_' . $tpl->get('task')->thread->state) ?>):
25 <?php echo $tpl->get('task')->thread->title ?>
28 <?php if ($tpl->get('task')->thread_comment_id != ''): ?>
31 <a href="<?php echo $tpl->url('thread', 'id', $tpl->get('task')->thread->id) ?>#k<?php echo $tpl->get('task')->thread_comment->id ?>">
32 #k<?php echo $tpl->get('task')->thread_comment->id ?>
34 <?php echo $tpl->getLang($tpl->get('task')->thread_comment->type) ?>
36 <?php echo $tpl->get('task')->thread_comment->content_html ?>
45 <?php if ( $tpl->param('action') == 'task_edit' &&
46 $tpl->param('tid') == $tpl->get('task')->id): ?>
55 <?php foreach ($tpl->get('task_comments') as $task_comment): ?>
56 <?php $tpl->set('task_comment', $task_comment) ?>
57 <?php if ( $tpl->param('action') == 'comment_edit' &&
58 $tpl->param('zkid') == $task_comment->id): ?>
65 <?php if ($tpl->get('task')->state == 'done'): ?>
70 <?php printf($tpl->getLang('user_did_task'),
71 '<strong>' . $tpl->user_name($tpl->get('task')->closed_by) . '</strong>',
72 $tpl->date_fuzzy_age($tpl->get('task')->close_date)) ?>
76 <?php if($tpl->param('action') != 'task_edit' && $tpl->param('action') != 'comment_edit' && $tpl->get('task')->can_add_comments()): ?>
85 <h2><?php echo $tpl->getLang('norifications') ?></h2>
86 <?php if ($tpl->get('task')->is_subscribent()): ?>
87 <a href="<?php echo $tpl->url('task', 'tid', $tpl->get('task')->id, 'action', 'unsubscribe') ?>" class="bez_subscribe_button"><span class="bez_awesome">&#xf1f6;</span>&nbsp;&nbsp;<?php echo $tpl->getLang('unsubscribe') ?></a>
88 <p><?php echo $tpl->getLang('task_subscribed_info') ?></p>
90 <a href="<?php echo $tpl->url('task', 'tid', $tpl->get('task')->id, 'action', 'subscribe') ?>" class="bez_subscribe_button"><span class="bez_awesome">&#xf0f3;</span>&nbsp;&nbsp;<?php echo $tpl->getLang('subscribe') ?></a>
91 <p><?php echo $tpl->getLang('task_not_subscribed_info') ?></p>
97 <h2><?php echo $tpl->getLang('comment_participants') ?></h2>
99 <?php foreach ($tpl->get('task')->get_participants() as $participant): ?>
101 <?php if ($tpl->get('task')->acl_of('participants') >= BEZ_PERMISSION_CHANGE &&
103 <a href="<?php echo $tpl->url('task', 'tid', $tpl->get('task')->id, 'action', 'participant_remove', 'user_id', $participant['user_id']) ?>"
110 <a href="<?php echo $tpl->mailto($tpl->user_email($participant['user_id']),
111 '#z'.$tpl->get('task')->id,
112 $tpl->url('task', 'tid', $tpl->get('task')->id)) ?>"
114 <span class="bez_name"><?php echo $tpl->user_name($participant['user_id']) ?></span>
118 title="<?php echo $tpl->getLang('reporter') ?>">
124 title="<?php echo $tpl->getLang('executor') ?>">
130 title="<?php echo $tpl->getLang('commentator') ?>">
136 title="<?php echo $tpl->getLang('subscribent') ?>">
145 <?php if ($tpl->get('task')->acl_of('participants') >= BEZ_PERMISSION_CHANGE): ?>
146 <h2><?php echo $tpl->getLang('issue_invite_header') ?></h2>
147 <form action="<?php echo $tpl->url('task', 'tid', $tpl->get('task')->id, 'action', 'invite') ?>" method="post" id="bez_invite_users_form">
150 <option value="">--- <?php echo $tpl->getLang('select') ?> ---</option>
151 <?php foreach (array_diff_key($tpl->get('users'), $tpl->get('task')->get_participants('subscribent')) as $user_id => $ignore): ?>
152 <option value="<?php echo $user_id ?>"><?php echo $tpl->user_name($user_id) ?></option>
156 <button class="bez_subscribe_button"><?php echo $tpl->getLang('issue_invite_button') ?></button>