From 34aa13ccbf8b5cdb6e08fef8b1c31d8538d023f9 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Sun, 11 Nov 2007 22:30:01 +0000 Subject: [PATCH] #1606 - Check add folder & upload-functionality in tinymce git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44594 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/HtmlEditorField.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php index b0dea39d0..747e8add3 100755 --- a/forms/HtmlEditorField.php +++ b/forms/HtmlEditorField.php @@ -347,6 +347,17 @@ class HtmlEditorField_Toolbar extends ViewableData { new FieldSet( new LiteralField('Heading', '

closeImage

'), new TreeDropdownField("FolderID", _t('HtmlEditorField.FOLDER', "Folder"), "Folder"), + new LiteralField('AddFolderOrUpload', + '
+ ' . _t('HtmlEditorField.CREATEFOLDER','create folder') . ' + + + +
| +
+ ' . _t('HtmlEditorField.UPLOAD','upload') . ' +
+ '), new ThumbnailStripField("Image", "FolderID", "getimages"), new TextField("AltText", _t('HtmlEditorField.ALTTEXT', "Description"), "", 80), new DropdownField("CSSClass", _t('HtmlEditorField.CSSCLASS', "Alignment / style"), array(