* [bug#63535,done,0.1h] When modifying unbinding, redirect to the official website copy.

This commit is contained in:
zhangjialiang
2025-06-23 16:01:23 +08:00
parent 0c6ca08d78
commit 5281677f36
7 changed files with 180 additions and 180 deletions
+5 -5
View File
@@ -523,7 +523,7 @@ class admin extends control
{
if(!empty($_POST))
{
if(!$this->post->mobile || !$this->post->code) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->community->loginFailedNoInfo));
if(!$this->post->mobile || !$this->post->code) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedNoInfo));
$apiRoot = $this->config->admin->register->apiRoot;
$sessionVar = $this->config->sessionVar;
@@ -553,11 +553,11 @@ class admin extends control
return $this->send(array('result' => 'success', 'load' => inlink('register')));
}
return $this->send(array('result' => 'fail', 'message' => isset($response['message']) ? $response['message'] : $this->lang->admin->community->loginFailed));
return $this->send(array('result' => 'fail', 'message' => isset($response['message']) ? $response['message'] : $this->lang->admin->register->loginFailed));
}
}
$this->view->title = $this->lang->admin->community->registerTitle;
$this->view->title = $this->lang->admin->register->registerTitle;
$this->display();
}
@@ -576,7 +576,7 @@ class admin extends control
$this->config->admin->register->bindCommunity = 'false';
$this->config->admin->register->bindCommunityMobile = '';
$this->config->admin->register->agreeUX = 'false';
return $this->send(array('result' => 'success', 'message' => $this->lang->admin->community->unBind->success, 'load' => inlink('register')));
return $this->send(array('result' => 'success', 'message' => $this->lang->admin->register->unBind->success, 'load' => inlink('register')));
}
/**
@@ -591,7 +591,7 @@ class admin extends control
$agreeUX = $this->post->agreeUX;
$this->loadModel('setting')->setItem('system.admin.register.agreeUX', $agreeUX);
$this->config->admin->register->agreeUX = $agreeUX;
$message = $agreeUX == 'true' ? $this->lang->admin->community->uxPlan->agree : $this->lang->admin->community->uxPlan->cancel;
$message = $agreeUX == 'true' ? $this->lang->admin->register->uxPlan->agree : $this->lang->admin->register->uxPlan->cancel;
return $this->send(array('result' => 'success', 'message' => $message));
}
+36 -36
View File
@@ -224,43 +224,43 @@ $lang->admin->ai->miniPrograms = 'AI Mini Programs';
$lang->admin->ai->prompt = 'AI Prompts';
$lang->admin->ai->assistant = 'AI Assistant';
$lang->admin->community = new stdclass();
$lang->admin->community->registerTitle = 'Join ZenTao';
$lang->admin->community->skip = 'Skip';
$lang->admin->community->uxPlanTitle = 'ZenTao User Experience Improvement Program';
$lang->admin->community->loginFailed = 'Login failed';
$lang->admin->community->loginFailedNoInfo = 'Please fill in the registration information';
$lang->admin->community->officialWebsite = '<span style="font-size: 12px;">ZenTao Official website </span>';
$lang->admin->community->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" ';
$lang->admin->community->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.';
$lang->admin->community->mobile = 'phone number';
$lang->admin->community->smsCode = 'Verification code';
$lang->admin->community->sendCode = 'send code';
$lang->admin->community->join = 'join the';
$lang->admin->community->joinDesc = 'and help us understand the usage of the product';
$lang->admin->community->captchaTip = 'verification code';
$lang->admin->community->sure = 'send';
$lang->admin->community->unBindText = 'unbind';
$lang->admin->community->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:';
$lang->admin->community->advantage1 = 'PM Gift Pack';
$lang->admin->community->advantage2 = 'Support Services';
$lang->admin->community->advantage3 = 'Experience Demo';
$lang->admin->community->advantage4 = 'ZenTao Manual';
$lang->admin->community->goCommunity = 'Jump To';
$lang->admin->community->enterMobile = 'Please enter your phone number';
$lang->admin->community->enterCode = 'Please enter the verification code';
$lang->admin->community->goBack = 'back';
$lang->admin->community->reSend = 'resend';
$lang->admin->community->unbindTitle = 'Are you sure you want to unbind from the ZenTao';
$lang->admin->community->unbindContent = 'After unbinding, you will not be able to log in directly to the ZenTao official website through the ZenTao software';
$lang->admin->community->cancelButton = 'cancel';
$lang->admin->community->unbindButton = 'yes';
$lang->admin->register = new stdclass();
$lang->admin->register->registerTitle = 'Join ZenTao';
$lang->admin->register->skip = 'Skip';
$lang->admin->register->uxPlanTitle = 'ZenTao User Experience Improvement Program';
$lang->admin->register->loginFailed = 'Login failed';
$lang->admin->register->loginFailedNoInfo = 'Please fill in the registration information';
$lang->admin->register->officialWebsite = '<span style="font-size: 12px;">ZenTao Official website </span>';
$lang->admin->register->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" ';
$lang->admin->register->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.';
$lang->admin->register->mobile = 'phone number';
$lang->admin->register->smsCode = 'Verification code';
$lang->admin->register->sendCode = 'send code';
$lang->admin->register->join = 'join the';
$lang->admin->register->joinDesc = 'and help us understand the usage of the product';
$lang->admin->register->captchaTip = 'verification code';
$lang->admin->register->sure = 'send';
$lang->admin->register->unBindText = 'unbind';
$lang->admin->register->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:';
$lang->admin->register->advantage1 = 'PM Gift Pack';
$lang->admin->register->advantage2 = 'Support Services';
$lang->admin->register->advantage3 = 'Experience Demo';
$lang->admin->register->advantage4 = 'ZenTao Manual';
$lang->admin->register->goCommunity = 'Jump To';
$lang->admin->register->enterMobile = 'Please enter your phone number';
$lang->admin->register->enterCode = 'Please enter the verification code';
$lang->admin->register->goBack = 'back';
$lang->admin->register->reSend = 'resend';
$lang->admin->register->unbindTitle = 'Are you sure you want to unbind from the ZenTao';
$lang->admin->register->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software';
$lang->admin->register->cancelButton = 'cancel';
$lang->admin->register->unbindButton = 'yes';
$lang->admin->community->uxPlan = new stdclass();
$lang->admin->community->uxPlan->agree = 'Agreed';
$lang->admin->community->uxPlan->cancel = 'Canceled';
$lang->admin->register->uxPlan = new stdclass();
$lang->admin->register->uxPlan->agree = 'Agreed';
$lang->admin->register->uxPlan->cancel = 'Canceled';
$lang->admin->community->unBind = new stdclass();
$lang->admin->community->unBind->success = 'Unbound';
$lang->admin->register->unBind = new stdclass();
$lang->admin->register->unBind->success = 'Unbound';
include dirname(__FILE__) . '/menu.php';
+36 -36
View File
@@ -224,43 +224,43 @@ $lang->admin->ai->miniPrograms = 'AI Mini Programs';
$lang->admin->ai->prompt = 'AI Prompts';
$lang->admin->ai->assistant = 'AI Assistant';
$lang->admin->community = new stdclass();
$lang->admin->community->registerTitle = 'Join ZenTao';
$lang->admin->community->skip = 'Skip';
$lang->admin->community->uxPlanTitle = 'ZenTao User Experience Improvement Program';
$lang->admin->community->loginFailed = 'Login failed';
$lang->admin->community->loginFailedNoInfo = 'Please fill in the registration information';
$lang->admin->community->officialWebsite = '<span style="font-size: 12px;">ZenTao Official website </span>';
$lang->admin->community->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" ';
$lang->admin->community->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.';
$lang->admin->community->mobile = 'phone number';
$lang->admin->community->smsCode = 'Verification code';
$lang->admin->community->sendCode = 'send code';
$lang->admin->community->join = 'join the';
$lang->admin->community->joinDesc = 'and help us understand the usage of the product';
$lang->admin->community->captchaTip = 'verification code';
$lang->admin->community->sure = 'send';
$lang->admin->community->unBindText = 'unbind';
$lang->admin->community->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:';
$lang->admin->community->advantage1 = 'PM Gift Pack';
$lang->admin->community->advantage2 = 'Support Services';
$lang->admin->community->advantage3 = 'Experience Demo';
$lang->admin->community->advantage4 = 'ZenTao Manual';
$lang->admin->community->goCommunity = 'Jump To';
$lang->admin->community->enterMobile = 'Please enter your phone number';
$lang->admin->community->enterCode = 'Please enter the verification code';
$lang->admin->community->goBack = 'back';
$lang->admin->community->reSend = 'resend';
$lang->admin->community->unbindTitle = 'Are you sure you want to unbind from the ZenTao';
$lang->admin->community->unbindContent = 'After unbinding, you will not be able to log in directly to the ZenTao official website through the ZenTao software';
$lang->admin->community->cancelButton = 'cancel';
$lang->admin->community->unbindButton = 'yes';
$lang->admin->register = new stdclass();
$lang->admin->register->registerTitle = 'Join ZenTao';
$lang->admin->register->skip = 'Skip';
$lang->admin->register->uxPlanTitle = 'ZenTao User Experience Improvement Program';
$lang->admin->register->loginFailed = 'Login failed';
$lang->admin->register->loginFailedNoInfo = 'Please fill in the registration information';
$lang->admin->register->officialWebsite = '<span style="font-size: 12px;">ZenTao Official website </span>';
$lang->admin->register->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" ';
$lang->admin->register->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.';
$lang->admin->register->mobile = 'phone number';
$lang->admin->register->smsCode = 'Verification code';
$lang->admin->register->sendCode = 'send code';
$lang->admin->register->join = 'join the';
$lang->admin->register->joinDesc = 'and help us understand the usage of the product';
$lang->admin->register->captchaTip = 'verification code';
$lang->admin->register->sure = 'send';
$lang->admin->register->unBindText = 'unbind';
$lang->admin->register->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:';
$lang->admin->register->advantage1 = 'PM Gift Pack';
$lang->admin->register->advantage2 = 'Support Services';
$lang->admin->register->advantage3 = 'Experience Demo';
$lang->admin->register->advantage4 = 'ZenTao Manual';
$lang->admin->register->goCommunity = 'Jump To';
$lang->admin->register->enterMobile = 'Please enter your phone number';
$lang->admin->register->enterCode = 'Please enter the verification code';
$lang->admin->register->goBack = 'back';
$lang->admin->register->reSend = 'resend';
$lang->admin->register->unbindTitle = 'Are you sure you want to unbind from the ZenTao';
$lang->admin->register->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software';
$lang->admin->register->cancelButton = 'cancel';
$lang->admin->register->unbindButton = 'yes';
$lang->admin->community->uxPlan = new stdclass();
$lang->admin->community->uxPlan->agree = 'Agreed';
$lang->admin->community->uxPlan->cancel = 'Canceled';
$lang->admin->register->uxPlan = new stdclass();
$lang->admin->register->uxPlan->agree = 'Agreed';
$lang->admin->register->uxPlan->cancel = 'Canceled';
$lang->admin->community->unBind = new stdclass();
$lang->admin->community->unBind->success = 'Unbound';
$lang->admin->register->unBind = new stdclass();
$lang->admin->register->unBind->success = 'Unbound';
include dirname(__FILE__) . '/menu.php';
+36 -36
View File
@@ -224,43 +224,43 @@ $lang->admin->ai->miniPrograms = 'AI Mini Programs';
$lang->admin->ai->prompt = 'AI Prompts';
$lang->admin->ai->assistant = 'AI Assistant';
$lang->admin->community = new stdclass();
$lang->admin->community->registerTitle = 'Join ZenTao';
$lang->admin->community->skip = 'Skip';
$lang->admin->community->uxPlanTitle = 'ZenTao User Experience Improvement Program';
$lang->admin->community->loginFailed = 'Login failed';
$lang->admin->community->loginFailedNoInfo = 'Please fill in the registration information';
$lang->admin->community->officialWebsite = '<span style="font-size: 12px;">ZenTao Official website </span>';
$lang->admin->community->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" ';
$lang->admin->community->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.';
$lang->admin->community->mobile = 'phone number';
$lang->admin->community->smsCode = 'Verification code';
$lang->admin->community->sendCode = 'send code';
$lang->admin->community->join = 'join the';
$lang->admin->community->joinDesc = 'and help us understand the usage of the product';
$lang->admin->community->captchaTip = 'verification code';
$lang->admin->community->sure = 'send';
$lang->admin->community->unBindText = 'unbind';
$lang->admin->community->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:';
$lang->admin->community->advantage1 = 'PM Gift Pack';
$lang->admin->community->advantage2 = 'Support Services';
$lang->admin->community->advantage3 = 'Experience Demo';
$lang->admin->community->advantage4 = 'ZenTao Manual';
$lang->admin->community->goCommunity = 'Jump To';
$lang->admin->community->enterMobile = 'Please enter your phone number';
$lang->admin->community->enterCode = 'Please enter the verification code';
$lang->admin->community->goBack = 'back';
$lang->admin->community->reSend = 'resend';
$lang->admin->community->unbindTitle = 'Are you sure you want to unbind from the ZenTao';
$lang->admin->community->unbindContent = 'After unbinding, you will not be able to log in directly to the ZenTao official website through the ZenTao software';
$lang->admin->community->cancelButton = 'cancel';
$lang->admin->community->unbindButton = 'yes';
$lang->admin->register = new stdclass();
$lang->admin->register->registerTitle = 'Join ZenTao';
$lang->admin->register->skip = 'Skip';
$lang->admin->register->uxPlanTitle = 'ZenTao User Experience Improvement Program';
$lang->admin->register->loginFailed = 'Login failed';
$lang->admin->register->loginFailedNoInfo = 'Please fill in the registration information';
$lang->admin->register->officialWebsite = '<span style="font-size: 12px;">ZenTao Official website </span>';
$lang->admin->register->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" ';
$lang->admin->register->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.';
$lang->admin->register->mobile = 'phone number';
$lang->admin->register->smsCode = 'Verification code';
$lang->admin->register->sendCode = 'send code';
$lang->admin->register->join = 'join the';
$lang->admin->register->joinDesc = 'and help us understand the usage of the product';
$lang->admin->register->captchaTip = 'verification code';
$lang->admin->register->sure = 'send';
$lang->admin->register->unBindText = 'unbind';
$lang->admin->register->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:';
$lang->admin->register->advantage1 = 'PM Gift Pack';
$lang->admin->register->advantage2 = 'Support Services';
$lang->admin->register->advantage3 = 'Experience Demo';
$lang->admin->register->advantage4 = 'ZenTao Manual';
$lang->admin->register->goCommunity = 'Jump To';
$lang->admin->register->enterMobile = 'Please enter your phone number';
$lang->admin->register->enterCode = 'Please enter the verification code';
$lang->admin->register->goBack = 'back';
$lang->admin->register->reSend = 'resend';
$lang->admin->register->unbindTitle = 'Are you sure you want to unbind from the ZenTao';
$lang->admin->register->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software';
$lang->admin->register->cancelButton = 'cancel';
$lang->admin->register->unbindButton = 'yes';
$lang->admin->community->uxPlan = new stdclass();
$lang->admin->community->uxPlan->agree = 'Agreed';
$lang->admin->community->uxPlan->cancel = 'Canceled';
$lang->admin->register->uxPlan = new stdclass();
$lang->admin->register->uxPlan->agree = 'Agreed';
$lang->admin->register->uxPlan->cancel = 'Canceled';
$lang->admin->community->unBind = new stdclass();
$lang->admin->community->unBind->success = 'Unbound';
$lang->admin->register->unBind = new stdclass();
$lang->admin->register->unBind->success = 'Unbound';
include dirname(__FILE__) . '/menu.php';
+36 -36
View File
@@ -224,43 +224,43 @@ $lang->admin->ai->miniPrograms = 'AI 小程序';
$lang->admin->ai->prompt = 'AI 提词';
$lang->admin->ai->assistant = 'AI 助手';
$lang->admin->community = new stdclass();
$lang->admin->community->registerTitle = '加入禅道社区';
$lang->admin->community->skip = '跳过';
$lang->admin->community->uxPlanTitle = '禅道用户体验改进计划';
$lang->admin->community->loginFailed = '登录失败';
$lang->admin->community->loginFailedNoInfo = '请填写注册信息';
$lang->admin->community->officialWebsite = '禅道官网 ';
$lang->admin->community->uxPlanWithBookTitle = '《禅道用户体验改进计划》';
$lang->admin->community->uxPlanStatusTitle = '帮助我们了解产品使用情况,您可在后台关闭此功能。';
$lang->admin->community->mobile = '手机号';
$lang->admin->community->smsCode = '验证码';
$lang->admin->community->sendCode = '获取验证码';
$lang->admin->community->join = '加入';
$lang->admin->community->joinDesc = '帮助我们了解产品使用情况。';
$lang->admin->community->captchaTip = '请输入图形验证码';
$lang->admin->community->sure = '确定';
$lang->admin->community->unBindText = '解绑';
$lang->admin->community->welcome = '欢迎您加入禅道社区。在这里,您可以获得:';
$lang->admin->community->advantage1 = '项目管理大礼包';
$lang->admin->community->advantage2 = '技术支持服务';
$lang->admin->community->advantage3 = '体验各版本Demo';
$lang->admin->community->advantage4 = '禅道软件手册';
$lang->admin->community->goCommunity = '前往社区';
$lang->admin->community->enterMobile = '请输入手机号';
$lang->admin->community->enterCode = '请输入验证码';
$lang->admin->community->goBack = '返回';
$lang->admin->community->reSend = '重新发送';
$lang->admin->community->unbindTitle = '确认与禅道解绑吗';
$lang->admin->community->unbindContent = '解绑后将无法通过禅道软件直接登录禅道官网';
$lang->admin->community->cancelButton = '取消';
$lang->admin->community->unbindButton = '解绑';
$lang->admin->register = new stdclass();
$lang->admin->register->registerTitle = '加入禅道社区';
$lang->admin->register->skip = '跳过';
$lang->admin->register->uxPlanTitle = '禅道用户体验改进计划';
$lang->admin->register->loginFailed = '登录失败';
$lang->admin->register->loginFailedNoInfo = '请填写注册信息';
$lang->admin->register->officialWebsite = '禅道官网 ';
$lang->admin->register->uxPlanWithBookTitle = '《禅道用户体验改进计划》';
$lang->admin->register->uxPlanStatusTitle = '帮助我们了解产品使用情况,您可在后台关闭此功能。';
$lang->admin->register->mobile = '手机号';
$lang->admin->register->smsCode = '验证码';
$lang->admin->register->sendCode = '获取验证码';
$lang->admin->register->join = '加入';
$lang->admin->register->joinDesc = '帮助我们了解产品使用情况。';
$lang->admin->register->captchaTip = '请输入图形验证码';
$lang->admin->register->sure = '确定';
$lang->admin->register->unBindText = '解绑';
$lang->admin->register->welcome = '欢迎您加入禅道社区。在这里,您可以获得:';
$lang->admin->register->advantage1 = '项目管理大礼包';
$lang->admin->register->advantage2 = '技术支持服务';
$lang->admin->register->advantage3 = '体验各版本Demo';
$lang->admin->register->advantage4 = '禅道软件手册';
$lang->admin->register->goCommunity = '前往社区';
$lang->admin->register->enterMobile = '请输入手机号';
$lang->admin->register->enterCode = '请输入验证码';
$lang->admin->register->goBack = '返回';
$lang->admin->register->reSend = '重新发送';
$lang->admin->register->unbindTitle = '确认与禅道解绑吗';
$lang->admin->register->unbindContent = '解绑后将无法通过禅道软件直接跳转禅道官网';
$lang->admin->register->cancelButton = '取消';
$lang->admin->register->unbindButton = '解绑';
$lang->admin->community->uxPlan = new stdclass();
$lang->admin->community->uxPlan->agree = '已同意';
$lang->admin->community->uxPlan->cancel = '已取消';
$lang->admin->register->uxPlan = new stdclass();
$lang->admin->register->uxPlan->agree = '已同意';
$lang->admin->register->uxPlan->cancel = '已取消';
$lang->admin->community->unBind = new stdclass();
$lang->admin->community->unBind->success = '已解绑';
$lang->admin->register->unBind = new stdclass();
$lang->admin->register->unBind->success = '已解绑';
include dirname(__FILE__) . '/menu.php';
+1 -1
View File
@@ -12,7 +12,7 @@ declare(strict_types=1);
namespace zin;
modalHeader(set::title($this->lang->admin->community->uxPlanTitle));
modalHeader(set::title($this->lang->admin->register->uxPlanTitle));
$uxPlan = '';
$uxPlanFile = $this->app->getAppRoot() . 'www/uxplan.html';
+30 -30
View File
@@ -10,7 +10,7 @@ declare(strict_types=1);
*/
namespace zin;
jsVar('reSendText', $lang->admin->community->reSend);
jsVar('reSendText', $lang->admin->register->reSend);
$checked = $agreeUX == 'true' ? 'checked' : '';
if(strpos($_SERVER['REQUEST_URI'], '_single=1') !== false)
@@ -26,9 +26,9 @@ else
icon(setClass('icon icon-back')),
setClass('btn capitalize primary'),
set::href(helper::createLink('admin')),
$lang->admin->community->goBack
$lang->admin->register->goBack
),
span($lang->admin->community->registerTitle),
span($lang->admin->register->registerTitle),
);
}
@@ -39,7 +39,7 @@ if(strpos($_SERVER['REQUEST_URI'], '_single=1') !== false)
a
(
setClass('btn capitalize skip-btn'),
$lang->admin->community->skip,
$lang->admin->register->skip,
set::href(createLink('user', 'login')),
)
);
@@ -52,11 +52,11 @@ else
$header[] = div
(
setClass('max-w-7xl h-32 form-title'),
div(setClass('main-title text-xl'), $lang->admin->community->welcome),
div(setClass('sub-title'), icon(setClass('icon icon-diamond')), $lang->admin->community->advantage1),
div(setClass('sub-title'), icon(setClass('icon icon-team')), $lang->admin->community->advantage2),
div(setClass('sub-title'), icon(setClass('icon icon-statistic')), $lang->admin->community->advantage3),
div(setClass('sub-title'), icon(setClass('icon icon-manual')), $lang->admin->community->advantage4),
div(setClass('main-title text-xl'), $lang->admin->register->welcome),
div(setClass('sub-title'), icon(setClass('icon icon-diamond')), $lang->admin->register->advantage1),
div(setClass('sub-title'), icon(setClass('icon icon-team')), $lang->admin->register->advantage2),
div(setClass('sub-title'), icon(setClass('icon icon-statistic')), $lang->admin->register->advantage3),
div(setClass('sub-title'), icon(setClass('icon icon-manual')), $lang->admin->register->advantage4),
);
if($bindCommunity)
@@ -85,7 +85,7 @@ if($bindCommunity)
setClass('z-bind-info-image'),
img(set::src('static/images/register-logo.png')),
div(
div(setClass('z-bind-info-website'), html(nl2br($lang->admin->community->officialWebsite))),
div(setClass('z-bind-info-website'), html(nl2br($lang->admin->register->officialWebsite))),
div(setClass('z-bind-info-mobile'), $bindCommunityMobile)
),
button
@@ -97,7 +97,7 @@ if($bindCommunity)
setData(array('position' => 'center', 'toggle' => 'modal', 'target' => '#positionModal')),
setClass('btn btn-primary z-unbind-btn'),
setID('unBind'),
$lang->admin->community->unBindText,
$lang->admin->register->unBindText,
),
div
(
@@ -112,8 +112,8 @@ if($bindCommunity)
div
(
setClass('modal-body'),
p(setClass('unbind-modal-title'), $lang->admin->community->unbindTitle),
p(setClass('unbind-modal-content'), $lang->admin->community->unbindContent)
p(setClass('unbind-modal-title'), $lang->admin->register->unbindTitle),
p(setClass('unbind-modal-content'), $lang->admin->register->unbindContent)
),
div
(
@@ -123,13 +123,13 @@ if($bindCommunity)
setClass('btn'),
set::type('button'),
setData(array('dismiss' => 'modal')),
$lang->admin->community->cancelButton
$lang->admin->register->cancelButton
),
button
(
setClass('btn primary'),
set::type('button'),
$lang->admin->community->unbindButton,
$lang->admin->register->unbindButton,
on::click()->call('unBind')
)
)
@@ -147,16 +147,16 @@ if($bindCommunity)
div
(
setClass('z-plan-info-box-text'),
span($lang->admin->community->join),
span($lang->admin->register->join),
a
(
setID('experience-plan-show'),
set('data-size', 'sm'),
$lang->admin->community->uxPlanWithBookTitle,
$lang->admin->register->uxPlanWithBookTitle,
set::href(createLink('admin', 'planModal')),
set('data-toggle', 'modal')
),
span($lang->admin->community->joinDesc)
span($lang->admin->register->joinDesc)
),
div
(
@@ -177,7 +177,7 @@ if($bindCommunity)
button
(
setClass('btn capitalize primary'),
$lang->admin->community->goCommunity,
$lang->admin->register->goCommunity,
on::click()->call('goCommunity', $config->admin->register->community),
)
)
@@ -206,9 +206,9 @@ else
set::formID('joinForm'),
setClass('bg-canvas m-auto mw-auto'),
set::headingClass('w-96 m-auto'),
set::submitBtnText($lang->admin->community->registerTitle),
set::submitBtnText($lang->admin->register->registerTitle),
set::cancelBtnText(),
div(setClass('label-text'), $lang->admin->community->mobile),
div(setClass('label-text'), $lang->admin->register->mobile),
formRow
(
setClass('m-auto no-label-mobile'),
@@ -220,7 +220,7 @@ else
setClass('no-label-input'),
set::name('mobile'),
setID('mobile-captcha'),
set::placeholder($lang->admin->community->enterMobile)
set::placeholder($lang->admin->register->enterMobile)
)
)
),
@@ -230,7 +230,7 @@ else
(
setID('captchaImageLabel'),
setClass('label-text'),
$lang->admin->community->smsCode,
$lang->admin->register->smsCode,
),
formRow
(
@@ -242,7 +242,7 @@ else
(
setClass('no-label-input'),
set::name('code'),
set::placeholder($lang->admin->community->enterCode)
set::placeholder($lang->admin->register->enterCode)
)
),
a
@@ -250,7 +250,7 @@ else
setID('captcha-btn'),
setClass('captcha-btn-class'),
set('href', 'javascript:;'),
$lang->admin->community->sendCode,
$lang->admin->register->sendCode,
on::click()->call('showCaptcha'),
)
),
@@ -267,16 +267,16 @@ else
span
(
setClass('form-agree-ux-text'),
$lang->admin->community->join,
$lang->admin->register->join,
a
(
setID('experience-plan-show'),
set('data-size', 'lg'),
$lang->admin->community->uxPlanWithBookTitle,
$lang->admin->register->uxPlanWithBookTitle,
set::href(createLink('admin', 'planModal')),
set('data-toggle', 'modal')
),
$lang->admin->community->uxPlanStatusTitle
$lang->admin->register->uxPlanStatusTitle
)
)
)
@@ -308,14 +308,14 @@ else
input
(
set::name('captchaImage'),
set::placeholder($lang->admin->community->captchaTip)
set::placeholder($lang->admin->register->captchaTip)
),
div
(
setID('checkMobileSenderID'),
setClass('px-4'),
set::type('primary'),
$lang->admin->community->sure,
$lang->admin->register->sure,
on::click()->call('checkMobileSender', '#checkMobileSenderID'),
)