* change init lang of svn and git to common.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
ALTER TABLE `zt_release` CHANGE `name` `name` varchar(255) COLLATE 'utf8_general_ci' NOT NULL DEFAULT '' AFTER `build`;
|
||||
@@ -335,6 +335,9 @@ $lang->doc = new stdclass();
|
||||
$lang->doc->menu = new stdclass();
|
||||
//$lang->doc->menu->createLib = array('link' => '<i class="icon icon-folder-plus"></i> 添加文件夹|doc|createLib', 'float' => 'right');
|
||||
|
||||
$lang->svn = new stdclass();
|
||||
$lang->git = new stdclass();
|
||||
|
||||
/* 统计视图菜单设置。*/
|
||||
$lang->report = new stdclass();
|
||||
$lang->report->menu = new stdclass();
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
/* 方法列表。*/
|
||||
$lang->git = new stdclass();
|
||||
$lang->git->common = 'Git';
|
||||
$lang->git->cat = '查看源代码';
|
||||
$lang->git->diff = '比较源代码';
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
/* 方法列表。*/
|
||||
$lang->svn = new stdclass();
|
||||
$lang->svn->common = 'Subversion';
|
||||
$lang->svn->cat = '查看源代码';
|
||||
$lang->svn->diff = '比较源代码';
|
||||
|
||||
@@ -336,7 +336,7 @@ class userModel extends model
|
||||
$group = new stdClass();
|
||||
$group->account = $user->account;
|
||||
$group->group = $user->group;
|
||||
$this->dao->insert(TABLE_USERGROUP)->data($group)->exec();
|
||||
$this->dao->replace(TABLE_USERGROUP)->data($group)->exec();
|
||||
}
|
||||
unset($user->group);
|
||||
$this->dao->insert(TABLE_USER)->data($user)->autoCheck()->exec();
|
||||
|
||||
Reference in New Issue
Block a user