* change common views.
This commit is contained in:
@@ -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