* change common views.

This commit is contained in:
Catouse
2018-05-08 16:18:20 +08:00
parent f3d0efab57
commit c91ca33cb7
3 changed files with 4 additions and 4 deletions
+2
View File
@@ -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');