+ zin: add the whitelist widget.
This commit is contained in:
@@ -1839,3 +1839,11 @@ function mailto(): mailto
|
||||
{
|
||||
return createWg('mailto', func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* whitelist widget.
|
||||
*/
|
||||
function whitelist(): whitelist
|
||||
{
|
||||
return createWg('whitelist', func_get_args());
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* The whitelist widget class file of zin 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 Gang Liu <liugang@easycorp.ltd>
|
||||
* @package zin
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
requireWg('users');
|
||||
|
||||
class whitelist extends users
|
||||
{
|
||||
protected static array $defaultProps = array(
|
||||
'name' => 'whitelist[]'
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user