Merge branch 'master' into 20.x

This commit is contained in:
Yagami
2020-08-26 16:10:36 +08:00
701 changed files with 33172 additions and 3307 deletions
+8 -1
View File
@@ -46,7 +46,7 @@ $onlybody = zget($_GET, 'onlybody', 'no');
}
if($this->app->getViewType() == 'xhtml') css::import($defaultTheme . 'x.style.css');
if(!defined('IN_INSTALL') and commonModel::isTutorialMode())
if(defined('IN_USE') and commonModel::isTutorialMode())
{
$wizardModule = defined('WIZARD_MODULE') ? WIZARD_MODULE : $this->moduleName;
$wizardMethod = defined('WIZARD_METHOD') ? WIZARD_METHOD : $this->methodName;
@@ -62,6 +62,13 @@ $onlybody = zget($_GET, 'onlybody', 'no');
<!--[if lt IE 10]>
<?php js::import($jsRoot . 'jquery/placeholder/min.js'); ?>
<![endif]-->
<?php
/* Load hook files for current page. */
$extPath = $this->app->getModuleRoot() . '/common/ext/view/';
$extHookRule = $extPath . 'header.*.hook.php';
$extHookFiles = glob($extHookRule);
if($extHookFiles) foreach($extHookFiles as $extHookFile) include $extHookFile;
?>
</head>
<?php if($this->cookie->hideMenu): ?>
<body class='menu-hide'>