Lines Matching refs:tpl

1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?>
2 <?php $url = $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action',
3 $tpl->param('action') == 'commcause_edit' ? 'commcause_edit' : 'commcause_add',
4 'kid', $tpl->param('kid')) ?>
20 <?php if ($tpl->get('thread_comment')->acl_of('type') >= BEZ_PERMISSION_CHANGE &&
21 $tpl->get('thread')->can_add_causes()): ?>
24 <?php if ( $tpl->value('type') == '' ||
25 $tpl->value('type') == 'comment') echo 'class="active"' ?>
26 <?php if ( $tpl->param('kid') !== '' &&
27 $tpl->get('thread_comment')->task_count > 0)
31 <input style="display: none" type="radio" name="type" value="comment" <?php if($tpl->value('type') == '' || $tpl->value('type') === 'comment') echo 'checked="checked"' ?>>
32 <a href="#comment"><?php echo $tpl->getLang('comment_noun') ?></a>
34 <li <?php if($tpl->value('type') === 'cause') echo 'class="active"' ?>>
35 <input style="display: none" type="radio" name="type" value="cause" <?php if($tpl->value('type') === 'cause') echo 'checked="checked"' ?>>
36 <a href="#cause"><?php echo $tpl->getLang('cause_noun') ?></a>
42 <a href="#comment"><?php echo $tpl->getLang('comment_noun') ?></a>
50 <textarea name="content" class="bez_textarea_content" id="content1"><?php echo $tpl->value('content') ?></textarea>
55 <?php if ($tpl->param('kid') != ''): ?>
56 <a href="<?php echo $tpl->url('thread', 'id', $tpl->get('thread')->id) ?><?php if ($tpl->param('kid') != '') echo '#k'.$tpl->param('kid') ?>"
58 <?php echo $tpl->getLang('cancel') ?>
62 <?php if ($tpl->get('thread')->can_add_comments()): ?>
64 <?php echo $tpl->param('kid') != '' ? $tpl->getLang('correct') : $tpl->getLang('add') ?>
67 <?php if ($tpl->param('kid') == '' && $tpl->get('thread')->acl_of('state') >= BEZ_PERMISSION_CHANGE): ?>
68 <?php if ($tpl->get('thread')->can_be_closed()): ?>
70 <?php echo $tpl->getLang('js')['close_issue' . $tpl->get('lang_suffix')] ?>
72 <?php elseif ($tpl->get('thread')->can_be_rejected()): ?>
74 <?php echo $tpl->getLang('js')['reject_issue' . $tpl->get('lang_suffix')] ?>
76 <?php elseif ($tpl->get('thread')->can_be_reopened()): ?>
78 <?php echo $tpl->getLang('js')['reopen_issue'. $tpl->get('lang_suffix')] ?>
85 <?php if ( $tpl->param('kid') != '' &&
86 $tpl->get('thread_comment')->task_count > 0): ?>
88 <?php foreach ($tpl->get('tasks ' . $tpl->get('thread_comment')->id, array()) as $task): ?>
89 <?php $tpl->set('task', $task) ?>
90 <?php if ( $tpl->param('action') == 'task_edit' &&
91 $tpl->param('tid') == $task->id): ?>