getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> getClientLang(); $webRoot = $this->app->getWebRoot(); $jsRoot = $webRoot . "js/"; $themeRoot = $webRoot . "theme/"; $defaultTheme = $webRoot . 'theme/default/'; $langTheme = $themeRoot . 'lang/' . $clientLang . '.css'; $clientTheme = $this->app->getClientTheme(); $onlybody = zget($_GET, 'onlybody', 'no'); ?>
zentaoPMS); js::exportConfigVars(); echo ''; if($config->debug) { $timestamp = time(); css::import($themeRoot . 'zui/css/min.css?t=' . $timestamp); css::import($defaultTheme . 'style.css?t=' . $timestamp); css::import($langTheme); if(strpos($clientTheme, 'default') === false) css::import($clientTheme . 'style.css?t=' . $timestamp); js::import($jsRoot . 'jquery/lib.js'); js::import($jsRoot . 'zui/min.js?t=' . $timestamp); if($clientLang === 'ja') js::import($jsRoot . 'zui/lang.' . $clientLang . '.min.js?t=' . $timestamp); js::import($jsRoot . 'my.full.js?t=' . $timestamp); } else { $minCssFile = $defaultTheme . $this->cookie->lang . '.' . $this->cookie->theme . '.css'; if(!file_exists($this->app->getThemeRoot() . 'default/' . $this->cookie->lang . '.' . $this->cookie->theme . '.css')) $minCssFile = $defaultTheme . 'en.' . $this->cookie->theme . '.css'; css::import($minCssFile); js::import($jsRoot . 'all.js'); if($clientLang === 'ja') js::import($jsRoot . 'zui/lang.' . $clientLang . '.min.js'); } if($this->app->getViewType() == 'xhtml') css::import($defaultTheme . 'x.style.css'); if(defined('IN_USE') and commonModel::isTutorialMode()) { $wizardModule = defined('WIZARD_MODULE') ? WIZARD_MODULE : $this->moduleName; $wizardMethod = defined('WIZARD_METHOD') ? WIZARD_METHOD : $this->methodName; $requiredFields = ''; if(isset($config->$wizardModule->$wizardMethod->requiredFields)) $requiredFields = str_replace(' ', '', $config->$wizardModule->$wizardMethod->requiredFields); echo ""; } if(isset($pageCSS)) css::internal($pageCSS); echo html::favicon($webRoot . 'favicon.ico'); ?> app->getModuleRoot() . '/common/ext/view/'; $extHookRule = $extPath . 'header.*.hook.php'; $extHookFiles = glob($extHookRule); if($extHookFiles) foreach($extHookFiles as $extHookFile) include $extHookFile; ?> app->getViewType() == 'xhtml' ? 'allow-self-open' : '';?> moduleName == 'index' && $this->methodName == 'index'): ?> '>