* [story#75371,doing,0.2h] Add bound page.
This commit is contained in:
@@ -35,6 +35,29 @@ class officialwebsite extends control
|
||||
$this->display();
|
||||
}
|
||||
|
||||
/**
|
||||
* 已绑定页面
|
||||
* Already bound page。
|
||||
*
|
||||
* @access public
|
||||
* @return void|null
|
||||
*/
|
||||
public function community()
|
||||
{
|
||||
$bindCommunity = $this->config->global->bindCommunity;
|
||||
|
||||
/* 未绑定跳转到绑定页面。*/
|
||||
/* Unbound jump to bound page. */
|
||||
if(!$bindCommunity) return $this->locate($this->createLink('officialwebsite', 'index'));
|
||||
|
||||
$agreeUX = $this->config->global->agreeUX;
|
||||
$bindCommunityMobile = $this->config->global->bindCommunityMobile;
|
||||
|
||||
$this->view->agreeUX = $agreeUX;
|
||||
$this->view->bindCommunityMobile = $bindCommunityMobile;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
public function getCaptcha()
|
||||
{
|
||||
$apiRoot = 'https://zentao.xsj.oop.cc';
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* The community view file of officialwebsite module of ZenTaoPMS.
|
||||
*
|
||||
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @author Jialiang Zhang <zhangjialiang@chandao.com>
|
||||
* @package officialwebsite
|
||||
* @link https://www.zentao.net
|
||||
*/
|
||||
|
||||
namespace zin;
|
||||
|
||||
modalHeader(set::title('加入禅道社区'));
|
||||
panel
|
||||
(
|
||||
|
||||
);
|
||||
Reference in New Issue
Block a user