url('thread', 'id', $tpl->get('thread')->id, 'action', $tpl->param('action') == 'commcause_edit' ? 'commcause_edit' : 'commcause_add', 'kid', $tpl->param('kid')) ?>

get('thread_comment')->acl_of('type') >= BEZ_PERMISSION_CHANGE && $tpl->get('thread')->can_add_causes()): ?>
  • value('type') == '' || $tpl->value('type') == 'comment') echo 'class="active"' ?> param('kid') !== '' && $tpl->get('thread_comment')->task_count > 0) echo 'style="display:none;"'; ?> > value('type') == '' || $tpl->value('type') === 'comment') echo 'checked="checked"' ?>> getLang('comment_noun') ?>
  • value('type') === 'cause') echo 'class="active"' ?>> value('type') === 'cause') echo 'checked="checked"' ?>> getLang('cause_noun') ?>

param('kid') != ''): ?> getLang('cancel') ?> get('thread')->can_add_comments()): ?> param('kid') == '' && $tpl->get('thread')->acl_of('state') >= BEZ_PERMISSION_CHANGE): ?> get('thread')->can_be_closed()): ?> get('thread')->can_be_rejected()): ?> get('thread')->can_be_reopened()): ?>
param('kid') != '' && $tpl->get('thread_comment')->task_count > 0): ?>
get('tasks ' . $tpl->get('thread_comment')->id, array()) as $task): ?> set('task', $task) ?> param('action') == 'task_edit' && $tpl->param('tid') == $task->id): ?>