* change common views.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
<div id='divider'></div>
|
||||
<iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='debugwin hidden'></iframe>
|
||||
<?php $onlybody = zget($_GET, 'onlybody', 'no');?>
|
||||
|
||||
<?php if($onlybody != 'yes'):?>
|
||||
</main><?php /* end '#wrap' in 'header.html.php'. */ ?>
|
||||
<footer id='footer'>
|
||||
@@ -75,8 +75,6 @@ $(function(){ redirect('<?php echo $ranzhiURL?>', '<?php echo $this->config->sso
|
||||
</script>
|
||||
|
||||
<?php endif;?>
|
||||
|
||||
<script>config.onlybody = '<?php echo $onlybody?>';</script>
|
||||
<?php
|
||||
if($this->loadModel('cron')->runable()) js::execute('startCron()');
|
||||
if(isset($pageJS)) js::execute($pageJS); // load the js for current page.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
|
||||
<iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='debugwin hidden'></iframe>
|
||||
<?php if($this->loadModel('cron')->runable()) js::execute('startCron()');?>
|
||||
<script laguage='Javascript'>
|
||||
<script>
|
||||
<?php if(isset($pageJS)) echo $pageJS;?>
|
||||
</script>
|
||||
</body>
|
||||
|
||||
@@ -6,6 +6,7 @@ $themeRoot = $webRoot . "theme/";
|
||||
$defaultTheme = $webRoot . 'theme/default/';
|
||||
$langTheme = $themeRoot . 'lang/' . $app->getClientLang() . '.css';
|
||||
$clientTheme = $this->app->getClientTheme();
|
||||
$onlybody = zget($_GET, 'onlybody', 'no');
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang='<?php echo $app->getClientLang();?>'>
|
||||
@@ -17,6 +18,7 @@ $clientTheme = $this->app->getClientTheme();
|
||||
<?php
|
||||
echo html::title($title . ' - ' . $lang->zentaoPMS);
|
||||
js::exportConfigVars();
|
||||
echo '<script>config.onlybody = "' . $onlybody . '";</script>';
|
||||
if($config->debug)
|
||||
{
|
||||
js::import($jsRoot . 'jquery/lib.js');
|
||||
|
||||
Reference in New Issue
Block a user