* Rewrite mail index page.
This commit is contained in:
@@ -12,6 +12,7 @@ namespace zin;
|
||||
|
||||
formPanel(
|
||||
set::labelWidth('11em'),
|
||||
set::size('sm'),
|
||||
formGroup(
|
||||
set::width('1/2'),
|
||||
set::label($lang->mail->inputFromEmail),
|
||||
|
||||
@@ -150,7 +150,6 @@ formPanel
|
||||
set::items($config->charsets[$this->cookie->lang]),
|
||||
),
|
||||
set::actions($formActions),
|
||||
set::actionsClass('w-1/2'),
|
||||
);
|
||||
|
||||
div
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* The index view file of mail 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 Wang Yidong <yidong@easycorp.ltd>
|
||||
* @package mail
|
||||
* @link https://www.zentao.net
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
formPanel
|
||||
(
|
||||
set::title($lang->mail->selectMTA),
|
||||
set::size('sm'),
|
||||
set::bodyClass('text-center'),
|
||||
set::actions(array
|
||||
(
|
||||
common::hasPriv('mail', 'detect') ? array('url' => inLink('detect'), 'text' => $lang->mail->smtp) : null
|
||||
)),
|
||||
);
|
||||
|
||||
render();
|
||||
Reference in New Issue
Block a user