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';