diff --git a/Makefile b/Makefile
index 29150c6eb1..78d326d062 100644
--- a/Makefile
+++ b/Makefile
@@ -53,33 +53,38 @@ zentaoxx:
cd $(XUANPATH); git archive --format=zip --prefix=xuan/ $(XUANVERSION) > xuan.zip
mv $(XUANPATH)/xuan.zip .
unzip xuan.zip
- cp xuan/ranzhi/config/ext/xuanxuan.php zentaoxx/config/ext/
- cp -r xuan/ranzhi/lib/phpaes zentaoxx/lib/
- cp -r xuan/ranzhi/framework/xuanxuan.class.php zentaoxx/framework/
- cp -r xuan/ranzhi/db/*.sql zentaoxx/db/
- cp -r xuan/ranzhi/app/sys/chat zentaoxx/module/
- cp -r xuan/ranzhi/app/sys/common/ext/model/hook zentaoxx/module/common/ext/model/
- cp -r xuan/ranzhi/app/sys/action zentaoxx/module/
+ cp xuan/xxb/config/ext/xuanxuan.php zentaoxx/config/ext/
+ cp -r xuan/xxb/lib/phpaes zentaoxx/lib/
+ cp -r xuan/xxb/framework/xuanxuan.class.php zentaoxx/framework/
+ cp -r xuan/xxb/db/*.sql zentaoxx/db/
+ cp -r xuan/xxb/module/chat zentaoxx/module/
+ cp -r xuan/xxb/module/client zentaoxx/module/
+ cp -r xuan/xxb/module/common/ext/model/hook zentaoxx/module/common/ext/model/
+ mkdir zentaoxx/module/action
+ cp -r xuan/xxb/module/action/ext zentaoxx/module/action
cp -r xuanxuan/config/* zentaoxx/config/
cp -r xuanxuan/module/* zentaoxx/module/
cp -r xuanxuan/www/* zentaoxx/www/
+ mv zentaoxx/db/ zentaoxx/db_bak
+ mkdir zentaoxx/db/
+ cp zentaoxx/db_bak/upgradexuanxuan*.sql zentaoxx/db_bak/xuanxuan.sql zentaoxx/db/
+ rm -rf zentaoxx/db_bak/
sed -i 's/site,//' zentaoxx/module/chat/model.php
sed -i 's/admin, g/g/' zentaoxx/module/chat/model.php
sed -i '/password = md5/d' zentaoxx/module/chat/control.php
sed -i '/getSignedTime/d' zentaoxx/module/chat/control.php
- sed -i 's/tree/dept/' zentaoxx/module/chat/control.php
+ sed -i "s/'yahoo', //g" zentaoxx/module/chat/config.php
+ sed -i "s/'gtalk', //g" zentaoxx/module/chat/config.php
+ sed -i "s/'wangwang', //g" zentaoxx/module/chat/config.php
+ sed -i "s/'site', //g" zentaoxx/module/chat/config.php
+ sed -i "s/'reload'/inlink('browse')/g" zentaoxx/module/client/control.php
sed -i 's/tree/dept/' zentaoxx/module/chat/model.php
- sed -i "s/, 'sys'//" zentaoxx/module/chat/control.php
- sed -i 's/system.sys/system/' zentaoxx/module/chat/control.php
- sed -i 's/&app=sys//' zentaoxx/module/chat/control.php
- sed -i 's/file->createdBy/file->addedBy/' zentaoxx/module/chat/control.php
- sed -i 's/file->createdDate/file->addedDate/' zentaoxx/module/chat/control.php
sed -i 's/im_/zt_im_/' zentaoxx/db/*.sql
- sed -i 's/sys_user/zt_user/' zentaoxx/db/*.sql
- sed -i 's/sys_file/zt_file/' zentaoxx/db/*.sql
- sed -i '/sys_entry/d' zentaoxx/db/*.sql
+ sed -i 's/xxb_user/zt_user/' zentaoxx/db/*.sql
+ sed -i 's/xxb_file/zt_file/' zentaoxx/db/*.sql
+ sed -i '/xxb_entry/d' zentaoxx/db/*.sql
mkdir zentaoxx/tools; cp tools/cn2tw.php zentaoxx/tools; cd zentaoxx/tools; php cn2tw.php
- rm -rf zentaopms/tools
+ rm -rf zentaoxx/tools
zip -rqm -9 zentaoxx.$(VERSION).zip zentaoxx/*
rm -rf xuan.zip xuan zentaoxx
package:
diff --git a/module/bug/lang/en.php b/module/bug/lang/en.php
index 3b0376cdec..8e2f490b55 100644
--- a/module/bug/lang/en.php
+++ b/module/bug/lang/en.php
@@ -95,9 +95,6 @@ $lang->bug->reportChart = 'Report';
$lang->bug->export = 'Export';
$lang->bug->delete = 'Delete';
$lang->bug->deleted = 'Deleted';
-$lang->bug->saveTemplate = 'Save as Template';
-$lang->bug->setPublic = 'Set as Public Template';
-$lang->bug->deleteTemplate = 'Delete Template';
$lang->bug->confirmStoryChange = 'Confirm Story Change';
$lang->bug->copy = 'Copy';
$lang->bug->search = 'Search';
@@ -163,11 +160,8 @@ $lang->bug->buttonConfirm = 'Confirm';
$lang->bug->summary = "Bugs on this page : %s Total, %s Unresolved.";
$lang->bug->confirmChangeProduct = "Any change to {$lang->productCommon} will cause linked {$lang->projectCommon}, Story and Task change. Do you want to do this?";
$lang->bug->confirmDelete = 'Do you want to delete this bug?';
-$lang->bug->setTemplateTitle = 'Please enter the title of template.';
$lang->bug->remindTask = 'This Bug has been converted to Task. Do you want to update Status of Task(ID %s)?';
$lang->bug->skipClose = 'Bug %s is not resolved. You cannot close it.';
-$lang->bug->applyTemplate = 'Template';
-$lang->bug->confirmDeleteTemplate = 'Do you want to delete this template?';
/* 模板。*/
$lang->bug->tplStep = "
+
+
goback, '', "class='btn'");?>
+
+
+
+
client->create, '', "class='btn btn-primary' data-toggle='modal'");?>
+
+
client->browseVersion;?>
+
+
+
+
+
+ | client->id?> |
+ client->version?> |
+ client->desc?> |
+ client->strategy?> |
+ client->releaseStatus?> |
+ actions?> |
+
+
+
+
+
+ | id?> |
+ version?> |
+ desc?> |
+ client->strategies[$client->strategy]?> |
+ client->status[$client->status]?> |
+
+ id}", $lang->edit, '', "data-toggle='modal'");?>
+ id}", $lang->delete, '', "class='deleter'");?>
+ |
+
+
+
+
+
+
+
diff --git a/xuanxuan/module/common/ext/lang/en/xuanxuan.php b/xuanxuan/module/common/ext/lang/en/xuanxuan.php
index dc9907ee02..4d976ec215 100644
--- a/xuanxuan/module/common/ext/lang/en/xuanxuan.php
+++ b/xuanxuan/module/common/ext/lang/en/xuanxuan.php
@@ -4,6 +4,15 @@ $lang->xuanxuan = new stdclass();
$lang->admin->menu->sso['link'] = 'Integrate|admin|xuanxuan';
if(!isset($lang->admin->menu->sso['alias'])) $lang->admin->menu->sso['alias'] = '';
$lang->admin->menu->sso['alias'] = $lang->admin->menu->sso['alias'] . ',sso';
+if(!isset($lang->admin->menu->sso['subModule'])) $lang->admin->menu->sso['subModule'] = '';
+$lang->admin->menu->sso['subModule'] = $lang->admin->menu->sso['subModule'] . ',client';
-$lang->admin->subMenu->sso->xuanxuan = 'ZT Client|admin|xuanxuan';
+$lang->admin->subMenu->sso->xuanxuan = array('link' => 'ZT Client|admin|xuanxuan', 'subModule' => 'client');
$lang->admin->subMenuOrder->sso[4] = 'xuanxuan';
+
+$lang->client = new stdclass();
+$lang->client->menu = $lang->admin->menu;
+
+$lang->menugroup->client = 'admin';
+
+$lang->confirmDelete = 'Do you want to delete it?';
diff --git a/xuanxuan/module/common/ext/lang/zh-cn/xuanxuan.php b/xuanxuan/module/common/ext/lang/zh-cn/xuanxuan.php
index 6e9dbfe3df..a39a86fc8f 100644
--- a/xuanxuan/module/common/ext/lang/zh-cn/xuanxuan.php
+++ b/xuanxuan/module/common/ext/lang/zh-cn/xuanxuan.php
@@ -4,6 +4,12 @@ $lang->xuanxuan = new stdclass();
$lang->admin->menu->sso['link'] = '集成|admin|xuanxuan';
if(!isset($lang->admin->menu->sso['alias'])) $lang->admin->menu->sso['alias'] = '';
$lang->admin->menu->sso['alias'] = $lang->admin->menu->sso['alias'] . ',sso';
+if(!isset($lang->admin->menu->sso['subModule'])) $lang->admin->menu->sso['subModule'] = '';
+$lang->admin->menu->sso['subModule'] = $lang->admin->menu->sso['subModule'] . ',client';
-$lang->admin->subMenu->sso->xuanxuan = '客户端集成|admin|xuanxuan';
+$lang->admin->subMenu->sso->xuanxuan = array('link' => '客户端集成|admin|xuanxuan', 'subModule' => 'client');
$lang->admin->subMenuOrder->sso[4] = 'xuanxuan';
+
+$lang->menugroup->client = 'admin';
+
+$lang->confirmDelete = '您确定要执行删除操作吗?';
diff --git a/xuanxuan/module/common/view/footer.modal.html.php b/xuanxuan/module/common/view/footer.modal.html.php
new file mode 100644
index 0000000000..fa394d1d9e
--- /dev/null
+++ b/xuanxuan/module/common/view/footer.modal.html.php
@@ -0,0 +1,43 @@
+
+ * @package RanZhi
+ * @version $Id$
+ * @link http://www.ranzhico.com
+ */
+?>
+
+
+
+
+
+
+
+app->getAppRoot() . 'module/common/view/footer.html.php'; ?>
+
diff --git a/xuanxuan/module/common/view/header.modal.html.php b/xuanxuan/module/common/view/header.modal.html.php
new file mode 100644
index 0000000000..7b967eb51e
--- /dev/null
+++ b/xuanxuan/module/common/view/header.modal.html.php
@@ -0,0 +1,43 @@
+
+ * @package common
+ * @version $Id$
+ * @link http://www.ranzhico.com
+ */
+?>
+
+webRoot;
+$jsRoot = $webRoot . "js/";
+$themeRoot = $webRoot . "theme/";
+$modalSizeList = array('lg' => '900px', 'sm' => '300px');
+if(!isset($modalWidth)) $modalWidth = 700;
+if(is_numeric($modalWidth))
+{
+ $modalWidth .= 'px';
+}
+else if(isset($modalSizeList[$modalWidth]))
+{
+ $modalWidth = $modalSizeList[$modalWidth];
+}
+if(isset($pageCSS)) css::internal($pageCSS);
+?>
+
+