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

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

static_acl('thread_comment', 'type') >= BEZ_PERMISSION_CHANGE): ?>
  
getLang('cancel') ?>
param('kid') !== '-1' && $tpl->get('thread_comment')->task_count > 0): ?>
get('thread_comment')->get_tasks() as $task): ?> set('task', $task) ?> action() == 'task_edit' && $tpl->param('kid') == $task->id): ?>