* show tooltip for left menu.

This commit is contained in:
Hao Sun
2021-08-16 10:15:53 +08:00
parent 4d42368a7f
commit a6bd22b09d
3 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ if($extHookFiles) foreach($extHookFiles as $extHookFile) include $extHookFile;
?>
</head>
<?php $singleClass = $this->app->getViewType() == 'xhtml' ? 'allow-self-open' : '';?>
<?php if($this->moduleName == 'index' && $this->methodName == 'index' && $this->cookie->hideMenu): ?>
<body class='menu-hide <?php echo $singleClass;?>'>
<?php if($this->moduleName == 'index' && $this->methodName == 'index'): ?>
<body class='menu-<?php echo $this->cookie->hideMenu ? 'hide' : 'show'; ?> <?php echo $singleClass;?>'>
<?php else: ?>
<body class='<?php echo $singleClass;?>'>
<?php endif; ?>