mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
elofgren: Adds 'Newsletter Settings' tab to Newsletter type edit form for consistency with other forms. Closes Ticket #30: Add tab to 'newsletter type' edit form
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41948 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9f633edd49
commit
9d0cf998e1
@ -228,9 +228,13 @@ class NewsletterAdmin extends LeftAndMain {
|
||||
|
||||
if(isset($mailType)) {
|
||||
$fields = new FieldSet(
|
||||
new TextField("Title", "Newsletter Type"),
|
||||
new TextField("FromEmail", "From email address"),
|
||||
$templates = new TemplateList("Template","Template", $mailType->Template, self::template_path())
|
||||
new TabSet("Root",
|
||||
new Tab("Newsletter Settings",
|
||||
new TextField("Title", "Newsletter Type"),
|
||||
new TextField("FromEmail", "From email address"),
|
||||
$templates = new TemplateList("Template","Template", $mailType->Template, self::template_path())
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$templates->setController($this);
|
||||
|
Loading…
Reference in New Issue
Block a user