4 lines
20 KiB
JavaScript
4 lines
20 KiB
JavaScript
(function(){function ai(){return"ckeditor";}function g(aE){return aE.elementMode==3;}function A(aE){return aE.name.replace(/\[/,"_").replace(/\]/,"_");}function i(aE){return aE.container.$;}function c(aE){return aE.document.$;}function J(aE){return aE.getSnapshot();}function L(aF,aE){aF.loadSnapshot(aE);}function S(aF){if(aF.getSelection()==null){return null;}var aE=aF.getSelection().getStartElement();if(aE&&aE.$){return aE.$;}return null;}function O(){return CKEDITOR.basePath;}function au(){return h("jsplus_bootstrap_breadcrumbs");}function h(aE){return CKEDITOR.plugins.getPath(aE);}function I(){return CKEDITOR.version.charAt(0)=="3"?3:4;}function r(aG,aF){if(I()==3){var aE=(aF.indexOf("jsplus_bootstrap_breadcrumbs_")==-1)?("jsplus_bootstrap_breadcrumbs_"+aF):aF;if(typeof(aG.lang[aE])!=="undefined"){return aG.lang[aE];}else{console.log("(v3) editor.lang['jsplus_bootstrap_breadcrumbs'] not defined");}}else{if(typeof(aG.lang["jsplus_bootstrap_breadcrumbs"])!=="undefined"){if(typeof(aG.lang["jsplus_bootstrap_breadcrumbs"][aF])!=="undefined"){return aG.lang["jsplus_bootstrap_breadcrumbs"][aF];}else{console.log("editor.lang['jsplus_bootstrap_breadcrumbs']['"+aF+"'] not defined");}}else{console.log("editor.lang['jsplus_bootstrap_breadcrumbs'] not defined");}}return"";}function P(aF,aE){return N(aF,"jsplus_bootstrap_breadcrumbs_"+aE);}function N(aF,aE){var aG=aF.config[aE];return aG;}function q(aE,aF){R("jsplus_bootstrap_breadcrumbs_"+aE,aF);}function R(aE,aF){CKEDITOR.config[aE]=aF;}function ao(aG,aF){var aE=CKEDITOR.dom.element.createFromHtml(aF);aG.insertElement(aE);}function o(){return"";}var M=0;var C=1;var G=2;function m(aE,aH,aF){var aG=null;if(aF==M){aG=CKEDITOR.TRISTATE_DISABLED;}else{if(aF==C){aG=CKEDITOR.TRISTATE_OFF;}else{if(aF==G){aG=CKEDITOR.TRISTATE_ON;}}}if(aG!=null&&aE.ui&&aE.ui.get(aH)){aE.ui.get(aH).setState(aG);}}function K(aE,aF){aE.on("selectionChange",function(aG){aF(aG.editor);});}function B(aF,aE,aG){if(aE=="beforeGetOutputHTML"){aF.on("toDataFormat",function(aH){return aG(aF,aH.data.dataValue);},null,null,4);return;}aF.on(aE,(function(){var aH=aF;return function(){aG(aH);};})());}function s(aG,aE,aJ,aH,aI,aF){aG.addCommand(aE,{exec:aI});aG.ui.addButton(aE,{title:r(aG,aH.replace(/^jsplus_/,"")),label:r(aG,aH.replace(/^jsplus_/,"")),icon:au()+"icons/"+aJ+".png",command:aJ});}function n(aE){return aE.mode=="wysiwyg";}function ad(aF,aE,aG){CKEDITOR.plugins.add(aF,{icons:aF,lang:aE,init:function(aH){aG(aH);}});}function e(){JSDialog.Config.skin=null;JSDialog.Config.templateDialog='<div class="jsdialog_plugin_jsplus_bootstrap_breadcrumbs jsdialog_dlg cke_dialog cke_ltr">'+'<div class="cke_dialog_body">'+'<div class="jsdialog_title cke_dialog_title">'+'<div class="jsdialog_title_text"></div>'+'<a class="jsdialog_x cke_dialog_close_button" href="javascript:void(0)" style="-webkit-user-select: none;">'+'<span class="cke_label">X</span>'+"</a>"+"</div>"+'<div class="jsdialog_content_wrap cke_dialog_contents">'+'<div class="jsdialog_content"></div>'+"</div>"+'<div class="cke_dialog_footer">'+'<div class="jsdialog_buttons cke_dialog_footer_buttons"></div>'+"</div>"+"</div>"+"</div>";JSDialog.Config.templateButton='<a><span class="cke_dialog_ui_button"></span></a>';JSDialog.Config.templateBg='<div class="jsdialog_plugin_jsplus_bootstrap_breadcrumbs jsdialog_bg"></div>';JSDialog.Config.classButton="cke_dialog_ui_button";JSDialog.Config.classButtonOk="cke_dialog_ui_button_ok";JSDialog.Config.contentBorders=[3,1,15,1,65];CKEDITOR.skin.loadPart("dialog");v(document,".jsdialog_plugin_jsplus_bootstrap_breadcrumbs.jsdialog_bg { background-color: white; opacity: 0.5; position: fixed; left: 0; top: 0; width: 100%; height: 3000px; z-index: 11111; display: none; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs.jsdialog_dlg { font-family: Arial; padding: 0; position: fixed; z-index: 11112; background-color: white; border-radius: 5px; overflow:hidden; display: none; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs.jsdialog_show { display: block; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .jsdialog_message_contents { font-size: 16px; padding: 10px 0 10px 7px; display: table; overflow: hidden; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .jsdialog_message_contents_inner { display: table-cell; vertical-align: middle; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .jsdialog_message_icon { padding-left: 100px; min-height: 64px; background-position: 10px 10px; background-repeat: no-repeat; box-sizing: content-box; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .jsdialog_message_icon_info { background-image: url(img/info.png); }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .jsdialog_message_icon_warning { background-image: url(img/warning.png); }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .jsdialog_message_icon_error { background-image: url(img/error.png); }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .jsdialog_message_icon_confirm { background-image: url(img/confirm.png); }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .cke_dialog_contents { margin-top: 0; border-top: none; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .cke_dialog_footer div { outline: none; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .cke_dialog_footer_buttons > .cke_dialog_ui_button { margin-right: 5px; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .cke_dialog_footer_buttons > .cke_dialog_ui_button:last-child { margin-right: 0; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .cke_dialog_title { cursor: default; }"+".jsdialog_plugin_jsplus_bootstrap_breadcrumbs .cke_dialog_contents { padding: 0; }");
|
|
}function E(aE,aI,aG){if(typeof aI=="undefined"){aI=true;}if(typeof aG=="undefined"){aG=" ";}if(typeof(aE)=="undefined"){return"";}var aJ=1000;if(aE<aJ){return aE+aG+(aI?"b":"");}var aF=["K","M","G","T","P","E","Z","Y"];var aH=-1;do{aE/=aJ;++aH;}while(aE>=aJ);return aE.toFixed(1)+aG+aF[aH]+(aI?"b":"");}function ab(aE){return aE.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");}function aq(aE){return aE.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");}function ah(aE){var aF=document.createElement("div");aF.innerHTML=aE;return aF.childNodes;}function an(aE){return aE.getElementsByTagName("head")[0];}function am(aE){return aE.getElementsByTagName("body")[0];}function ay(aG,aI){var aE=aG.getElementsByTagName("link");var aH=false;for(var aF=aE.length-1;aF>=0;aF--){if(aE[aF].href==aI){aE[aF].parentNode.removeChild(aE[aF]);}}}function Y(aH,aJ){if(!aH){return;}var aE=aH.getElementsByTagName("link");var aI=false;for(var aF=0;aF<aE.length;aF++){if(aE[aF].href.indexOf(aJ)!=-1){aI=true;}}if(!aI){var aG=aH.createElement("link");aG.href=aJ;aG.type="text/css";aG.rel="stylesheet";an(aH).appendChild(aG);}}function j(aH,aJ){if(!aH){return;}var aE=aH.getElementsByTagName("script");var aI=false;for(var aG=0;aG<aE.length;aG++){if(aE[aG].src.indexOf(aJ)!=-1){aI=true;}}if(!aI){var aF=aH.createElement("script");aF.src=aJ;aF.type="text/javascript";an(aH).appendChild(aF);}}function az(aE,aG,aF){Y(c(aE),aG);if(document!=c(aE)&&aF){Y(document,aG);}}function ac(aE,aG,aF){j(c(aE),aG);if(document!=c(aE)&&aF){j(document,aG);}}function aj(aF,aE){var aG=c(aF);v(aG,aE);}function v(aG,aE){var aF=aG.createElement("style");an(aG).appendChild(aF);aF.innerHTML=aE;}function ap(aF,aE){if(aC(aF,aE)){return;}aF.className=aF.className.length==0?aE:aF.className+" "+aE;}function av(aG,aE){var aF=a(aG);while(aF.indexOf(aE)>-1){aF.splice(aF.indexOf(aE),1);}var aH=aF.join(" ").trim();if(aH.length>0){aG.className=aH;}else{if(aG.hasAttribute("class")){aG.removeAttribute("class");}}}function a(aE){if(typeof(aE.className)==="undefined"||aE.className==null){return[];}return aE.className.split(/\s+/);}function aC(aH,aE){var aG=a(aH);for(var aF=0;aF<aG.length;aF++){if(aG[aF].toLowerCase()==aE.toLowerCase()){return true;}}return false;}function aA(aG,aH){var aF=a(aG);for(var aE=0;aE<aF.length;aE++){if(aF[aE].indexOf(aH)===0){return true;}}return false;}function T(aG){if(typeof(aG.getAttribute("style"))==="undefined"||aG.getAttribute("style")==null||aG.getAttribute("style").trim().length==0){return{};}var aI={};var aH=aG.getAttribute("style").split(/;/);for(var aF=0;aF<aH.length;aF++){var aJ=aH[aF].trim();var aE=aJ.indexOf(":");if(aE>-1){aI[aJ.substr(0,aE).trim()]=aJ.substr(aE+1);}else{aI[aJ]="";}}return aI;}function af(aG,aF){var aH=T(aG);for(var aE in aH){var aI=aH[aE];if(aE==aF){return aI;}}return null;}function Z(aH,aG,aE){var aI=T(aH);for(var aF in aI){var aJ=aI[aF];if(aF==aG&&aJ==aE){return true;}}return false;}function z(aG,aF,aE){var aH=T(aG);aH[aF]=aE;p(aG,aH);}function W(aF,aE){var aG=T(aF);delete aG[aE];p(aF,aG);}function p(aF,aH){var aG=[];for(var aE in aH){aG.push(aE+":"+aH[aE]);}if(aG.length>0){aF.setAttribute("style",aG.join(";"));}else{if(aF.hasAttribute("style")){aF.removeAttribute("style");}}}function u(aI,aF){var aG;if(Object.prototype.toString.call(aF)==="[object Array]"){aG=aF;}else{aG=[aF];}for(var aH=0;aH<aG.length;aH++){aG[aH]=aG[aH].toLowerCase();}var aE=[];for(var aH=0;aH<aI.childNodes.length;aH++){if(aI.childNodes[aH].nodeType==1&&aG.indexOf(aI.childNodes[aH].tagName.toLowerCase())>-1){aE.push(aI.childNodes[aH]);}}return aE;}function ae(){var aE=false;if(aE){var aI=window.location.hostname;var aH=0;var aF;var aG;if(aI.length!=0){for(aF=0,l=aI.length;aF<l;aF++){aG=aI.charCodeAt(aF);aH=((aH<<5)-aH)+aG;aH|=0;}}if(aH!=1548386045){alert(atob("VGhpcyBpcyBkZW1vIHZlcnNpb24gb25seS4gUGxlYXNlIHB1cmNoYXNlIGl0"));return false;}}}function b(){var aF=false;if(aF){var aL=window.location.hostname;var aK=0;var aG;var aH;if(aL.length!=0){for(aG=0,l=aL.length;aG<l;aG++){aH=aL.charCodeAt(aG);aK=((aK<<5)-aK)+aH;aK|=0;}}if(aK-1548000045!=386000){var aJ=document.cookie.match(new RegExp("(?:^|; )"+"jdm_jsplus_bootstrap_breadcrumbs".replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));var aI=aJ&&decodeURIComponent(aJ[1])=="1";if(!aI){var aE=new Date();aE.setTime(aE.getTime()+(30*1000));document.cookie="jdm_jsplus_bootstrap_breadcrumbs=1; expires="+aE.toGMTString();var aG=document.createElement("img");aG.src=atob("aHR0cDovL2Rva3NvZnQuY29tL21lZGlhL3NhbXBsZS9kLnBocA==")+"?p=jsplus_bootstrap_breadcrumbs&u="+encodeURIComponent(document.URL);}}}}var k=1;var ak;var X;if(k==0){q("separator"," →");ak="jsplus_bootstrap_breadcrumbs";X="jsplus_bootstrap_breadcrumbs_current";}else{if(k==1){ak="breadcrumb";X="active";}else{if(k==2){ak="breadcrumbs";X="current";}}}function ar(aF){if(!aF){return null;}for(var aE=0;aE<3;aE++){if(!aF){return null;}if((aF.tagName=="OL"||aF.tagName=="UL"||aF.tagName=="NAV")&&aC(aF,ak)){return aF;
|
|
}aF=aF.parentNode;}return null;}function al(aK,aP,aO){var aG="";if(k==0){aG=";list-style:none;padding-left:0";}var aF="";if(aG.length>0){aF+=aG;}if(aO){aF+=";margin-bottom:0";}if(aF.length>0){aF=' style="'+aF+'"';}var aI='<ul class="'+ak+'"'+aF+">\n";for(var aH=0;aH<aP.items.length;aH++){var aQ=aP.items[aH];var aJ=[];if(aQ.active){aJ.push(X);}if(k==2){if(aQ.unavailable){aJ.push("unavailable");}}var aE=aJ.join(" ");var aN="";if(k==0&&aH<aP.items.length-1){aN+=ab(P(aK,"separator"));}var aM="";if(k==0){aM=' style="display:inline-block;"';}var aL="";if(aO){if(k==0){aL=' style="color:rgb(7, 130, 193);text-decoration:underline"';}else{if(k==1){aL=' style="color:#2a6496"';}}}htmlItem="\t<li"+(aE.length>0?(' class="'+aE+'"'):"")+aM+">\n";htmlItem+='\t\t<a href="'+(aO?"#":aQ.href)+'"'+aL+">"+aQ.title+"</a>"+aN+"\n";htmlItem+="</li>\n";aI+=htmlItem;}aI+="</ol>\n";return aI;}function at(aH,aF){var aJ={};aJ.items=[];var aM=aF.getElementsByTagName("li");for(var aG=0;aG<aM.length;aG++){var aK=aM[aG];var aL={};aL.title=aK.innerText;if(k==0){var aN=P(aH,"separator");if(aL.title.indexOf(aN,this.length-aN.length)!==-1){aL.title=aL.title.substr(0,aL.title.length-aN.length);}}var aE=aK.getElementsByTagName("a");if(aE.length>0){var aI=aE[0];aL.href=aI.getAttribute("href");}else{aL.href="#";}aL.active=aC(aK,X);if(k==2){aL.unavailable=aC(aK,"unavailable");}aJ.items.push(aL);}return aJ;}function aw(aG){var aE={};aE.items=[];var aJ=true;var aF=0;do{var aI=document.getElementById("jsplus_bootstrap_breadcrumbs_item_wrap_"+aF+"_"+A(aG));if(aI){var aH={};aH.active=aI.getElementsByClassName("jsplus_bootstrap_breadcrumbs_active")[0].checked;if(k==2){aH.unavailable=aI.getElementsByClassName("jsplus_bootstrap_breadcrumbs_unavailable")[0].checked;}aH.title=aI.getElementsByClassName("jsplus_bootstrap_breadcrumbs_title")[0].value;aH.href=aI.getElementsByClassName("jsplus_bootstrap_breadcrumbs_href")[0].value;aE.items.push(aH);}else{aJ=false;}aF++;}while(aJ);return aE;}function aB(aF,aE){return al(aF,aw(aF),aE);}function aa(aG){var aE=aB(aG,true);var aF=document.getElementById("jsplus_bootstrap_breadcrumbs_preview_"+A(aG));aF.innerHTML=aE;}function H(aF){var aE=document.getElementById("jsplus_bootstrap_breadcrumbs_tbody_"+A(aF));aE.innerHTML="";}function D(aI,aJ){var aF=aw(aI);var aE=aF.items.length==0||aF.items[aF.items.length-1].active;var aH={title:aJ,href:"#",active:aE};if(k==2){aH.unavailable=false;}if(aE){for(var aG=0;aG<aF.items.length;aG++){aF.items[aG].active=false;}}aF.items.push(aH);Q(aI,aF);}function f(aG){var aI=true;var aE=0;var aF;do{var aH=document.getElementById("jsplus_bootstrap_breadcrumbs_item_wrap_"+aE+"_"+A(aG));if(aH){aF=aH.getElementsByClassName("jsplus_bootstrap_breadcrumbs_active")[0];aF.onchange=(function(){var aJ=aG;var aK=aF;return function(){t(aJ,aK);};})();if(k==2){aF=aH.getElementsByClassName("jsplus_bootstrap_breadcrumbs_unavailable")[0];aF.onchange=(function(){var aJ=aG;return function(){aa(aJ);};})();}aF=aH.getElementsByClassName("jsplus_bootstrap_breadcrumbs_title")[0];aF.onkeyup=(function(){var aJ=aG;return function(){aa(aJ);};})();aF=aH.getElementsByClassName("jsplus_bootstrap_breadcrumbs_delete")[0];aF.onclick=(function(){var aJ=aG;var aK=aF;return function(){aD(aJ,aK);};})();}else{aI=false;}aE++;}while(aI);document.getElementById("jsplus_bootstrap_breadcrumbs_add_"+A(aG)).onclick=(function(){var aJ=aG;return function(){V(aJ);};})();}function V(aE){D(aE,"New item");f(aE);aa(aE);}function aD(aH,aG){var aF=aw(aH);if(aF.items.length==0){alert("Unable to remove the last item");return;}var aI=aG.parentNode.parentNode.getAttribute("data-number");var aE=aF.items.length-1==aI&&aF.items[aI].active;aF.items.splice(aI,1);if(aE&&aF.items.length>0){aF.items[aI-1].active=true;}Q(aH,aF);f(aH);aa(aH);}function t(aG,aH){var aJ=true;var aE=0;do{var aI=document.getElementById("jsplus_bootstrap_breadcrumbs_item_wrap_"+aE+"_"+A(aG));if(aI){if(aE!=aH.parentNode.parentNode.getAttribute("data-number")){var aF=aI.getElementsByClassName("jsplus_bootstrap_breadcrumbs_active")[0];aF.onchange=null;aF.checked=false;aF.onchange=(function(){var aK=aG;var aL=aF;return function(){t(aK,aL);};})();}}else{aJ=false;}aE++;}while(aJ);aa(aG);}var w=[];function ax(aG,aF){w[A(aG)]=aF;var aE=at(aG,aF);Q(aG,aE);}function Q(aH,aE){H(aH);var aG="";for(var aF=0;aF<aE.items.length;aF++){var aI=aE.items[aF];var aJ=d(aH,aF,aI.title,aI.href,aI.active,aI.unavailable);aG+=aJ;}document.getElementById("jsplus_bootstrap_breadcrumbs_tbody_"+A(aH)).innerHTML=aG;aa(aH);f(aH);}function ag(aE){w[A(aE)]=null;H(aE);D(aE,r(aE,"sample_title_1"));D(aE,r(aE,"sample_title_2"));D(aE,r(aE,"sample_title_3"));f(aE);}function x(aF,aE){var aH=document.createElement("div");aH.innerHTML=aE;var aG=aH.childNodes[0];aF.setAttribute("style",aG.getAttribute("style"));aF.setAttribute("class",aG.getAttribute("class"));aF.innerHTML=aG.innerHTML;}function d(aI,aF,aK,aE,aM,aJ){var aG=175;var aL="";if(k==2){aL='<td style="width:21px;vertical-align: middle;padding:1px 0 8px 4px">'+'<input class="jsplus_bootstrap_breadcrumbs_unavailable" style="margin:4px 0 0 0" type="checkbox" '+(aJ?"checked='checked'":"")+"/>"+"</td>";
|
|
aG-=20;}var aH='<tr data-number="'+aF+'" id="jsplus_bootstrap_breadcrumbs_item_wrap_'+aF+"_"+A(aI)+'" style="background-color:transparent">'+'<td style="width:21px;vertical-align: middle;padding:1px 0 8px 4px">'+'<input class="jsplus_bootstrap_breadcrumbs_active" style="margin:4px 0 0 0" type="checkbox" '+(aM?"checked='checked'":"")+"/>"+"</td>"+aL+'<td style="width:180px;padding:0"><input class="jsplus_bootstrap_breadcrumbs_title" style="width:175px;margin:0 5px 0 0;padding:3px 4px;border:1px solid silver;font-size:12px" value="'+ab(aK)+'"></td>'+'<td style="padding:0"><input class="jsplus_bootstrap_breadcrumbs_href" style="width:93%;padding:3px 4px;border:1px solid silver;font-size:12px" value="'+ab(aE)+'"></td>'+'<td style="width:25px;padding:0"><div class="jsplus_bootstrap_breadcrumbs_delete" style="width:22px;height:22px;text-align:center;color:white;border-radius:2px;background-color:lightcoral;font-size:17px;font-weight:bold;cursor:pointer" title="'+"Delete"+'">-</div></td>'+"</tr>";return aH;}function U(aG){var aF=175;var aH="";if(k==2){aH='<th style="width:25px;padding:0 0 6px 0"><div style="width:20px;height:17px;text-align:center;color:white;padding-top:3px;border-radius:2px;background-color:orangered;cursor:default;font-size:12px;box-sizing:content-box" title="'+r(aG,"option_unavailable")+'">U</div></th>';aF-=20;}var aE='<style type="text/css">'+"</style>"+'<div style="font-size:14px">'+'<div style="overflow-y: auto; overflow-x:hidden;max-height:180px;padding:0 10px 10px 10px;">'+'<table style="width:485px;margin-left:0;margin-right:7px;margin-bottom:0;border-width:0">'+'<thead style="background-color: transparent">'+"<tr>"+'<th style="padding:0 0 6px 0;width:25px"><div style="width:20px;height:17px;text-align:center;color:white;padding-top:3px;border-radius:2px;background-color:rgb(102, 188, 255);cursor:default;font-size:12px;box-sizing:content-box" title="'+r(aG,"option_current")+'">C</div></th>'+aH+'<th style="padding:0 0 6px 0;text-align:center;width:180px;font-size: 15px;line-height: 22px;vertical-align: middle;">'+r(aG,"option_title")+"</th>"+'<th style="padding:0 0 6px 0;text-align:center;font-size: 15px;line-height: 22px;vertical-align: middle;">'+r(aG,"option_link")+"</th>"+'<th style="padding:0 0 6px 0;width:25px"></th>'+"</tr>"+"</thead>"+'<tbody id="jsplus_bootstrap_breadcrumbs_tbody_'+A(aG)+'">'+"</tbody>"+"</table>"+"</div>"+'<div style="width:100%;text-align:right;padding-top:15px;font-size:16px;">'+'<a href="#" id="jsplus_bootstrap_breadcrumbs_add_'+A(aG)+'" style="margin-right:20px;border-radius:2px;padding:4px 8px;background-color:rgb(31, 219, 31);color:white;font-size:12px;">'+r(aG,"button_add")+"</a>"+"</div>"+'<div style="font-size:13px;padding-left:12px">'+r(aG,"preview")+":"+"</div>"+'<div class="jsplus_bootstrap_breadcrumbs_preview" id="jsplus_bootstrap_breadcrumbs_preview_'+A(aG)+'" style="overflow:hidden;min-height:60px;max-width:480px;min-width:480px;width:495px;margin:5px 12px;box-sizing: border-box;padding:20px 10px;text-align:center;border:1px solid silver;color:#428bca">'+"</div>"+"</div>";return aE;}function F(aF){var aE=S(aF);aE=ar(aE);if(aE){ax(aF,aE);}else{ag(aF);}aa(aF);}function y(aF){var aE=aB(aF);if(!w[A(aF)]){ao(aF,aE);}else{x(w[A(aF)],aE);}}CKEDITOR.plugins.add("jsplus_bootstrap_breadcrumbs",{lang:"en",icons:"jsplus_bootstrap_breadcrumbs",init:function(aE){CKEDITOR.dialog.add("jsplus_bootstrap_breadcrumbs"+A(aE),function(aF){return{title:r(aF,"jsplus_bootstrap_breadcrumbs_title"),minWidth:250,minHeight:250,resizable:false,contents:[{id:"tab1_jsplus_bootstrap_breadcrumbs_"+A(aF),label:"",title:"",expand:true,padding:0,elements:[{id:"elementId"+A(aF),type:"html",html:U(aF)}]}],buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton],onShow:function(){F(aF);},onOk:function(){y(aF);}};});if(aE.addMenuItems){aE.addMenuItems({"jsplus_bootstrap_breadcrumbs":{label:r(aE,"jsplus_bootstrap_breadcrumbs_title"),command:"jsplus_bootstrap_breadcrumbs",group:"table",order:5}});}if(aE.contextMenu){aE.contextMenu.addListener(function(aF){if(ar(aF)!=null){return{"jsplus_bootstrap_breadcrumbs":CKEDITOR.TRISTATE_ON};}});}aE.addCommand("jsplus_bootstrap_breadcrumbs",new CKEDITOR.dialogCommand("jsplus_bootstrap_breadcrumbs"+A(aE)));aE.ui.addButton("jsplus_bootstrap_breadcrumbs",{title:r(aE,"jsplus_bootstrap_breadcrumbs_title"),icon:this.path+"icons/jsplus_bootstrap_breadcrumbs.png",command:"jsplus_bootstrap_breadcrumbs"});}});})(); |