From 7b4e7cd55f483d2d438eda8f206df3d8b6019f9e Mon Sep 17 00:00:00 2001 From: james Date: Fri, 16 Oct 2009 15:21:58 +0000 Subject: [PATCH] Remove references to 'Email' -- communication could be a snail mail generated pdf letter Make the field list insert work :) --- admin/communication.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/admin/communication.php b/admin/communication.php index 2155e08..2b11558 100644 --- a/admin/communication.php +++ b/admin/communication.php @@ -212,7 +212,7 @@ case 'dialog_edit': - + @@ -223,7 +223,7 @@ case 'dialog_edit': - +
::
::
::
@@ -232,7 +232,7 @@ case 'dialog_edit': - @@ -295,6 +295,16 @@ case 'dialog_edit': } }); + + $("#comm_dialog_insert_field").click(function () { + var oFCKeditor = FCKeditorAPI.GetInstance('bodyhtml') ; + var value = oFCKeditor.GetHTML(); + oFCKeditor.InsertHtml("["+this.value+"]"); + return false; + } + ); + + var oFCKeditor = new FCKeditor( 'bodyhtml' ) ; oFCKeditor.BasePath = "../fckeditor/" ; oFCKeditor.ToolbarSet = 'sfiab';