Lines Matching +full:- +full:php +full:-

1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?>
2 <?php include "thread_box.php" ?>
6 …<?php if ($tpl->param('action') == '' && $tpl->get('thread')->user_is_coordinator() && $tpl->get('…
7 <div class="bez_second_lv_buttons" style="margin-top: 10px">
8 …<a href="<?php echo $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action', 'task_add') ?>#z_…
9 …pan class="bez_awesome">&#xf0fe;</span>&nbsp;&nbsp;<?php echo $tpl->getLang('correction_add' . $tp…
12 <?php endif ?>
14 <?php foreach ($tpl->get('timeline') as $entity): ?>
15 <?php if ($entity->get_table_name() == 'thread_comment'): ?>
16 <?php $tpl->set('thread_comment', $entity) ?>
17 <?php if ( $tpl->param('action') == 'commcause_edit' &&
18 $tpl->param('kid') == $entity->id): ?>
19 <?php include 'commcause_form.php' ?>
20 <?php else: ?>
21 <?php include 'commcause_box.php' ?>
22 <?php endif ?>
23 <?php elseif($entity->get_table_name() == 'task'): ?>
25 <?php $tpl->set('task', $entity) ?>
26 <?php if ( $tpl->param('action') == 'task_edit' &&
27 $tpl->param('tid') == $entity->id): ?>
28 <?php include 'task_form.php' ?>
29 <?php else: ?>
30 <?php include 'task_box.php' ?>
31 <?php endif ?>
32 <?php endif ?>
33 <?php endforeach ?>
35 <?php if ($tpl->param('action') == 'task_add' && $tpl->param('kid') == ''): ?>
37 <?php $tpl->set('task', $tpl->get('task_new')) ?>
38 <?php include 'task_form.php' ?>
39 <?php elseif ($tpl->get('thread')->state == 'closed'): ?>
42 <?php echo inlineSVG(DOKU_PLUGIN . 'bez/images/tick.svg') ?>
44 <?php printf($tpl->getLang('user_closed_issue'),
45 … '<strong>' . $tpl->user_name($tpl->get('thread')->closed_by) . '</strong>',
46 $tpl->date_fuzzy_age($tpl->get('thread')->close_date)) ?>
48 <?php elseif ($tpl->get('thread')->state == 'rejected'): ?>
51 <?php echo inlineSVG(DOKU_PLUGIN . 'bez/images/close.svg') ?>
53 <?php printf($tpl->getLang('user_rejected_issue'),
54 … '<strong>' . $tpl->user_name($tpl->get('thread')->closed_by) . '</strong>',
55 $tpl->date_fuzzy_age($tpl->get('thread')->close_date)) ?>
57 <?php endif ?>
60 <?php if ( !(strpos($tpl->param('action'), 'task') === 0) &&
61 $tpl->param('action') != 'commcause_edit' &&
62 !(in_array($tpl->get('thread')->state, array('closed', 'rejected')) &&
63 $tpl->get('thread')->acl_of('state') < BEZ_PERMISSION_CHANGE)): ?>
65 <?php include 'commcause_form.php' ?>
68 <?php if ($tpl->get('thread')->count_opened_nopreventive_tasks() > 0): ?>
69 …<div class="info"><?php echo $tpl->getLang('issue_unclosed_tasks' . $tpl->get('lang_suffix')) ?></…
70 <?php endif ?>
71 <?php if ($tpl->get('thread')->state == 'proposal'): ?>
72 …<div class="info"><?php echo $tpl->getLang('issue_is_proposal' . $tpl->get('lang_suffix')) ?></div>
73 <?php endif ?>
74 <?php if ($tpl->get('causes_without_tasks')): ?>
75 <div class="info"><?php echo $tpl->getLang('cause_without_task') ?></div>
76 <?php endif ?>
77 <?php if ($tpl->get('thread')->state == 'opened' && $tpl->get('thread')->task_count == 0): ?>
78 … <div class="info"><?php echo $tpl->getLang('issue_no_tasks' . $tpl->get('lang_suffix')) ?></div>
79 <?php endif ?>
80 <?php endif ?>
87 <h2><?php echo $tpl->getLang('comment_last_activity') ?></h2>
89 <?php echo $tpl->datetime($tpl->get('thread')->last_activity_date) ?>
95 <h2><?php echo $tpl->getLang('norifications') ?></h2>
96 <?php if ($tpl->get('thread')->is_subscribent()): ?>
97php echo $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action', 'unsubscribe') ?>" class="be…
98 <p><?php echo $tpl->getLang('subscribed_info' . $tpl->get('lang_suffix')) ?></p>
99 <?php else: ?>
100php echo $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action', 'subscribe') ?>" class="bez_…
101 <p><?php echo $tpl->getLang('not_subscribed_info' . $tpl->get('lang_suffix')) ?></p>
102 <?php endif ?>
107 <h2><?php echo $tpl->getLang('comment_participants') ?></h2>
109 <?php foreach ($tpl->get('thread')->get_participants() as $participant): ?>
111 <?php if ($tpl->get('thread')->user_is_coordinator() &&
112 $tpl->get('thread')->can_add_participants() &&
114 …<a href="<?php echo $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action', 'participant_remo…
120 <?php endif ?>
121 <a href="<?php echo $tpl->mailto($tpl->user_email($participant['user_id']),
122 '#'.$tpl->get('thread')->id.' '.$tpl->get('thread')->title,
123 …$tpl->url('thread', 'id', $tpl->get('thread')->id)) ?>" title="<?php echo $participant['user_id']…
124 <span class="bez_name"><?php echo $tpl->user_name($participant['user_id']) ?></span>
126 <?php if($participant['original_poster']): ?>
128 title="<?php echo $tpl->getLang('reporter') ?>">
131 <?php endif ?>
132 <?php if($participant['coordinator']): ?>
134 title="<?php echo $tpl->getLang('coordinator') ?>">
137 <?php endif ?>
138 <?php if($participant['task_assignee']): ?>
140 title="<?php echo $tpl->getLang('executor') ?>">
143 <?php endif ?>
144 <?php if($participant['commentator']): ?>
146 title="<?php echo $tpl->getLang('commentator') ?>">
149 <?php endif ?>
150 <?php if($participant['subscribent']): ?>
152 title="<?php echo $tpl->getLang('subscribent') ?>">
155 <?php endif ?>
159 <?php endforeach ?>
162 <?php if ( $tpl->get('thread')->user_is_coordinator() &&
163 $tpl->get('thread')->can_add_participants()): ?>
164 <h2><?php echo $tpl->getLang('issue_invite_header') ?></h2>
165 …<form action="<?php echo $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action', 'invite') ?>…
166 <div id="bez_invite_users" class="ui-widget">
168 <option value="">--- <?php echo $tpl->getLang('select') ?> ---</option>
169 …<?php foreach (array_diff_key($tpl->get('users'), $tpl->get('thread')->get_participants('subscribe…
170 … <option value="<?php echo $user_id ?>"><?php echo $tpl->user_name($user_id) ?></option>
171 <?php endforeach ?>
174 <button class="bez_subscribe_button"><?php echo $tpl->getLang('issue_invite_button') ?></button>
176 <?php endif ?>