remove magic
This commit is contained in:
parent
58bee72e62
commit
00a09988a9
@ -103,30 +103,59 @@ class Manage extends dcNsProcess
|
|||||||
]) .
|
]) .
|
||||||
dcPage::notices() .
|
dcPage::notices() .
|
||||||
|
|
||||||
(new Div('mail_testor'))->items([
|
(new Div('mail_testor'))
|
||||||
(new Form('mail_form'))->method('post')->action(dcCore::app()->admin->getPageURL())->fields([
|
->__call('items', [[
|
||||||
(new Para())->items([
|
(new Form('mail_form'))
|
||||||
(new Label(__('Mailto:')))->for('mail_to'),
|
->__call('method', ['post'])
|
||||||
(new Input('mail_to'))->class('maximal')->size(30)->maxlenght(255)->value(''),
|
->__call('action', [dcCore::app()->admin->getPageURL()])
|
||||||
]),
|
->__call('fields', [[
|
||||||
(new Para())->items([
|
(new Para())
|
||||||
(new Label(__('Subject:')))->for('mail_subject'),
|
->__call('items', [[
|
||||||
(new Input('mail_subject'))->class('maximal')->size(30)->maxlenght(255)->value(''),
|
(new Label(__('Mailto:')))
|
||||||
]),
|
->__call('for', ['mail_to']),
|
||||||
(new Para())->items([
|
(new Input('mail_to'))
|
||||||
(new Label(__('Content:')))->for('mail_content'),
|
->__call('class', ['maximal'])
|
||||||
(new Textarea('mail_content', ''))->class('maximal')->cols(50)->rows(7),
|
->__call('size', [30])
|
||||||
]),
|
->__call('maxlenght', [255])
|
||||||
(new Para())->items([
|
->__call('value', ['']),
|
||||||
(new Checkbox('active_headers', false))->value(1),
|
]]),
|
||||||
(new Label(__('Active mail headers')))->for('active_headers')->class('classic'),
|
(new Para())
|
||||||
]),
|
->__call('items', [[
|
||||||
(new Para())->items([
|
(new Label(__('Subject:')))
|
||||||
(new Submit('save'))->accesskey('s')->value(__('Send')),
|
->__call('for', ['mail_subject']),
|
||||||
|
(new Input('mail_subject'))
|
||||||
|
->__call('class', ['maximal'])
|
||||||
|
->__call('size', [30])
|
||||||
|
->__call('maxlenght', [255])
|
||||||
|
->__call('value', ['']),
|
||||||
|
]]),
|
||||||
|
(new Para())
|
||||||
|
->__call('items', [[
|
||||||
|
(new Label(__('Content:')))
|
||||||
|
->__call('for', ['mail_content']),
|
||||||
|
(new Textarea('mail_content', ''))
|
||||||
|
->__call('class', ['maximal'])
|
||||||
|
->__call('cols', [50])
|
||||||
|
->__call('rows', [7]),
|
||||||
|
]]),
|
||||||
|
(new Para())
|
||||||
|
->__call('items', [[
|
||||||
|
(new Checkbox('active_headers', false))
|
||||||
|
->__call('value', [1]),
|
||||||
|
(new Label(__('Active mail headers')))
|
||||||
|
->__call('for', ['active_headers'])
|
||||||
|
->__call('class', ['classic']),
|
||||||
|
]]),
|
||||||
|
(new Para())
|
||||||
|
->__call('items', [[
|
||||||
|
(new Submit('save'))
|
||||||
|
->__call('accesskey', ['s'])
|
||||||
|
->__call('value', [__('Send')]),
|
||||||
dcCore::app()->formNonce(false),
|
dcCore::app()->formNonce(false),
|
||||||
]),
|
]]),
|
||||||
]),
|
]]),
|
||||||
])->render();
|
]])
|
||||||
|
->render();
|
||||||
|
|
||||||
dcPage::closeModule();
|
dcPage::closeModule();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user