* @package zahost * @link https://www.zentao.net */ namespace zin; jsVar('hostID', $hostID); foreach($imageList as $image) $image->hostID = $hostID; $imageList = initTableData($imageList, $config->zahost->imageDtable->fieldList, $this->zahost); foreach($imageList as &$image) { foreach($image->actions as &$action) $action['disabled'] = false; } modalHeader(set::title($lang->zahost->image->browseImage)); dtable ( set::cols($config->zahost->imageDtable->fieldList), set::data($imageList), set::sortLink(createLink('zahost', 'browseImage', "hostID={$hostID}&browseType={$browseType}¶m={$param}&orderBy={name}_{sortType}&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}")), set::footPager(usePager()), set::orderBy($orderBy) );