KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /home/queenjbs/xe/modules/editor/components/emoticon/tpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/xe/modules/editor/components/emoticon/tpl/popup.js
function insertEmoticon(obj) {
    if(typeof(opener)=='undefined') return;

    var url = obj.src.replace(request_uri,'');
	var text = "<img src=\""+url+"\" alt=\"emoticon\">";
	
    opener.editorFocus(opener.editorPrevSrl);

    var iframe_obj = opener.editorGetIFrame(opener.editorPrevSrl)

    opener.editorReplaceHTML(iframe_obj, text);
    self.focus();
}

/* 선택된 이모티콘 목록을 가져옴 */
function getEmoticons(emoticon) {
  var params = new Array();
  params['component'] = "emoticon";
  params['emoticon'] = emoticon;
  params['method'] = "getEmoticonList";

  var response_tags = new Array('error','message','emoticons');
  exec_xml('editor', 'procEditorCall', params, completeGetEmoticons, response_tags);
}

function completeGetEmoticons(ret_obj) {
    var emoticons = ret_obj['emoticons'].split("\n");

    var zone = xGetElementById("popBody");
    var html = "";
    for(var i=0;i<emoticons.length;i++) {
        html += '<img src="./modules/editor/components/emoticon/tpl/images/'+emoticons[i]+'" onclick="insertEmoticon(this);return false;" class="emoticon" />';
    }
    xInnerHtml(zone, html);
    setFixedPopupSize();
    setTimeout(setFixedPopupSize,1000);
}

jQuery(window).load(function() { getEmoticons('msn'); });

Anon7 - 2021