* adjust code for flow.

This commit is contained in:
z
2020-07-13 16:21:10 +08:00
parent 75fe055826
commit a76b09bef2
3 changed files with 10 additions and 9 deletions
+3 -2
View File
@@ -686,9 +686,10 @@ class commonModel extends model
echo '</ul>';
return;
}
foreach($position as $key => $link)
if(is_array($position))
{
echo "<li class='active'>" . $link . '</li>';
foreach($position as $key => $link) echo "<li class='active'>" . $link . '</li>';
}
echo '</ul>';
}
-7
View File
@@ -4,13 +4,6 @@ include 'header.lite.html.php';
include 'chosen.html.php';
//include 'validation.html.php';
?>
<?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;
?>
<?php if(empty($_GET['onlybody']) or $_GET['onlybody'] != 'yes'):?>
<?php $this->app->loadConfig('sso');?>
<?php if(!empty($config->sso->redirect)) js::set('ssoRedirect', $config->sso->redirect);?>
+7
View File
@@ -62,5 +62,12 @@ $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>
<body>