* convert to utf-8.

This commit is contained in:
wangchunsheng
2010-06-17 09:32:58 +00:00
parent 140a9af89c
commit 5f4cf8eb0c
138 changed files with 369 additions and 369 deletions
+13 -13
View File
@@ -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. 撰写升级声明。
+9 -9
View File
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoPMS. 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 ZenTaoPMS
* @version $Id$
@@ -25,45 +25,45 @@
error_reporting(0);
define('IN_SHELL', true);
/* 获取命令参数。 */
/* 获取命令参数。 */
if($argc != 2)
{
die('Usage: ' . basename(__FILE__) . " <request>\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();
/* 将输入的参数解析成对于的变量。*/
/* 将输入的参数解析成对于的变量。*/
$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文件,并设置超全局变量的引用。*/
/* 加载相应的lib文件,并设置超全局变量的引用。*/
$app->loadClass('front', $static = true);
$app->loadClass('filter', $static = true);
$app->setSuperVars();
/* 解析请求,加载模块。*/
/* 解析请求,加载模块。*/
$app->parseRequest();
$app->loadModule();
+1 -1
View File
@@ -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 action
* @version $Id$
+1 -1
View File
@@ -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 admin
* @version $Id$
+1 -1
View File
@@ -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 bug
* @version $Id$
+1 -1
View File
@@ -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 bug
* @version $Id$
+1 -1
View File
@@ -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 bug
* @version $Id$
+1 -1
View File
@@ -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 bug
* @version $Id$
+1 -1
View File
@@ -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 bug
* @version $Id$
+1 -1
View File
@@ -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 bug
* @version $Id$
+1 -1
View File
@@ -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 bug
* @version $Id$
+1 -1
View File
@@ -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 build
* @version $Id$
+1 -1
View File
@@ -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 build
* @version $Id$
+1 -1
View File
@@ -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 build
* @version $Id$
+37 -37
View File
@@ -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 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 "<ul>\n";
echo "<li style='padding:0; height:30px'><a href='http://www.zentaoms.com' target='_blank'><img src='$logo' /></a></li>\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 "</ul>\n";
}
/* 打印模块的菜单。*/
/* 打印模块的菜单。*/
public static function printModuleMenu($moduleName)
{
global $lang, $app;
/* 没有设置菜单,直接退出。*/
/* 没有设置菜单,直接退出。*/
if(!isset($lang->$moduleName->menu)) {echo "<ul></ul>"; return;}
/* 获得菜单设置,并记录当前的模块名和方法名。*/
/* 获得菜单设置,并记录当前的模块名和方法名。*/
$submenus = $lang->$moduleName->menu;
$currentModule = $app->getModuleName();
$currentMethod = $app->getMethodName();
/* 菜单开始。*/
/* 菜单开始。*/
echo "<ul>\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 "<li>$link</li>\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 "</ul>\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 "<div class='$className'>" . html::a($link, $label) . '</div>';
}
/* 打印链接,会检查权限*/
/* 打印链接,会检查权限*/
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到session会话中。*/
public static function saveProductState($productID, $defaultProductID)
{
global $app;
@@ -396,7 +396,7 @@ EOT;
return $app->session->product;
}
/* 保存最后浏览的项目id到session会话中。*/
/* 保存最后浏览的项目id到session会话中。*/
public static function saveProjectState($projectID, $projects)
{
global $app;
@@ -407,7 +407,7 @@ EOT;
}
/**
* 发送header信息到浏览器。
* 发送header信息到浏览器。
*
* @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自动化测试框架。*/
/* 比较两个字符串的不同。摘自PHPQAT自动化测试框架。*/
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;
+10 -10
View File
@@ -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 company
* @version $Id$
@@ -25,29 +25,29 @@
<?php
class companyModel extends model
{
/* 设置菜单。*/
/* 设置菜单。*/
public function setMenu($dept = 0)
{
common::setMenuVars($this->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 访问的域名,如果为空,则取HTTP_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();
+1 -1
View File
@@ -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 product
* @version $Id$
+1 -1
View File
@@ -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 company
* @version $Id$
+1 -1
View File
@@ -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 company
* @version $Id$
+7 -7
View File
@@ -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 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。*/
/* 检查Tables。*/
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)
+22 -22
View File
@@ -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 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表中。*/
/* 插入到group表中。*/
$this->dao->dbh($this->dbh)->insert(TABLE_GROUP)->data($group)->exec();
$zentaoGroupID = $this->dao->lastInsertId();
/* 设置账户和group的对应关系。*/
/* 设置账户和group的对应关系。*/
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数据库中。*/
/* 导入到zentao数据库中。*/
$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。*/
/* 获得转换之后的bugID。*/
$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))
{
+34 -34
View File
@@ -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 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数据库中。*/
/* 导入到zentao数据库中。*/
$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表。*/
/* 插入到group表。*/
$this->dao->dbh($this->dbh)->insert(TABLE_GROUP)->data($group)->exec();
$zentaoGroupID = $this->dao->lastInsertId();
/* 插入到userGroup表。*/
/* 插入到userGroup表。*/
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。*/
/* 将产品和模块替换成禅道系统中的id。*/
$case->product = $this->map['product'][$case->product];
$case->module = $this->map['module'][$case->module];
/* 插入到case表中。*/
/* 插入到case表中。*/
$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信息。*/
/* 记录对应的bug信息。*/
$bugID = (int)$result->bugID;
$zentaoBugID = $this->map['bug'][$bugID];
unset($result->bugID);
/* 插入到testResult表中。*/
/* 插入到testResult表中。*/
$this->dao->dbh($this->dbh)->insert(TABLE_TESTRESULT)->data($result)->exec();
$zentaoResultID = $this->dao->lastInsertId();
$this->map['result'][$resultID] = $zentaoResultID;
/* 更新bug表中的result字段。*/
/* 更新bug表中的result字段。*/
$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信息,以获得文件的相关字段。*/
/* 查找对应的action信息,以获得文件的相关字段。*/
$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)
+1 -1
View File
@@ -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 convert
* @version $Id$
+1 -1
View File
@@ -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 convert
* @version $Id$
+1 -1
View File
@@ -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$
+1 -1
View File
@@ -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 convert
* @version $Id$
+1 -1
View File
@@ -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 convert
* @version $Id$
+1 -1
View File
@@ -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 dept
* @version $Id$
+1 -1
View File
@@ -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 product
* @version $Id$
+1 -1
View File
@@ -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 product
* @version $Id$
+1 -1
View File
@@ -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 group
* @version $Id$
+1 -1
View File
@@ -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 group
* @version $Id$
+1 -1
View File
@@ -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 group
* @version $Id$
+1 -1
View File
@@ -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 group
* @version $Id$
+1 -1
View File
@@ -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 group
* @version $Id$
+1 -1
View File
@@ -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 group
* @version $Id$
+1 -1
View File
@@ -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 group
* @version $Id$
+3 -3
View File
@@ -17,7 +17,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,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');
+1 -1
View File
@@ -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$
+1 -1
View File
@@ -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$
+1 -1
View File
@@ -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$
+1 -1
View File
@@ -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$
+1 -1
View File
@@ -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$
+1 -1
View File
@@ -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$
+1 -1
View File
@@ -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 misc
* @version $Id$
+1 -1
View File
@@ -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 dashboard
* @version $Id$
+1 -1
View File
@@ -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 user
* @version $Id$
+1 -1
View File
@@ -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 my
* @version $Id$
+1 -1
View File
@@ -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 dashboard
* @version $Id$
+1 -1
View File
@@ -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 dashboard
* @version $Id$
+1 -1
View File
@@ -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 dashboard
* @version $Id$
+1 -1
View File
@@ -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 dashboard
* @version $Id$
+1 -1
View File
@@ -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 dashboard
* @version $Id$
+13 -13
View File
@@ -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 product
* @version $Id$
@@ -25,10 +25,10 @@
<?php
class productModel extends model
{
/* 设置菜单。*/
/* 设置菜单。*/
public function setMenu($products, $productID, $extra = '')
{
/* 获得当前的模块和方法,传递给switchProduct方法,供页面跳转使用。*/
/* 获得当前的模块和方法,传递给switchProduct方法,供页面跳转使用。*/
$currentModule = $this->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列表。*/
/* 获取产品的项目id=>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);
+1 -1
View File
@@ -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 product
* @version $Id$
+1 -1
View File
@@ -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 product
* @version $Id$
+1 -1
View File
@@ -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 product
* @version $Id$
+1 -1
View File
@@ -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 product
* @version $Id$
+1 -1
View File
@@ -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 plan
* @version $Id$
+1 -1
View File
@@ -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 productplan
* @version $Id$
+1 -1
View File
@@ -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 productplan
* @version $Id$
+1 -1
View File
@@ -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 productplan
* @version $Id$
+1 -1
View File
@@ -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 productplan
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 project
* @version $Id$
+1 -1
View File
@@ -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 qa
* @version $Id$
+1 -1
View File
@@ -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 company
* @version $Id$
+1 -1
View File
@@ -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 release
* @version $Id$
+1 -1
View File
@@ -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 release
* @version $Id$
+1 -1
View File
@@ -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 release
* @version $Id$
+1 -1
View File
@@ -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 release
* @version $Id$
+1 -1
View File
@@ -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 report
* @version $Id$
+1 -1
View File
@@ -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 search
* @version $Id$
+1 -1
View File
@@ -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 story
* @version $Id$
+1 -1
View File
@@ -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 story
* @version $Id$
+1 -1
View File
@@ -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 story
* @version $Id$
+1 -1
View File
@@ -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 story
* @version $Id$
+1 -1
View File
@@ -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 story
* @version $Id$
+1 -1
View File
@@ -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 story
* @version $Id$
+1 -1
View File
@@ -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 bug
* @version $Id$
+1 -1
View File
@@ -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 story
* @version $Id$
+1 -1
View File
@@ -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 task
* @version $Id$
+1 -1
View File
@@ -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 task
* @version $Id$
+1 -1
View File
@@ -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 task
* @version $Id$
+1 -1
View File
@@ -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 task
* @version $Id$

Some files were not shown because too many files have changed in this diff Show More