From a3c87d4a97b4ffec9c5884c3951e42eabcbf4647 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 17 Jun 2010 09:32:58 +0000 Subject: [PATCH] * convert to utf-8. --- trunk/bin/build.php | 26 +++--- trunk/bin/ztcli | 18 ++--- trunk/module/action/view/trash.html.php | 2 +- .../module/admin/view/browsecompany.html.php | 2 +- trunk/module/bug/view/activate.html.php | 2 +- trunk/module/bug/view/close.html.php | 2 +- trunk/module/bug/view/index.html.php | 2 +- trunk/module/bug/view/report.html.php | 2 +- trunk/module/bug/view/resolve.html.php | 2 +- trunk/module/bug/view/sendmail.html.php | 2 +- trunk/module/bug/view/view.html.php | 2 +- trunk/module/build/view/create.html.php | 2 +- trunk/module/build/view/edit.html.php | 2 +- trunk/module/build/view/view.html.php | 2 +- trunk/module/common/control.php | 74 ++++++++--------- trunk/module/company/model.php | 20 ++--- trunk/module/company/view/browse.html.php | 2 +- trunk/module/company/view/create.html.php | 2 +- trunk/module/company/view/edit.html.php | 2 +- trunk/module/convert/converter/bugfree.php | 14 ++-- trunk/module/convert/converter/bugfree1.php | 44 +++++----- trunk/module/convert/converter/bugfree2.php | 68 ++++++++-------- .../module/convert/view/checkconfig.html.php | 2 +- trunk/module/convert/view/execute.html.php | 2 +- trunk/module/convert/view/index.html.php | 2 +- .../module/convert/view/selectsource.html.php | 2 +- trunk/module/convert/view/setconfig.html.php | 2 +- trunk/module/dept/view/browse.html.php | 2 +- trunk/module/dept/view/create.html.php | 2 +- trunk/module/dept/view/edit.html.php | 2 +- trunk/module/group/view/browse.html.php | 2 +- trunk/module/group/view/copy.html.php | 2 +- trunk/module/group/view/create.html.php | 2 +- trunk/module/group/view/edit.html.php | 2 +- trunk/module/group/view/index.html.php | 2 +- trunk/module/group/view/managemember.html.php | 2 +- trunk/module/group/view/managepriv.html.php | 2 +- trunk/module/index/control.php | 6 +- trunk/module/index/model.php | 2 +- trunk/module/index/view/index.html.php | 2 +- trunk/module/install/view/index.html.php | 2 +- trunk/module/install/view/step1.html.php | 2 +- trunk/module/install/view/step2.html.php | 2 +- trunk/module/install/view/step4.html.php | 2 +- trunk/module/misc/model.php | 2 +- trunk/module/my/view/bug.html.php | 2 +- trunk/module/my/view/editprofile.html.php | 2 +- trunk/module/my/view/profile.html.php | 2 +- trunk/module/my/view/project.html.php | 2 +- trunk/module/my/view/story.html.php | 2 +- trunk/module/my/view/task.html.php | 2 +- trunk/module/my/view/team.html.php | 2 +- trunk/module/my/view/todo.html.php | 2 +- trunk/module/product/model.php | 26 +++--- trunk/module/product/view/create.html.php | 2 +- trunk/module/product/view/edit.html.php | 2 +- trunk/module/product/view/roadmap.html.php | 2 +- trunk/module/product/view/view.html.php | 2 +- trunk/module/productplan/view/browse.html.php | 2 +- trunk/module/productplan/view/create.html.php | 2 +- trunk/module/productplan/view/edit.html.php | 2 +- .../productplan/view/linkstory.html.php | 2 +- trunk/module/productplan/view/view.html.php | 2 +- trunk/module/project/view/browse.html.php | 2 +- trunk/module/project/view/bug.html.php | 2 +- trunk/module/project/view/build.html.php | 2 +- trunk/module/project/view/burn.html.php | 2 +- trunk/module/project/view/create.html.php | 2 +- trunk/module/project/view/edit.html.php | 2 +- trunk/module/project/view/grouptask.html.php | 2 +- trunk/module/project/view/importtask.html.php | 2 +- trunk/module/project/view/index.html.php | 2 +- trunk/module/project/view/linkstory.html.php | 2 +- .../module/project/view/managechilds.html.php | 2 +- .../project/view/managemembers.html.php | 2 +- .../project/view/manageproducts.html.php | 2 +- trunk/module/project/view/story.html.php | 2 +- trunk/module/project/view/task.html.php | 2 +- trunk/module/project/view/team.html.php | 2 +- trunk/module/project/view/view.html.php | 2 +- trunk/module/qa/control.php | 2 +- trunk/module/qa/view/index.html.php | 2 +- trunk/module/release/view/browse.html.php | 2 +- trunk/module/release/view/create.html.php | 2 +- trunk/module/release/view/edit.html.php | 2 +- trunk/module/release/view/view.html.php | 2 +- trunk/module/report/control.php | 2 +- trunk/module/search/control.php | 2 +- trunk/module/story/view/activate.html.php | 2 +- trunk/module/story/view/change.html.php | 2 +- trunk/module/story/view/close.html.php | 2 +- trunk/module/story/view/create.html.php | 2 +- trunk/module/story/view/edit.html.php | 2 +- trunk/module/story/view/review.html.php | 2 +- trunk/module/story/view/sendmail.html.php | 2 +- trunk/module/story/view/view.html.php | 2 +- trunk/module/task/view/browse.html.php | 2 +- trunk/module/task/view/edit.html.php | 2 +- trunk/module/task/view/import.html.php | 2 +- trunk/module/task/view/view.html.php | 2 +- trunk/module/testcase/view/create.html.php | 2 +- trunk/module/testcase/view/edit.html.php | 2 +- trunk/module/testcase/view/index.html.php | 2 +- trunk/module/testcase/view/view.html.php | 2 +- trunk/module/testtask/view/browse.html.php | 2 +- trunk/module/testtask/view/cases.html.php | 2 +- trunk/module/testtask/view/create.html.php | 2 +- trunk/module/testtask/view/edit.html.php | 2 +- trunk/module/testtask/view/linkcase.html.php | 2 +- trunk/module/testtask/view/results.html.php | 2 +- trunk/module/testtask/view/runcase.html.php | 2 +- trunk/module/testtask/view/view.html.php | 2 +- trunk/module/todo/view/create.html.php | 2 +- trunk/module/todo/view/edit.html.php | 2 +- trunk/module/todo/view/view.html.php | 2 +- trunk/module/tree/view/browse.html.php | 2 +- trunk/module/tree/view/create.html.php | 2 +- trunk/module/tree/view/edit.html.php | 2 +- trunk/module/upgrade/view/confirm.html.php | 2 +- trunk/module/upgrade/view/execute.html.php | 2 +- trunk/module/upgrade/view/index.html.php | 2 +- .../upgrade/view/selectversion.html.php | 2 +- trunk/module/user/control.php | 80 +++++++++---------- trunk/module/user/model.php | 44 +++++----- trunk/module/user/view/bug.html.php | 2 +- trunk/module/user/view/create.html.php | 2 +- trunk/module/user/view/deny.html.php | 2 +- trunk/module/user/view/edit.html.php | 2 +- trunk/module/user/view/profile.html.php | 2 +- trunk/module/user/view/project.html.php | 2 +- trunk/module/user/view/story.html.php | 2 +- trunk/module/user/view/task.html.php | 2 +- trunk/module/user/view/team.html.php | 2 +- trunk/module/user/view/todo.html.php | 2 +- trunk/module/user/view/view.html.php | 2 +- trunk/www/index.php | 30 +++---- trunk/www/install.php | 20 ++--- trunk/www/upgrade.php | 20 ++--- 138 files changed, 369 insertions(+), 369 deletions(-) diff --git a/trunk/bin/build.php b/trunk/bin/build.php index 37979c5bb4..ceb57a1d27 100644 --- a/trunk/bin/build.php +++ b/trunk/bin/build.php @@ -1,13 +1,13 @@ -1. 修改zentaophp中的version number,打tag。 -2. 修改zentaoms中的version - config.php中的version. - install中的version。 -3. 修改升级程序。(版本列表。) -4. 打包zentaoms。 -5. 合并目录。 -6. 修改www/index.php中的包含路径。 -7. 导出新的数据库。 grep -v '\-\-' /mnt/c/zentao.sql |grep -v ^$ |sed "s/DROP/\-\- DROP/" >zentao.sql -8. zip包。 -9. windows包。 -10. 上传文件。 -11. 撰写升级声明。 +1. 淇敼zentaophp涓殑version number锛屾墦tag銆 +2. 淇敼zentaoms涓殑version + config.php涓殑version. + install涓殑version銆 +3. 淇敼鍗囩骇绋嬪簭銆(鐗堟湰鍒楄〃銆) +4. 鎵撳寘zentaoms銆 +5. 鍚堝苟鐩綍銆 +6. 淇敼www/index.php涓殑鍖呭惈璺緞銆 +7. 瀵煎嚭鏂扮殑鏁版嵁搴撱 grep -v '\-\-' /mnt/c/zentao.sql |grep -v ^$ |sed "s/DROP/\-\- DROP/" >zentao.sql +8. zip鍖呫 +9. windows鍖呫 +10. 涓婁紶鏂囦欢銆 +11. 鎾板啓鍗囩骇澹版槑銆 diff --git a/trunk/bin/ztcli b/trunk/bin/ztcli index d44074dca1..a3fc2143ed 100755 --- a/trunk/bin/ztcli +++ b/trunk/bin/ztcli @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoPMS. If not, see . * - * @copyright Copyright: 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright: 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoPMS * @version $Id$ @@ -25,45 +25,45 @@ error_reporting(0); define('IN_SHELL', true); -/* 获取命令参数。 */ +/* 鑾峰彇鍛戒护鍙傛暟銆 */ if($argc != 2) { die('Usage: ' . basename(__FILE__) . " \n"); } -/* 包含必须的类文件。*/ +/* 鍖呭惈蹇呴』鐨勭被鏂囦欢銆*/ chdir(dirname(__FILE__)); include '../framework/router.class.php'; include '../framework/control.class.php'; include '../framework/model.class.php'; include '../framework/helper.class.php'; -/* 实例化路由对象,并加载配置,连接到数据库。*/ +/* 瀹炰緥鍖栬矾鐢卞璞★紝骞跺姞杞介厤缃紝杩炴帴鍒版暟鎹簱銆*/ $app = router::createApp('pms', dirname(dirname(__FILE__))); $config = $app->loadConfig('common'); $app->setDebug(); $dbh = $app->connectDB(); -/* 将输入的参数解析成对于的变量。*/ +/* 灏嗚緭鍏ョ殑鍙傛暟瑙f瀽鎴愬浜庣殑鍙橀噺銆*/ $request = parse_url(trim($argv[1])); $_SERVER['HTTP_HOST'] = $request['host']; $_SERVER['PATH_INFO'] = str_replace($config->webRoot, '', $request['path']); $_SERVER['REQUEST_URI'] = isset($request['query']) ? $request['query'] : ''; if(isset($request['query'])) parse_str($request['query'], $_GET); -/* 设置时区。*/ +/* 璁剧疆鏃跺尯銆*/ $app->setTimezone(); -/* 设置终端使用的语言,并加载共用的模块。*/ +/* 璁剧疆缁堢浣跨敤鐨勮瑷锛屽苟鍔犺浇鍏辩敤鐨勬ā鍧椼*/ $app->setClientLang('zh-cn'); $lang = $app->loadLang('common'); $common = $app->loadCommon(); -/* 加载相应的lib文件,并设置超全局变量的引用。*/ +/* 鍔犺浇鐩稿簲鐨刲ib鏂囦欢锛屽苟璁剧疆瓒呭叏灞鍙橀噺鐨勫紩鐢ㄣ*/ $app->loadClass('front', $static = true); $app->loadClass('filter', $static = true); $app->setSuperVars(); -/* 解析请求,加载模块。*/ +/* 瑙f瀽璇锋眰锛屽姞杞芥ā鍧椼*/ $app->parseRequest(); $app->loadModule(); diff --git a/trunk/module/action/view/trash.html.php b/trunk/module/action/view/trash.html.php index 059d1b71a9..7cac5f6828 100644 --- a/trunk/module/action/view/trash.html.php +++ b/trunk/module/action/view/trash.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package action * @version $Id$ diff --git a/trunk/module/admin/view/browsecompany.html.php b/trunk/module/admin/view/browsecompany.html.php index 3c120678e1..2f73c37af7 100644 --- a/trunk/module/admin/view/browsecompany.html.php +++ b/trunk/module/admin/view/browsecompany.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package admin * @version $Id$ diff --git a/trunk/module/bug/view/activate.html.php b/trunk/module/bug/view/activate.html.php index 84f00ea023..a0d2807972 100644 --- a/trunk/module/bug/view/activate.html.php +++ b/trunk/module/bug/view/activate.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/bug/view/close.html.php b/trunk/module/bug/view/close.html.php index 50cae3464e..89e032211d 100644 --- a/trunk/module/bug/view/close.html.php +++ b/trunk/module/bug/view/close.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/bug/view/index.html.php b/trunk/module/bug/view/index.html.php index cb4cb2c979..306624e1dc 100644 --- a/trunk/module/bug/view/index.html.php +++ b/trunk/module/bug/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/bug/view/report.html.php b/trunk/module/bug/view/report.html.php index 117e9002cc..4826f11577 100644 --- a/trunk/module/bug/view/report.html.php +++ b/trunk/module/bug/view/report.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/bug/view/resolve.html.php b/trunk/module/bug/view/resolve.html.php index c57073bdf4..29fa6c834b 100644 --- a/trunk/module/bug/view/resolve.html.php +++ b/trunk/module/bug/view/resolve.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/bug/view/sendmail.html.php b/trunk/module/bug/view/sendmail.html.php index 519fe374b3..d90a1e2963 100644 --- a/trunk/module/bug/view/sendmail.html.php +++ b/trunk/module/bug/view/sendmail.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/bug/view/view.html.php b/trunk/module/bug/view/view.html.php index af3eb204f5..d2d8e534f8 100644 --- a/trunk/module/bug/view/view.html.php +++ b/trunk/module/bug/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/build/view/create.html.php b/trunk/module/build/view/create.html.php index da4429a737..f3713535a6 100644 --- a/trunk/module/build/view/create.html.php +++ b/trunk/module/build/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package build * @version $Id$ diff --git a/trunk/module/build/view/edit.html.php b/trunk/module/build/view/edit.html.php index d001763e0d..55a0cf5139 100644 --- a/trunk/module/build/view/edit.html.php +++ b/trunk/module/build/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package build * @version $Id$ diff --git a/trunk/module/build/view/view.html.php b/trunk/module/build/view/view.html.php index 59aab08f10..b230ebbf5e 100644 --- a/trunk/module/build/view/view.html.php +++ b/trunk/module/build/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package build * @version $Id$ diff --git a/trunk/module/common/control.php b/trunk/module/common/control.php index 2b58811076..6fcc094c19 100644 --- a/trunk/module/common/control.php +++ b/trunk/module/common/control.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package common * @version $Id$ @@ -24,7 +24,7 @@ class common extends control { /** - * 构造函数:启动会话,加载公司模块,并设置公司信息。 + * 鏋勯犲嚱鏁帮細鍚姩浼氳瘽锛屽姞杞藉叕鍙告ā鍧楋紝骞惰缃叕鍙镐俊鎭 * * @access public * @return void @@ -40,7 +40,7 @@ class common extends control } /** - * 检查用户对当前的请求有没有权限。如果没有权限,则跳转到登陆界面。 + * 妫鏌ョ敤鎴峰褰撳墠鐨勮姹傛湁娌℃湁鏉冮檺銆傚鏋滄病鏈夋潈闄愶紝鍒欒烦杞埌鐧婚檰鐣岄潰銆 * * @access public * @return void @@ -96,22 +96,22 @@ EOT; } } - /* 检查当前用户对某一个模块的某一个访问是否有权限访问。*/ + /* 妫鏌ュ綋鍓嶇敤鎴峰鏌愪竴涓ā鍧楃殑鏌愪竴涓闂槸鍚︽湁鏉冮檺璁块棶銆*/ public static function hasPriv($module, $method) { global $app; - /* 检查是否是管理员。*/ + /* 妫鏌ユ槸鍚︽槸绠$悊鍛樸*/ $account = ',' . $app->user->account . ','; if(strpos($app->company->admins, $account) !== false) return true; - /* 非管理员,则检查权限列表中是否存在。*/ + /* 闈炵鐞嗗憳锛屽垯妫鏌ユ潈闄愬垪琛ㄤ腑鏄惁瀛樺湪銆*/ $rights = $app->user->rights; if(isset($rights[strtolower($module)][strtolower($method)])) return true; return false; } - /* 打印顶部的条形区域。*/ + /* 鎵撳嵃椤堕儴鐨勬潯褰㈠尯鍩熴*/ public static function printTopBar() { global $lang, $app; @@ -130,7 +130,7 @@ EOT; echo html::a(helper::createLink('misc', 'about'), $lang->aboutZenTao, '', "class='about'"); } - /* 打印主菜单。*/ + /* 鎵撳嵃涓昏彍鍗曘*/ public static function printMainmenu($moduleName) { global $app, $lang; @@ -138,11 +138,11 @@ EOT; echo "
    \n"; echo "
  • \n"; - /* 设定当前的主菜单项。默认先取当前的模块名,如果有该模块所对应的菜单分组,则取分组名作为主菜单项。*/ + /* 璁惧畾褰撳墠鐨勪富鑿滃崟椤广傞粯璁ゅ厛鍙栧綋鍓嶇殑妯″潡鍚嶏紝濡傛灉鏈夎妯″潡鎵瀵瑰簲鐨勮彍鍗曞垎缁勶紝鍒欏彇鍒嗙粍鍚嶄綔涓轰富鑿滃崟椤广*/ $mainMenu = $moduleName; if(isset($lang->menugroup->$moduleName)) $mainMenu = $lang->menugroup->$moduleName; - /* 循环打印主菜单。*/ + /* 寰幆鎵撳嵃涓昏彍鍗曘*/ foreach($lang->menu as $menuKey => $menu) { $active = $menuKey == $mainMenu ? 'class=active' : ''; @@ -155,7 +155,7 @@ EOT; } } - /* 打印搜索框。*/ + /* 鎵撳嵃鎼滅储妗嗐*/ $moduleName = $app->getModuleName(); $methodName = $app->getMethodName(); $searchObject = $moduleName; @@ -180,26 +180,26 @@ EOT; echo "
\n"; } - /* 打印模块的菜单。*/ + /* 鎵撳嵃妯″潡鐨勮彍鍗曘*/ public static function printModuleMenu($moduleName) { global $lang, $app; - /* 没有设置菜单,直接退出。*/ + /* 娌℃湁璁剧疆鑿滃崟锛岀洿鎺ラ鍑恒*/ if(!isset($lang->$moduleName->menu)) {echo "
    "; return;} - /* 获得菜单设置,并记录当前的模块名和方法名。*/ + /* 鑾峰緱鑿滃崟璁剧疆锛屽苟璁板綍褰撳墠鐨勬ā鍧楀悕鍜屾柟娉曞悕銆*/ $submenus = $lang->$moduleName->menu; $currentModule = $app->getModuleName(); $currentMethod = $app->getMethodName(); - /* 菜单开始。*/ + /* 鑿滃崟寮濮嬨*/ echo "
      \n"; - /* 循环处理每一个菜单项。*/ + /* 寰幆澶勭悊姣忎竴涓彍鍗曢」銆*/ foreach($submenus as $submenu) { - /* 初始化设置。*/ + /* 鍒濆鍖栬缃*/ $link = $submenu; $subModule = ''; $alias = ''; @@ -207,10 +207,10 @@ EOT; $active = ''; $target = ''; - /* 如果该菜单是以数组的形式配置的,则覆盖上面的默认设置。*/ + /* 濡傛灉璇ヨ彍鍗曟槸浠ユ暟缁勭殑褰㈠紡閰嶇疆鐨勶紝鍒欒鐩栦笂闈㈢殑榛樿璁剧疆銆*/ if(is_array($submenu)) extract($submenu); - /* 打印菜单。*/ + /* 鎵撳嵃鑿滃崟銆*/ if(strpos($link, '|') === false) { echo "
    • $link
    • \n"; @@ -224,7 +224,7 @@ EOT; { global $app; - /* 判断是否应该设置激活。*/ + /* 鍒ゆ柇鏄惁搴旇璁剧疆婵娲汇*/ if($currentModule == $subModule) $active = 'active'; if($module == $currentModule and ($method == $currentMethod or strpos($alias, $currentMethod) !== false)) $active = 'active'; @@ -235,7 +235,7 @@ EOT; echo "
    \n"; } - /* 打印面包屑导航。*/ + /* 鎵撳嵃闈㈠寘灞戝鑸*/ public static function printBreadMenu($moduleName, $position) { global $lang; @@ -261,7 +261,7 @@ EOT; } } - /* 设置菜单的参数。*/ + /* 璁剧疆鑿滃崟鐨勫弬鏁般*/ public function setMenuVars($menu, $key, $params) { if(is_array($params)) @@ -292,7 +292,7 @@ EOT; } } - /* 打印带有orderby的链接。 */ + /* 鎵撳嵃甯︽湁orderby鐨勯摼鎺ャ */ public static function printOrderLink($fieldName, $orderBy, $vars, $label, $module = '', $method = '') { global $lang, $app; @@ -320,7 +320,7 @@ EOT; echo "
    " . html::a($link, $label) . '
    '; } - /* 打印链接,会检查权限*/ + /* 鎵撳嵃閾炬帴锛屼細妫鏌ユ潈闄*/ public static function printLink($module, $method, $vars = '', $label, $target = '', $misc = '') { if(!common::hasPriv($module, $method)) return false; @@ -329,12 +329,12 @@ EOT; } /** - * 设置当前访问的公司信息。 + * 璁剧疆褰撳墠璁块棶鐨勫叕鍙镐俊鎭 * - * 首先尝试按照当前访问的域名查找对应的公司信息, - * 如果无法查到,再按照默认的域名进行查找。 - * 如果还无法查到,则取第一个公司作为默认的公司。 - * 获取公司信息之后,将其写入到$_SESSION中。 + * 棣栧厛灏濊瘯鎸夌収褰撳墠璁块棶鐨勫煙鍚嶆煡鎵惧搴旂殑鍏徃淇℃伅锛 + * 濡傛灉鏃犳硶鏌ュ埌锛屽啀鎸夌収榛樿鐨勫煙鍚嶈繘琛屾煡鎵俱 + * 濡傛灉杩樻棤娉曟煡鍒帮紝鍒欏彇绗竴涓叕鍙镐綔涓洪粯璁ょ殑鍏徃銆 + * 鑾峰彇鍏徃淇℃伅涔嬪悗锛屽皢鍏跺啓鍏ュ埌$_SESSION涓 * * @access public * @return void @@ -364,7 +364,7 @@ EOT; } /** - * 设置当前访问的用户信息。 + * 璁剧疆褰撳墠璁块棶鐨勭敤鎴蜂俊鎭 * * @access public * @return void @@ -387,7 +387,7 @@ EOT; } } - /* 保存最后浏览的产品id到session会话中。*/ + /* 淇濆瓨鏈鍚庢祻瑙堢殑浜у搧id鍒皊ession浼氳瘽涓*/ public static function saveProductState($productID, $defaultProductID) { global $app; @@ -396,7 +396,7 @@ EOT; return $app->session->product; } - /* 保存最后浏览的项目id到session会话中。*/ + /* 淇濆瓨鏈鍚庢祻瑙堢殑椤圭洰id鍒皊ession浼氳瘽涓*/ public static function saveProjectState($projectID, $projects) { global $app; @@ -407,7 +407,7 @@ EOT; } /** - * 发送header信息到浏览器。 + * 鍙戦乭eader淇℃伅鍒版祻瑙堝櫒銆 * * @access public * @return void @@ -418,7 +418,7 @@ EOT; header("Cache-control: private"); } - /* 比较两个数组元素的不同,产生修改记录。*/ + /* 姣旇緝涓や釜鏁扮粍鍏冪礌鐨勪笉鍚岋紝浜х敓淇敼璁板綍銆*/ public static function createChanges($old, $new) { global $config; @@ -441,7 +441,7 @@ EOT; return $changes; } - /* 比较两个字符串的不同。摘自PHPQAT自动化测试框架。*/ + /* 姣旇緝涓や釜瀛楃涓茬殑涓嶅悓銆傛憳鑷狿HPQAT鑷姩鍖栨祴璇曟鏋躲*/ public static function diff($text1, $text2) { $w = explode("\n", trim($text1)); @@ -457,7 +457,7 @@ EOT; return implode("\n", $diff); } - /* 获得系统URL地址。*/ + /* 鑾峰緱绯荤粺URL鍦板潃銆*/ public function getSysURL() { global $config; @@ -471,7 +471,7 @@ EOT; return "$httpType://$httpHost"; } - /* 获得系统默认的样式表。*/ + /* 鑾峰緱绯荤粺榛樿鐨勬牱寮忚〃銆*/ public function getDefaultCss() { global $app; diff --git a/trunk/module/company/model.php b/trunk/module/company/model.php index 2ced1221cb..3903919dad 100644 --- a/trunk/module/company/model.php +++ b/trunk/module/company/model.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package company * @version $Id$ @@ -25,29 +25,29 @@ lang->company->menu, 'name', array($this->app->company->name)); common::setMenuVars($this->lang->company->menu, 'addUser', array($dept)); } - /* 获得公司列表。*/ + /* 鑾峰緱鍏徃鍒楄〃銆*/ public function getList() { return $this->dao->select('*')->from(TABLE_COMPANY)->fetchAll(); } - /* 获得第一个公司。*/ + /* 鑾峰緱绗竴涓叕鍙搞*/ public function getFirst() { return $this->dao->select('*')->from(TABLE_COMPANY)->orderBy('id')->limit(1)->fetch(); } /** - * 通过域名查找公司信息。 + * 閫氳繃鍩熷悕鏌ユ壘鍏徃淇℃伅銆 * - * @param string $domain 访问的域名,如果为空,则取HTTP_HOST变量。 + * @param string $domain 璁块棶鐨勫煙鍚嶏紝濡傛灉涓虹┖锛屽垯鍙朒TTP_HOST鍙橀噺銆 * @access public * @return object */ @@ -57,13 +57,13 @@ class companyModel extends model return $this->dao->findByPMS($domain)->from(TABLE_COMPANY)->fetch(); } - /* 通过id获取公司信息。*/ + /* 閫氳繃id鑾峰彇鍏徃淇℃伅銆*/ public function getByID($companyID = '') { return $this->dao->findById((int)$companyID)->from(TABLE_COMPANY)->fetch(); } - /* 新增一个公司。*/ + /* 鏂板涓涓叕鍙搞*/ public function create() { $company = fixer::input('post')->get(); @@ -75,7 +75,7 @@ class companyModel extends model ->exec(); } - /* 更新一个公司信息。*/ + /* 鏇存柊涓涓叕鍙镐俊鎭*/ public function update() { $company = fixer::input('post')->get(); @@ -89,7 +89,7 @@ class companyModel extends model ->exec(); } - /* 删除一个公司。*/ + /* 鍒犻櫎涓涓叕鍙搞*/ public function delete($companyID) { return $this->dao->delete()->from(TABLE_COMPANY)->where('id')->eq((int)$companyID)->limit(1)->exec(); diff --git a/trunk/module/company/view/browse.html.php b/trunk/module/company/view/browse.html.php index d692d070d4..88cf89b8f5 100644 --- a/trunk/module/company/view/browse.html.php +++ b/trunk/module/company/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/company/view/create.html.php b/trunk/module/company/view/create.html.php index e86ea6be62..2f9c5277cb 100644 --- a/trunk/module/company/view/create.html.php +++ b/trunk/module/company/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package company * @version $Id$ diff --git a/trunk/module/company/view/edit.html.php b/trunk/module/company/view/edit.html.php index af8a3da79a..8c754370c3 100644 --- a/trunk/module/company/view/edit.html.php +++ b/trunk/module/company/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package company * @version $Id$ diff --git a/trunk/module/convert/converter/bugfree.php b/trunk/module/convert/converter/bugfree.php index 5c84a3e436..69c376bd4c 100644 --- a/trunk/module/convert/converter/bugfree.php +++ b/trunk/module/convert/converter/bugfree.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package convert * @version $Id$ @@ -27,38 +27,38 @@ class bugfreeConvertModel extends convertModel public $filePath = ''; static public $info = array(); - /* 构造函数,连接到数据库。*/ + /* 鏋勯犲嚱鏁帮紝杩炴帴鍒版暟鎹簱銆*/ public function __construct() { parent::__construct(); parent::connectDB(); } - /* 检查Tables。*/ + /* 妫鏌ables銆*/ public function checkTables() { return true; } - /* 检查安装路径。*/ + /* 妫鏌ュ畨瑁呰矾寰勩*/ public function checkPath() { $this->setPath(); return file_exists($this->filePath); } - /* 设置附件路径。*/ + /* 璁剧疆闄勪欢璺緞銆*/ public function setPath() { $this->filePath = realpath($this->post->installPath) . $this->app->getPathFix() . 'BugFile' . $this->app->getPathFix(); } - /* 执行转换。*/ + /* 鎵ц杞崲銆*/ public function execute($version) { } - /* 清空导入之后的数据。*/ + /* 娓呯┖瀵煎叆涔嬪悗鐨勬暟鎹*/ public function clear() { foreach($this->session->state as $table => $maxID) diff --git a/trunk/module/convert/converter/bugfree1.php b/trunk/module/convert/converter/bugfree1.php index 20773c744a..46ab4883c8 100644 --- a/trunk/module/convert/converter/bugfree1.php +++ b/trunk/module/convert/converter/bugfree1.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package convert * @version $Id$ @@ -23,7 +23,7 @@ */ class bugfree1ConvertModel extends bugfreeConvertModel { - /* 执行转换。*/ + /* 鎵ц杞崲銆*/ public function execute() { $this->clear(); @@ -38,7 +38,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel return $result; } - /* 转换用户分组。*/ + /* 杞崲鐢ㄦ埛鍒嗙粍銆*/ public function convertGroup() { $groups = $this->dao->dbh($this->sourceDBH) @@ -47,16 +47,16 @@ class bugfree1ConvertModel extends bugfreeConvertModel ->fetchAll('id', $autoCompany = false); foreach($groups as $groupID => $group) { - /* 将分组用户拆分成数组。*/ + /* 灏嗗垎缁勭敤鎴锋媶鍒嗘垚鏁扮粍銆*/ $groupUsers = explode(',', $group->users); unset($group->id); unset($group->users); - /* 插入到group表中。*/ + /* 鎻掑叆鍒癵roup琛ㄤ腑銆*/ $this->dao->dbh($this->dbh)->insert(TABLE_GROUP)->data($group)->exec(); $zentaoGroupID = $this->dao->lastInsertId(); - /* 设置账户和group的对应关系。*/ + /* 璁剧疆璐︽埛鍜実roup鐨勫搴斿叧绯汇*/ foreach($groupUsers as $account) { if(empty($account)) continue; @@ -65,10 +65,10 @@ class bugfree1ConvertModel extends bugfreeConvertModel } } - /* 转换用户。*/ + /* 杞崲鐢ㄦ埛銆*/ public function convertUser() { - /* 查询当前系统中存在的用户。*/ + /* 鏌ヨ褰撳墠绯荤粺涓瓨鍦ㄧ殑鐢ㄦ埛銆*/ $activeUsers = $this->dao ->dbh($this->sourceDBH) ->select("username AS account, userpassword AS password, realname, email") @@ -76,10 +76,10 @@ class bugfree1ConvertModel extends bugfreeConvertModel ->orderBy('userID ASC') ->fetchAll('account', $autoCompany = false); - /* 查找曾经出现过的用户。*/ + /* 鏌ユ壘鏇剧粡鍑虹幇杩囩殑鐢ㄦ埛銆*/ $allUsers = $this->dao->select("distinct(username) AS account")->from('BugHistory')->fetchPairs('', '', $autoCompany = false); - /* 合并二者。*/ + /* 鍚堝苟浜岃呫*/ foreach($allUsers as $key => $account) { if(isset($activeUsers[$account])) @@ -93,7 +93,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel } foreach($activeUsers as $account => $user) if(!isset($allUsers[$account])) $allUsers[$account] = $user; - /* 导入到zentao数据库中。*/ + /* 瀵煎叆鍒皕entao鏁版嵁搴撲腑銆*/ $convertCount = 0; foreach($allUsers as $account => $user) { @@ -110,7 +110,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel return $convertCount; } - /* 转换项目为产品。*/ + /* 杞崲椤圭洰涓轰骇鍝併*/ public function convertProject() { $projects = $this->dao->dbh($this->sourceDBH)->select("projectID AS id, projectName AS name")->from('BugProject')->fetchAll('id', $autoCompany = false); @@ -123,7 +123,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel return count($projects); } - /* 转换原来的模块为Bug视图模块。*/ + /* 杞崲鍘熸潵鐨勬ā鍧椾负Bug瑙嗗浘妯″潡銆*/ public function convertModule() { $this->map['module'][0] = 0; @@ -147,7 +147,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel $this->map['module'][$moduleID] = $this->dao->lastInsertID(); } - /* 更新parent。*/ + /* 鏇存柊parent銆*/ foreach($modules as $oldModuleID => $module) { $newModuleID = $this->map['module'][$oldModuleID]; @@ -157,7 +157,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel return count($modules); } - /* 转换Bug。*/ + /* 杞崲Bug銆*/ public function convertBug() { $bugs = $this->dao @@ -184,7 +184,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel ->fetchAll('id', $autoCompany = false); foreach($bugs as $bugID => $bug) { - /* 修正Bug数据。*/ + /* 淇Bug鏁版嵁銆*/ $bugID = (int)$bugID; unset($bug->id); if($bug->assignedTo == 'Closed') $bug->assignedTo = 'closed'; @@ -198,7 +198,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel $this->map['bug'][$bugID] = $this->dao->lastInsertID(); } - /* 更新duplicateBug。 */ + /* 鏇存柊duplicateBug銆 */ foreach($this->map['bug'] as $oldBugID => $newBugID) { $this->dao->dbh($this->dbh)->update(TABLE_BUG)->set('duplicateBug')->eq($newBugID)->where('duplicateBug')->eq($oldBugID)->exec(); @@ -206,7 +206,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel return count($bugs); } - /* 转换历史记录。*/ + /* 杞崲鍘嗗彶璁板綍銆*/ public function convertAction() { $actions = $this->dao @@ -224,11 +224,11 @@ class bugfree1ConvertModel extends bugfreeConvertModel $convertCount = 0; foreach($actions as $bugID => $bugActions) { - /* 获得转换之后的bugID。*/ + /* 鑾峰緱杞崲涔嬪悗鐨刡ugID銆*/ $bugID = (int)$bugID; $zentaoBugID = $this->map['bug'][$bugID]; - /* 处理action。*/ + /* 澶勭悊action銆*/ foreach($bugActions as $key => $action) { $action->objectID = $zentaoBugID; @@ -244,7 +244,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel return $convertCount; } - /* 转换附件。*/ + /* 杞崲闄勪欢銆*/ public function convertFile() { $this->setPath(); @@ -269,7 +269,7 @@ class bugfree1ConvertModel extends bugfreeConvertModel if(strpos($file->size, 'MB')) $file->size = (int)(str_replace('MB', '', $file->size) * 1024 * 1024); $this->dao->dbh($this->dbh)->insert(TABLE_FILE)->data($file)->exec(); - /* 拷贝文件。*/ + /* 鎷疯礉鏂囦欢銆*/ $soureFile = $this->filePath . $file->pathname; if(!file_exists($soureFile)) { diff --git a/trunk/module/convert/converter/bugfree2.php b/trunk/module/convert/converter/bugfree2.php index 6390af52f5..5e8625817f 100644 --- a/trunk/module/convert/converter/bugfree2.php +++ b/trunk/module/convert/converter/bugfree2.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package convert * @version $Id$ @@ -23,7 +23,7 @@ */ class bugfree2ConvertModel extends bugfreeConvertModel { - /* 执行转换。*/ + /* 鎵ц杞崲銆*/ public function execute() { $this->clear(); @@ -41,7 +41,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel return $result; } - /* 设置表名。*/ + /* 璁剧疆琛ㄥ悕銆*/ public function setTable() { $dbPrefix = $this->post->dbPrefix; @@ -57,10 +57,10 @@ class bugfree2ConvertModel extends bugfreeConvertModel define('BUGFREE_TABLE_GROUP', $dbPrefix . 'TestGroup'); } - /* 转换用户。*/ + /* 杞崲鐢ㄦ埛銆*/ public function convertUser() { - /* 获得所有的用户列表。*/ + /* 鑾峰緱鎵鏈夌殑鐢ㄦ埛鍒楄〃銆*/ $users = $this->dao ->dbh($this->sourceDBH) ->select("username AS account, userpassword AS password, realname, email, isDroped AS deleted") @@ -68,7 +68,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel ->orderBy('userID ASC') ->fetchAll('account', $autoCompany = false); - /* 导入到zentao数据库中。*/ + /* 瀵煎叆鍒皕entao鏁版嵁搴撲腑銆*/ $convertCount = 0; foreach($users as $account => $user) { @@ -85,7 +85,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel return $convertCount; } - /* 转换用户分组。*/ + /* 杞崲鐢ㄦ埛鍒嗙粍銆*/ public function convertGroup() { $groups = $this->dao->dbh($this->sourceDBH) @@ -94,17 +94,17 @@ class bugfree2ConvertModel extends bugfreeConvertModel ->fetchAll('id', $autoCompany = false); foreach($groups as $groupID => $group) { - /* 处理group数据。*/ + /* 澶勭悊group鏁版嵁銆*/ if($group->name == '[All Users]') continue; $groupUsers = explode(',', $group->users); unset($group->id); unset($group->users); - /* 插入到group表。*/ + /* 鎻掑叆鍒癵roup琛ㄣ*/ $this->dao->dbh($this->dbh)->insert(TABLE_GROUP)->data($group)->exec(); $zentaoGroupID = $this->dao->lastInsertId(); - /* 插入到userGroup表。*/ + /* 鎻掑叆鍒皍serGroup琛ㄣ*/ foreach($groupUsers as $account) { if(empty($account)) continue; @@ -116,7 +116,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel } } - /* 转换项目为产品。*/ + /* 杞崲椤圭洰涓轰骇鍝併*/ public function convertProject() { $projects = $this->dao->dbh($this->sourceDBH) @@ -132,7 +132,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel return count($projects); } - /* 转换原来的模块为Bug视图模块。*/ + /* 杞崲鍘熸潵鐨勬ā鍧椾负Bug瑙嗗浘妯″潡銆*/ public function convertModule() { $this->map['module'][0] = 0; @@ -158,7 +158,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel $this->map['module'][$moduleID] = $this->dao->lastInsertID(); } - /* 更新parent。*/ + /* 鏇存柊parent銆*/ foreach($modules as $oldModuleID => $module) { $newModuleID = $this->map['module'][$oldModuleID]; @@ -168,7 +168,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel return count($modules); } - /* 转换Bug。*/ + /* 杞崲Bug銆*/ public function convertBug() { $bugs = $this->dao @@ -206,7 +206,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel ->fetchAll('id', $autoCompany = false); foreach($bugs as $bugID => $bug) { - /* 修正Bug数据。*/ + /* 淇Bug鏁版嵁銆*/ $bugID = (int)$bugID; unset($bug->id); @@ -232,7 +232,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel $this->map['bug'][$bugID] = $this->dao->lastInsertID(); } - /* 更新duplicateBug。 */ + /* 鏇存柊duplicateBug銆 */ foreach($this->map['bug'] as $oldBugID => $newBugID) { $this->dao->dbh($this->dbh)->update(TABLE_BUG)->set('duplicateBug')->eq($newBugID)->where('duplicateBug')->eq($oldBugID)->exec(); @@ -240,7 +240,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel return count($bugs); } - /* 转换case。*/ + /* 杞崲case銆*/ public function convertCase() { $cases = $this->dao @@ -270,7 +270,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel ->fetchAll('id', $autoCompany = false); foreach($cases as $caseID => $case) { - /* 修正case的数据。*/ + /* 淇case鐨勬暟鎹*/ $caseID = (int)$caseID; $step = $case->step; $bugs = explode(',', $case->bugID); @@ -288,22 +288,22 @@ class bugfree2ConvertModel extends bugfreeConvertModel if($case->type == 'functional') $case->type = 'feature'; if($case->status == 'active') $case->status = 'normal'; - /* 将产品和模块替换成禅道系统中的id。*/ + /* 灏嗕骇鍝佸拰妯″潡鏇挎崲鎴愮閬撶郴缁熶腑鐨刬d銆*/ $case->product = $this->map['product'][$case->product]; $case->module = $this->map['module'][$case->module]; - /* 插入到case表中。*/ + /* 鎻掑叆鍒癱ase琛ㄤ腑銆*/ $this->dao->dbh($this->dbh)->insert(TABLE_CASE)->data($case)->exec(); $zentaoCaseID = $this->dao->lastInsertID(); $this->map['case'][$caseID] = $zentaoCaseID; - /* 用例步骤表。*/ + /* 鐢ㄤ緥姝ラ琛ㄣ*/ $caseStep->case = $zentaoCaseID; $caseStep->version = 1; $caseStep->desc = $step; $this->dao->dbh($this->dbh)->insert(TABLE_CASESTEP)->data($caseStep)->exec(); - /* 更新相关bug。*/ + /* 鏇存柊鐩稿叧bug銆*/ foreach($bugs as $bugID) { if(!isset($this->map['bug'][$bugID])) continue; @@ -314,7 +314,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel return count($cases); } - /* 转换测试执行结果。*/ + /* 杞崲娴嬭瘯鎵ц缁撴灉銆*/ public function convertResult() { $results = $this->dao->dbh($this->sourceDBH) @@ -333,23 +333,23 @@ class bugfree2ConvertModel extends bugfreeConvertModel { unset($result->id); - /* 记录对应的bug信息。*/ + /* 璁板綍瀵瑰簲鐨刡ug淇℃伅銆*/ $bugID = (int)$result->bugID; $zentaoBugID = $this->map['bug'][$bugID]; unset($result->bugID); - /* 插入到testResult表中。*/ + /* 鎻掑叆鍒皌estResult琛ㄤ腑銆*/ $this->dao->dbh($this->dbh)->insert(TABLE_TESTRESULT)->data($result)->exec(); $zentaoResultID = $this->dao->lastInsertId(); $this->map['result'][$resultID] = $zentaoResultID; - /* 更新bug表中的result字段。*/ + /* 鏇存柊bug琛ㄤ腑鐨剅esult瀛楁銆*/ $this->dao->dbh($this->dbh)->update(TABLE_BUG)->set('result')->eq($zentaoResultID)->where('id')->eq($zentaoBugID)->limit(1)->exec(); } return count($results); } - /* 转换历史记录。*/ + /* 杞崲鍘嗗彶璁板綍銆*/ public function convertAction() { $actions = $this->dao @@ -381,7 +381,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel return count($actions); } - /* 转换历史修改记录。*/ + /* 杞崲鍘嗗彶淇敼璁板綍銆*/ public function convertHistory() { $histories = $this->dao->dbh($this->sourceDBH) @@ -396,7 +396,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel } } - /* 转换附件。*/ + /* 杞崲闄勪欢銆*/ public function convertFile() { $this->setPath(); @@ -413,7 +413,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel ->fetchAll('', $autoCompany = false); foreach($files as $file) { - /* 查找对应的action信息,以获得文件的相关字段。*/ + /* 鏌ユ壘瀵瑰簲鐨刟ction淇℃伅锛屼互鑾峰緱鏂囦欢鐨勭浉鍏冲瓧娈点*/ $zentaoActionID = $this->map['action'][$file->actionID]; $zentaoAction = $this->dao->dbh($this->dbh)->findById($zentaoActionID)->from(TABLE_ACTION)->fetch(); $file->objectType = $zentaoAction->objectType; @@ -422,14 +422,14 @@ class bugfree2ConvertModel extends bugfreeConvertModel $file->addedDate = $zentaoAction->date; unset($file->actionID); - /* 处理文件大小。*/ + /* 澶勭悊鏂囦欢澶у皬銆*/ if(strpos($file->size, 'KB')) $file->size = (int)(str_replace('KB', '', $file->size) * 1024); if(strpos($file->size, 'MB')) $file->size = (int)(str_replace('MB', '', $file->size) * 1024 * 1024); - /* 插入到数据库。*/ + /* 鎻掑叆鍒版暟鎹簱銆*/ $this->dao->dbh($this->dbh)->insert(TABLE_FILE)->data($file)->exec(); - /* 拷贝文件。*/ + /* 鎷疯礉鏂囦欢銆*/ $soureFile = $this->filePath . $file->pathname; if(!file_exists($soureFile)) { @@ -447,7 +447,7 @@ class bugfree2ConvertModel extends bugfreeConvertModel return count($files); } - /* 清空导入之后的数据。*/ + /* 娓呯┖瀵煎叆涔嬪悗鐨勬暟鎹*/ public function clear() { foreach($this->session->state as $table => $maxID) diff --git a/trunk/module/convert/view/checkconfig.html.php b/trunk/module/convert/view/checkconfig.html.php index bdd22301da..0f1a7173e5 100644 --- a/trunk/module/convert/view/checkconfig.html.php +++ b/trunk/module/convert/view/checkconfig.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package convert * @version $Id$ diff --git a/trunk/module/convert/view/execute.html.php b/trunk/module/convert/view/execute.html.php index 353005965d..8c4c444b4e 100644 --- a/trunk/module/convert/view/execute.html.php +++ b/trunk/module/convert/view/execute.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package convert * @version $Id$ diff --git a/trunk/module/convert/view/index.html.php b/trunk/module/convert/view/index.html.php index 6767890835..ce4ab86e21 100644 --- a/trunk/module/convert/view/index.html.php +++ b/trunk/module/convert/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ diff --git a/trunk/module/convert/view/selectsource.html.php b/trunk/module/convert/view/selectsource.html.php index b49e0f14f0..f1815704fe 100644 --- a/trunk/module/convert/view/selectsource.html.php +++ b/trunk/module/convert/view/selectsource.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package convert * @version $Id$ diff --git a/trunk/module/convert/view/setconfig.html.php b/trunk/module/convert/view/setconfig.html.php index 62497a6773..d949b80eb0 100644 --- a/trunk/module/convert/view/setconfig.html.php +++ b/trunk/module/convert/view/setconfig.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package convert * @version $Id$ diff --git a/trunk/module/dept/view/browse.html.php b/trunk/module/dept/view/browse.html.php index 3d696d5188..d08e2d0b1c 100644 --- a/trunk/module/dept/view/browse.html.php +++ b/trunk/module/dept/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dept * @version $Id$ diff --git a/trunk/module/dept/view/create.html.php b/trunk/module/dept/view/create.html.php index 3b4a0543e3..216e9ef933 100644 --- a/trunk/module/dept/view/create.html.php +++ b/trunk/module/dept/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/dept/view/edit.html.php b/trunk/module/dept/view/edit.html.php index df6b3f66c5..d1de542270 100644 --- a/trunk/module/dept/view/edit.html.php +++ b/trunk/module/dept/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/group/view/browse.html.php b/trunk/module/group/view/browse.html.php index de7488c9dc..a0b397f2fa 100644 --- a/trunk/module/group/view/browse.html.php +++ b/trunk/module/group/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package group * @version $Id$ diff --git a/trunk/module/group/view/copy.html.php b/trunk/module/group/view/copy.html.php index 0b6011e001..2a0f3093f8 100644 --- a/trunk/module/group/view/copy.html.php +++ b/trunk/module/group/view/copy.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package group * @version $Id$ diff --git a/trunk/module/group/view/create.html.php b/trunk/module/group/view/create.html.php index 81497e9a6c..2bf27eff44 100644 --- a/trunk/module/group/view/create.html.php +++ b/trunk/module/group/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package group * @version $Id$ diff --git a/trunk/module/group/view/edit.html.php b/trunk/module/group/view/edit.html.php index e9cf5a912a..14162ff672 100644 --- a/trunk/module/group/view/edit.html.php +++ b/trunk/module/group/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package group * @version $Id$ diff --git a/trunk/module/group/view/index.html.php b/trunk/module/group/view/index.html.php index 21cc2a19e3..7859672067 100644 --- a/trunk/module/group/view/index.html.php +++ b/trunk/module/group/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package group * @version $Id$ diff --git a/trunk/module/group/view/managemember.html.php b/trunk/module/group/view/managemember.html.php index 5fdf378dde..a1901ff7b5 100644 --- a/trunk/module/group/view/managemember.html.php +++ b/trunk/module/group/view/managemember.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package group * @version $Id$ diff --git a/trunk/module/group/view/managepriv.html.php b/trunk/module/group/view/managepriv.html.php index 240a978f1a..ed18da586d 100644 --- a/trunk/module/group/view/managepriv.html.php +++ b/trunk/module/group/view/managepriv.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package group * @version $Id$ diff --git a/trunk/module/index/control.php b/trunk/module/index/control.php index ad2c0d41f3..8d9f2b8c3c 100644 --- a/trunk/module/index/control.php +++ b/trunk/module/index/control.php @@ -17,7 +17,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ @@ -25,7 +25,7 @@ */ class index extends control { - /* 构造函数。*/ + /* 鏋勯犲嚱鏁般*/ public function __construct() { parent::__construct(); @@ -56,7 +56,7 @@ class index extends control $this->display(); } - /* 测试扩展机制。*/ + /* 娴嬭瘯鎵╁睍鏈哄埗銆*/ public function testext() { echo $this->fetch('misc', 'getsid'); diff --git a/trunk/module/index/model.php b/trunk/module/index/model.php index 3f76cd791f..f40a567da1 100644 --- a/trunk/module/index/model.php +++ b/trunk/module/index/model.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ diff --git a/trunk/module/index/view/index.html.php b/trunk/module/index/view/index.html.php index 9339fbc6b2..c51ae51468 100644 --- a/trunk/module/index/view/index.html.php +++ b/trunk/module/index/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ diff --git a/trunk/module/install/view/index.html.php b/trunk/module/install/view/index.html.php index ddff751e17..d8055f1308 100644 --- a/trunk/module/install/view/index.html.php +++ b/trunk/module/install/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ diff --git a/trunk/module/install/view/step1.html.php b/trunk/module/install/view/step1.html.php index 96b527cc65..e89193de2c 100644 --- a/trunk/module/install/view/step1.html.php +++ b/trunk/module/install/view/step1.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ diff --git a/trunk/module/install/view/step2.html.php b/trunk/module/install/view/step2.html.php index 993665159b..103c6597d1 100644 --- a/trunk/module/install/view/step2.html.php +++ b/trunk/module/install/view/step2.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ diff --git a/trunk/module/install/view/step4.html.php b/trunk/module/install/view/step4.html.php index 76f184d331..93cfd5b773 100644 --- a/trunk/module/install/view/step4.html.php +++ b/trunk/module/install/view/step4.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ diff --git a/trunk/module/misc/model.php b/trunk/module/misc/model.php index 131ee48126..485d388366 100644 --- a/trunk/module/misc/model.php +++ b/trunk/module/misc/model.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package misc * @version $Id$ diff --git a/trunk/module/my/view/bug.html.php b/trunk/module/my/view/bug.html.php index 935cb3f9ec..1d708d93f0 100644 --- a/trunk/module/my/view/bug.html.php +++ b/trunk/module/my/view/bug.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/my/view/editprofile.html.php b/trunk/module/my/view/editprofile.html.php index be1c2fce79..7d1952a04f 100644 --- a/trunk/module/my/view/editprofile.html.php +++ b/trunk/module/my/view/editprofile.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package user * @version $Id$ diff --git a/trunk/module/my/view/profile.html.php b/trunk/module/my/view/profile.html.php index 8749e7f565..a2b834403b 100644 --- a/trunk/module/my/view/profile.html.php +++ b/trunk/module/my/view/profile.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package my * @version $Id$ diff --git a/trunk/module/my/view/project.html.php b/trunk/module/my/view/project.html.php index e3e289ccb9..2fd35ae89a 100644 --- a/trunk/module/my/view/project.html.php +++ b/trunk/module/my/view/project.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/my/view/story.html.php b/trunk/module/my/view/story.html.php index f4d1704a68..b6bcbd8a92 100644 --- a/trunk/module/my/view/story.html.php +++ b/trunk/module/my/view/story.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/my/view/task.html.php b/trunk/module/my/view/task.html.php index 52416e21be..23a2b74171 100644 --- a/trunk/module/my/view/task.html.php +++ b/trunk/module/my/view/task.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/my/view/team.html.php b/trunk/module/my/view/team.html.php index 592cac5354..c11e514556 100644 --- a/trunk/module/my/view/team.html.php +++ b/trunk/module/my/view/team.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/my/view/todo.html.php b/trunk/module/my/view/todo.html.php index c4329f370f..67ace03dfb 100644 --- a/trunk/module/my/view/todo.html.php +++ b/trunk/module/my/view/todo.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/product/model.php b/trunk/module/product/model.php index 5695e3dc1b..df7b2b9867 100644 --- a/trunk/module/product/model.php +++ b/trunk/module/product/model.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ @@ -25,10 +25,10 @@ app->getModuleName(); $currentMethod = $this->app->getMethodName(); @@ -44,19 +44,19 @@ class productModel extends model common::setMenuVars($this->lang->product->menu, 'module', $productID); } - /* 通过ID获取产品信息。*/ + /* 閫氳繃ID鑾峰彇浜у搧淇℃伅銆*/ public function getById($productID) { return $this->dao->findById($productID)->from(TABLE_PRODUCT)->fetch(); } - /* 获取产品列表。*/ + /* 鑾峰彇浜у搧鍒楄〃銆*/ public function getList() { return $this->dao->select('*')->from(TABLE_PRODUCT)->where('deleted')->eq(0)->fetchAll('id'); } - /* 获取产品id=>name列表。*/ + /* 鑾峰彇浜у搧id=>name鍒楄〃銆*/ public function getPairs() { $mode = $this->cookie->productMode; @@ -67,16 +67,16 @@ class productModel extends model ->fetchPairs(); } - /* 获取产品的的状态分组。*/ + /* 鑾峰彇浜у搧鐨勭殑鐘舵佸垎缁勩*/ public function getStatusGroups() { $products = $this->dao->select('id, name, status')->from(TABLE_PRODUCT)->where('deleted')->eq(0)->fetchGroup('status'); } - /* 新增产品。*/ + /* 鏂板浜у搧銆*/ public function create() { - /* 处理数据。*/ + /* 澶勭悊鏁版嵁銆*/ $product = fixer::input('post') ->stripTags('name,code') ->specialChars('desc') @@ -91,10 +91,10 @@ class productModel extends model return $this->dao->lastInsertID(); } - /* 更新产品。*/ + /* 鏇存柊浜у搧銆*/ public function update($productID) { - /* 处理数据。*/ + /* 澶勭悊鏁版嵁銆*/ $productID = (int)$productID; $oldProduct = $this->getById($productID); $product = fixer::input('post') @@ -112,7 +112,7 @@ class productModel extends model if(!dao::isError()) return common::createChanges($oldProduct, $product); } - /* 获取产品的项目id=>value列表。*/ + /* 鑾峰彇浜у搧鐨勯」鐩甶d=>value鍒楄〃銆*/ public function getProjectPairs($productID) { $projects = $this->dao->select('t2.id, t2.name') @@ -125,7 +125,7 @@ class productModel extends model return $projects; } - /* 计算产品路线图。*/ + /* 璁$畻浜у搧璺嚎鍥俱*/ public function getRoadmap($productID) { $plans = $this->loadModel('productplan')->getList($productID); diff --git a/trunk/module/product/view/create.html.php b/trunk/module/product/view/create.html.php index 4fae224335..bc2d39175d 100644 --- a/trunk/module/product/view/create.html.php +++ b/trunk/module/product/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/product/view/edit.html.php b/trunk/module/product/view/edit.html.php index eb0891f8c2..09de26d5ad 100644 --- a/trunk/module/product/view/edit.html.php +++ b/trunk/module/product/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/product/view/roadmap.html.php b/trunk/module/product/view/roadmap.html.php index 97466aad6e..49523365cf 100644 --- a/trunk/module/product/view/roadmap.html.php +++ b/trunk/module/product/view/roadmap.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/product/view/view.html.php b/trunk/module/product/view/view.html.php index eab0ef90d2..cd1de08da2 100644 --- a/trunk/module/product/view/view.html.php +++ b/trunk/module/product/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/productplan/view/browse.html.php b/trunk/module/productplan/view/browse.html.php index 7e61054b27..94d2417e51 100644 --- a/trunk/module/productplan/view/browse.html.php +++ b/trunk/module/productplan/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package plan * @version $Id$ diff --git a/trunk/module/productplan/view/create.html.php b/trunk/module/productplan/view/create.html.php index ac678ca00d..47cc66fc7d 100644 --- a/trunk/module/productplan/view/create.html.php +++ b/trunk/module/productplan/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package productplan * @version $Id$ diff --git a/trunk/module/productplan/view/edit.html.php b/trunk/module/productplan/view/edit.html.php index 5023650b7d..e0a58785b7 100644 --- a/trunk/module/productplan/view/edit.html.php +++ b/trunk/module/productplan/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package productplan * @version $Id$ diff --git a/trunk/module/productplan/view/linkstory.html.php b/trunk/module/productplan/view/linkstory.html.php index b681520b92..5e9c8d4af3 100644 --- a/trunk/module/productplan/view/linkstory.html.php +++ b/trunk/module/productplan/view/linkstory.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package productplan * @version $Id$ diff --git a/trunk/module/productplan/view/view.html.php b/trunk/module/productplan/view/view.html.php index dfc59cae12..24ed74af26 100644 --- a/trunk/module/productplan/view/view.html.php +++ b/trunk/module/productplan/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package productplan * @version $Id$ diff --git a/trunk/module/project/view/browse.html.php b/trunk/module/project/view/browse.html.php index b7b6b02145..700b7c2b46 100644 --- a/trunk/module/project/view/browse.html.php +++ b/trunk/module/project/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/bug.html.php b/trunk/module/project/view/bug.html.php index a89de1eecb..7137809b20 100644 --- a/trunk/module/project/view/bug.html.php +++ b/trunk/module/project/view/bug.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/build.html.php b/trunk/module/project/view/build.html.php index 0a2401e292..8897bcecf0 100644 --- a/trunk/module/project/view/build.html.php +++ b/trunk/module/project/view/build.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/burn.html.php b/trunk/module/project/view/burn.html.php index 64dd89020e..f303ed540b 100644 --- a/trunk/module/project/view/burn.html.php +++ b/trunk/module/project/view/burn.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/create.html.php b/trunk/module/project/view/create.html.php index 5b02933066..0f6b1e96d7 100644 --- a/trunk/module/project/view/create.html.php +++ b/trunk/module/project/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/edit.html.php b/trunk/module/project/view/edit.html.php index 40615cb195..ca83c03f4b 100644 --- a/trunk/module/project/view/edit.html.php +++ b/trunk/module/project/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/grouptask.html.php b/trunk/module/project/view/grouptask.html.php index 700902fcb0..629a28f836 100644 --- a/trunk/module/project/view/grouptask.html.php +++ b/trunk/module/project/view/grouptask.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/importtask.html.php b/trunk/module/project/view/importtask.html.php index c24a2e8795..7e905c0bab 100644 --- a/trunk/module/project/view/importtask.html.php +++ b/trunk/module/project/view/importtask.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/index.html.php b/trunk/module/project/view/index.html.php index d3a4285fa8..1d0fbc3099 100644 --- a/trunk/module/project/view/index.html.php +++ b/trunk/module/project/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/linkstory.html.php b/trunk/module/project/view/linkstory.html.php index 92f241da91..ffd517a24d 100644 --- a/trunk/module/project/view/linkstory.html.php +++ b/trunk/module/project/view/linkstory.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/managechilds.html.php b/trunk/module/project/view/managechilds.html.php index 5561803d3c..e8dde70151 100644 --- a/trunk/module/project/view/managechilds.html.php +++ b/trunk/module/project/view/managechilds.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/managemembers.html.php b/trunk/module/project/view/managemembers.html.php index bb88ba87ac..a6d1c4b1aa 100644 --- a/trunk/module/project/view/managemembers.html.php +++ b/trunk/module/project/view/managemembers.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/manageproducts.html.php b/trunk/module/project/view/manageproducts.html.php index 498a114949..8c5f698ed3 100644 --- a/trunk/module/project/view/manageproducts.html.php +++ b/trunk/module/project/view/manageproducts.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/story.html.php b/trunk/module/project/view/story.html.php index 91464e8a60..3ed1e39288 100644 --- a/trunk/module/project/view/story.html.php +++ b/trunk/module/project/view/story.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/task.html.php b/trunk/module/project/view/task.html.php index 6a38b29953..5ef7762f85 100644 --- a/trunk/module/project/view/task.html.php +++ b/trunk/module/project/view/task.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/team.html.php b/trunk/module/project/view/team.html.php index 67e3d634b0..58fbb76600 100644 --- a/trunk/module/project/view/team.html.php +++ b/trunk/module/project/view/team.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/project/view/view.html.php b/trunk/module/project/view/view.html.php index 0ec168babf..e485476094 100644 --- a/trunk/module/project/view/view.html.php +++ b/trunk/module/project/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package project * @version $Id$ diff --git a/trunk/module/qa/control.php b/trunk/module/qa/control.php index 9898ba94a7..197a66e56f 100644 --- a/trunk/module/qa/control.php +++ b/trunk/module/qa/control.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package qa * @version $Id$ diff --git a/trunk/module/qa/view/index.html.php b/trunk/module/qa/view/index.html.php index 626d94a543..3476fb3ab4 100644 --- a/trunk/module/qa/view/index.html.php +++ b/trunk/module/qa/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package company * @version $Id$ diff --git a/trunk/module/release/view/browse.html.php b/trunk/module/release/view/browse.html.php index 43a6c699aa..f08a5d7a2a 100644 --- a/trunk/module/release/view/browse.html.php +++ b/trunk/module/release/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package release * @version $Id$ diff --git a/trunk/module/release/view/create.html.php b/trunk/module/release/view/create.html.php index 868da371a3..ee56874907 100644 --- a/trunk/module/release/view/create.html.php +++ b/trunk/module/release/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package release * @version $Id$ diff --git a/trunk/module/release/view/edit.html.php b/trunk/module/release/view/edit.html.php index 68470d64ee..d91fd1426b 100644 --- a/trunk/module/release/view/edit.html.php +++ b/trunk/module/release/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package release * @version $Id$ diff --git a/trunk/module/release/view/view.html.php b/trunk/module/release/view/view.html.php index 1eba011062..0fa99c151b 100644 --- a/trunk/module/release/view/view.html.php +++ b/trunk/module/release/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package release * @version $Id$ diff --git a/trunk/module/report/control.php b/trunk/module/report/control.php index 983257a8a8..3e82ee3b75 100644 --- a/trunk/module/report/control.php +++ b/trunk/module/report/control.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package report * @version $Id$ diff --git a/trunk/module/search/control.php b/trunk/module/search/control.php index 0f2f2b7496..fc7a05ae3b 100644 --- a/trunk/module/search/control.php +++ b/trunk/module/search/control.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package search * @version $Id$ diff --git a/trunk/module/story/view/activate.html.php b/trunk/module/story/view/activate.html.php index c7abc0018a..d883498b30 100644 --- a/trunk/module/story/view/activate.html.php +++ b/trunk/module/story/view/activate.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package story * @version $Id$ diff --git a/trunk/module/story/view/change.html.php b/trunk/module/story/view/change.html.php index bdd95297f2..d87c007c2e 100644 --- a/trunk/module/story/view/change.html.php +++ b/trunk/module/story/view/change.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package story * @version $Id$ diff --git a/trunk/module/story/view/close.html.php b/trunk/module/story/view/close.html.php index d7faa3ecf1..4f3013bb95 100644 --- a/trunk/module/story/view/close.html.php +++ b/trunk/module/story/view/close.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package story * @version $Id$ diff --git a/trunk/module/story/view/create.html.php b/trunk/module/story/view/create.html.php index c8e99e729c..0bb471046b 100644 --- a/trunk/module/story/view/create.html.php +++ b/trunk/module/story/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package story * @version $Id$ diff --git a/trunk/module/story/view/edit.html.php b/trunk/module/story/view/edit.html.php index 5b27c1e547..13a866fb44 100644 --- a/trunk/module/story/view/edit.html.php +++ b/trunk/module/story/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package story * @version $Id$ diff --git a/trunk/module/story/view/review.html.php b/trunk/module/story/view/review.html.php index b9ed6caeb6..95b63ca0f1 100644 --- a/trunk/module/story/view/review.html.php +++ b/trunk/module/story/view/review.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package story * @version $Id$ diff --git a/trunk/module/story/view/sendmail.html.php b/trunk/module/story/view/sendmail.html.php index c8ef0ac7e0..0493955270 100644 --- a/trunk/module/story/view/sendmail.html.php +++ b/trunk/module/story/view/sendmail.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/story/view/view.html.php b/trunk/module/story/view/view.html.php index 828b05d272..18ce95ea5f 100644 --- a/trunk/module/story/view/view.html.php +++ b/trunk/module/story/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package story * @version $Id$ diff --git a/trunk/module/task/view/browse.html.php b/trunk/module/task/view/browse.html.php index 4947c05799..07b969ff79 100644 --- a/trunk/module/task/view/browse.html.php +++ b/trunk/module/task/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package task * @version $Id$ diff --git a/trunk/module/task/view/edit.html.php b/trunk/module/task/view/edit.html.php index 5536125cca..9239d52209 100644 --- a/trunk/module/task/view/edit.html.php +++ b/trunk/module/task/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package task * @version $Id$ diff --git a/trunk/module/task/view/import.html.php b/trunk/module/task/view/import.html.php index 60d2de3b66..7791908949 100644 --- a/trunk/module/task/view/import.html.php +++ b/trunk/module/task/view/import.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package task * @version $Id$ diff --git a/trunk/module/task/view/view.html.php b/trunk/module/task/view/view.html.php index 0d3e06e496..e97c5d813a 100644 --- a/trunk/module/task/view/view.html.php +++ b/trunk/module/task/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package task * @version $Id$ diff --git a/trunk/module/testcase/view/create.html.php b/trunk/module/testcase/view/create.html.php index b13d37d2f4..c3a9ff011f 100644 --- a/trunk/module/testcase/view/create.html.php +++ b/trunk/module/testcase/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package case * @version $Id$ diff --git a/trunk/module/testcase/view/edit.html.php b/trunk/module/testcase/view/edit.html.php index c3f2ab51aa..c397996193 100644 --- a/trunk/module/testcase/view/edit.html.php +++ b/trunk/module/testcase/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package case * @version $Id$ diff --git a/trunk/module/testcase/view/index.html.php b/trunk/module/testcase/view/index.html.php index cb4cb2c979..306624e1dc 100644 --- a/trunk/module/testcase/view/index.html.php +++ b/trunk/module/testcase/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package bug * @version $Id$ diff --git a/trunk/module/testcase/view/view.html.php b/trunk/module/testcase/view/view.html.php index aeab101c94..21e911cc97 100644 --- a/trunk/module/testcase/view/view.html.php +++ b/trunk/module/testcase/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package case * @version $Id$ diff --git a/trunk/module/testtask/view/browse.html.php b/trunk/module/testtask/view/browse.html.php index 302eb55324..b2300d5d1c 100644 --- a/trunk/module/testtask/view/browse.html.php +++ b/trunk/module/testtask/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package testtask * @version $Id$ diff --git a/trunk/module/testtask/view/cases.html.php b/trunk/module/testtask/view/cases.html.php index b2c12124dc..55fa281975 100644 --- a/trunk/module/testtask/view/cases.html.php +++ b/trunk/module/testtask/view/cases.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package case * @version $Id: view.html.php 594 2010-03-27 13:44:07Z wwccss $ diff --git a/trunk/module/testtask/view/create.html.php b/trunk/module/testtask/view/create.html.php index 4ae74e14a9..ecc4b422de 100644 --- a/trunk/module/testtask/view/create.html.php +++ b/trunk/module/testtask/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package testtask * @version $Id$ diff --git a/trunk/module/testtask/view/edit.html.php b/trunk/module/testtask/view/edit.html.php index ab68650918..8dd4bcea42 100644 --- a/trunk/module/testtask/view/edit.html.php +++ b/trunk/module/testtask/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package testtask * @version $Id$ diff --git a/trunk/module/testtask/view/linkcase.html.php b/trunk/module/testtask/view/linkcase.html.php index b5366297f8..cbd5fb64a8 100644 --- a/trunk/module/testtask/view/linkcase.html.php +++ b/trunk/module/testtask/view/linkcase.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package testtask * @version $Id$ diff --git a/trunk/module/testtask/view/results.html.php b/trunk/module/testtask/view/results.html.php index 0256e5b354..e0123930eb 100644 --- a/trunk/module/testtask/view/results.html.php +++ b/trunk/module/testtask/view/results.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package testtask * @version $Id$ diff --git a/trunk/module/testtask/view/runcase.html.php b/trunk/module/testtask/view/runcase.html.php index 4c1f2ae69d..0850aed59d 100644 --- a/trunk/module/testtask/view/runcase.html.php +++ b/trunk/module/testtask/view/runcase.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package testtask * @version $Id$ diff --git a/trunk/module/testtask/view/view.html.php b/trunk/module/testtask/view/view.html.php index 6f86e93c41..0cb8d69f40 100644 --- a/trunk/module/testtask/view/view.html.php +++ b/trunk/module/testtask/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package case * @version $Id$ diff --git a/trunk/module/todo/view/create.html.php b/trunk/module/todo/view/create.html.php index c0dc49a157..066a4d8906 100644 --- a/trunk/module/todo/view/create.html.php +++ b/trunk/module/todo/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package todo * @version $Id$ diff --git a/trunk/module/todo/view/edit.html.php b/trunk/module/todo/view/edit.html.php index 84b5276ef0..fcb62c8a39 100644 --- a/trunk/module/todo/view/edit.html.php +++ b/trunk/module/todo/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package todo * @version $Id$ diff --git a/trunk/module/todo/view/view.html.php b/trunk/module/todo/view/view.html.php index 80b324b52e..674bf10e2a 100644 --- a/trunk/module/todo/view/view.html.php +++ b/trunk/module/todo/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package todo * @version $Id$ diff --git a/trunk/module/tree/view/browse.html.php b/trunk/module/tree/view/browse.html.php index 42984418b7..a9edb8f89f 100644 --- a/trunk/module/tree/view/browse.html.php +++ b/trunk/module/tree/view/browse.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package tree * @version $Id$ diff --git a/trunk/module/tree/view/create.html.php b/trunk/module/tree/view/create.html.php index 3b4a0543e3..216e9ef933 100644 --- a/trunk/module/tree/view/create.html.php +++ b/trunk/module/tree/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/tree/view/edit.html.php b/trunk/module/tree/view/edit.html.php index 96498f5b3a..c9f498d0ed 100644 --- a/trunk/module/tree/view/edit.html.php +++ b/trunk/module/tree/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package product * @version $Id$ diff --git a/trunk/module/upgrade/view/confirm.html.php b/trunk/module/upgrade/view/confirm.html.php index 3d8cf8732a..cae143919c 100644 --- a/trunk/module/upgrade/view/confirm.html.php +++ b/trunk/module/upgrade/view/confirm.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package upgrade * @version $Id$ diff --git a/trunk/module/upgrade/view/execute.html.php b/trunk/module/upgrade/view/execute.html.php index e03726c319..fb55880b13 100644 --- a/trunk/module/upgrade/view/execute.html.php +++ b/trunk/module/upgrade/view/execute.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package upgrade * @version $Id$ diff --git a/trunk/module/upgrade/view/index.html.php b/trunk/module/upgrade/view/index.html.php index 78bff4b85a..92b99562d8 100644 --- a/trunk/module/upgrade/view/index.html.php +++ b/trunk/module/upgrade/view/index.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package upgrade * @version $Id$ diff --git a/trunk/module/upgrade/view/selectversion.html.php b/trunk/module/upgrade/view/selectversion.html.php index 14d8c9992b..a070bc5892 100644 --- a/trunk/module/upgrade/view/selectversion.html.php +++ b/trunk/module/upgrade/view/selectversion.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package upgrade * @version $Id$ diff --git a/trunk/module/user/control.php b/trunk/module/user/control.php index 08871ca60b..3c0ed43975 100644 --- a/trunk/module/user/control.php +++ b/trunk/module/user/control.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package user * @version $Id$ @@ -25,7 +25,7 @@ class user extends control { private $referer; - /* 构造函数。*/ + /* 鏋勯犲嚱鏁般*/ public function __construct() { parent::__construct(); @@ -38,31 +38,31 @@ class user extends control $this->locate($this->createLink('user', 'todo', "account=$account")); } - /* 用户的todo列表。*/ + /* 鐢ㄦ埛鐨則odo鍒楄〃銆*/ public function todo($account, $type = 'today', $status = 'all') { - /* 登记session。*/ + /* 鐧昏session銆*/ $uri = $this->app->getURI(true); $this->session->set('todoList', $uri); $this->session->set('bugList', $uri); $this->session->set('taskList', $uri); - /* 加载todo model。*/ + /* 鍔犺浇todo model銆*/ $this->loadModel('todo'); $this->lang->set('menugroup.user', 'company'); $user = $this->dao->findByAccount($account)->from(TABLE_USER)->fetch(); - /* 设置菜单。*/ + /* 璁剧疆鑿滃崟銆*/ $this->user->setMenu($this->user->getPairs('noempty|noclosed'), $account); $todos = $this->todo->getList($type, $account, $status); $date = (int)$type == 0 ? $this->todo->today() : $type; - /* 设定header和position信息。*/ + /* 璁惧畾header鍜宲osition淇℃伅銆*/ $header['title'] = $this->lang->company->orgView . $this->lang->colon . $this->lang->user->todo; $position[] = $this->lang->user->todo; - /* 赋值。*/ + /* 璧嬪笺*/ $this->assign('header', $header); $this->assign('position', $position); $this->assign('tabID', 'todo'); @@ -76,24 +76,24 @@ class user extends control $this->display(); } - /* 用户的task列表。*/ + /* 鐢ㄦ埛鐨則ask鍒楄〃銆*/ public function task($account) { $this->session->set('taskList', $this->app->getURI(true)); - /* 加载task model。*/ + /* 鍔犺浇task model銆*/ $this->loadModel('task'); $this->lang->set('menugroup.user', 'company'); $user = $this->dao->findByAccount($account)->from(TABLE_USER)->fetch(); - /* 设置菜单。*/ + /* 璁剧疆鑿滃崟銆*/ $this->user->setMenu($this->user->getPairs('noempty|noclosed'), $account); - /* 设定header和position信息。*/ + /* 璁惧畾header鍜宲osition淇℃伅銆*/ $header['title'] = $this->lang->user->common . $this->lang->colon . $this->lang->user->task; $position[] = $this->lang->user->task; - /* 赋值。*/ + /* 璧嬪笺*/ $this->assign('header', $header); $this->assign('position', $position); $this->assign('tabID', 'task'); @@ -103,24 +103,24 @@ class user extends control $this->display(); } - /* 用户的bug列表。*/ + /* 鐢ㄦ埛鐨刡ug鍒楄〃銆*/ public function bug($account) { $this->session->set('bugList', $this->app->getURI(true)); - /* 加载bug model。*/ + /* 鍔犺浇bug model銆*/ $this->loadModel('bug'); $this->lang->set('menugroup.user', 'company'); $user = $this->dao->findByAccount($account)->from(TABLE_USER)->fetch(); - /* 设置菜单。*/ + /* 璁剧疆鑿滃崟銆*/ $this->user->setMenu($this->user->getPairs('noempty|noclosed'), $account); - /* 设定header和position信息。*/ + /* 璁惧畾header鍜宲osition淇℃伅銆*/ $header['title'] = $this->lang->user->common . $this->lang->colon . $this->lang->user->bug; $position[] = $this->lang->user->bug; - /* 赋值。*/ + /* 璧嬪笺*/ $this->assign('header', $header); $this->assign('position', $position); $this->assign('tabID', 'bug'); @@ -131,22 +131,22 @@ class user extends control $this->display(); } - /* 用户的project列表。*/ + /* 鐢ㄦ埛鐨刾roject鍒楄〃銆*/ public function project($account) { - /* 加载project model。*/ + /* 鍔犺浇project model銆*/ $this->loadModel('project'); $this->lang->set('menugroup.user', 'company'); $user = $this->dao->findByAccount($account)->from(TABLE_USER)->fetch(); - /* 设置菜单。*/ + /* 璁剧疆鑿滃崟銆*/ $this->user->setMenu($this->user->getPairs('noempty|noclosed'), $account); - /* 设定header和position信息。*/ + /* 璁惧畾header鍜宲osition淇℃伅銆*/ $header['title'] = $this->lang->user->common . $this->lang->colon . $this->lang->user->project; $position[] = $this->lang->user->project; - /* 赋值。*/ + /* 璧嬪笺*/ $this->assign('header', $header); $this->assign('position', $position); $this->assign('tabID', 'project'); @@ -156,13 +156,13 @@ class user extends control $this->display(); } - /* 查看个人档案。*/ + /* 鏌ョ湅涓汉妗f銆*/ public function profile($account) { $header['title'] = $this->lang->user->common . $this->lang->colon . $this->lang->user->profile; $position[] = $this->lang->user->profile; - /* 设置菜单。*/ + /* 璁剧疆鑿滃崟銆*/ $this->user->setMenu($this->user->getPairs('noempty|noclosed'), $account); $this->assign('header', $header); @@ -172,7 +172,7 @@ class user extends control $this->display(); } - /* 设置referer信息。*/ + /* 璁剧疆referer淇℃伅銆*/ private function setReferer($referer = 0) { if(!empty($referer)) @@ -186,7 +186,7 @@ class user extends control $this->referer = htmlspecialchars($this->referer); } - /* 创建一个用户。*/ + /* 鍒涘缓涓涓敤鎴枫*/ public function create($deptID = 0, $from = 'admin') { $this->lang->set('menugroup.user', $from); @@ -209,7 +209,7 @@ class user extends control $this->display(); } - /* 编辑一个用户。*/ + /* 缂栬緫涓涓敤鎴枫*/ public function edit($userID, $from = 'admin') { $this->lang->set('menugroup.user', $from); @@ -238,7 +238,7 @@ class user extends control $this->display(); } - /* 删除一个用户。*/ + /* 鍒犻櫎涓涓敤鎴枫*/ public function delete($userID, $confirm = 'no') { if($confirm == 'no') @@ -252,7 +252,7 @@ class user extends control } } - /* 激活一个用户。*/ + /* 婵娲讳竴涓敤鎴枫*/ public function activate($userID, $confirm = 'no') { if($confirm == 'no') @@ -267,7 +267,7 @@ class user extends control } /** - * 登陆系统:完成用户身份验证,并取得授权。 + * 鐧婚檰绯荤粺锛氬畬鎴愮敤鎴疯韩浠介獙璇侊紝骞跺彇寰楁巿鏉冦 * * @access public * @return void @@ -279,7 +279,7 @@ class user extends control $loginLink = $this->createLink('user', 'login'); $denyLink = $this->createLink('user', 'deny'); - /* 如果用户已经登录,返回原来的页面。*/ + /* 濡傛灉鐢ㄦ埛宸茬粡鐧诲綍锛岃繑鍥炲師鏉ョ殑椤甸潰銆*/ if($this->user->isLogon()) { if(strpos($this->referer, $loginLink) === false and @@ -295,21 +295,21 @@ class user extends control } } - /* 用户提交了登陆信息,则检查用户的身份。*/ + /* 鐢ㄦ埛鎻愪氦浜嗙櫥闄嗕俊鎭紝鍒欐鏌ョ敤鎴风殑韬唤銆*/ if(!empty($_POST)) { $user = $this->user->identify($this->post->account, $this->post->password); if($user) { - /* 对用户进行授权,并登记session。*/ + /* 瀵圭敤鎴疯繘琛屾巿鏉冿紝骞剁櫥璁皊ession銆*/ $user->rights = $this->user->authorize($this->post->account); $this->session->set('user', $user); $this->app->user = $this->session->user; - /* 记录登录记录。*/ + /* 璁板綍鐧诲綍璁板綍銆*/ $this->loadModel('action')->create('user', $user->id, 'login'); - /* POST变量中设置了referer信息,且非user/login.html, 非user/deny.html,并且来自zentao系统。*/ + /* POST鍙橀噺涓缃簡referer淇℃伅锛屼笖闈瀠ser/login.html, 闈瀠ser/deny.html锛屽苟涓旀潵鑷獄entao绯荤粺銆*/ if($this->post->referer != false and strpos($this->post->referer, $loginLink) === false and strpos($this->post->referer, $denyLink) === false and @@ -337,7 +337,7 @@ class user extends control } } - /* 访问受限页面。*/ + /* 璁块棶鍙楅檺椤甸潰銆*/ public function deny($module, $method, $refererBeforeDeny = '') { $this->setReferer(); @@ -345,8 +345,8 @@ class user extends control $this->assign('header', $header); $this->assign('module', $module); $this->assign('method', $method); - $this->assign('denyPage', $this->referer); // 访问受限的页面。 - $this->assign('refererBeforeDeny', $refererBeforeDeny); // 受限页面之前的referer页面。 + $this->assign('denyPage', $this->referer); // 璁块棶鍙楅檺鐨勯〉闈€ + $this->assign('refererBeforeDeny', $refererBeforeDeny); // 鍙楅檺椤甸潰涔嬪墠鐨剅eferer椤甸潰銆 $this->app->loadLang($module); $this->app->loadLang('index'); $this->display(); @@ -354,7 +354,7 @@ class user extends control } /** - * 退出系统。 + * 閫鍑虹郴缁熴 * * @access public * @return void diff --git a/trunk/module/user/model.php b/trunk/module/user/model.php index eaea866136..8d89804b4d 100644 --- a/trunk/module/user/model.php +++ b/trunk/module/user/model.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package user * @version $Id$ @@ -25,7 +25,7 @@ app->getMethodName(); @@ -38,13 +38,13 @@ class userModel extends model common::setMenuVars($this->lang->user->menu, 'profile', $account); } - /* 获得某一个公司的用户列表。*/ + /* 鑾峰緱鏌愪竴涓叕鍙哥殑鐢ㄦ埛鍒楄〃銆*/ public function getList() { return $this->dao->select('*')->from(TABLE_USER)->where('deleted')->eq(0)->orderBy('account')->fetchAll(); } - /* 获得account=>realname的列表。params: noletter|noempty|noclosed。*/ + /* 鑾峰緱account=>realname鐨勫垪琛ㄣ俻arams: noletter|noempty|noclosed銆*/ public function getPairs($params = '') { $users = $this->dao->select('account, realname')->from(TABLE_USER)->orderBy('account')->fetchPairs(); @@ -59,7 +59,7 @@ class userModel extends model return $users; } - /* 获得用户的真实姓名和email地址列表。*/ + /* 鑾峰緱鐢ㄦ埛鐨勭湡瀹炲鍚嶅拰email鍦板潃鍒楄〃銆*/ public function getRealNameAndEmails($users) { $users = $this->dao->select('account, email, realname')->from(TABLE_USER)->where('account')->in($users)->fetchAll('account'); @@ -68,7 +68,7 @@ class userModel extends model return $users; } - /* 通过id获取某一个用户的信息。*/ + /* 閫氳繃id鑾峰彇鏌愪竴涓敤鎴风殑淇℃伅銆*/ public function getById($userID) { $user = $this->dao->select('*')->from(TABLE_USER) @@ -80,10 +80,10 @@ class userModel extends model return $user; } - /* 新增一个用户。*/ + /* 鏂板涓涓敤鎴枫*/ public function create() { - /* 先检查密码是否符合规则。*/ + /* 鍏堟鏌ュ瘑鐮佹槸鍚︾鍚堣鍒欍*/ if(!$this->checkPassword()) return; $user = fixer::input('post') @@ -102,13 +102,13 @@ class userModel extends model ->exec(); } - /* 更新一个用户。*/ + /* 鏇存柊涓涓敤鎴枫*/ public function update($userID) { - /* 先检查密码是否符合规则。*/ + /* 鍏堟鏌ュ瘑鐮佹槸鍚︾鍚堣鍒欍*/ if(!$this->checkPassword()) return; - /* 进行其他的检查,更新数据库。*/ + /* 杩涜鍏朵粬鐨勬鏌ワ紝鏇存柊鏁版嵁搴撱*/ $userID = (int)$userID; $user = fixer::input('post') ->setIF(isset($_POST['join']) and $this->post->join == '', 'join', '0000-00-00') @@ -126,7 +126,7 @@ class userModel extends model ->exec(); } - /* 检查密码是否符合要求。*/ + /* 妫鏌ュ瘑鐮佹槸鍚︾鍚堣姹傘*/ public function checkPassword() { if($this->post->password1 != false) @@ -138,10 +138,10 @@ class userModel extends model } /** - * 验证用户的身份。 + * 楠岃瘉鐢ㄦ埛鐨勮韩浠姐 * - * @param string $account 用户账号 - * @param string $password 用户密码 + * @param string $account 鐢ㄦ埛璐﹀彿 + * @param string $password 鐢ㄦ埛瀵嗙爜 * @access public * @return object */ @@ -167,11 +167,11 @@ class userModel extends model } /** - * 取得对用户的授权。 + * 鍙栧緱瀵圭敤鎴风殑鎺堟潈銆 * - * @param string $account 用户账号 + * @param string $account 鐢ㄦ埛璐﹀彿 * @access public - * @return array 包含用户权限的数组。 + * @return array 鍖呭惈鐢ㄦ埛鏉冮檺鐨勬暟缁勩 */ public function authorize($account) { @@ -201,7 +201,7 @@ class userModel extends model /* /** - * 判断用户是否在线。 + * 鍒ゆ柇鐢ㄦ埛鏄惁鍦ㄧ嚎銆 * * @access public * @return bool @@ -211,13 +211,13 @@ class userModel extends model return (isset($_SESSION['user']) and !empty($_SESSION['user']) and $_SESSION['user']->account != 'guest'); } - /* 获得用户所属的分组。*/ + /* 鑾峰緱鐢ㄦ埛鎵灞炵殑鍒嗙粍銆*/ public function getGroups($account) { return $this->dao->findByAccount($account)->from(TABLE_USERGROUP)->fields('`group`')->fetchPairs(); } - /* 获得用户参与的项目列表。*/ + /* 鑾峰緱鐢ㄦ埛鍙備笌鐨勯」鐩垪琛ㄣ*/ public function getProjects($account) { return $this->dao->select('t1.*,t2.*')->from(TABLE_TEAM)->alias('t1') @@ -226,7 +226,7 @@ class userModel extends model ->fetchAll(); } - /* 获得用户的Bug列表。*/ + /* 鑾峰緱鐢ㄦ埛鐨凚ug鍒楄〃銆*/ public function getBugs($account) { return $this->dao->findByAssignedTo($account)->from(TABLE_BUG)->andWhere('deleted')->eq(0)->fetchAll(); diff --git a/trunk/module/user/view/bug.html.php b/trunk/module/user/view/bug.html.php index eaaf1e69e6..895f0f16fa 100644 --- a/trunk/module/user/view/bug.html.php +++ b/trunk/module/user/view/bug.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/user/view/create.html.php b/trunk/module/user/view/create.html.php index 3ee68af75b..0f337f74ca 100644 --- a/trunk/module/user/view/create.html.php +++ b/trunk/module/user/view/create.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package user * @version $Id$ diff --git a/trunk/module/user/view/deny.html.php b/trunk/module/user/view/deny.html.php index cb10d60963..402149ad7c 100644 --- a/trunk/module/user/view/deny.html.php +++ b/trunk/module/user/view/deny.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ diff --git a/trunk/module/user/view/edit.html.php b/trunk/module/user/view/edit.html.php index 5707b6e0de..3c72a8af3b 100644 --- a/trunk/module/user/view/edit.html.php +++ b/trunk/module/user/view/edit.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package user * @version $Id$ diff --git a/trunk/module/user/view/profile.html.php b/trunk/module/user/view/profile.html.php index 453070e73f..b57369f1a6 100644 --- a/trunk/module/user/view/profile.html.php +++ b/trunk/module/user/view/profile.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package user * @version $Id$ diff --git a/trunk/module/user/view/project.html.php b/trunk/module/user/view/project.html.php index e3e289ccb9..2fd35ae89a 100644 --- a/trunk/module/user/view/project.html.php +++ b/trunk/module/user/view/project.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/user/view/story.html.php b/trunk/module/user/view/story.html.php index b67f598c73..dae7e7c0a9 100644 --- a/trunk/module/user/view/story.html.php +++ b/trunk/module/user/view/story.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/user/view/task.html.php b/trunk/module/user/view/task.html.php index f82b5e012d..48405566e8 100644 --- a/trunk/module/user/view/task.html.php +++ b/trunk/module/user/view/task.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/user/view/team.html.php b/trunk/module/user/view/team.html.php index 592cac5354..c11e514556 100644 --- a/trunk/module/user/view/team.html.php +++ b/trunk/module/user/view/team.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/user/view/todo.html.php b/trunk/module/user/view/todo.html.php index 31166d1dce..b98faeb0c6 100644 --- a/trunk/module/user/view/todo.html.php +++ b/trunk/module/user/view/todo.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package dashboard * @version $Id$ diff --git a/trunk/module/user/view/view.html.php b/trunk/module/user/view/view.html.php index b5b0bd068d..652891269e 100644 --- a/trunk/module/user/view/view.html.php +++ b/trunk/module/user/view/view.html.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package my * @version $Id$ diff --git a/trunk/www/index.php b/trunk/www/index.php index 1a62cdce7f..8bdbcd4b13 100644 --- a/trunk/www/index.php +++ b/trunk/www/index.php @@ -17,7 +17,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see . * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang * @package ZenTaoMS * @version $Id$ @@ -25,49 +25,49 @@ */ error_reporting(0); -/* 记录最开始的时间。*/ +/* 璁板綍鏈寮濮嬬殑鏃堕棿銆*/ $timeStart = _getTime(); -/* 包含必须的类文件。*/ +/* 鍖呭惈蹇呴』鐨勭被鏂囦欢銆*/ include '../framework/router.class.php'; include '../framework/control.class.php'; include '../framework/model.class.php'; include '../framework/helper.class.php'; -/* 实例化路由对象,加载配置,设置时区。*/ +/* 瀹炰緥鍖栬矾鐢卞璞★紝鍔犺浇閰嶇疆锛岃缃椂鍖恒*/ $app = router::createApp('pms', dirname(dirname(__FILE__))); $config = $app->loadConfig('common'); $app->setDebug(); $app->setTimezone(); -/* 检查是否已经安装。*/ +/* 妫鏌ユ槸鍚﹀凡缁忓畨瑁呫*/ if(!isset($config->installed) or !$config->installed) die(header('location: install.php')); -/* 连接到数据库。*/ +/* 杩炴帴鍒版暟鎹簱銆*/ $dbh = $app->connectDB(); -/* 如果是debug模式,记录sql查询。*/ +/* 濡傛灉鏄痙ebug妯″紡锛岃褰晄ql鏌ヨ銆*/ if($config->debug) register_shutdown_function('_saveSQL'); -/* 设置客户端所使用的语言、风格。*/ +/* 璁剧疆瀹㈡埛绔墍浣跨敤鐨勮瑷銆侀鏍笺*/ $app->setClientLang(); $app->setClientTheme(); -/* 加载语言文件,加载公共模块。*/ +/* 鍔犺浇璇█鏂囦欢锛屽姞杞藉叕鍏辨ā鍧椼*/ $lang = $app->loadLang('common'); $common = $app->loadCommon(); -/* 加载相应的lib文件,并设置超全局变量的引用。*/ +/* 鍔犺浇鐩稿簲鐨刲ib鏂囦欢锛屽苟璁剧疆瓒呭叏灞鍙橀噺鐨勫紩鐢ㄣ*/ $app->loadClass('front', $static = true); $app->loadClass('filter', $static = true); $app->setSuperVars(); -/* 处理请求,验证权限,加载相应的模块。*/ +/* 澶勭悊璇锋眰锛岄獙璇佹潈闄愶紝鍔犺浇鐩稿簲鐨勬ā鍧椼*/ $app->parseRequest(); $common->checkPriv(); $app->loadModule(); -/* Debug信息,监控页面的执行时间和内存占用。*/ +/* Debug淇℃伅锛岀洃鎺ч〉闈㈢殑鎵ц鏃堕棿鍜屽唴瀛樺崰鐢ㄣ*/ if($config->debug) { $timeUsed = round(_getTime() - $timeStart, 4) * 1000; @@ -77,14 +77,14 @@ if($config->debug) echo ''; } -/* 获取系统时间,微秒为单位。*/ +/* 鑾峰彇绯荤粺鏃堕棿锛屽井绉掍负鍗曚綅銆*/ function _getTime() { list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec); } -/* 保存query记录。*/ +/* 淇濆瓨query璁板綍銆*/ function _saveSQL() { global $app; @@ -97,7 +97,7 @@ function _saveSQL() fclose($fh); } -/* print_r。*/ +/* print_r銆*/ function a($var) { echo ""; diff --git a/trunk/www/install.php b/trunk/www/install.php index 1add9e432f..78828adac5 100644 --- a/trunk/www/install.php +++ b/trunk/www/install.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>. * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang <chunsheng@cnezsoft.com> * @package ZenTaoMS * @version $Id$ @@ -25,40 +25,40 @@ error_reporting(0); session_start(); define('IN_INSTALL', true); -/* 包含必须的类文件。*/ +/* 鍖呭惈蹇呴』鐨勭被鏂囦欢銆*/ include '../framework/router.class.php'; include '../framework/control.class.php'; include '../framework/model.class.php'; include '../framework/helper.class.php'; -/* 实例化路由对象,加载配置。*/ +/* 瀹炰緥鍖栬矾鐢卞璞★紝鍔犺浇閰嶇疆銆*/ $app = router::createApp('pms', dirname(dirname(__FILE__))); $config = $app->loadConfig('common'); -/* 检查是否已经安装过。*/ +/* 妫鏌ユ槸鍚﹀凡缁忓畨瑁呰繃銆*/ if(!isset($_SESSION['installing']) and isset($config->installed) and $config->installed) die(header('location: index.php')); -/* 重新设置config参数,进行安装。*/ +/* 閲嶆柊璁剧疆config鍙傛暟锛岃繘琛屽畨瑁呫*/ $config->set('requestType', 'GET'); $config->set('debug', true); $config->set('default.module', 'install'); $app->setDebug(); -/* 如果已经保存配置文件,则自动连接到数据库。*/ +/* 濡傛灉宸茬粡淇濆瓨閰嶇疆鏂囦欢锛屽垯鑷姩杩炴帴鍒版暟鎹簱銆*/ if(isset($config->installed) and $config->installed) $dbh = $app->connectDB(); -/* 设置客户端所使用的语言、风格。*/ +/* 璁剧疆瀹㈡埛绔墍浣跨敤鐨勮瑷銆侀鏍笺*/ $app->setClientLang(); $app->setClientTheme(); -/* 加载语言文件,加载公共模块。*/ +/* 鍔犺浇璇█鏂囦欢锛屽姞杞藉叕鍏辨ā鍧椼*/ $lang = $app->loadLang('common'); -/* 加载相应的lib文件,并设置超全局变量的引用。*/ +/* 鍔犺浇鐩稿簲鐨刲ib鏂囦欢锛屽苟璁剧疆瓒呭叏灞鍙橀噺鐨勫紩鐢ㄣ*/ $app->loadClass('front', $static = true); $app->loadClass('filter', $static = true); $app->setSuperVars(); -/* 处理请求,验证权限,加载相应的模块。*/ +/* 澶勭悊璇锋眰锛岄獙璇佹潈闄愶紝鍔犺浇鐩稿簲鐨勬ā鍧椼*/ $app->parseRequest(); $app->loadModule(); diff --git a/trunk/www/upgrade.php b/trunk/www/upgrade.php index 474dca792e..8b70c7bbb7 100644 --- a/trunk/www/upgrade.php +++ b/trunk/www/upgrade.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>. * - * @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com) + * @copyright Copyright 2009-2010 闈掑矝鏄撹蒋澶╁垱缃戠粶绉戞妧鏈夐檺鍏徃(www.cnezsoft.com) * @author Chunsheng Wang <chunsheng@cnezsoft.com> * @package ZenTaoMS * @version $Id$ @@ -23,42 +23,42 @@ */ error_reporting(0); -/* 包含必须的类文件。*/ +/* 鍖呭惈蹇呴』鐨勭被鏂囦欢銆*/ include '../framework/router.class.php'; include '../framework/control.class.php'; include '../framework/model.class.php'; include '../framework/helper.class.php'; -/* 实例化路由对象,加载配置,连接到数据库。*/ +/* 瀹炰緥鍖栬矾鐢卞璞★紝鍔犺浇閰嶇疆锛岃繛鎺ュ埌鏁版嵁搴撱*/ $app = router::createApp('pms', dirname(dirname(__FILE__))); $config = $app->loadConfig('common'); -/* 重新设置config参数,进行升级。*/ +/* 閲嶆柊璁剧疆config鍙傛暟锛岃繘琛屽崌绾с*/ $config->set('requestType', 'GET'); $config->set('debug', true); $config->set('default.module', 'upgrade'); $app->setDebug(); -/* 连接到数据库。*/ +/* 杩炴帴鍒版暟鎹簱銆*/ $dbh = $app->connectDB(); -/* 设置客户端所使用的语言、风格。*/ +/* 璁剧疆瀹㈡埛绔墍浣跨敤鐨勮瑷銆侀鏍笺*/ $app->setClientLang(); $app->setClientTheme(); -/* 加载语言文件,加载公共模块。*/ +/* 鍔犺浇璇█鏂囦欢锛屽姞杞藉叕鍏辨ā鍧椼*/ $lang = $app->loadLang('common'); $common = $app->loadCommon(); -/* 加载相应的lib文件,并设置超全局变量的引用。*/ +/* 鍔犺浇鐩稿簲鐨刲ib鏂囦欢锛屽苟璁剧疆瓒呭叏灞鍙橀噺鐨勫紩鐢ㄣ*/ $app->loadClass('front', $static = true); $app->loadClass('filter', $static = true); $app->setSuperVars(); -/* 检查是否已经是最新的版本。*/ +/* 妫鏌ユ槸鍚﹀凡缁忔槸鏈鏂扮殑鐗堟湰銆*/ $config->installedVersion = $common->loadModel('setting')->getVersion(); if(version_compare($config->version, $config->installedVersion) <= 0) die(header('location: index.php')); -/* 处理请求,验证权限,加载相应的模块。*/ +/* 澶勭悊璇锋眰锛岄獙璇佹潈闄愶紝鍔犺浇鐩稿簲鐨勬ā鍧椼*/ $app->parseRequest(); $app->loadModule();