summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/plugins/emotions/jscripts/functions.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-18 13:11:22 +0000
committerthomascube <thomas@roundcube.net>2007-05-18 13:11:22 +0000
commitc944cde4d05164b6271b4f3acbbe2855e31b1a97 (patch)
tree325d12f28e6f3c7c22e58012a3d30097d953022b /program/js/tiny_mce/plugins/emotions/jscripts/functions.js
parent0ee2464a61aa97859e5c8d196e8d0359dc99c0aa (diff)
Removed HTML editor and disabled preview pane
Diffstat (limited to 'program/js/tiny_mce/plugins/emotions/jscripts/functions.js')
-rw-r--r--program/js/tiny_mce/plugins/emotions/jscripts/functions.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/program/js/tiny_mce/plugins/emotions/jscripts/functions.js b/program/js/tiny_mce/plugins/emotions/jscripts/functions.js
deleted file mode 100644
index 95a9eafe8..000000000
--- a/program/js/tiny_mce/plugins/emotions/jscripts/functions.js
+++ /dev/null
@@ -1,21 +0,0 @@
-function init() {
- tinyMCEPopup.resizeToInnerSize();
-}
-
-function insertEmotion(file_name, title) {
- title = tinyMCE.getLang(title);
-
- if (title == null)
- title = "";
-
- // XML encode
- title = title.replace(/&/g, '&amp;');
- title = title.replace(/\"/g, '&quot;');
- title = title.replace(/</g, '&lt;');
- title = title.replace(/>/g, '&gt;');
-
- var html = '<img src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" mce_src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" border="0" alt="' + title + '" title="' + title + '" />';
-
- tinyMCE.execCommand('mceInsertContent', false, html);
- tinyMCEPopup.close();
-}