Initial import

This commit is contained in:
Thomas Misund committed 2009-10-13 15:43:04 +02:00
commit 057959cb8f
1198 files changed
+89467

No files matched your search

@@ -0,0 +1,21 @@
function init() {
tinyMCEPopup.resizeToInnerSize();
}
function insertEmotion(file_name, title) {
title = tinyMCE.getLang(title);
if (title == null)
title = "";
// XML encode
title = title.replace(/&/g, '&');
title = title.replace(/\"/g, '"');
title = title.replace(/</g, '&lt;');
title = title.replace(/>/g, '&gr;');
var html = '<img src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" mce_src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" border="0" alt="' + title + '" />';
tinyMCE.execCommand('mceInsertContent', false, html);
tinyMCEPopup.close();
}