* @package company * @link https://www.zentao.net */ namespace zin; jsVar('updateTimeTip', $lang->metric->updateTimeTip); jsVar('objectList', $lang->metric->objectList); jsVar('current', $current); jsVar('maxSelectNum', $config->metric->maxSelectNum); jsVar('maxSelectMsg', $lang->metric->maxSelect); jsVar('maxSelectTip', $lang->metric->maxSelectTip); jsVar('viewType', $viewType); jsVar('selectCount', $lang->metric->selectCount); jsVar('filterLang', $lang->metric->filter); jsVar('scope', $scope); jsVar('metricListLang', $metricList); jsVar('chartTypeList', $lang->metric->chartTypeList); jsVar('errorDateRange', $lang->metric->errorDateRange); jsVar('errorCalcTimeRange', $lang->metric->errorCalcTimeRange); jsVar('queryScopeLang', $lang->metric->query->scope); jsVar('collectStar', $lang->metric->collectStar); jsVar('calcTitleList', $lang->metric->calcTitleList); // jsVar('pager', usePager()); if($scope == 'collect' and empty($current)) { include 'emptycollect.html.php'; } else { if($viewType == 'single') include 'previewsingle.html.php'; if($viewType == 'multiple') include 'previewmultiple.html.php'; }