From 73b0ea643f74b94d063b6e5f179955e32d671636 Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Sun, 11 Oct 2009 00:07:12 +0000 Subject: [PATCH] ENHANCEMENT #3279: Updated the link inserter to insert a shortcode rather than a plain HTML link. From: Andrew Short git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88491 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/HtmlEditorField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php index a4ff16a13..88d590876 100755 --- a/forms/HtmlEditorField.php +++ b/forms/HtmlEditorField.php @@ -305,7 +305,7 @@ class HtmlEditorField_Toolbar extends RequestHandler { 'file' => _t('HtmlEditorField.LINKFILE', 'Download a file'), ) ), - new TreeDropdownField('internal', _t('HtmlEditorField.PAGE', "Page"), 'SiteTree', 'URLSegment', 'MenuTitle'), + new TreeDropdownField('internal', _t('HtmlEditorField.PAGE', "Page"), 'SiteTree', 'ID', 'MenuTitle'), new TextField('external', _t('HtmlEditorField.URL', 'URL'), 'http://'), new EmailField('email', _t('HtmlEditorField.EMAIL', 'Email address')), new TreeDropdownField('file', _t('HtmlEditorField.FILE', 'File'), 'File', 'Filename'),