daily pastebin goal
25%
SHARE
TWEET

Kayako_CK

a guest Feb 11th, 2011 123 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2. <{if $htmlarea eq true}>
  3. //var _editor_lang = "en";
  4. //var _editor_url = "<{$swiftpath}>includes/htmlArea/";
  5. //var editor = null;
  6. <{if $htmlareanotable neq true}>var loadTablePlugin = false;<{else}>var loadTablePlugin = true;<{/if}>
  7. <{/if}>
  8. </script>
  9. <{if $htmlarea eq true}>
  10. <!--<script type="text/javascript" src="<{$swiftpath}>includes/htmlArea/htmlarea.js"></script>-->
  11. <script type="text/javascript" src="<{$swiftpath}>includes/rteeditor/ckeditor/ckeditor.js"></script>
  12. <{/if}>
  13. <{processCPMenu area=$area}>
  14. <script language="Javascript">
  15. //HTMLArea.loadPlugin("TableOperations");
  16. function loadAllData() { preloadMenuImages(); <{if $htmlarea eq true}>
  17. //<![CDATA[
  18.  
  19.                         // This call can be placed at any point after the
  20.                                 // <textarea>, or inside a <head><script> in a
  21.                                 // window.onload event handler.
  22.                                 // Replace the <textarea id="editor"> with an CKEditor
  23.                                 // instance, using default configurations.
  24.                                 CKEDITOR.replace('contents', {
  25.                                 filebrowserBrowseUrl : '/includes/rteeditor/ckfinder/ckfinder.html',
  26.                         filebrowserImageBrowseUrl : '/includes/rteeditor/ckfinder/ckfinder.html?Type=Images',
  27.                                 filebrowserUploadUrl : '/includes/rteeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
  28.                                 filebrowserImageUploadUrl : '/includes/rteeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images'
  29.                                 });
  30.                         //]]>
  31.  
  32. //editor = new HTMLArea("contents");
  33. //  editor.registerPlugin(TableOperations);
  34. //  editor.generate();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top