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:
Ingo Schommer 2007-09-15 21:13:53 +00:00
parent 9f633edd49
commit 9d0cf998e1

View File

@ -228,9 +228,13 @@ class NewsletterAdmin extends LeftAndMain {
if(isset($mailType)) {
$fields = new FieldSet(
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);