* @package bug * @link https://www.zentao.net */ namespace zin; $cols = $config->bug->linkBugs->dtable->fieldList; $cols['product']['map'] = $products; div(setID('searchFormPanel'), set('data-module', 'bug'), searchToggle(set::open(true), set::module('bug'))); dtable ( set::cols($cols), set::userMap($users), set::data($bugs2Link), set::footPager(usePager()), set::footToolbar(array('items' => array(array('text' => $lang->save, 'btnType' => 'primary', 'className' => 'size-sm', 'data-on' => 'click', 'data-call' => 'fnLinkBugs', 'data-params' => 'event')))), set::footer(array('checkbox', 'toolbar')), ); h::js ( <<