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/tpl/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/xe/modules/editor/tpl/js/editor_module_config.js
function getEditorSkinColorList(skin_name,selected_colorset,type){
    if(skin_name.length>0){
        type = type || 'document';
        var response_tags = new Array('error','message','colorset');
        exec_xml('editor','dispEditorSkinColorset',{skin:skin_name},resultGetEditorSkinColorList,response_tags,{'selected_colorset':selected_colorset,'type':type});
    }
}

function resultGetEditorSkinColorList(ret_obj,response_tags, params) {

    var selectbox = null;
    if(params.type == 'document'){
        selectbox = xGetElementById("sel_editor_colorset");
    }else{
        selectbox = xGetElementById("sel_comment_editor_colorset");
    }

    if(ret_obj['error'] == 0 && ret_obj.colorset){
        var it = new Array();
        var items = ret_obj['colorset']['item'];
        if(typeof(items[0]) == 'undefined'){
            it[0] = items;
        }else{
            it = items;
        }
        var sel = 0;
        for(var i=0,c=it.length;i<c;i++){
            selectbox.options[i]=new Option(it[i].title,it[i].name);
            if(params.selected_colorset && params.selected_colorset == it[i].name) sel = i;
        }
        selectbox.options[sel].selected = true;
        selectbox.style.display="";
    }else{
        selectbox.style.display="none";
        selectbox.innerHTML="";
    }
}

Anon7 - 2021