| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- /**
- * The header.lite mobile view of common module of ZenTaoPMS.
- *
- * @copyright Copyright 2009-2016 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
- * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
- * @author Fei Chen <chenfei@cnezsoft.com>
- * @package common
- * @version $Id: header.lite.html.php 3299 2015-12-02 02:10:06Z daitingting $
- * @link http://www.zentao.net
- */
- if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}
- // Common variables for views
- $webRoot = $config->webRoot;
- $jsRoot = $webRoot . "mobile/js/";
- $cssRoot = $webRoot . "mobile/css/";
- ?>
- <!DOCTYPE html>
- <html lang='<?php echo $this->app->getClientLang();?>'>
- <head profile="http://www.w3.org/2005/10/profile">
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
- <?php
- echo html::icon($webRoot . 'favicon.ico');
- echo html::title($title . ' - ' . $lang->zentaoPMS);
- js::exportConfigVars();
- if($config->debug)
- {
- js::import($jsRoot . 'mzui.js');
- js::import($jsRoot . 'my.js');
-
- css::import($cssRoot . 'mzui.min.css');
- css::import($cssRoot . 'style.css');
- }
- else
- {
- js::import($jsRoot . 'all.js');
- css::import($cssRoot . 'all.css');
- }
- if(isset($pageCSS)) css::internal($pageCSS);
- ?>
- </head>
- <body class='m-<?php echo $this->app->getModuleName() . '-' . $this->app->getMethodName() . (isset($bodyClass) ? ' ' . $bodyClass : ''); ?>'>
|