+ add desc, keywords and favor.ico.

This commit is contained in:
wangchunsheng
2010-04-17 02:26:06 +00:00
parent 61428d691f
commit 39fb8a1e87
3 changed files with 19 additions and 8 deletions

View File

@@ -23,17 +23,14 @@
* @version $Id$
* @link http://www.zentao.cn
*/
$lang->zentaoMS = '禅道管理';
$lang->zentaoSite = "官方网站";
$lang->myControl = "我的地盘";
$lang->sponser = "<a href='http://www.pujia.com' target='_blank'>普加赞助</a>";
$lang->arrow = ' » ';
$lang->colon = '::';
$lang->at = ' 于 ';
$lang->downArrow = '↓';
$lang->zentaoMS = '禅道管理';
$lang->welcome = "欢迎使用%s{$lang->colon}{$lang->zentaoMS} ";
$lang->myControl = "我的地盘";
$lang->currentPos = '当前位置:';
$lang->logout = '退出系统';
$lang->login = '登录';
@@ -233,6 +230,13 @@ $lang->pager->next = "下页";
$lang->pager->last = "末页";
$lang->pager->locate = "GO!";
$lang->zentaoSite = "官方网站";
$lang->sponser = "<a href='http://www.pujia.com' target='_blank'>普加赞助</a>";
$lang->zentaoKeywords = "开源项目管理软件,项目管理,项目管理软件,pmp,pms,php框架国产php框架scrum工具,scrum管理工具,scrum管理软件,敏捷项目管理,禅道";
$lang->zentaoDESC = "禅道项目管理软件(ZenTaoPMS)是一款国产的基于LGPL协议开源免费的项目管理软件(工具、系统)同时也是一款scrum管理工具。
它集产品管理、项目管理、测试管理于一体同时还包含了事务管理、组织管理等诸多功能是中小型企业项目管理的首选。禅道项目管理软件使用PHP + MySQL开发
基于自主的PHP开发框架──ZenTaoPHP而成。第三方开发者或者企业可以非常方便的开发插件或者进行定制。禅道在手项目无忧";
/* 时间格式设置。*/
define('DT_DATETIME1', 'Y-m-d H:i:s');
define('DT_DATETIME2', 'y-m-d H:i');

View File

@@ -10,15 +10,20 @@ $themeRoot = $webRoot . "theme/";
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<?php
$header = (object)$header;
if(isset($header->title)) echo "<title>$header->title - $lang->zentaoMS</title>\n";
if(isset($header->keyword)) echo "<meta name='keywords' content='$header->keyword'>\n";
if(isset($header->desc)) echo "<meta name='description' content='$header->desc'>\n";
if(!isset($header->title)) $header->title = $lang->zentaoMS;
if(!isset($header->keywords)) $header->keywords = $lang->zentaoKeywords;
if(!isset($header->desc)) $header->desc = $lang->zentaoDESC;
echo "<title>$header->title - $lang->zentaoMS</title>\n";
echo "<meta name='keywords' content='$header->keywords'>\n";
echo "<meta name='description' content='$header->desc'>\n";
?>
<?php echo js::exportConfigVars();?>
<script src="<?php echo $jsRoot;?>jquery/lib.js" type="text/javascript"></script>
<script src="<?php echo $jsRoot;?>my.js" type="text/javascript"></script>
<link rel='stylesheet' href='<?php echo $clientTheme . 'yui.css';?>' type='text/css' media='screen' />
<link rel='stylesheet' href='<?php echo $clientTheme . 'style.css';?>' type='text/css' media='screen' />
<link rel='icon' href='<?php echo $webRoot;?>favicon.ico' type="image/x-icon" />
<link rel='shortcut icon' href='<?php echo $webRoot;?>favicon.ico' type='image/x-icon' />
<script type="text/javascript">loadFixedCSS();</script>
</head>
<body>

View File

@@ -20,6 +20,8 @@ $themeRoot = $webRoot . "theme/";
<script src="<?php echo $jsRoot;?>my.js" type="text/javascript"></script>
<link rel='stylesheet' href='<?php echo $clientTheme . 'yui.css';?>' type='text/css' media='screen' />
<link rel='stylesheet' href='<?php echo $clientTheme . 'style.css';?>' type='text/css' media='screen' />
<link rel='icon' href='<?php echo $webRoot;?>favicon.ico' type="image/x-icon" />
<link rel='shortcut icon' href='<?php echo $webRoot;?>favicon.ico' type='image/x-icon' />
<script type="text/javascript">loadFixedCSS();</script>
</head>
<body>