From 201cc7b47ef7b0fdead52b5d375174b45447b9c5 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Wed, 7 Nov 2007 05:26:16 +0000 Subject: [PATCH] Added close button on right panel git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44451 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/HtmlEditorField.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php index dbb51ec9d..6dfbec755 100755 --- a/forms/HtmlEditorField.php +++ b/forms/HtmlEditorField.php @@ -312,7 +312,7 @@ class HtmlEditorField_Toolbar extends ViewableData { $this->controller, "{$this->name}.LinkForm", new FieldSet( - new HeaderField('Link'), + new LiteralField('Heading', '

closeLink

'), new OptionsetField("LinkType", _t('HtmlEditorField.LINKTO', "Link to"), array( "internal" => _t('HtmlEditorField.LINKINTERNAL',"Page on the site"), @@ -341,7 +341,7 @@ class HtmlEditorField_Toolbar extends ViewableData { function ImageForm() { $form = new Form($this->controller, "{$this->name}.ImageForm", new FieldSet( - new HeaderField('Image'), + new LiteralField('Heading', '

closeImage

'), new TreeDropdownField("FolderID", _t('HtmlEditorField.FOLDER', "Folder"), "Folder"), new ThumbnailStripField("Image", "FolderID", "getimages"), new TextField("AltText", _t('HtmlEditorField.ALTTEXT', "Description"), "", 80), @@ -367,7 +367,7 @@ class HtmlEditorField_Toolbar extends ViewableData { function FlashForm() { $form = new Form($this->controller, "{$this->name}.FlashForm", new FieldSet( - new HeaderField('Flash'), + new LiteralField('Heading', '

closeFlash

'), new TreeDropdownField("FolderID", _t('HtmlEditorField.FOLDER'), "Folder"), new ThumbnailStripField("Flash", "FolderID", "getflash"), new TextField('Width', _t('HtmlEditorField.IMAGEWIDTHPX', "Width (px)")),