Merge branch 'master' into 20.x
This commit is contained in:
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user