Fixes to flash popup - removed float which broke other sections

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44458 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2007-11-07 06:28:21 +00:00
parent bfbf80c843
commit 893aa7a0d0

View File

@ -338,7 +338,9 @@ class HtmlEditorField_Toolbar extends ViewableData {
}
function ImageForm() {
$form = new Form($this->controller, "{$this->name}.ImageForm",
$form = new Form(
$this->controller,
"{$this->name}.ImageForm",
new FieldSet(
new LiteralField('Heading', '<h2><img src="cms/images/closeicon.gif" alt="close" title="close" />Image</h2>'),
new TreeDropdownField("FolderID", _t('HtmlEditorField.FOLDER', "Folder"), "Folder"),
@ -364,7 +366,9 @@ class HtmlEditorField_Toolbar extends ViewableData {
}
function FlashForm() {
$form = new Form($this->controller, "{$this->name}.FlashForm",
$form = new Form(
$this->controller,
"{$this->name}.FlashForm",
new FieldSet(
new LiteralField('Heading', '<h2><img src="cms/images/closeicon.gif" alt="close" title="close" />Flash</h2>'),
new TreeDropdownField("FolderID", _t('HtmlEditorField.FOLDER'), "Folder"),