pivot->noPivot;?>
pivot->isClickable($pivot, 'design');?>
pivot->showOrigin}", '', "id='origin-query' class='$showLine btn-query-origin' title='{$lang->pivot->showOrigin}'");?>
pivot->showPivot}", '', "id='pivot-query' class='$showLine btn-query hidden' title='{$lang->pivot->showPivot}'");?>
dimension&groupID=$pivot->group&pivotID=$pivot->id");
$class = !empty($pivot->used) ? "btn-design" : '';
if(common::hasPriv('pivot', 'design') and $clickable) echo html::a($this->createLink('pivot', 'design', "id=$pivot->id&from=preview¶m=$params"), " {$lang->pivot->designAB}", '', "class='pivot-design $class' title='{$lang->pivot->designAB}'");
if(common::hasPriv('pivot', 'edit') and $clickable) echo html::a($this->createLink('pivot', 'edit', "id=$pivot->id&from=preview¶ms=$params", '', true), " {$lang->edit}", '', "class='iframe pivot-edit' title='{$lang->edit}' data-width='600'");
if(common::hasPriv('pivot', 'delete') and $clickable) echo html::a($this->createLink('pivot', 'delete', "id=$pivot->id&confirm=no&from=preview"), " {$lang->delete}", 'hiddenwin', "class='pivot-delete' title='{$lang->delete}'");
?>
filters)):?>
pivot->query, "", 'btn btn-primary btn-query');?>
loadModel('chart')->parseSqlVars($pivot->sql, $pivot->filters);?>
pivot->buildPivotTable($data, $configs, json_decode(json_encode($pivot->fieldSettings), true), $sql);?>