添加项目文件。

This commit is contained in:
zgf committed 2023-07-25 19:20:18 +08:00
1 parent 05e131ca4e
commit 514d6f5255
1162 files changed
+81255

No files matched your search

@@ -0,0 +1 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title></title><style>*{color:#838383;margin:0;padding:0}body,html{font-size:12px;overflow:hidden}.content{padding:5px 0 0 15px}input{width:210px;height:21px;line-height:21px;margin-left:4px}</style></head><body><div class="content"><span><var id="lang_input_anchorName"></var></span><input id="anchorName"></div><script src="../internal.js"></script><script>var anchorInput=$G("anchorName"),node=editor.selection.getRange().getClosedNode();node&&"IMG"==node.tagName&&(node=node.getAttribute("anchorname"))&&(anchorInput.value=node),anchorInput.onkeydown=function(o){13==(o=o||window.event).keyCode&&(editor.execCommand("anchor",anchorInput.value),dialog.close(),domUtils.preventDefault(o))},dialog.onok=function(){editor.execCommand("anchor",anchorInput.value),dialog.close()},$focus(anchorInput)</script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
@charset "utf-8";.tabbody,.wrapper{position:relative}.wrapper{zoom:1;width:630px;*width:626px;height:380px;margin:0 auto;padding:10px;font-family:sans-serif}.tabhead{float:left}.tabbody{width:100%;height:346px;clear:both}.tabbody .panel{position:absolute;width:0;height:0;background:#fff;overflow:hidden;display:none}.tabbody .panel.focus{width:100%;height:346px;display:block}.tabbody #upload.panel{width:0;height:0;overflow:hidden;position:absolute!important;clip:rect(1px,1px,1px,1px);background:#fff;display:block}.tabbody #upload.panel.focus{width:100%;height:346px;display:block;clip:auto}#upload .queueList{margin:0;width:100%;height:100%;position:absolute;overflow:hidden}#upload p{margin:0}.element-invisible{width:0!important;height:0!important;border:0;padding:0;margin:0;overflow:hidden;position:absolute!important;clip:rect(1px,1px,1px,1px)}#upload .placeholder{margin:10px;border:2px dashed #e6e6e6;*border:0 dashed #e6e6e6;height:172px;padding-top:150px;text-align:center;background:url(images/image.png) center 70px no-repeat;color:#ccc;font-size:18px;position:relative;top:0;*top:10px}#upload .placeholder .webuploader-pick{font-size:18px;background:#00b7ee;border-radius:3px;line-height:44px;padding:0 30px;*width:120px;color:#fff;display:inline-block;margin:0 auto 20px;cursor:pointer;box-shadow:0 1px 1px rgba(0,0,0,.1)}#upload .placeholder .webuploader-pick-hover{background:#00a2d4}#filePickerContainer{text-align:center}#upload .placeholder .flashTip{color:#666;font-size:12px;position:absolute;width:100%;text-align:center;bottom:20px}#upload .placeholder .flashTip a{color:#0785d1;text-decoration:none}#upload .placeholder .flashTip a:hover{text-decoration:underline}#upload .placeholder.webuploader-dnd-over{border-color:#999}#upload .filelist{list-style:none;margin:0;padding:0;overflow-x:hidden;overflow-y:auto;position:relative;height:300px}#upload .filelist:after{content:'';display:block;width:0;height:0;overflow:hidden;clear:both}#upload .filelist li{width:113px;height:113px;background:url(images/bg.png);text-align:center;margin:9px 0 0 9px;*margin:6px 0 0 6px;position:relative;display:block;float:left;overflow:hidden;font-size:12px}#upload .filelist li p.log{position:relative;top:-45px}#upload .filelist li p.title{position:absolute;left:0;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;top:5px;text-indent:5px;text-align:left}#upload .filelist li p.progress{position:absolute;width:100%;bottom:0;left:0;height:8px;overflow:hidden;z-index:50;margin:0;border-radius:0;background:0 0;-webkit-box-shadow:0 0 0}#upload .filelist li p.progress span{display:none;overflow:hidden;width:0;height:100%;background:url(images/progress.png) repeat-x #1483d8;-webit-transition:width .2s linear;-moz-transition:width .2s linear;-o-transition:width .2s linear;-ms-transition:width .2s linear;transition:width .2s linear;-webkit-animation:progressmove 2s linear infinite;-moz-animation:progressmove 2s linear infinite;-o-animation:progressmove 2s linear infinite;-ms-animation:progressmove 2s linear infinite;animation:progressmove 2s linear infinite;-webkit-transform:translateZ(0)}@-webkit-keyframes progressmove{0%{background-position:0 0}100%{background-position:17px 0}}@-moz-keyframes progressmove{0%{background-position:0 0}100%{background-position:17px 0}}@keyframes progressmove{0%{background-position:0 0}100%{background-position:17px 0}}#upload .filelist li p.imgWrap{position:relative;z-index:2;line-height:113px;vertical-align:middle;overflow:hidden;width:113px;height:113px;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-o-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;-webit-transition:.2s ease-out;-moz-transition:.2s ease-out;-o-transition:.2s ease-out;-ms-transition:.2s ease-out;transition:.2s ease-out}#upload .filelist li p.imgWrap.notimage{margin-top:0;width:111px;height:111px;border:1px solid #eee}#upload .filelist li p.imgWrap.notimage i.file-preview{margin-top:15px}#upload .filelist li img{width:100%}#upload .filelist li p.error{background:#f43838;color:#fff;position:absolute;bottom:0;left:0;height:28px;line-height:28px;width:100%;z-index:100;display:none}#upload .filelist li .success{display:block;position:absolute;left:0;bottom:0;height:40px;width:100%;z-index:200;background:url(images/success.png) right bottom no-repeat;background-image:url(images/success.gif)\9}#upload .filelist li.filePickerBlock{width:113px;height:113px;background:url(images/image.png) center 12px no-repeat;border:1px solid #eee;border-radius:0}#upload .filelist li.filePickerBlock div.webuploader-pick{width:100%;height:100%;margin:0;padding:0;opacity:0;background:0 0;font-size:0}#upload .filelist div.file-panel{position:absolute;height:0;filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000')\9;background:rgba(0,0,0,.5);width:100%;top:0;left:0;overflow:hidden;z-index:300}#upload .filelist div.file-panel span{width:24px;heiLine truncated
@@ -0,0 +1 @@
<!doctype html><html><head><meta charset="UTF-8"><title>ueditor图片对话框</title><script src="../internal.js"></script><script src="../../third-party/jquery-1.10.2.min.js"></script><script src="../../third-party/webuploader/webuploader.min.js"></script><link rel="stylesheet" href="../../third-party/webuploader/webuploader.css"><link rel="stylesheet" href="attachment.css"></head><body><div class="wrapper"><div id="tabhead" class="tabhead"><span class="tab focus" data-content-id="upload"><var id="lang_tab_upload"></var></span></div><div id="tabbody" class="tabbody"><div id="upload" class="panel focus"><div id="queueList" class="queueList"><div class="statusBar element-invisible"><div class="progress"><span class="text">0%</span> <span class="percentage"></span></div><div class="info"></div><div class="btns"><div id="filePickerBtn"></div><div class="uploadBtn"><var id="lang_start_upload"></var></div></div></div><div id="dndArea" class="placeholder"><div class="filePickerContainer"><div id="filePickerReady"></div></div></div><ul class="filelist element-invisible"><li id="filePickerBlock" class="filePickerBlock"></li></ul></div></div><div id="online" class="panel"><div id="fileList"><var id="lang_imgLoading"></var></div></div></div></div><script src="attachment.js"></script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;!function(){function initTabs(){for(var e=$G("tabhead").children,t=0;t<e.length;t++)domUtils.on(e[t],"click",function(e){var t=e.target||e.srcElement;setTabFocus(t.getAttribute("data-content-id"))});setTabFocus("upload")}function setTabFocus(e){if(e){var t,i,a=$G("tabhead").children;for(t=0;t<a.length;t++)i=a[t].getAttribute("data-content-id"),i==e?(domUtils.addClass(a[t],"focus"),domUtils.addClass($G(i),"focus")):(domUtils.removeClasses(a[t],"focus"),domUtils.removeClasses($G(i),"focus"));switch(e){case"upload":uploadFile=uploadFile||new UploadFile("queueList");break;case"online":onlineFile=onlineFile||new OnlineFile("fileList")}}}function initButtons(){dialog.onok=function(){for(var e,t=[],i=$G("tabhead").children,a=0;a<i.length;a++)if(domUtils.hasClass(i[a],"focus")){e=i[a].getAttribute("data-content-id");break}switch(e){case"upload":t=uploadFile.getInsertList();var s=uploadFile.getQueueCount();if(s)return $(".info","#queueList").html('<span style="color:red;">'+"还有2个未上传文件".replace(/[\d]/,s)+"</span>"),!1;break;case"online":t=onlineFile.getInsertList()}editor.execCommand("insertfile",t)}}function UploadFile(e){this.$wrap=e.constructor==String?$("#"+e):$(e),this.init()}function OnlineFile(e){this.container=utils.isString(e)?document.getElementById(e):e,this.init()}var uploadFile,onlineFile;window.onload=function(){initTabs(),initButtons()},UploadFile.prototype={init:function(){this.fileList=[],this.initContainer(),this.initUploader()},initContainer:function(){this.$queue=this.$wrap.find(".filelist")},initUploader:function(){function e(e){var t=r('<li id="'+e.id+'"><p class="title">'+e.name+'</p><p class="imgWrap"></p><p class="progress"><span></span></p></li>'),i=r('<div class="file-panel"><span class="cancel">'+lang.uploadDelete+'</span><span class="rotateRight">'+lang.uploadTurnRight+'</span><span class="rotateLeft">'+lang.uploadTurnLeft+"</span></div>").appendTo(t),a=t.find("p.progress span"),s=t.find("p.imgWrap"),l=r('<p class="error"></p>').hide().appendTo(t),o=function(e){switch(e){case"exceed_size":text=lang.errorExceedSize;break;case"interrupt":text=lang.errorInterrupt;break;case"http":text=lang.errorHttp;break;case"not_allow_type":text=lang.errorFileType;break;default:text=lang.errorUploadRetry}l.text(text).show()};"invalid"===e.getStatus()?o(e.statusText):(s.text(lang.uploadPreview),"|png|jpg|jpeg|bmp|gif|".indexOf("|"+e.ext.toLowerCase()+"|")==-1?s.empty().addClass("notimage").append('<i class="file-preview file-type-'+e.ext.toLowerCase()+'"></i><span class="file-title" title="'+e.name+'">'+e.name+"</span>"):browser.ie&&browser.version<=7?s.text(lang.uploadNoPreview):n.makeThumb(e,function(e,t){if(e||!t)s.text(lang.uploadNoPreview);else{var i=r('<img src="'+t+'">');s.empty().append(i),i.on("error",function(){s.text(lang.uploadNoPreview)})}},b,x),F[e.id]=[e.size,0],e.rotation=0,e.ext&&S.indexOf(e.ext.toLowerCase())!=-1||(o("not_allow_type"),n.removeFile(e))),e.on("statuschange",function(s,n){"progress"===n?a.hide().width(0):"queued"===n&&(t.off("mouseenter mouseleave"),i.remove()),"error"===s||"invalid"===s?(o(e.statusText),F[e.id][1]=1):"interrupt"===s?o("interrupt"):"queued"===s?F[e.id][1]=0:"progress"===s&&(l.hide(),a.css("display","block")),t.removeClass("state-"+n).addClass("state-"+s)}),t.on("mouseenter",function(){i.stop().animate({height:30})}),t.on("mouseleave",function(){i.stop().animate({height:0})}),i.on("click","span",function(){var t,i=r(this).index();switch(i){case 0:return void n.removeFile(e);case 1:e.rotation+=90;break;case 2:e.rotation-=90}U?(t="rotate("+e.rotation+"deg)",s.css({"-webkit-transform":t,"-mos-transform":t,"-o-transform":t,transform:t})):s.css("filter","progid:DXImageTransform.Microsoft.BasicImage(rotation="+~~(e.rotation/90%4+4)%4+")")}),t.insertBefore(f)}function t(e){var t=r("#"+e.id);delete F[e.id],i(),t.off().find(".file-panel").off().end().remove()}function i(){var e,t=0,i=0,a=g.children();r.each(F,function(e,a){i+=a[0],t+=a[0]*a[1]}),e=i?t/i:0,a.eq(0).text(Math.round(100*e)+"%"),a.eq(1).css("width",Math.round(100*e)+"%"),s()}function a(e,t){if(e!=w){var i=n.getStats();switch(c.removeClass("state-"+w),c.addClass("state-"+e),e){case"pedding":d.addClass("element-invisible"),u.addClass("element-invisible"),h.removeClass("element-invisible"),g.hide(),p.hide(),n.refresh();break;case"ready":h.addClass("element-invisible"),d.removeClass("element-invisible"),u.removeClass("element-invisible"),g.hide(),p.show(),c.text(lang.uploadStart),n.refresh();break;case"uploading":g.show(),p.hide(),c.text(lang.uploadPause);break;case"paused":g.show(),p.hide(),c.text(lang.uploadContinue);break;case"confirm":if(g.show(),p.hide(),c.text(lang.uploadStart),i=n.getStats(),i.successNum&&!i.uploadFailNum)return void a("finish");break;case"finish":g.hide(),p.show(),i.uploadFailNum?c.text(lang.uploadRetry):c.text(lang.uploadStart)}w=e,s()}l.getQueueCount()?c.removeClass("disabled"):c.addClass("disabled")}function s(){var e,t="";"ready"===w?t=lang.updateStatusReady.replaLine truncated
Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1009 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1007 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
#imgManager li,#imgManager ul{list-style:none;display:block}#imageList,#imgManager li,body{overflow:hidden}.wrapper{width:424px;margin:10px auto;zoom:1;position:relative}.tabbody{height:225px}.tabbody .panel{position:absolute;width:100%;height:100%;background:#fff;display:none}.tabbody .focus{display:block}body{font-size:12px;color:#888}input,label{vertical-align:middle}.clear{clear:both}.pl{padding-left:18px;padding-left:23px\9}#imageList{width:420px;height:215px;margin-top:10px;overflow-y:auto}#imageList div{float:left;width:100px;height:95px;margin:5px 10px}#imageList img{cursor:pointer;border:2px solid #fff}.bgarea{margin:10px;padding:5px;height:84%;border:1px solid #A8A297}.content div{margin:10px 0 10px 5px}.content .iptradio{margin:0 5px 5px 0}#colorPicker,div.color{margin:0;float:left}.txt{width:280px}.wrapcolor{height:19px}#colorPicker{width:17px;height:17px;border:1px solid #CCC;display:inline-block;border-radius:3px;box-shadow:2px 2px 5px #D3D6DA}#custom,div.alignment{margin-left:23px;margin-left:28px\9}#custom input{height:15px;min-height:15px;width:20px}#repeatType{width:100px}#imgManager{width:100%;height:225px}#imgManager #imageList{width:100%;overflow-x:hidden;overflow-y:auto}#imgManager ul{margin:0;padding:0}#imgManager li{float:left;padding:0;width:113px;height:113px;margin:9px 0 0 19px;background-color:#eee;cursor:pointer;position:relative}#imgManager li.clearFloat{float:none;clear:both;display:block;width:0;height:0;margin:0;padding:0}#imgManager li img{cursor:pointer}#imgManager li .icon{cursor:pointer;width:113px;height:113px;position:absolute;top:0;left:0;z-index:2;border:0;background-repeat:no-repeat}#imgManager li .icon:hover,#imgManager li.selected .icon:hover{width:107px;height:107px;border:3px solid #1094fa}#imgManager li.selected .icon{background-image:url(images/success.png);background-position:75px 75px}#imgManager li.selected .icon:hover{background-position:72px 72px}
@@ -0,0 +1 @@
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><script src="../internal.js"></script><link rel="stylesheet" href="background.css"></head><body><div id="bg_container" class="wrapper"><div id="tabHeads" class="tabhead"><span class="focus" data-content-id="normal"><var id="lang_background_normal"></var></span> <span data-content-id="imgManager"><var id="lang_background_local"></var></span></div><div id="tabBodys" class="tabbody"><div id="normal" class="panel focus"><fieldset class="bgarea"><legend><var id="lang_background_set"></var></legend><div class="content"><div><label><input id="nocolorRadio" class="iptradio" type="radio" name="t" value="none" checked><var id="lang_background_none"></var></label> <label><input id="coloredRadio" class="iptradio" type="radio" name="t" value="color"><var id="lang_background_colored"></var></label></div><div class="wrapcolor pl"><div class="color"><var id="lang_background_color"></var>:</div><div id="colorPicker"></div><div class="clear"></div></div><div class="wrapcolor pl"><label><var id="lang_background_netimg"></var>:</label><input class="txt" type="text" id="url"></div><div id="alignment" class="alignment"><var id="lang_background_align"></var>:<select id="repeatType"><option value="center"></option><option value="repeat-x"></option><option value="repeat-y"></option><option value="repeat"></option><option value="self"></option></select></div><div id="custom"><var id="lang_background_position"></var>:x:<input type="text" size="1" id="x" maxlength="4" value="0">px&nbsp;&nbsp;y:<input type="text" size="1" id="y" maxlength="4" value="0">px</div></div></fieldset></div><div id="imgManager" class="panel"><div id="imageList"></div></div></div></div><script src="background.js"></script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;!function(){function initTabs(){for(var t=$G("tabHeads").children,e=0;e<t.length;e++)domUtils.on(t[e],"click",function(e){for(var i=e.target||e.srcElement,o=0;o<t.length;o++)if(t[o]==i){t[o].className="focus";var n=t[o].getAttribute("data-content-id");$G(n).style.display="block","imgManager"==n&&initImagePanel()}else t[o].className="",$G(t[o].getAttribute("data-content-id")).style.display="none"})}function initColorSelector(){var t=editor.queryCommandValue("background");if(t){var e=t["background-color"],i=t["background-repeat"]||"repeat",o=t["background-image"]||"",n=t["background-position"]||"center center",a=n.split(" "),r=parseInt(a[0])||0,s=parseInt(a[1])||0;"no-repeat"==i&&(r||s)&&(i="self"),o=o.match(/url[\s]*\(([^\)]*)\)/),o=o?o[1]:"",updateFormState("colored",e,o,i,r,s)}else updateFormState();var l=function(){updateFormState(),updateBackground()};domUtils.on($G("nocolorRadio"),"click",updateBackground),domUtils.on($G("coloredRadio"),"click",l),domUtils.on($G("url"),"keyup",function(){$G("url").value&&"none"==$G("alignment").style.display&&utils.each($G("repeatType").children,function(t){t.selected="repeat"==t.getAttribute("value")&&"selected"}),l()}),domUtils.on($G("repeatType"),"change",l),domUtils.on($G("x"),"keyup",updateBackground),domUtils.on($G("y"),"keyup",updateBackground),initColorPicker()}function initColorPicker(){var t=editor,e=$G("colorPicker"),i=new UE.ui.Popup({content:new UE.ui.ColorPicker({noColorText:t.getLang("clearColor"),editor:t,onpickcolor:function(t,e){updateFormState("colored",e),updateBackground(),UE.ui.Popup.postHide()},onpicknocolor:function(t,e){updateFormState("colored","transparent"),updateBackground(),UE.ui.Popup.postHide()}}),editor:t,onhide:function(){}});domUtils.on(e,"click",function(){i.showAnchor(this)}),domUtils.on(document,"mousedown",function(t){var e=t.target||t.srcElement;UE.ui.Popup.postHide(e)}),domUtils.on(window,"scroll",function(){UE.ui.Popup.postHide()})}function initImagePanel(){onlineImage=onlineImage||new OnlineImage("imageList")}function updateFormState(t,e,i,o,n,a){var r=$G("nocolorRadio"),s=$G("coloredRadio");if(t&&(r.checked="colored"!=t&&"checked",s.checked="colored"==t&&"checked"),e&&domUtils.setStyle($G("colorPicker"),"background-color",e),i&&/^\//.test(i)){var l=document.createElement("a");l.href=i,browser.ie&&(l.href=l.href),i=browser.ie?l.href:l.protocol+"//"+l.host+l.pathname+l.search+l.hash}(i||""===i)&&($G("url").value=i),o&&utils.each($G("repeatType").children,function(t){t.selected=o==t.getAttribute("value")&&"selected"}),(n||a)&&($G("x").value=parseInt(n)||0,$G("y").value=parseInt(a)||0),$G("alignment").style.display=s.checked&&$G("url").value?"":"none",$G("custom").style.display=s.checked&&$G("url").value&&"self"==$G("repeatType").value?"":"none"}function updateBackground(){if($G("coloredRadio").checked){var t=domUtils.getStyle($G("colorPicker"),"background-color"),e=$G("url").value,i=$G("repeatType").value,o={"background-repeat":"no-repeat","background-position":"center center"};t&&(o["background-color"]=t),e&&(o["background-image"]="url("+e+")"),"self"==i?o["background-position"]=$G("x").value+"px "+$G("y").value+"px":"repeat-x"!=i&&"repeat-y"!=i&&"repeat"!=i||(o["background-repeat"]=i),editor.execCommand("background",o)}else editor.execCommand("background",null)}function OnlineImage(t){this.container=utils.isString(t)?document.getElementById(t):t,this.init()}var onlineImage,backupStyle=editor.queryCommandValue("background");window.onload=function(){initTabs(),initColorSelector()},OnlineImage.prototype={init:function(){this.reset(),this.initEvents()},initContainer:function(){this.container.innerHTML="",this.list=document.createElement("ul"),this.clearFloat=document.createElement("li"),domUtils.addClass(this.list,"list"),domUtils.addClass(this.clearFloat,"clearFloat"),this.list.id="imageListUl",this.list.appendChild(this.clearFloat),this.container.appendChild(this.list)},initEvents:function(){var t=this;domUtils.on($G("imageList"),"scroll",function(e){var i=this;i.scrollHeight-(i.offsetHeight+i.scrollTop)<10&&t.getImageData()}),domUtils.on(this.container,"click",function(t){var e=t.target||t.srcElement,i=e.parentNode,o=$G("imageListUl").childNodes;if("li"==i.tagName.toLowerCase()){updateFormState("nocolor",null,"");for(var n,a=0;n=o[a++];)n!=i||domUtils.hasClass(n,"selected")?domUtils.removeClasses(n,"selected"):(domUtils.addClass(n,"selected"),updateFormState("colored",null,i.firstChild.getAttribute("_src"),"repeat"));updateBackground()}})},initData:function(){this.state=0,this.listSize=editor.getOpt("imageManagerListSize"),this.listIndex=0,this.listEnd=!1,this.getImageData()},reset:function(){this.initContainer(),this.initData()},getImageData:function(){var _this=this;if(!_this.listEnd&&!this.isLoadingData){this.isLoadingData=!0;var url=editor.getActionUrl(editor.getOpt("imageManagerActionName")),isJsonp=utils.isCrossDomainUrl(url);ajax.request(url,{timeout:1e5,dataType:isJsonp?"jsonp":"",data:utils.extend({start:this.listIndLine truncated
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;var typeConfig=[{chart:{type:"line"},plotOptions:{line:{dataLabels:{enabled:!1},enableMouseTracking:!0}}},{chart:{type:"line"},plotOptions:{line:{dataLabels:{enabled:!0},enableMouseTracking:!1}}},{chart:{type:"area"}},{chart:{type:"bar"}},{chart:{type:"column"}},{chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!0,color:"#000000",connectorColor:"#000000",formatter:function(){return"<b>"+this.point.name+"</b>: "+Math.round(100*this.point.percentage)/100+" %"}}}}}];
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
body,html{width:100%;height:100%;margin:0;padding:0;overflow-x:hidden}.main{width:100%;overflow:hidden}.table-view{height:100%;float:left;margin:20px;width:40%}.table-view .table-container{width:100%;margin-bottom:50px;overflow:scroll}.table-view th{padding:5px 10px;background-color:#F7F7F7}.table-view td{width:50px;text-align:center;padding:0}.table-container input{width:40px;padding:5px;border:none;outline:0}.table-view caption{font-size:18px;text-align:left}.charts-view{width:50%;margin-left:49%;height:400px}.charts-container{border-left:1px solid #c3c3c3}.charts-format fieldset{padding-left:20px;margin-bottom:50px}.charts-format legend{padding-left:10px;padding-right:10px}.format-item-container{padding:20px}.format-item-container label{display:block;margin:10px 0}.charts-format .data-item{border:1px solid #000;outline:0;padding:2px 3px}.charts-type{margin-top:50px;height:300px}.scroll-view{border:1px solid #c3c3c3;border-left:none;border-right:none;overflow:hidden}.scroll-container{margin:20px;width:100%;overflow:hidden}.scroll-bed{width:10000px;_margin-top:20px;-webkit-transition:margin-left .5s ease;-moz-transition:margin-left .5s ease;transition:margin-left .5s ease}.view-box{display:inline-block;*display:inline;*zoom:1;margin-right:20px;border:2px solid #fff;line-height:0;overflow:hidden;cursor:pointer}.view-box img{border:1px solid #cecece}.view-box.selected{border-color:#7274A7}.button-container{margin-bottom:20px;text-align:center}.button-container a{display:inline-block;width:100px;height:25px;line-height:25px;border:1px solid #c2ccd1;margin-right:30px;text-decoration:none;color:#000;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.button-container a:HOVER{background:#fcfcfc}.button-container a:ACTIVE{border-top-color:#c2ccd1;box-shadow:inset 0 5px 4px -4px rgba(49,49,64,.1)}.edui-charts-not-data{height:100px;line-height:100px;text-align:center}
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>chart</title><meta chartset="utf-8"><link rel="stylesheet" href="charts.css"><script src="../internal.js"></script></head><body><div class="main"><div class="table-view"><h3><var id="lang_data_source"></var></h3><div id="tableContainer" class="table-container"></div><h3><var id="lang_chart_format"></var></h3><form name="data-form"><div class="charts-format"><fieldset><legend><var id="lang_data_align"></var></legend><div class="format-item-container"><label><input type="radio" class="format-ctrl not-pie-item" name="charts-format" value="1" checked> <var id="lang_chart_align_same"></var></label> <label><input type="radio" class="format-ctrl not-pie-item" name="charts-format" value="-1"> <var id="lang_chart_align_reverse"></var></label><br></div></fieldset><fieldset><legend><var id="lang_chart_title"></var></legend><div class="format-item-container"><label><var id="lang_chart_main_title"></var><input type="text" name="title" class="data-item"></label> <label><var id="lang_chart_sub_title"></var><input type="text" name="sub-title" class="data-item not-pie-item"></label> <label><var id="lang_chart_x_title"></var><input type="text" name="x-title" class="data-item not-pie-item"></label> <label><var id="lang_chart_y_title"></var><input type="text" name="y-title" class="data-item not-pie-item"></label></div></fieldset><fieldset><legend><var id="lang_chart_tip"></var></legend><div class="format-item-container"><label><var id="lang_cahrt_tip_prefix"></var> <input type="text" id="tipInput" name="tip" class="data-item" disabled></label><p><var id="lang_cahrt_tip_description"></var></p></div></fieldset><fieldset><legend><var id="lang_chart_data_unit"></var></legend><div class="format-item-container"><label><var id="lang_chart_data_unit_title"></var><input type="text" name="unit" class="data-item"></label><p><var id="lang_chart_data_unit_description"></var></p></div></fieldset></div></form></div><div class="charts-view"><div id="chartsContainer" class="charts-container"></div><div id="chartsType" class="charts-type"><h3><var id="lang_chart_type"></var></h3><div class="scroll-view"><div class="scroll-container"><div id="scrollBed" class="scroll-bed"></div></div><div id="buttonContainer" class="button-container"><a href="#" data-title="prev"><var id="lang_prev_btn"></var></a> <a href="#" data-title="next"><var id="lang_next_btn"></var></a></div></div></div></div></div><script src="../../third-party/jquery-1.10.2.min.js"></script><script src="../../third-party/highcharts/highcharts.js"></script><script src="chart.config.js"></script><script src="charts.js"></script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;function initChartsTypeView(){for(var e=[],t=0,a=chartsConfig.length;t<a;t++)e.push('<div class="view-box" data-chart-type="'+t+'"><img width="300" src="images/charts'+t+'.png"></div>');$("#scrollBed").html(e.join(""))}function renderTable(e){for(var t,a=[],r=0;t=e.rows[r];r++){tableData[r]=[],a[r]=[];for(var i,n=0;i=t.cells[n];n++){var l=getCellValue(i);r>0&&n>0&&(l=+l),0===r||0===n?a[r].push("<th>"+l+"</th>"):a[r].push('<td><input type="text" class="data-item" value="'+l+'"></td>'),tableData[r][n]=l}a[r]=a[r].join("")}$("#tableContainer").html('<table id="showTable" border="1"><tbody><tr>'+a.join("</tr><tr>")+"</tr></tbody></table>")}function initUserConfig(e){var t={};e&&(e=e.split(";"),$.each(e,function(e,a){a=a.split(":"),t[a[0]]=a[1]}),setUserConfig(t))}function initEvent(){var e=null,t=chartsConfig.length-1,a=$("#scrollBed .view-box");$(".charts-format").delegate(".format-ctrl","change",function(){renderCharts()}),$(".table-view").delegate(".data-item","focus",function(){e=this.value}).delegate(".data-item","blur",function(){this.value!==e&&renderCharts(),e=null}),$("#buttonContainer").delegate("a","click",function(e){e.preventDefault(),"prev"===this.getAttribute("data-title")?currentChartType>0&&(currentChartType--,updateViewType(currentChartType)):currentChartType<t&&(currentChartType++,updateViewType(currentChartType))}),$("#scrollBed").delegate(".view-box","click",function(e){var t=$(this).attr("data-chart-type");a.removeClass("selected"),$(a[t]).addClass("selected"),currentChartType=0|t,currentChartType===chartsConfig.length-1?disableNotPieConfig():enableNotPieConfig(),renderCharts()})}function renderCharts(){var e=collectData();$("#chartsContainer").highcharts($.extend({},chartsConfig[currentChartType],{credits:{enabled:!1},exporting:{enabled:!1},title:{text:e.title,x:-20},subtitle:{text:e.subTitle,x:-20},xAxis:{title:{text:e.xTitle},categories:e.categories},yAxis:{title:{text:e.yTitle},plotLines:[{value:0,width:1,color:"#808080"}]},tooltip:{enabled:!0,valueSuffix:e.suffix},legend:{layout:"vertical",align:"right",verticalAlign:"middle",borderWidth:1},series:e.series}))}function updateViewType(e){$("#scrollBed").css("marginLeft",324*-e+"px")}function collectData(){var e=document.forms["data-form"],t=null;return currentChartType!==chartsConfig.length-1?(t=getSeriesAndCategories(),$.extend(t,getUserConfig())):(t=getSeriesForPieChart(),t.title=e.title.value,t.suffix=e.unit.value),t}function getUserConfig(){var e=document.forms["data-form"],t={title:e.title.value,subTitle:e["sub-title"].value,xTitle:e["x-title"].value,yTitle:e["y-title"].value,suffix:e.unit.value,tableDataFormat:getTableDataFormat(),tip:$("#tipInput").val()};return t}function setUserConfig(e){var t=document.forms["data-form"];e.title&&(t.title.value=e.title),e.subTitle&&(t["sub-title"].value=e.subTitle),e.xTitle&&(t["x-title"].value=e.xTitle),e.yTitle&&(t["y-title"].value=e.yTitle),e.suffix&&(t.unit.value=e.suffix),"-1"==e.dataFormat&&(t["charts-format"][1].checked=!0),e.tip&&(t.tip.value=e.tip),currentChartType=e.chartType||0}function getSeriesAndCategories(){var e=(document.forms["data-form"],[]),t=[],a=[],r=getTableData();if("-1"===getTableDataFormat()){for(var i=0,n=r.length;i<n;i++)for(var l=0,o=r[i].length;l<o;l++)a[l]||(a[l]=[]),a[l][i]=r[i][l];r=a}t=r[0].slice(1);for(var u,i=1;u=r[i];i++)e.push({name:u[0],data:u.slice(1)});return{series:e,categories:t}}function getTableDataFormat(){var e=document.forms["data-form"],t=e["charts-format"];return t[0].checked?t[0].value:t[1].value}function disableNotPieConfig(){updateConfigItem("disable")}function enableNotPieConfig(){updateConfigItem("enable")}function updateConfigItem(e){for(var t,a=$("#showTable")[0],r="disable"===e,i=2;t=a.rows[i];i++)for(var n,l=1;n=t.cells[l];l++)$("input",n).attr("disabled",r);$("input.not-pie-item").attr("disabled",r),$("#tipInput").attr("disabled",!r)}function getSeriesForPieChart(){for(var e={type:"pie",name:$("#tipInput").val(),data:[]},t=getTableData(),a=1,r=t[0].length;a<r;a++){var i=t[0][a],n=t[1][a];e.data.push([i,n])}return{series:[e]}}function getTableData(){for(var e,t=document.getElementById("showTable"),a=t.rows[0].cells.length-1,r=getTableInputValue(),i=0;e=r[i];i++)tableData[Math.floor(i/a)+1][i%a+1]=r[i];return tableData}function getTableInputValue(){for(var e,t=document.getElementById("showTable"),a=t.getElementsByTagName("input"),r=[],i=0;e=a[i];i++)r.push(0|e.value);return r}function getCellValue(e){var t=utils.trim(e.innerText||e.textContent||"");return t.replace(new RegExp(UE.dom.domUtils.fillChar,"g"),"").replace(/^\s+|\s+$/g,"")}function syncTableData(){for(var e,t=getTableData(),a=1;e=editorTable.rows[a];a++)for(var r,i=1;r=e.cells[i];i++)r.innerHTML=t[a][i]}var tableData=[],editorTable=null,chartsConfig=window.typeConfig,resizeTimer=null,currentChartType=0;window.onload=function(){return(editorTable=domUtils.findParentByTagName(editor.selection.getRange().startContainer,"table",!0))?(initChartsTypeView(),renderTable(editorTableLine truncated
Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
.jd img{background:url(images/jxface2.gif?v=1.1) left top no-repeat;cursor:pointer;width:35px;height:35px;display:block}.pp img{background:url(images/fface.gif?v=1.1) left top no-repeat;cursor:pointer;width:25px;height:25px;display:block}.bb img,.cat img,.ldw img,.tsj img,.youa img{cursor:pointer;width:35px;height:35px;display:block}.ldw img{background:url(images/wface.gif?v=1.1) left top no-repeat}.tsj img{background:url(images/tface.gif?v=1.1) left top no-repeat}.cat img{background:url(images/cface.gif?v=1.1) left top no-repeat}.bb img{background:url(images/bface.gif?v=1.1) left top no-repeat}.youa img{background:url(images/yface.gif?v=1.1) left top no-repeat}.smileytable td{height:37px}#tabPanel{margin-left:5px;overflow:hidden}#tabContent{float:left;background:#FFF}#tabContent div{display:none;width:480px;overflow:hidden}#tabIconReview.show{left:17px;display:block}.menuFocus{background:#ACCD3C}.menuDefault{background:#FFF}#tabIconReview{position:absolute;left:406px;left:398px\9;top:41px;z-index:65533;width:90px;height:76px}img.review{width:90px;height:76px;border:2px solid #9cb945;background:center no-repeat #FFF}.wrapper .tabbody{position:relative;float:left;clear:both;padding:10px;width:95%}.tabbody table{width:100%}.tabbody td{border:1px solid #BAC498}.tabbody td span{display:block;zoom:1;padding:0 4px}
@@ -0,0 +1 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="robots" content="noindex, nofollow"><script src="../internal.js"></script><link rel="stylesheet" href="emotion.css"></head><body><div id="tabPanel" class="wrapper"><div id="tabHeads" class="tabhead"><span><var id="lang_input_choice"></var></span> <span><var id="lang_input_Tuzki"></var></span> <span><var id="lang_input_lvdouwa"></var></span> <span><var id="lang_input_BOBO"></var></span> <span><var id="lang_input_babyCat"></var></span> <span><var id="lang_input_bubble"></var></span> <span><var id="lang_input_youa"></var></span></div><div id="tabBodys" class="tabbody"><div id="tab0"></div><div id="tab1"></div><div id="tab2"></div><div id="tab3"></div><div id="tab4"></div><div id="tab5"></div><div id="tab6"></div></div></div><div id="tabIconReview"><img id="faceReview" class="review" src="../../themes/default/images/spacer.gif"></div><script src="emotion.js"></script><script>var emotion={tabNum:7,SmilmgName:{tab0:["j_00",84],tab1:["t_00",40],tab2:["w_00",52],tab3:["B_00",63],tab4:["C_00",20],tab5:["i_f",50],tab6:["y_00",40]},imageFolders:{tab0:"jx2/",tab1:"tsj/",tab2:"ldw/",tab3:"bobo/",tab4:"babycat/",tab5:"face/",tab6:"youa/"},imageCss:{tab0:"jd",tab1:"tsj",tab2:"ldw",tab3:"bb",tab4:"cat",tab5:"pp",tab6:"youa"},imageCssOffset:{tab0:35,tab1:35,tab2:35,tab3:35,tab4:35,tab5:25,tab6:35},SmileyInfor:{tab0:["Kiss","Love","Yeah","啊!","背扭","顶","抖胸","88","汗","瞌睡","鲁拉","拍砖","揉脸","生日快乐","大笑","瀑布汗~","惊讶","臭美","傻笑","抛媚眼","发怒","打酱油","俯卧撑","气愤","?","吻","怒","胜利","HI","KISS","不说","不要","扯花","大心","顶","大惊","飞吻","鬼脸","害羞","口水","狂哭","来","发财了","吃西瓜","套牢","害羞","庆祝","我来了","敲打","晕了","胜利","臭美","被打了","贪吃","迎接","酷","微笑","亲吻","调皮","惊恐","耍酷","发火","害羞","汗水","大哭","","加油","困","你NB","晕倒","开心","偷笑","大哭","滴汗","叹气","超赞","??","飞吻","天使","撒花","生气","被砸","吓傻","随意吐"],tab1:["Kiss","Love","Yeah","啊!","背扭","顶","抖胸","88","汗","瞌睡","鲁拉","拍砖","揉脸","生日快乐","摊手","睡觉","瘫坐","无聊","星星闪","旋转","也不行","郁闷","正Music","抓墙","撞墙至死","歪头","戳眼","飘过","互相拍砖","砍死你","扔桌子","少林寺","什么?","转头","我爱牛奶","我踢","摇晃","晕厥","在笼子里","震荡"],tab2:["大笑","瀑布汗~","惊讶","臭美","傻笑","抛媚眼","发怒","我错了","money","气愤","挑逗","吻","怒","胜利","委屈","受伤","说啥呢?","闭嘴","不","逗你玩儿","飞吻","眩晕","魔法","我来了","睡了","我打","闭嘴","打","打晕了","刷牙","爆揍","炸弹","倒立","刮胡子","邪恶的笑","不要不要","爱恋中","放大仔细看","偷窥","超高兴","晕","松口气","我跑","享受","修养","哭","汗","啊~","热烈欢迎","打酱油","俯卧撑","?"],tab3:["HI","KISS","不说","不要","扯花","大心","顶","大惊","飞吻","鬼脸","害羞","口水","狂哭","来","泪眼","流泪","生气","吐舌","喜欢","旋转","再见","抓狂","汗","鄙视","拜","吐血","嘘","打人","蹦跳","变脸","扯肉","吃To","吃花","吹泡泡糖","大变身","飞天舞","回眸","可怜","猛抽","泡泡","苹果","亲","","骚舞","烧香","睡","套娃娃","捅捅","舞倒","西红柿","爱慕","摇","摇摆","杂耍","招财","被殴","被球闷","大惊","理想","欧打","呕吐","碎","吐痰"],tab4:["发财了","吃西瓜","套牢","害羞","庆祝","我来了","敲打","晕了","胜利","臭美","被打了","贪吃","迎接","酷","顶","幸运","爱心","躲","送花","选择"],tab5:["微笑","亲吻","调皮","惊讶","耍酷","发火","害羞","汗水","大哭","得意","鄙视","困","夸奖","晕倒","疑问","媒婆","狂吐","青蛙","发愁","亲吻","","爱心","心碎","玫瑰","礼物","哭","奸笑","可爱","得意","呲牙","暴汗","楚楚可怜","困","哭","生气","惊讶","口水","彩虹","夜空","太阳","钱钱","灯泡","咖啡","蛋糕","音乐","爱","胜利","赞","鄙视","OK"],tab6:["男兜","女兜","开心","乖乖","偷笑","大笑","抽泣","大哭","无奈","滴汗","叹气","狂晕","委屈","超赞","??","疑问","飞吻","天使","撒花","生气","被砸","口水","泪奔","吓傻","吐舌头","点头","随意吐","旋转","困困","鄙视","狂顶","篮球","再见","欢迎光临","恭喜发财","稍等","我在线","恕不议价","库房有货","货在路上"]}}</script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;function initImgName(){for(var e in emotion.SmilmgName){var t=emotion.SmilmgName[e],o=emotion.SmileyBox[e],i="";if(o.length)return;for(var a=1;a<=t[1];a++)i=t[0],a<10&&(i+="0"),i=i+a+".gif",o.push(i)}}function initEvtHandler(e){for(var t=$G(e),o=0,i=0;o<t.childNodes.length;o++){var a=t.childNodes[o];1==a.nodeType&&(domUtils.on(a,"click",function(e){return function(){switchTab(e)}}(i)),i++)}switchTab(0),$G("tabIconReview").style.display="none"}function InsertSmiley(e,t){var o={src:editor.options.emotionLocalization?editor.options.UEDITOR_HOME_URL+"dialogs/emotion/"+e:e};o._src=o.src,editor.execCommand("insertimage",o),t.ctrlKey||dialog.popup.hide()}function switchTab(e){autoHeight(e),0==emotion.tabExist[e]&&(emotion.tabExist[e]=1,createTab("tab"+e));for(var t=$G("tabHeads").getElementsByTagName("span"),o=$G("tabBodys").getElementsByTagName("div"),i=0,a=t.length;i<a;i++)t[i].className="",o[i].style.display="none";t[e].className="focus",o[e].style.display="block"}function autoHeight(e){var t=dialog.getDom("iframe"),o=t.parentNode.parentNode;switch(e){case 0:t.style.height="380px",o.style.height="392px";break;case 1:t.style.height="220px",o.style.height="232px";break;case 2:t.style.height="260px",o.style.height="272px";break;case 3:t.style.height="300px",o.style.height="312px";break;case 4:t.style.height="140px",o.style.height="152px";break;case 5:t.style.height="260px",o.style.height="272px";break;case 6:t.style.height="230px",o.style.height="242px"}}function createTab(e){for(var t,o,i,a,n,s,r="?v=1.1",l=$G(e),c=emotion.SmileyPath+emotion.imageFolders[e],m=5.5,h=iHeight=35,g=3,p=emotion.imageCss[e],d=emotion.imageCssOffset[e],u=['<table class="smileytable">'],y=0,b=emotion.SmileyBox[e].length,f=11;y<b;){u.push("<tr>");for(var v=0;v<f;v++,y++)t=emotion.SmileyBox[e][y],t?(o=c+t+r,i=c+t,a=v<m?0:1,n=d*y*-1-1,s=emotion.SmileyInfor[e][y],u.push('<td class="'+p+'" border="1" width="'+g+'%" style="border-collapse:collapse;" align="center" bgcolor="transparent" onclick="InsertSmiley(\''+i.replace(/'/g,"\\'")+"',event)\" onmouseover=\"over(this,'"+o+"','"+a+'\')" onmouseout="out(this)">'),u.push("<span>"),u.push('<img style="background-position:left '+n+'px;" title="'+s+'" src="'+emotion.SmileyPath+(editor.options.emotionLocalization?'0.gif" width="':'default/0.gif" width="')+h+'" height="'+iHeight+'"></img>'),u.push("</span>")):u.push('<td width="'+g+'%" bgcolor="#FFFFFF">'),u.push("</td>");u.push("</tr>")}u.push("</table>"),u=u.join(""),l.innerHTML=u}function over(e,t,o){e.style.backgroundColor="#ACCD3C",$G("faceReview").style.backgroundImage="url("+t+")",1==o&&($G("tabIconReview").className="show"),$G("tabIconReview").style.display="block"}function out(e){e.style.backgroundColor="transparent";var t=$G("tabIconReview");t.className="",t.style.display="none"}function createTabList(e){for(var t={},o=0;o<e;o++)t["tab"+o]=[];return t}function createArr(e){for(var t=[],o=0;o<e;o++)t[o]=0;return t}window.onload=function(){editor.setOpt({emotionLocalization:!1}),emotion.SmileyPath=editor.options.emotionLocalization===!0?"images/":"http://img.baidu.com/hi/",emotion.SmileyBox=createTabList(emotion.tabNum),emotion.tabExist=createArr(emotion.tabNum),initImgName(),initEvtHandler("tabHeads")};
Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
.wrapper{width:370px;margin:10px auto;zoom:1}.tabbody{height:360px}.tabbody .panel{width:100%;height:360px;position:absolute;background:#fff}.tabbody .panel h1{font-size:26px;margin:5px 0 0 5px}.tabbody .panel p{font-size:12px;margin:5px 0 0 5px}.tabbody table{width:90%;line-height:20px;margin:5px 0 0 5px}.tabbody table thead{font-weight:700;line-height:25px}
@@ -0,0 +1 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>帮助</title><meta content="text/html; charset=utf-8" http-equiv="Content-Type"><script src="../internal.js"></script><link rel="stylesheet" href="help.css"></head><body><div class="wrapper" id="helptab"><div id="tabHeads" class="tabhead"><span class="focus" tabsrc="about"><var id="lang_input_about"></var></span> <span tabsrc="shortcuts"><var id="lang_input_shortcuts"></var></span></div><div id="tabBodys" class="tabbody"><div id="about" class="panel"><h1>UEditor</h1><p id="version"></p><p><var id="lang_input_introduction"></var></p></div><div id="shortcuts" class="panel"><table><thead><tr><td><var id="lang_Txt_shortcuts"></var></td><td><var id="lang_Txt_func"></var></td></tr></thead><tbody><tr><td>ctrl+b</td><td><var id="lang_Txt_bold"></var></td></tr><tr><td>ctrl+c</td><td><var id="lang_Txt_copy"></var></td></tr><tr><td>ctrl+x</td><td><var id="lang_Txt_cut"></var></td></tr><tr><td>ctrl+v</td><td><var id="lang_Txt_Paste"></var></td></tr><tr><td>ctrl+y</td><td><var id="lang_Txt_undo"></var></td></tr><tr><td>ctrl+z</td><td><var id="lang_Txt_redo"></var></td></tr><tr><td>ctrl+i</td><td><var id="lang_Txt_italic"></var></td></tr><tr><td>ctrl+u</td><td><var id="lang_Txt_underline"></var></td></tr><tr><td>ctrl+a</td><td><var id="lang_Txt_selectAll"></var></td></tr><tr><td>shift+enter</td><td><var id="lang_Txt_visualEnter"></var></td></tr><tr><td>alt+z</td><td><var id="lang_Txt_fullscreen"></var></td></tr></tbody></table></div></div></div><script src="help.js"></script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;function clickHandler(e,n,t){for(var c=0,i=e.length;c<i;c++)e[c].className="";t.className="focus";for(var l=t.getAttribute("tabSrc"),r=0,a=n.length;r<a;r++){var s=n[r],o=s.getAttribute("id");s.onclick=function(){this.style.zoom=1},o!=l?s.style.zIndex=1:s.style.zIndex=200}}function switchTab(e){for(var n=$G(e).children,t=n[0].children,c=n[1].children,i=0,l=t.length;i<l;i++){var r=t[i];"focus"===r.className&&clickHandler(t,c,r),r.onclick=function(){clickHandler(t,c,this)}}}switchTab("helptab"),document.getElementById("version").innerHTML=parent.UE.version;
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
@charset "utf-8";.tabbody,.wrapper{position:relative}#remote input.text,#search input.text{background-color:#fff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.wrapper{zoom:1;width:630px;*width:626px;height:380px;margin:0 auto;padding:10px;font-family:sans-serif}.tabhead{float:left}.tabbody{width:100%;height:346px;clear:both}.tabbody .panel{position:absolute;width:0;height:0;background:#fff;overflow:hidden;display:none}.tabbody .panel.focus{width:100%;height:346px;display:block}.alignBar{float:right;margin-top:5px;position:relative}.alignBar .algnLabel{float:left;height:20px;line-height:20px}.alignBar #alignIcon{zoom:1;_display:inline;display:inline-block;position:relative}.alignBar #alignIcon span{float:left;cursor:pointer;display:block;width:19px;height:17px;margin-right:3px;margin-left:3px;background-image:url(images/alignicon.jpg)}.alignBar #alignIcon .none-align{background-position:0 -18px}.alignBar #alignIcon .left-align{background-position:-20px -18px}.alignBar #alignIcon .right-align{background-position:-40px -18px}.alignBar #alignIcon .center-align{background-position:-60px -18px}.alignBar #alignIcon .none-align.focus{background-position:0 0}.alignBar #alignIcon .left-align.focus{background-position:-20px 0}.alignBar #alignIcon .right-align.focus{background-position:-40px 0}.alignBar #alignIcon .center-align.focus{background-position:-60px 0}#remote{z-index:200}#remote .top{width:100%;margin-top:25px}#remote .left,#remote .right{display:block;width:300px;height:10px}#remote .left{float:left}#remote .right{float:right}#remote .row{margin-left:20px;clear:both;height:40px}#remote .row label{text-align:center;width:50px;zoom:1;_display:inline;display:inline-block;vertical-align:middle}#remote .row label.algnLabel{float:left}#remote input.text{width:150px;padding:3px 6px;font-size:14px;line-height:1.42857143;color:#555;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}#remote input.text:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}#remote #url{width:500px;margin-bottom:2px}#remote #height,#remote #width{width:20px;margin-left:2px;margin-right:2px}#remote #border,#remote #title,#remote #vhSpace{width:180px;margin-right:5px}#remote #lockicon{zoom:1;_display:inline;display:inline-block;width:20px;height:20px;background:url(../../themes/default/images/lock.gif) -13px -13px no-repeat;vertical-align:middle}#remote #preview{clear:both;width:260px;height:240px;z-index:9999;margin-top:10px;background-color:#eee;overflow:hidden}.tabbody #upload.panel{width:0;height:0;overflow:hidden;position:absolute!important;clip:rect(1px,1px,1px,1px);background:#fff;display:block}.tabbody #upload.panel.focus{width:100%;height:346px;display:block;clip:auto}#upload .queueList{margin:0;width:100%;height:100%;position:absolute;overflow:hidden}#upload p{margin:0}.element-invisible{width:0!important;height:0!important;border:0;padding:0;margin:0;overflow:hidden;position:absolute!important;clip:rect(1px,1px,1px,1px)}#upload .placeholder{margin:10px;border:2px dashed #e6e6e6;*border:0 dashed #e6e6e6;height:172px;padding-top:150px;text-align:center;background:url(images/image.png) center 70px no-repeat;color:#ccc;font-size:18px;position:relative;top:0;*top:10px}#upload .placeholder .webuploader-pick{font-size:18px;background:#00b7ee;border-radius:3px;line-height:44px;padding:0 30px;*width:120px;color:#fff;display:inline-block;margin:0 auto 20px;cursor:pointer;box-shadow:0 1px 1px rgba(0,0,0,.1)}#upload .placeholder .webuploader-pick-hover{background:#00a2d4}#filePickerContainer{text-align:center}#upload .placeholder .flashTip{color:#666;font-size:12px;position:absolute;width:100%;text-align:center;bottom:20px}#upload .placeholder .flashTip a{color:#0785d1;text-decoration:none}#upload .placeholder .flashTip a:hover{text-decoration:underline}#upload .placeholder.webuploader-dnd-over{border-color:#999}#upload .filelist{list-style:none;margin:0;padding:0;overflow-x:hidden;overflow-y:auto;position:relative;height:300px}#upload .filelist:after{content:'';display:block;width:0;height:0;overflow:hidden;clear:both;position:relative}#upload .filelist li{width:113px;height:113px;background:url(images/bg.png);text-align:center;margin:9px 0 0 9px;*margin:6px 0 0 6px;position:relative;display:block;float:left;overflow:hidden;font-size:12px}#upload .filelist li p.log{position:relative;top:-45px}#upload .filelist li p.title{position:absolute;left:0;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;top:5px;text-indent:5px;text-align:left}#upload .filelist li p.progress{position:absolute;width:100%;bottom:0;left:0;height:8px;overflow:hidden;z-index:50;margin:0;border-radius:0;backgrounLine truncated
@@ -0,0 +1 @@
<!doctype html><html><head><meta charset="UTF-8"><title>ueditor图片对话框</title><script src="../internal.js"></script><script src="../../third-party/jquery-1.10.2.min.js"></script><script src="../../third-party/webuploader/webuploader.min.js"></script><link rel="stylesheet" href="../../third-party/webuploader/webuploader.css"><link rel="stylesheet" href="image.css"></head><body><div class="wrapper"><div id="tabhead" class="tabhead"><span class="tab" data-content-id="remote"><var id="lang_tab_remote"></var></span> <span class="tab focus" data-content-id="upload"><var id="lang_tab_upload"></var></span></div><div class="alignBar"><label class="algnLabel"><var id="lang_input_align"></var></label> <span id="alignIcon"><span id="noneAlign" class="none-align focus" data-align="none"></span> <span id="leftAlign" class="left-align" data-align="left"></span> <span id="rightAlign" class="right-align" data-align="right"></span> <span id="centerAlign" class="center-align" data-align="center"></span> </span><input id="align" name="align" type="hidden" value="none"></div><div id="tabbody" class="tabbody"><div id="remote" class="panel"><div class="top"><div class="row"><label for="url"><var id="lang_input_url"></var></label> <span><input class="text" id="url" type="text"></span></div></div><div class="left"><div class="row"><label><var id="lang_input_size"></var></label> <span><var id="lang_input_width">&nbsp;&nbsp;</var><input class="text" type="text" id="width">px </span><span><var id="lang_input_height">&nbsp;&nbsp;</var><input class="text" type="text" id="height">px </span><span><input id="lock" type="checkbox" disabled><span id="lockicon"></span></span></div><div class="row"><label><var id="lang_input_border"></var></label> <span><input class="text" type="text" id="border">px</span></div><div class="row"><label><var id="lang_input_vhspace"></var></label> <span><input class="text" type="text" id="vhSpace">px</span></div><div class="row"><label><var id="lang_input_title"></var></label> <span><input class="text" type="text" id="title"></span></div></div><div class="right"><div id="preview"></div></div></div><div id="upload" class="panel focus"><div id="queueList" class="queueList"><div class="statusBar element-invisible"><div class="progress"><span class="text">0%</span> <span class="percentage"></span></div><div class="info"></div><div class="btns"><div id="filePickerBtn"></div><div class="uploadBtn"><var id="lang_start_upload"></var></div></div></div><div id="dndArea" class="placeholder"><div class="filePickerContainer"><div id="filePickerReady"></div></div></div><ul class="filelist element-invisible"><li id="filePickerBlock" class="filePickerBlock"></li></ul></div></div><div id="online" class="panel"><div id="imageList"><var id="lang_imgLoading"></var></div></div><div id="search" class="panel"><div class="searchBar"><input id="searchTxt" class="searchTxt text" type="text"> <select id="searchType" class="searchType"><option value="&s=4&z=0"></option><option value="&s=1&z=19"></option><option value="&s=2&z=0"></option><option value="&s=3&z=0"></option></select> <input id="searchReset" type="button"> <input id="searchBtn" type="button"></div><div id="searchList" class="searchList"><ul id="searchListUl"></ul></div></div></div></div><script src="image.js"></script></body></html>
@@ -0,0 +1,3 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;!function(){function initTabs(){for(var C=$G("tabhead").children,B=0;B<C.length;B++)domUtils.on(C[B],"click",function(C){var B=C.target||C.srcElement;setTabFocus(B.getAttribute("data-content-id"))});var D=editor.selection.getRange().getClosedNode();setTabFocus(D&&D.tagName&&"img"==D.tagName.toLowerCase()?"remote":"upload")}function setTabFocus(C){if(C){var B,D,E=$G("tabhead").children;for(B=0;B<E.length;B++)D=E[B].getAttribute("data-content-id"),D==C?(domUtils.addClass(E[B],"focus"),domUtils.addClass($G(D),"focus")):(domUtils.removeClasses(E[B],"focus"),domUtils.removeClasses($G(D),"focus"));switch(C){case"remote":remoteImage=remoteImage||new RemoteImage;break;case"upload":setAlign(editor.getOpt("imageInsertAlign")),uploadImage=uploadImage||new UploadImage("queueList");break;case"online":setAlign(editor.getOpt("imageManagerInsertAlign")),onlineImage=onlineImage||new OnlineImage("imageList"),onlineImage.reset();break;case"search":setAlign(editor.getOpt("imageManagerInsertAlign")),searchImage=searchImage||new SearchImage}}}function initButtons(){dialog.onok=function(){for(var C,B=!1,D=[],E=$G("tabhead").children,F=0;F<E.length;F++)if(domUtils.hasClass(E[F],"focus")){C=E[F].getAttribute("data-content-id");break}switch(C){case"remote":D=remoteImage.getInsertList();break;case"upload":D=uploadImage.getInsertList();var A=uploadImage.getQueueCount();if(A)return $(".info","#queueList").html('<span style="color:red;">'+"还有2个未上传文件".replace(/[\d]/,A)+"</span>"),!1;break;case"online":D=onlineImage.getInsertList();break;case"search":D=searchImage.getInsertList(),B=!0}D&&(editor.execCommand("insertimage",D),B&&editor.fireEvent("catchRemoteImage"))}}function initAlign(){domUtils.on($G("alignIcon"),"click",function(C){var B=C.target||C.srcElement;B.className&&B.className.indexOf("-align")!=-1&&setAlign(B.getAttribute("data-align"))})}function setAlign(C){C=C||"none";var B=$G("alignIcon").children;for(i=0;i<B.length;i++)B[i].getAttribute("data-align")==C?(domUtils.addClass(B[i],"focus"),$G("align").value=B[i].getAttribute("data-align")):domUtils.removeClasses(B[i],"focus")}function getAlign(){var C=$G("align").value||"none";return"none"==C?"":C}function RemoteImage(C){this.container=utils.isString(C)?document.getElementById(C):C,this.init()}function UploadImage(C){this.$wrap=C.constructor==String?$("#"+C):$(C),this.init()}function OnlineImage(C){this.container=utils.isString(C)?document.getElementById(C):C,this.init()}function SearchImage(){this.init()}var remoteImage,uploadImage,onlineImage,searchImage;window.onload=function(){initTabs(),initAlign(),initButtons()},RemoteImage.prototype={init:function(){this.initContainer(),this.initEvents()},initContainer:function(){this.dom={url:$G("url"),width:$G("width"),height:$G("height"),border:$G("border"),vhSpace:$G("vhSpace"),title:$G("title"),align:$G("align")};var C=editor.selection.getRange().getClosedNode();C&&this.setImage(C)},initEvents:function(){function C(){B.setPreview()}var B=this,D=$G("lock");domUtils.on($G("url"),"keyup",C),domUtils.on($G("border"),"keyup",C),domUtils.on($G("title"),"keyup",C),domUtils.on($G("width"),"keyup",function(){if(C(),D.checked){var E=D.getAttribute("data-proportion");$G("height").value=Math.round(this.value/E)}else B.updateLocker()}),domUtils.on($G("height"),"keyup",function(){if(C(),D.checked){var E=D.getAttribute("data-proportion");$G("width").value=Math.round(this.value*E)}else B.updateLocker()}),domUtils.on($G("lock"),"change",function(){var C=parseInt($G("width").value)/parseInt($G("height").value);D.setAttribute("data-proportion",C)})},updateLocker:function(){var C=$G("width").value,B=$G("height").value,D=$G("lock");C&&B&&C==parseInt(C)&&B==parseInt(B)?(D.disabled=!1,D.title=""):(D.checked=!1,D.disabled="disabled",D.title=lang.remoteLockError)},setImage:function(C){if(C.tagName&&("img"==C.tagName.toLowerCase()||C.getAttribute("src"))&&C.src){var B=C.getAttribute("word_img"),D=B?B.replace("&amp;","&"):C.getAttribute("_src")||C.getAttribute("src",2).replace("&amp;","&"),E=editor.queryCommandValue("imageFloat");D!==$G("url").value&&($G("url").value=D),D&&($G("width").value=C.width||"",$G("height").value=C.height||"",$G("border").value=C.getAttribute("border")||"0",$G("vhSpace").value=C.getAttribute("vspace")||"0",$G("title").value=C.title||C.alt||"",setAlign(E),this.setPreview(),this.updateLocker())}},getData:function(){var C={};for(var B in this.dom)C[B]=this.dom[B].value;return C},setPreview:function(){var C,B,D=$G("url").value,E=parseInt($G("width").value,10)||0,F=parseInt($G("height").value,10)||0,A=parseInt($G("border").value,10)||0,e=$G("title").value,t=$G("preview");D=utils.unhtmlForUrl(D),e=utils.unhtml(e),C=E&&F?Math.min(E,t.offsetWidth):t.offsetWidth,C=C+2*A>t.offsetWidth?C:t.offsetWidth-2*A,B=E&&F?C*F/E:"",D&&(t.innerHTML='<img src="'+D+'" width="'+C+'" height="'+B+'" border="'+A+'px solid #000" title="'+e+'" />')},getInsertList:function(){var C=this.getData();return C.url?[{src:C.url,_src:C.url,width:C.width||Line truncated
var F=C.charAt(E),A=C.charCodeAt(E);if(" "==F)B+="+";else if(A>=19968&&A<=40869){var e=A-19968;B+="%"+D.substr(4*e,2)+"%"+D.substr(4*e+2,2)}else B+="%"+C.charCodeAt(E).toString(16)}return B},scale:function(C,B,D){var E=C.width,F=C.height;E>=F?(C.width=B*E/F,C.height=D,C.style.marginLeft="-"+parseInt((C.width-B)/2)+"px"):(C.width=B,C.height=D*F/E,C.style.marginTop="-"+parseInt((C.height-D)/2)+"px")},getImageData:function(){var C=this,B=$G("searchTxt").value,D=($G("searchType").value,editor.options.keepOriginName?"1":"0","http://image.baidu.com/search/index?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fm=result&fr=&sf=1&fmq=1569221553883_R&pv=&ic=0&nc=1&z=0&hd=0&latest=0&copyright=0&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&ie=utf-8&sid=&word="+C.encodeToGb2312(B));$G("searchListUl").innerHTML=lang.searchLoading,ajax.request(D,{dataType:"jsonp",charset:"GB18030",onsuccess:function(B){var D=[];if(B&&B.data)for(var E=0;E<B.data.length;E++)B.data[E].objURL&&D.push({title:B.data[E].fromPageTitleEnc,src:B.data[E].objURL,url:B.data[E].fromURL});C.setList(D)},onerror:function(){$G("searchListUl").innerHTML=lang.searchRetry}})},setList:function(C){var B,D,E,F,A,e=this,t=$G("searchListUl");if(t.innerHTML="",C.length)for(B=0;B<C.length;B++)D=document.createElement("li"),E=document.createElement("p"),F=document.createElement("img"),A=document.createElement("a"),F.onload=function(){e.scale(this,113,113)},F.width=113,F.setAttribute("src",C[B].src),A.href=C[B].url,A.target="_blank",A.title=C[B].title,A.innerHTML=C[B].title,E.appendChild(F),D.appendChild(E),D.appendChild(A),t.appendChild(D);else t.innerHTML=lang.searchRetry},getInsertList:function(){for(var C,B,D=getAlign(),E=[],F=$G("searchListUl").children,A=0;A<F.length;A++)C=F[A].firstChild&&F[A].firstChild.firstChild,C.tagName&&"img"==C.tagName.toLowerCase()&&domUtils.hasClass(F[A],"selected")&&(B=C.src,E.push({src:B,_src:B,alt:B.substr(B.lastIndexOf("/")+1),floatStyle:D}));return E}}}();
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;!function(){var e=window.parent;dialog=e.$EDITORUI[window.frameElement.id.replace(/_iframe$/,"")],editor=dialog.editor,UE=e.UE,domUtils=UE.dom.domUtils,utils=UE.utils,browser=UE.browser,ajax=UE.ajax,$G=function(e){return document.getElementById(e)},$focus=function(e){setTimeout(function(){if(browser.ie){var t=e.createTextRange();t.collapse(!1),t.select()}else e.focus()},0)},utils.loadFile(document,{href:editor.options.themePath+editor.options.theme+"/dialogbase.css?cache="+Math.random(),tag:"link",type:"text/css",rel:"stylesheet"}),lang=editor.getLang(dialog.className.split("-")[2]),lang&&domUtils.on(window,"load",function(){var e=editor.options.langPath+editor.options.lang+"/images/";for(var t in lang["static"]){var o=$G(t);if(o){var a=o.tagName,i=lang["static"][t];switch(i.src&&(i=utils.extend({},i,!1),i.src=e+i.src),i.style&&(i=utils.extend({},i,!1),i.style=i.style.replace(/url\s*\(/g,"url("+e)),a.toLowerCase()){case"var":o.parentNode.replaceChild(document.createTextNode(i),o);break;case"select":for(var s,r=o.options,n=0;s=r[n];)s.innerHTML=i.options[n++];for(var l in i)"options"!=l&&o.setAttribute(l,i[l]);break;default:domUtils.setAttributes(o,i)}}}})}();
@@ -0,0 +1 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title></title><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><script src="../internal.js"></script><style>*{margin:0;padding:0;color:#838383}table{font-size:12px;margin:10px;line-height:30px}.txt{width:300px;height:21px;line-height:21px;border:1px solid #d7d7d7}</style></head><body><table><tr><td><label for="text"><var id="lang_input_text"></var></label></td><td><input class="txt" id="text" type="text" disabled></td></tr><tr><td><label for="href"><var id="lang_input_url"></var></label></td><td><input class="txt" id="href" type="text"></td></tr><tr><td><label for="title"><var id="lang_input_title"></var></label></td><td><input class="txt" id="title" type="text"></td></tr><tr><td colspan="2"><label for="target"><var id="lang_input_target"></var></label> <input id="target" type="checkbox"></td></tr><tr><td colspan="2" id="msg"></td></tr></table><script>var url,orgText,range=editor.selection.getRange(),link=range.collapsed?editor.queryCommandValue("link"):editor.selection.getStart(),text=$G("text"),rangeLink=domUtils.findParentByTagName(range.getCommonAncestor(),"a",!0);function handleDialogOk(){var e=$G("href").value.replace(/^\s+|\s+$/g,"");if(e){hrefStartWith(e,["http","/","ftp://","#"])||(e="http://"+e);var t={href:e,target:$G("target").checked?"_blank":"_self",title:$G("title").value.replace(/^\s+|\s+$/g,""),_href:e};orgText&&text.value!=orgText&&(link[browser.ie?"innerText":"textContent"]=t.textValue=text.value,range.selectNode(link).select()),range.collapsed&&(t.textValue=text.value),editor.execCommand("link",utils.clearEmptyAttrs(t)),dialog.close()}}function hrefStartWith(e,t){e=e.replace(/^\s+|\s+$/g,"");for(var l,r=0;l=t[r++];)if(0==e.indexOf(l))return!0;return!1}(link=domUtils.findParentByTagName(link,"a",!0))?(url=utils.html(link.getAttribute("_href")||link.getAttribute("href",2)),rangeLink!==link||link.getElementsByTagName("img").length?(text.setAttribute("disabled","true"),text.value=lang.validLink):(text.removeAttribute("disabled"),orgText=text.value=link[browser.ie?"innerText":"textContent"])):range.collapsed?(text.removeAttribute("disabled"),text.value=""):(text.setAttribute("disabled","true"),text.value=lang.validLink),$G("title").value=url?link.title:"",$G("href").value=url||"",$G("target").checked=!(!url||"_blank"!=link.target),$focus($G("href")),dialog.onok=handleDialogOk,$G("href").onkeydown=$G("title").onkeydown=function(e){if(13==(e=e||window.event).keyCode)return handleDialogOk(),!1},$G("href").onblur=function(){hrefStartWith(this.value,["http","/","ftp://","#"])?$G("msg").innerHTML="":$G("msg").innerHTML="<span style='color: red'>"+lang.httpPrompt+"</span>"}</script></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title></title><script src="../internal.js"></script><script src="http://api.map.baidu.com/api?v=1.1&services=true"></script><style>.content{width:530px;height:350px;margin:10px auto}.content table{width:100%}.content table td{vertical-align:middle}#address,#city{height:21px;background:#fff;border:1px solid #d7d7d7;line-height:21px}#city{width:60px}#address{width:130px}#is_dynamic_label span{vertical-align:middle;margin:3px 0 3px 3px}#is_dynamic_label input{vertical-align:middle;margin:3px 3px 3px 50px}</style></head><body><div class="content"><table><tr><td><var id="lang_city"></var>:</td><td><input id="city" type="text"></td><td><var id="lang_address"></var>:</td><td><input id="address" type="text"></td><td><a href="javascript:doSearch()" class="button"><var id="lang_search"></var></a></td><td><label id="is_dynamic_label" for="is_dynamic"><input id="is_dynamic" type="checkbox" name="is_dynamic"><span><var id="lang_dynamicmap"></var></span></label></td></tr></table><div style="width:100%;height:340px;margin:5px auto;border:1px solid gray" id="container"></div></div><script>var marker,point,styleStr,map=new BMap.Map("container");function doSearch(){document.getElementById("city").value?new BMap.LocalSearch(document.getElementById("city").value,{onSearchComplete:function(e){if(e&&e.getNumPois()){for(var t=[],a=0;a<e.getCurrentNumPois();a++)t.push(e.getPoi(a).point);1<t.length?map.setViewport(t):map.centerAndZoom(t[0],13),point=map.getCenter(),marker.setPoint(point)}else alert(lang.errorMsg)}}).search(document.getElementById("address").value||document.getElementById("city").value):alert(lang.cityMsg)}function getPars(e,t){return new RegExp(t+"=((\\d+|[.,])*)","g").exec(e)[1]}function init(){var e,t,a,r=editor.selection.getRange().getClosedNode(),n=r&&/api[.]map[.]baidu[.]com/gi.test(r.getAttribute("src")),o=r&&domUtils.hasClass(r,"ueditor_baidumap");n||o?(styleStr=(o?(e=decodeURIComponent(r.getAttribute("src")),$G("is_dynamic").checked=!0):e=r.getAttribute("src"),r.style.cssText),t=getPars(e,"center").split(","),a=getPars(e,"markers").split(","),point=new BMap.Point(Number(t[0]),Number(t[1])),marker=new BMap.Marker(new BMap.Point(Number(a[0]),Number(a[1]))),map.addControl(new BMap.NavigationControl),map.centerAndZoom(point,Number(getPars(e,"zoom")))):(point=new BMap.Point(116.404,39.915),marker=new BMap.Marker(point),map.addControl(new BMap.NavigationControl),map.centerAndZoom(point,10));marker.enableDragging(),map.addOverlay(marker)}map.enableScrollWheelZoom(),map.enableContinuousZoom(),init(),document.getElementById("address").onkeydown=function(e){13==(e=e||event).keyCode&&doSearch()},dialog.onok=function(){var e=map.getCenter(),t=map.zoomLevel,a=map.getSize(),r=a.width,n=a.height,o=marker.getPoint();if($G("is_dynamic").checked){var i=editor.options.UEDITOR_HOME_URL,m=[i+(/\/$/.test(i)?"":"/")+"dialogs/map/show.html#center="+e.lng+","+e.lat,"&zoom="+t,"&width="+r,"&height="+n,"&markers="+o.lng+","+o.lat,"&markerStyles=l,A"].join("");editor.execCommand("inserthtml",'<iframe class="ueditor_baidumap" src="'+m+'"'+(styleStr?' style="'+styleStr+'"':"")+' frameborder="0" width="'+(r+4)+'" height="'+(n+4)+'"></iframe>')}else{m="http://api.map.baidu.com/staticimage?center="+e.lng+","+e.lat+"&zoom="+t+"&width="+a.width+"&height="+a.height+"&markers="+o.lng+","+o.lat;editor.execCommand("inserthtml",'<img width="'+a.width+'"height="'+a.height+'" src="'+m+'"'+(styleStr?' style="'+styleStr+'"':"")+"/>")}},document.getElementById("address").focus()</script></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><meta name="keywords" content="百度地图,百度地图API,百度地图自定义工具,百度地图所见即所得工具"><meta name="description" content="百度地图API自定义地图,帮助用户在可视化操作下生成百度地图"><title>百度地图API自定义地图</title><style>body,html{margin:0;padding:0;overflow:hidden}</style><script src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script></head><body onload="initMap()"><div style="width:697px;height:550px;border:#ccc solid 1px" id="dituContent"></div></body><script>function getParam(e){return location.href.match(new RegExp("[?#&]"+e+"=([^?#&]+)","i"))?RegExp.$1:""}var map,marker,centerParam=getParam("center"),zoomParam=getParam("zoom"),widthParam=getParam("width"),heightParam=getParam("height"),markersParam=getParam("markers"),markerStylesParam=getParam("markerStyles");function initMap(){if(window.BMap){var e=document.getElementById("dituContent");e.style.width=widthParam+"px",e.style.height=heightParam+"px",createMap(),setMapEvent(),addMapControl();var a=markersParam.split(","),r=new BMap.Point(a[0],a[1]);(marker=new BMap.Marker(r)).enableDragging(),map.addOverlay(marker),parent.editor&&"true"==parent.document.body.contentEditable&&setMapListener()}}function createMap(){map=new BMap.Map("dituContent");var e=centerParam.split(","),a=new BMap.Point(parseFloat(e[0]),parseFloat(e[1]));map.centerAndZoom(a,parseInt(zoomParam))}function setMapEvent(){map.enableDragging(),map.enableScrollWheelZoom(),map.enableDoubleClickZoom(),map.enableKeyboard()}function addMapControl(){var e=new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});map.addControl(e);var a=new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:1});map.addControl(a);var r=new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});map.addControl(r)}function setMapListener(){var t,n=parent.editor,e=parent.document.getElementsByTagName("iframe");for(var a in e)if(e[a].contentWindow==window){t=e[a];break}function r(){var e=map.getZoom(),a=map.getCenter(),r=window.marker.getPoint();t.src=t.src.replace(new RegExp("([?#&])center=([^?#&]+)","i"),"$1center="+a.lng+","+a.lat).replace(new RegExp("([?#&])markers=([^?#&]+)","i"),"$1markers="+r.lng+","+r.lat).replace(new RegExp("([?#&])zoom=([^?#&]+)","i"),"$1zoom="+e),n.fireEvent("saveScene")}t&&(map.addEventListener("moveend",r),map.addEventListener("zoomend",r),marker.addEventListener("dragend",r))}</script></html>
@@ -0,0 +1 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style>body,html{height:100%;width:100%;padding:0;margin:0}#preview{width:100%;height:100%;padding:0;margin:0}#preview *{font-family:sans-serif;font-size:16px}</style><script src="../internal.js"></script><script src="../../ueditor.parse.js"></script><title></title></head><body class="view"><div id="preview" style="margin:8px"></div></body><script>document.getElementById("preview").innerHTML=editor.getContent(),uParse("#preview",{rootPath:"../../",chartContainerHeight:500}),dialog.oncancel=function(){document.getElementById("preview").innerHTML=""}</script></html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 435 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 775 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
.border_style1,.colorBar a{box-shadow:2px 2px 5px #d3d6da}body{margin:0}table{width:100%}table td{padding:2px 4px;vertical-align:middle}a{text-decoration:none}em{font-style:normal}.border_style1{border:1px solid #ccc;border-radius:5px}.main{margin:8px;overflow:hidden}.colorBar,.operateBar{margin-top:10px;font-size:12px;text-align:center}.hot{float:left;height:335px}.drawBoard{position:relative;cursor:crosshair}.brushBorad{position:absolute;left:0;top:0;z-index:998}.picBoard{border:none;text-align:center;line-height:300px;cursor:default}.operateBar span{margin-left:10px}.drawToolbar{float:right;width:110px;height:300px;overflow:hidden}.colorBar a{display:block;width:10px;height:10px;border:1px solid #1006F1;border-radius:3px;opacity:.3}.sectionBar{margin-top:15px;font-size:12px;text-align:center}.sectionBar a{display:inline-block;width:10px;height:12px;color:#888;text-indent:-999px;opacity:.3}.size1{background:url(images/size.png) 1px center no-repeat}.size2{background:url(images/size.png) -10px center no-repeat}.size3{background:url(images/size.png) -22px center no-repeat}.size4{background:url(images/size.png) -35px center no-repeat}.addImgH{position:relative}.addImgH_form{position:absolute;left:18px;top:-1px;width:75px;height:21px;opacity:0;cursor:pointer}.addImgH_form input,.maskLayer{width:100%}.maskLayerNull{display:none}.maskLayer{position:absolute;top:0;left:0;height:100%;opacity:.7;background-color:#fff;text-align:center;font-weight:700;line-height:300px;z-index:1000}.addImgH .icon,.brushIcon,.clearBoard .icon,.clearBoardH .icon,.eraserIcon,.nextStep .icon,.nextStepH .icon,.previousStep .icon,.previousStepH .icon,.removeImg .icon,.removeImgH .icon,.scaleBoard .icon,.scaleBoardH .icon{display:inline-block;width:16px;height:16px}.previousStepH .icon{background-image:url(images/undoH.png);cursor:pointer}.previousStepH .text{color:#888;cursor:pointer}.previousStep .icon{background-image:url(images/undo.png);cursor:default}.previousStep .text{color:#ccc;cursor:default}.nextStepH .icon{background-image:url(images/redoH.png);cursor:pointer}.nextStepH .text{color:#888;cursor:pointer}.nextStep .icon{background-image:url(images/redo.png);cursor:default}.nextStep .text{color:#ccc;cursor:default}.clearBoardH .icon{background-image:url(images/emptyH.png);cursor:pointer}.clearBoardH .text{color:#888;cursor:pointer}.clearBoard .icon{background-image:url(images/empty.png);cursor:default}.clearBoard .text{color:#ccc;cursor:default}.scaleBoardH .icon{background-image:url(images/scaleH.png);cursor:pointer}.scaleBoardH .text{color:#888;cursor:pointer}.scaleBoard .icon{background-image:url(images/scale.png);cursor:default}.scaleBoard .text{color:#ccc;cursor:default}.removeImgH .icon{background-image:url(images/delimgH.png);cursor:pointer}.removeImgH .text{color:#888;cursor:pointer}.removeImg .icon{background-image:url(images/delimg.png);cursor:default}.removeImg .text{color:#ccc;cursor:default}.addImgH .icon{vertical-align:top;background-image:url(images/addimg.png)}.addImgH .text{color:#888;cursor:pointer}.brushIcon{background-image:url(images/brush.png)}.eraserIcon{background-image:url(images/eraser.png)}
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="robots" content="noindex, nofollow"><script src="../internal.js"></script><link rel="stylesheet" href="scrawl.css"></head><body><div class="main" id="J_wrap"><div class="hot"><div class="drawBoard border_style1"><canvas id="J_brushBoard" class="brushBorad" width="360" height="300"></canvas><div id="J_picBoard" class="picBoard" style="width:360px;height:300px"></div></div><div id="J_operateBar" class="operateBar"><span id="J_previousStep" class="previousStep"><em class="icon"></em> <em class="text"><var id="lang_input_previousStep"></var></em> </span><span id="J_nextStep" class="nextStep"><em class="icon"></em> <em class="text"><var id="lang_input_nextsStep"></var></em> </span><span id="J_clearBoard" class="clearBoard"><em class="icon"></em> <em class="text"><var id="lang_input_clear"></var></em> </span><span id="J_sacleBoard" class="scaleBoard"><em class="icon"></em> <em class="text"><var id="lang_input_ScalePic"></var></em></span></div></div><div class="drawToolbar border_style1"><div id="J_colorBar" class="colorBar"></div><div id="J_brushBar" class="sectionBar"><em class="brushIcon"></em> <a href="javascript:void(0)" class="size1">1</a> <a href="javascript:void(0)" class="size2">3</a> <a href="javascript:void(0)" class="size3">5</a> <a href="javascript:void(0)" class="size4">7</a></div><div id="J_eraserBar" class="sectionBar"><em class="eraserIcon"></em> <a href="javascript:void(0)" class="size1">1</a> <a href="javascript:void(0)" class="size2">3</a> <a href="javascript:void(0)" class="size3">5</a> <a href="javascript:void(0)" class="size4">7</a></div><div class="sectionBar"><div id="J_addImg" class="addImgH"><em class="icon"></em> <em class="text"><var id="lang_input_addPic"></var></em><form method="post" id="fileForm" enctype="multipart/form-data" class="addImgH_form" target="up"><input type="file" name="upfile" id="J_imgTxt" accept="image/gif,image/jpeg,image/png,image/jpg,image/bmp"></form><iframe name="up" style="display:none"></iframe></div></div><div class="sectionBar"><span id="J_removeImg" class="removeImg"><em class="icon"></em> <em class="text"><var id="lang_input_removePic"></var></em></span></div></div></div><div id="J_maskLayer" class="maskLayerNull"></div><script src="scrawl.js"></script><script>var settings={drawBrushSize:3,drawBrushColor:"#4bacc6",colorList:["c00000","ff0000","ffc000","ffff00","92d050","00b050","00b0f0","0070c0","002060","7030a0","ffffff","000000","eeece1","1f497d","4f81bd","c0504d","9bbb59","8064a2","4bacc6","f79646"],saveNum:10},scrawlObj=new scrawl(settings);scrawlObj.isCancelScrawl=!1,dialog.onok=function(){return exec(scrawlObj),!1},dialog.oncancel=function(){scrawlObj.isCancelScrawl=!0}</script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;function ue_callback(e,t){function a(e,t,a,i){var r,o=0,s=0,n=e.width||a,l=e.height||i;(n>t||l>t)&&(n>=l?(o=n-t)&&(r=(o/n).toFixed(2),e.height=l-l*r,e.width=t):(s=l-t)&&(r=(s/l).toFixed(2),e.width=n-n*r,e.height=t))}var i=document,r=$G("J_picBoard"),o=i.createElement("img");removeMaskLayer(),"SUCCESS"==t?(r.innerHTML="",o.onload=function(){a(this,300),r.appendChild(o);var e=new scrawl;e.btn2Highlight("J_removeImg"),e.btn2Highlight("J_sacleBoard")},o.src=e):alert(t)}function removeMaskLayer(){var e=$G("J_maskLayer");e.className="maskLayerNull",e.innerHTML="",dialog.buttons[0].setDisabled(!1)}function addMaskLayer(e){var t=$G("J_maskLayer");dialog.buttons[0].setDisabled(!0),t.className="maskLayer",t.innerHTML=e}function exec(scrawlObj){if(scrawlObj.isScrawl){addMaskLayer(lang.scrawlUpLoading);var base64=scrawlObj.getCanvasData();if(base64){var options={timeout:1e5,onsuccess:function(xhr){if(!scrawlObj.isCancelScrawl){var responseObj;if(responseObj=eval("("+xhr.responseText+")"),"200"==responseObj.Code){var imgObj={},url=editor.options.scrawlUrlPrefix+responseObj.Data.src;imgObj.src=url,imgObj._src=url,imgObj.alt=responseObj.Data.FileName||"",imgObj.title=responseObj.Data.FileName||"",editor.execCommand("insertImage",imgObj),dialog.close()}else alert(responseObj.Msg)}},onerror:function(){alert(lang.imageError),dialog.close()}};options[editor.getOpt("scrawlFieldName")]=base64;var actionUrl=editor.getActionUrl(editor.getOpt("scrawlActionName")),params=utils.serializeParam(editor.queryCommandValue("serverparam"))||"",url=utils.formatUrl(actionUrl+(actionUrl.indexOf("?")==-1?"?":"&")+params);ajax.request(url,options)}}else addMaskLayer(lang.noScarwl+"&nbsp;&nbsp;&nbsp;<input type='button' value='"+lang.continueBtn+"' onclick='removeMaskLayer()'/>")}var scrawl=function(e){e&&this.initOptions(e)};!function(){var e=$G("J_brushBoard"),t=e.getContext("2d"),a=[],i=0;scrawl.prototype={isScrawl:!1,brushWidth:-1,brushColor:"",initOptions:function(e){var t=this;t.originalState(e),t._buildToolbarColor(e.colorList),t._addBoardListener(e.saveNum),t._addOPerateListener(e.saveNum),t._addColorBarListener(),t._addBrushBarListener(),t._addEraserBarListener(),t._addAddImgListener(),t._addRemoveImgListenter(),t._addScalePicListenter(),t._addClearSelectionListenter(),t._originalColorSelect(e.drawBrushColor),t._originalBrushSelect(e.drawBrushSize),t._clearSelection()},originalState:function(e){var a=this;a.brushWidth=e.drawBrushSize,a.brushColor=e.drawBrushColor,t.lineWidth=a.brushWidth,t.strokeStyle=a.brushColor,t.fillStyle="transparent",t.lineCap="round",t.fill()},_buildToolbarColor:function(e){var t=null,a=[];a.push("<table id='J_colorList'>");for(var i,r=0;i=e[r++];)(r-1)%5==0&&(1!=r&&a.push("</tr>"),a.push("<tr>")),t="#"+i,a.push("<td><a title='"+t+"' href='javascript:void(0)' style='background-color:"+t+"'></a></td>");a.push("</tr></table>"),$G("J_colorBar").innerHTML=a.join("")},_addBoardListener:function(r){var o,s=this,n=0,l=-1,c=-1,d=!1,h=!1,u=!1,p=0,m="";n=parseInt(domUtils.getComputedStyle($G("J_wrap"),"margin-left")),a.push(t.getImageData(0,0,t.canvas.width,t.canvas.height)),i+=1,domUtils.on(e,["mousedown","mousemove","mouseup","mouseout"],function(e){switch(o=browser.webkit?e.which:p,e.type){case"mousedown":p=1,m=1,d=!0,u=!1,h=!1,s.isScrawl=!0,l=e.clientX-n,c=e.clientY-n,t.beginPath();break;case"mousemove":if(!m&&0==o)return;if(!m&&o&&(l=e.clientX-n,c=e.clientY-n,t.beginPath(),m=1),u||!d)return;var a=e.clientX-n,i=e.clientY-n;t.moveTo(l,c),t.lineTo(a,i),t.stroke(),l=a,c=i,h=!0;break;case"mouseup":if(p=0,!d)return;h||(t.arc(l,c,t.lineWidth,0,2*Math.PI,!1),t.fillStyle=t.strokeStyle,t.fill()),t.closePath(),s._saveOPerate(r),d=!1,h=!1,u=!0,l=-1,c=-1;break;case"mouseout":if(m="",p=0,1==o)return;t.closePath()}})},_addOPerateListener:function(e){var r=this;domUtils.on($G("J_previousStep"),"click",function(){i>1&&(i-=1,t.clearRect(0,0,t.canvas.width,t.canvas.height),t.putImageData(a[i-1],0,0),r.btn2Highlight("J_nextStep"),1==i&&r.btn2disable("J_previousStep"))}),domUtils.on($G("J_nextStep"),"click",function(){i>0&&i<a.length&&(t.clearRect(0,0,t.canvas.width,t.canvas.height),t.putImageData(a[i],0,0),i+=1,r.btn2Highlight("J_previousStep"),i==a.length&&r.btn2disable("J_nextStep"))}),domUtils.on($G("J_clearBoard"),"click",function(){t.clearRect(0,0,t.canvas.width,t.canvas.height),a=[],r._saveOPerate(e),i=1,r.isScrawl=!1,r.btn2disable("J_previousStep"),r.btn2disable("J_nextStep"),r.btn2disable("J_clearBoard")})},_addColorBarListener:function(){var e=this;domUtils.on($G("J_colorBar"),"click",function(a){var i=e.getTarget(a),r=i.title;r&&(e._addColorSelect(i),e.brushColor=r,t.globalCompositeOperation="source-over",t.lineWidth=e.brushWidth,t.strokeStyle=r)})},_addBrushBarListener:function(){var e=this;domUtils.on($G("J_brushBar"),"click",function(a){var i=e.getTarget(a),r=browser.ie?i.innerText:i.text;r&&(e._addBESelect(i),t.globalCompositeOperation="source-over",t.lineWidth=parseInt(r),t.strokeStyle=e.brushColor,e.brushWidth=t.lineWLine truncated
@@ -0,0 +1 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title></title><meta content="text/html; charset=utf-8" http-equiv="Content-Type"><script src="../internal.js"></script><style>.warpper{position:relative;width:380px;height:100%;margin:10px auto}.tabbody{height:160px}.tabbody table{width:100%;border-collapse:separate;border-spacing:3px}.tabbody .panel{width:373px;height:100%;padding-left:5px;position:absolute;background-color:#fff}.tabbody input.int{width:190px;height:21px;border:1px solid #d7d7d7;line-height:21px}.tabbody input.btn{padding:0 5px;text-align:center;line-height:24px;text-decoration:none;height:24px;background:url(../../themes/default/images/dialog-title-bg.png) repeat-x;border:1px solid #ccc}</style></head><body><div class="warpper" id="searchtab"><div id="head" class="tabhead"><span tabsrc="find" class="focus"><var id="lang_tab_search"></var></span> <span tabsrc="replace"><var id="lang_tab_replace"></var></span></div><div class="tabbody"><div class="panel" id="find"><table><tr><td width="80"><var id="lang_search1"></var>:</td><td><input id="findtxt" type="text" class="int"></td></tr><tr><td><var id="lang_case_sensitive1"></var></td><td><input id="matchCase" type="checkbox"></td></tr><tr><td colspan="2"><input id="nextFindBtn" type="button" class="btn"> <input id="preFindBtn" type="button" class="btn"></td></tr><tr><td colspan="2">&nbsp;</td></tr><tr><td colspan="2"><span id="search-msg" style="color:red"></span></td></tr></table></div><div class="panel" id="replace"><table><tr><td width="80"><var id="lang_search2"></var>:</td><td><input id="findtxt1" type="text" class="int"></td></tr><tr><td><var id="lang_replace"></var>:</td><td><input id="replacetxt" type="text" class="int"></td></tr><tr><td><var id="lang_case_sensitive2"></var></td><td><input id="matchCase1" type="checkbox"></td></tr><tr><td colspan="2"><input id="nextReplaceBtn" type="button" class="btn"> <input id="preReplaceBtn" type="button" class="btn"> <input id="repalceBtn" type="button" class="btn"> <input id="repalceAllBtn" type="button" class="btn"></td></tr><tr><td colspan="2">&nbsp;</td></tr><tr><td colspan="2"><span id="replace-msg" style="color:red"></span></td></tr></table></div></div></div><script src="searchreplace.js"></script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;function clickHandler(e,t,a){for(var r=0,n=e.length;r<n;r++)e[r].className="";a.className="focus";for(var c=a.getAttribute("tabSrc"),s=0,i=t.length;s<i;s++){var o=t[s],l=o.getAttribute("id");l!=c?o.style.zIndex=1:o.style.zIndex=200}}function switchTab(e){for(var t=$G(e).children,a=t[0].children,r=t[1].children,n=0,c=a.length;n<c;n++){var s=a[n];"focus"===s.className&&clickHandler(a,r,s),s.onclick=function(){clickHandler(a,r,this)}}}function getMatchCase(e){return!!$G(e).checked}editor.firstForSR=0,editor.currentRangeForSR=null,$G("searchtab").onmousedown=function(){$G("search-msg").innerHTML="",$G("replace-msg").innerHTML=""},$G("nextFindBtn").onclick=function(e,t,a){var r,n=$G("findtxt").value;if(!n)return!1;if(r={searchStr:n,dir:1,casesensitive:getMatchCase("matchCase")},!frCommond(r)){var c=editor.selection.getRange().createBookmark();$G("search-msg").innerHTML=lang.getEnd,editor.selection.getRange().moveToBookmark(c).select()}},$G("nextReplaceBtn").onclick=function(e,t,a){var r,n=$G("findtxt1").value;return!!n&&(r={searchStr:n,dir:1,casesensitive:getMatchCase("matchCase1")},void frCommond(r))},$G("preFindBtn").onclick=function(e,t,a){var r,n=$G("findtxt").value;return!!n&&(r={searchStr:n,dir:-1,casesensitive:getMatchCase("matchCase")},void(frCommond(r)||($G("search-msg").innerHTML=lang.getStart)))},$G("preReplaceBtn").onclick=function(e,t,a){var r,n=$G("findtxt1").value;return!!n&&(r={searchStr:n,dir:-1,casesensitive:getMatchCase("matchCase1")},void frCommond(r))},$G("repalceBtn").onclick=function(){var e,t=$G("findtxt1").value.replace(/^\s|\s$/g,""),a=$G("replacetxt").value.replace(/^\s|\s$/g,"");return!!t&&(!(t==a||!getMatchCase("matchCase1")&&t.toLowerCase()==a.toLowerCase())&&(e={searchStr:t,dir:1,casesensitive:getMatchCase("matchCase1"),replaceStr:a},void frCommond(e)))},$G("repalceAllBtn").onclick=function(){var e,t=$G("findtxt1").value.replace(/^\s|\s$/g,""),a=$G("replacetxt").value.replace(/^\s|\s$/g,"");if(!t)return!1;if(t==a||!getMatchCase("matchCase1")&&t.toLowerCase()==a.toLowerCase())return!1;e={searchStr:t,casesensitive:getMatchCase("matchCase1"),replaceStr:a,all:!0};var r=frCommond(e);r&&($G("replace-msg").innerHTML=lang.countMsg.replace("{#count}",r))};var frCommond=function(e){return editor.execCommand("searchreplace",e)};switchTab("searchtab");
@@ -0,0 +1 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title></title><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><script src="../internal.js"></script><style>body,html{overflow:hidden}#specharsTab{width:97%;margin:10px auto;zoom:1;position:relative}.tabbody{height:447px}.tabbody span{margin:5px 3px;text-align:center;display:inline-block;width:40px;height:16px;line-height:16px;cursor:pointer}</style></head><body><div id="specharsTab"><div id="tabHeads" class="tabhead"></div><div id="tabBodys" class="tabbody"></div></div><script src="spechars.js"></script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;function toArray(t){return t.split(",")}var charsContent=[{name:"tsfh",title:lang.tsfh,content:toArray("、,。,·,ˉ,ˇ,¨,〃,々,—,~,‖,…,‘,’,“,”,〔,〕,〈,〉,《,》,「,」,『,』,〖,〗,【,】,±,×,÷,∶,∧,∨,∑,∏,∪,∩,∈,∷,√,⊥,∥,∠,⌒,⊙,∫,∮,≡,≌,≈,∽,∝,≠,≮,≯,≤,≥,∞,∵,∴,♂,♀,°,′,″,℃,$,¤,¢,£,‰,§,№,☆,★,○,●,◎,◇,◆,□,■,△,▲,※,→,←,↑,↓,〓,〡,〢,〣,〤,〥,〦,〧,〨,〩,㊣,㎎,㎏,㎜,㎝,㎞,㎡,㏄,㏎,㏑,㏒,㏕,︰,¬,¦,℡,ˊ,ˋ,˙,–,―,‥,‵,℅,℉,↖,↗,↘,↙,∕,∟,∣,≒,≦,≧,⊿,═,║,╒,╓,╔,╕,╖,╗,╘,╙,╚,╛,╜,╝,╞,╟,╠,╡,╢,╣,╤,╥,╦,╧,╨,╩,╪,╫,╬,╭,╮,╯,╰,╱,╲,╳,▁,▂,▃,▄,▅,▆,▇,�,█,▉,▊,▋,▌,▍,▎,▏,▓,▔,▕,▼,▽,◢,◣,◤,◥,☉,⊕,〒,〝,〞")},{name:"lmsz",title:lang.lmsz,content:toArray("ⅰ,ⅱ,ⅲ,ⅳ,ⅴ,ⅵ,ⅶ,ⅷ,ⅸ,ⅹ,Ⅰ,Ⅱ,Ⅲ,Ⅳ,Ⅴ,Ⅵ,Ⅶ,Ⅷ,Ⅸ,Ⅹ,Ⅺ,Ⅻ")},{name:"szfh",title:lang.szfh,content:toArray("⒈,⒉,⒊,⒋,⒌,⒍,⒎,⒏,⒐,⒑,⒒,⒓,⒔,⒕,⒖,⒗,⒘,⒙,⒚,⒛,⑴,⑵,⑶,⑷,⑸,⑹,⑺,⑻,⑼,⑽,⑾,⑿,⒀,⒁,⒂,⒃,⒄,⒅,⒆,⒇,①,②,③,④,⑤,⑥,⑦,⑧,⑨,⑩,㈠,㈡,㈢,㈣,㈤,㈥,㈦,㈧,㈨,㈩")},{name:"rwfh",title:lang.rwfh,content:toArray("ぁ,あ,ぃ,い,ぅ,う,ぇ,え,ぉ,お,か,が,き,ぎ,く,ぐ,け,げ,こ,ご,さ,ざ,し,じ,す,ず,せ,ぜ,そ,ぞ,た,だ,ち,ぢ,っ,つ,づ,て,で,と,ど,な,に,ぬ,ね,の,は,ば,ぱ,ひ,び,ぴ,ふ,ぶ,ぷ,へ,べ,ぺ,ほ,ぼ,ぽ,ま,み,む,め,も,ゃ,や,ゅ,ゆ,ょ,よ,ら,り,る,れ,ろ,ゎ,わ,ゐ,ゑ,を,ん,ァ,ア,ィ,イ,ゥ,ウ,ェ,エ,ォ,オ,カ,ガ,キ,ギ,ク,グ,ケ,ゲ,コ,ゴ,サ,ザ,シ,ジ,ス,ズ,セ,ゼ,ソ,ゾ,タ,ダ,チ,ヂ,ッ,ツ,ヅ,テ,デ,ト,ド,ナ,ニ,ヌ,ネ,ノ,ハ,バ,パ,ヒ,ビ,ピ,フ,ブ,プ,ヘ,ベ,ペ,ホ,ボ,ポ,マ,ミ,ム,メ,モ,ャ,ヤ,ュ,ユ,ョ,ヨ,ラ,リ,ル,レ,ロ,ヮ,ワ,ヰ,ヱ,ヲ,ン,ヴ,ヵ,ヶ")},{name:"xlzm",title:lang.xlzm,content:toArray("Α,Β,Γ,Δ,Ε,Ζ,Η,Θ,Ι,Κ,Λ,Μ,Ν,Ξ,Ο,Π,Ρ,Σ,Τ,Υ,Φ,Χ,Ψ,Ω,α,β,γ,δ,ε,ζ,η,θ,ι,κ,λ,μ,ν,ξ,ο,π,ρ,σ,τ,υ,φ,χ,ψ,ω")},{name:"ewzm",title:lang.ewzm,content:toArray("А,Б,В,Г,Д,Е,Ё,Ж,З,И,Й,К,Л,М,Н,О,П,Р,С,Т,У,Ф,Х,Ц,Ч,Ш,Щ,Ъ,Ы,Ь,Э,Ю,Я,а,б,в,г,д,е,ё,ж,з,и,й,к,л,м,н,о,п,р,с,т,у,ф,х,ц,ч,ш,щ,ъ,ы,ь,э,ю,я")},{name:"pyzm",title:lang.pyzm,content:toArray("ā,á,ǎ,à,ē,é,ě,è,ī,í,ǐ,ì,ō,ó,ǒ,ò,ū,ú,ǔ,ù,ǖ,ǘ,ǚ,ǜ,ü")},{name:"yyyb",title:lang.yyyb,content:toArray("i:,i,e,æ,ʌ,ə:,ə,u:,u,ɔ:,ɔ,a:,ei,ai,ɔi,əu,au,iə,εə,uə,p,t,k,b,d,g,f,s,ʃ,θ,h,v,z,ʒ,ð,tʃ,tr,ts,dʒ,dr,dz,m,n,ŋ,l,r,w,j,")},{name:"zyzf",title:lang.zyzf,content:toArray("ㄅ,ㄆ,ㄇ,ㄈ,ㄉ,ㄊ,ㄋ,ㄌ,ㄍ,ㄎ,ㄏ,ㄐ,ㄑ,ㄒ,ㄓ,ㄔ,ㄕ,ㄖ,ㄗ,ㄘ,ㄙ,ㄚ,ㄛ,ㄜ,ㄝ,ㄞ,ㄟ,ㄠ,ㄡ,ㄢ,ㄣ,ㄤ,ㄥ,ㄦ,ㄧ,ㄨ")}];!function(t){for(var e,n=0;e=t[n++];){var a=document.createElement("span");a.setAttribute("tabSrc",e.name),a.innerHTML=e.title,1==n&&(a.className="focus"),domUtils.on(a,"click",function(){for(var t,e=$G("tabHeads").children,n=0;t=e[n++];)t.className="";e=$G("tabBodys").children;for(var t,n=0;t=e[n++];)t.style.display="none";this.className="focus",$G(this.getAttribute("tabSrc")).style.display=""}),$G("tabHeads").appendChild(a),domUtils.insertAfter(a,document.createTextNode("\n"));var r=document.createElement("div");r.id=e.name,r.style.display=1==n?"":"none";for(var o,l=e.content,i=0;o=l[i++];){var s=document.createElement("span");s.innerHTML=o,domUtils.on(s,"click",function(){editor.execCommand("insertHTML",this.innerHTML),dialog.close()}),r.appendChild(s)}$G("tabBodys").appendChild(r)}}(charsContent);
Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
.section,.section ul,.wrapper,body{overflow:hidden}.section .preview caption,.section h3{font-weight:700}body{width:540px}.wrapper{margin:10px auto 0;font-size:12px;width:520px;height:315px}.clear{clear:both}.wrapper .left{float:left;margin-left:10px}.wrapper .right{float:right;border-left:2px dotted #EDEDED;padding-left:15px}.section{margin-bottom:15px;width:240px}.section h3{padding:5px 0;margin-bottom:10px;border-bottom:1px solid #EDEDED;font-size:12px}.section ul{list-style:none;clear:both}.section li{float:left;width:120px}.section .tone{width:80px}.section .preview{width:220px}.section .preview table{text-align:center;vertical-align:middle;color:#666}.section .preview td{border-width:1px;border-style:solid;height:22px}.section .preview th{border-style:solid;border-color:#DDD;border-width:2px 1px 1px;height:22px;background-color:#F7F7F7}
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><title></title><script src="../internal.js"></script><link rel="stylesheet" href="edittable.css"></head><body><div class="wrapper"><div class="left"><div class="section"><h3><var id="lang_tableStyle"></var></h3><ul><li><label onselectstart="return!1"><input type="checkbox" id="J_title" name="style"><var id="lang_insertTitle"></var></label></li><li><label onselectstart="return!1"><input type="checkbox" id="J_titleCol" name="style"><var id="lang_insertTitleCol"></var></label></li></ul><ul><li><label onselectstart="return!1"><input type="checkbox" id="J_caption" name="style"><var id="lang_insertCaption"></var></label></li><li><label onselectstart="return!1"><input type="checkbox" id="J_sorttable" name="style"><var id="lang_orderbycontent"></var></label></li></ul><div class="clear"></div></div><div class="section"><h3><var id="lang_tableSize"></var></h3><ul><li><label><input type="radio" id="J_autoSizeContent" name="size"><var id="lang_autoSizeContent"></var></label></li><li><label><input type="radio" id="J_autoSizePage" name="size"><var id="lang_autoSizePage"></var></label></li></ul><div class="clear"></div></div><div class="section"><h3><var id="lang_borderStyle"></var></h3><ul><li><span><var id="lang_color"></var></span> <input type="text" class="tone" id="J_tone" readonly></li></ul><div class="clear"></div></div></div><div class="right"><div class="section"><h3><var id="lang_example"></var></h3><div class="preview" id="J_preview"></div></div></div></div><script src="edittable.js"></script></body></html>
@@ -0,0 +1,2 @@
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
;!function(){var e,t=$G("J_title"),o=$G("J_titleCol"),n=$G("J_caption"),a=$G("J_sorttable"),i=$G("J_autoSizeContent"),r=$G("J_autoSizePage"),l=$G("J_tone"),d=$G("J_preview"),c=function(){e=this,e.init()};c.prototype={init:function(){var d=new UE.ui.ColorPicker({editor:editor}),c=new UE.ui.Popup({editor:editor,content:d});t.checked=editor.queryCommandState("inserttitle")==-1,o.checked=editor.queryCommandState("inserttitlecol")==-1,n.checked=editor.queryCommandState("insertcaption")==-1,a.checked=1==editor.queryCommandState("enablesort");var m=editor.queryCommandState("enablesort"),s=editor.queryCommandState("disablesort");a.checked=!!(m<0&&s>=0),a.disabled=!!(m<0&&s<0),a.title=m<0&&s<0?lang.errorMsg:"",e.createTable(t.checked,o.checked,n.checked),e.setAutoSize(),e.setColor(e.getColor()),domUtils.on(t,"click",e.titleHanler),domUtils.on(o,"click",e.titleColHanler),domUtils.on(n,"click",e.captionHanler),domUtils.on(a,"click",e.sorttableHanler),domUtils.on(i,"click",e.autoSizeContentHanler),domUtils.on(r,"click",e.autoSizePageHanler),domUtils.on(l,"click",function(){c.showAnchor(l)}),domUtils.on(document,"mousedown",function(){c.hide()}),d.addListener("pickcolor",function(){e.setColor(arguments[1]),c.hide()}),d.addListener("picknocolor",function(){e.setColor(""),c.hide()})},createTable:function(e,t,o){var n=[];if(n.push("<table id='J_example'>"),o&&n.push("<caption>"+lang.captionName+"</caption>"),e){n.push("<tr>"),t&&n.push("<th>"+lang.titleName+"</th>");for(var a=0;a<5;a++)n.push("<th>"+lang.titleName+"</th>");n.push("</tr>")}for(var i=0;i<6;i++){n.push("<tr>"),t&&n.push("<th>"+lang.titleName+"</th>");for(var r=0;r<5;r++)n.push("<td>"+lang.cellsName+"</td>");n.push("</tr>")}n.push("</table>"),d.innerHTML=n.join(""),this.updateSortSpan()},titleHanler:function(){var o=$G("J_example"),n=document.createDocumentFragment(),a=domUtils.getComputedStyle(domUtils.getElementsByTagName(o,"td")[0],"border-color"),i=o.rows[0].children.length;if(t.checked){o.insertRow(0);for(var r,l=0;l<i;l++)r=document.createElement("th"),r.innerHTML=lang.titleName,n.appendChild(r);o.rows[0].appendChild(n)}else domUtils.remove(o.rows[0]);e.setColor(a),e.updateSortSpan()},titleColHanler:function(){var t=$G("J_example"),n=domUtils.getComputedStyle(domUtils.getElementsByTagName(t,"td")[0],"border-color"),a=t.rows,i=a.length;if(o.checked)for(var r,l=0;l<i;l++)r=document.createElement("th"),r.innerHTML=lang.titleName,a[l].insertBefore(r,a[l].children[0]);else for(var l=0;l<i;l++)domUtils.remove(a[l].children[0]);e.setColor(n),e.updateSortSpan()},captionHanler:function(){var e=$G("J_example");if(n.checked){var t=document.createElement("caption");t.innerHTML=lang.captionName,e.insertBefore(t,e.firstChild)}else domUtils.remove(domUtils.getElementsByTagName(e,"caption")[0])},sorttableHanler:function(){e.updateSortSpan()},autoSizeContentHanler:function(){var e=$G("J_example");e.removeAttribute("width")},autoSizePageHanler:function(){var e=$G("J_example"),t=e.getElementsByTagName(e,"td");utils.each(t,function(e){e.removeAttribute("width")}),e.setAttribute("width","100%")},updateSortSpan:function(){var e=$G("J_example"),t=e.rows[0],o=domUtils.getElementsByTagName(e,"span");utils.each(o,function(e){e.parentNode.removeChild(e)}),a.checked&&utils.each(t.cells,function(e,t){var o=document.createElement("span");o.innerHTML="^",e.appendChild(o)})},getColor:function(){var e,t=editor.selection.getStart(),o=domUtils.findParentByTagName(t,["td","th","caption"],!0);return e=o&&domUtils.getComputedStyle(o,"border-color"),e||(e="#DDDDDD"),e},setColor:function(e){var t=$G("J_example"),o=domUtils.getElementsByTagName(t,"td").concat(domUtils.getElementsByTagName(t,"th"),domUtils.getElementsByTagName(t,"caption"));l.value=e,utils.each(o,function(t){t.style.borderColor=e})},setAutoSize:function(){var e=this;r.checked=!0,e.autoSizePageHanler()}},new c,dialog.onok=function(){editor.__hasEnterExecCommand=!0;var e={title:"inserttitle deletetitle",titleCol:"inserttitlecol deletetitlecol",caption:"insertcaption deletecaption",sorttable:"enablesort disablesort"};editor.fireEvent("saveScene");for(var t in e){var o=e[t].split(" "),n=$G("J_"+t);n.checked?editor.queryCommandState(o[0])!=-1&&editor.execCommand(o[0]):editor.queryCommandState(o[1])!=-1&&editor.execCommand(o[1])}editor.execCommand("edittable",l.value),i.checked?editor.execCommand("adaptbytext"):"",r.checked?editor.execCommand("adaptbywindow"):"",editor.fireEvent("saveScene"),editor.__hasEnterExecCommand=!1}}();
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><title></title><script src="../internal.js"></script><style>.section{text-align:center;margin-top:10px}.section input{margin-left:5px;width:70px}</style></head><body><div class="section"><span><var id="lang_tdBkColor"></var></span> <input type="text" id="J_tone"></div><script>var tone=$G("J_tone"),colorPiker=new UE.ui.ColorPicker({editor:editor}),colorPop=new UE.ui.Popup({editor:editor,content:colorPiker});domUtils.on(tone,"click",function(){colorPop.showAnchor(tone)}),domUtils.on(document,"mousedown",function(){colorPop.hide()}),colorPiker.addListener("pickcolor",function(){tone.value=arguments[1],colorPop.hide()}),colorPiker.addListener("picknocolor",function(){tone.value="",colorPop.hide()}),dialog.onok=function(){editor.execCommand("edittd",tone.value)};var start=editor.selection.getStart(),cell=start&&domUtils.findParentByTagName(start,["td","th"],!0);if(cell){var color=domUtils.getComputedStyle(cell,"background-color");/^#/.test(color)&&(tone.value=color)}</script></body></html>
Loaded 100 of 1162 files, more files were not shown because too many files have changed in this diff. Show more