* adjust code for flow.
This commit is contained in:
@@ -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>';
|
||||
}
|
||||
|
||||
@@ -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);?>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user