Commit d4c845e34ee3babb120447aacf205c435120e2b5
1 parent
9ff8bf10
Atompub client updates
Showing
661 changed files
with
34373 additions
and
0 deletions
Too many changes.
To preserve performance only 100 of 661 files are displayed.
ktatompub/Client/js/APP/KT_atom_server.js
0 → 100644
| 1 | +KT_atom_server=new function(){ | |
| 2 | + this.xmlhelpers=new function(){ | |
| 3 | + this.getTagContents=function(node,tagName){ | |
| 4 | + return $(node).find(tagName)[0].textContent; | |
| 5 | + } | |
| 6 | + } | |
| 7 | + | |
| 8 | + this.set=function(element,value){ | |
| 9 | + if(element.tagName!=undefined){ | |
| 10 | + switch ((''+element.tagName+'').toLowerCase() ){ | |
| 11 | + case 'input': | |
| 12 | + $(element).val(value); | |
| 13 | + break; | |
| 14 | + default: | |
| 15 | + $(element).html(value); | |
| 16 | + } | |
| 17 | + } | |
| 18 | + } | |
| 19 | +}; | |
| 20 | + | |
| 21 | + | |
| 22 | +KT_atom_server.folder=new function(){ | |
| 23 | + this.fieldList={ | |
| 24 | + 'folder_id' :'id', | |
| 25 | + 'folder_name' :'folder_name', | |
| 26 | + 'folder_path' :'full_path', | |
| 27 | + 'folder_permissions' :'permissions' | |
| 28 | + }; | |
| 29 | + this.data={}; | |
| 30 | + | |
| 31 | + this.parseXML=function(entry){ | |
| 32 | + this.data={}; | |
| 33 | + for(var lFname in this.fieldList){ | |
| 34 | + this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); | |
| 35 | + } | |
| 36 | + } | |
| 37 | + | |
| 38 | + this.renderContainer=function(containerId){ | |
| 39 | + var elem=lib.def(document.getElementById(containerId),window.document.body); | |
| 40 | + for(var field in this.fieldList){ | |
| 41 | + $("."+field,elem).each(function(){ | |
| 42 | + KT_atom_server.set(this,KT_atom_server.folder.data[field]); | |
| 43 | + }); | |
| 44 | + } | |
| 45 | + } | |
| 46 | +} | |
| 47 | + | |
| 48 | +KT_atom_server.serviceDoc=new function(){ | |
| 49 | + this.parseXML=function(data,workspace){ | |
| 50 | + $('workspace',data).each(function(){ | |
| 51 | + var ws=$(this); | |
| 52 | + lib.debug.inspect($(ws[0].childNodes)); | |
| 53 | + if($('title',this)[0].textContent==workspace){ | |
| 54 | + alert('found workspace '+workspace) | |
| 55 | + } | |
| 56 | + }); | |
| 57 | + } | |
| 58 | +} | |
| 59 | + | |
| 60 | + | |
| 61 | +KT_atom_server.document=new function(){ | |
| 62 | + this.fieldList={ | |
| 63 | + 'document_id' :'document_id', | |
| 64 | + 'document_title' :'title', | |
| 65 | + 'document_custom_no' :'custom_document_no', | |
| 66 | + 'document_oem_no' :'oem_document_no', | |
| 67 | + 'document_type' :'document_type', | |
| 68 | + 'document_filename' :'filename', | |
| 69 | + 'document_file_size' :'filesize', | |
| 70 | + 'document_full_path' :'full_path', | |
| 71 | + 'document_created_by' :'created_by', | |
| 72 | + 'document_created_on' :'created_date', | |
| 73 | + 'document_modified_by' :'modified_by', | |
| 74 | + 'document_modified_on' :'modified_date', | |
| 75 | + 'document_checkout_by' :'checked_out_by', | |
| 76 | + 'document_checkout_on' :'checked_out_date', | |
| 77 | + 'document_owned_by' :'owned_by', | |
| 78 | + 'document_version' :'version', | |
| 79 | + 'document_content_id' :'content_id', | |
| 80 | + 'document_immutable' :'is_immutable', | |
| 81 | + 'document_permissions' :'permissions', | |
| 82 | + 'document_workflow' :'workflow', | |
| 83 | + 'document_workflow_state' :'workflow_state', | |
| 84 | + 'document_mime_type' :'mime_type', | |
| 85 | + 'document_mime_display' :'mime_display', | |
| 86 | + 'document_storage_path' :'storage_path', | |
| 87 | + 'document_download_url' :'downloaduri' | |
| 88 | + }; | |
| 89 | + this.data={}; | |
| 90 | + | |
| 91 | + this.parseXML=function(entry){ | |
| 92 | + this.data={}; | |
| 93 | + for(var lFname in this.fieldList){ | |
| 94 | + this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); | |
| 95 | + } | |
| 96 | + | |
| 97 | + } | |
| 98 | + | |
| 99 | + this.renderContainer=function(containerId){ | |
| 100 | + var elem=lib.def(document.getElementById(containerId),window.document.body); | |
| 101 | + for(var field in this.fieldList){ | |
| 102 | + $("."+field,elem).each(function(){ | |
| 103 | + KT_atom_server.set(this,KT_atom_server.document.data[field]); | |
| 104 | + }); | |
| 105 | + } | |
| 106 | + } | |
| 107 | +} | |
| 0 | 108 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/jquery-1.3.2.min.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery JavaScript Library v1.3.2 | |
| 3 | + * http://jquery.com/ | |
| 4 | + * | |
| 5 | + * Copyright (c) 2009 John Resig | |
| 6 | + * Dual licensed under the MIT and GPL licenses. | |
| 7 | + * http://docs.jquery.com/License | |
| 8 | + * | |
| 9 | + * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) | |
| 10 | + * Revision: 6246 | |
| 11 | + */ | |
| 12 | +(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); | |
| 13 | +/* | |
| 14 | + * Sizzle CSS Selector Engine - v0.9.3 | |
| 15 | + * Copyright 2009, The Dojo Foundation | |
| 16 | + * Released under the MIT, BSD, and GPL Licenses. | |
| 17 | + * More information: http://sizzlejs.com/ | |
| 18 | + */ | |
| 19 | +(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/plugins/jquery.cookie.js
0 → 100644
| 1 | +/** | |
| 2 | + * Cookie plugin | |
| 3 | + * | |
| 4 | + * Copyright (c) 2006 Klaus Hartl (stilbuero.de) | |
| 5 | + * Dual licensed under the MIT and GPL licenses: | |
| 6 | + * http://www.opensource.org/licenses/mit-license.php | |
| 7 | + * http://www.gnu.org/licenses/gpl.html | |
| 8 | + * | |
| 9 | + */ | |
| 10 | + | |
| 11 | +/** | |
| 12 | + * Create a cookie with the given name and value and other optional parameters. | |
| 13 | + * | |
| 14 | + * @example $.cookie('the_cookie', 'the_value'); | |
| 15 | + * @desc Set the value of a cookie. | |
| 16 | + * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true }); | |
| 17 | + * @desc Create a cookie with all available options. | |
| 18 | + * @example $.cookie('the_cookie', 'the_value'); | |
| 19 | + * @desc Create a session cookie. | |
| 20 | + * @example $.cookie('the_cookie', null); | |
| 21 | + * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain | |
| 22 | + * used when the cookie was set. | |
| 23 | + * | |
| 24 | + * @param String name The name of the cookie. | |
| 25 | + * @param String value The value of the cookie. | |
| 26 | + * @param Object options An object literal containing key/value pairs to provide optional cookie attributes. | |
| 27 | + * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. | |
| 28 | + * If a negative value is specified (e.g. a date in the past), the cookie will be deleted. | |
| 29 | + * If set to null or omitted, the cookie will be a session cookie and will not be retained | |
| 30 | + * when the the browser exits. | |
| 31 | + * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie). | |
| 32 | + * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie). | |
| 33 | + * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will | |
| 34 | + * require a secure protocol (like HTTPS). | |
| 35 | + * @type undefined | |
| 36 | + * | |
| 37 | + * @name $.cookie | |
| 38 | + * @cat Plugins/Cookie | |
| 39 | + * @author Klaus Hartl/klaus.hartl@stilbuero.de | |
| 40 | + */ | |
| 41 | + | |
| 42 | +/** | |
| 43 | + * Get the value of a cookie with the given name. | |
| 44 | + * | |
| 45 | + * @example $.cookie('the_cookie'); | |
| 46 | + * @desc Get the value of a cookie. | |
| 47 | + * | |
| 48 | + * @param String name The name of the cookie. | |
| 49 | + * @return The value of the cookie. | |
| 50 | + * @type String | |
| 51 | + * | |
| 52 | + * @name $.cookie | |
| 53 | + * @cat Plugins/Cookie | |
| 54 | + * @author Klaus Hartl/klaus.hartl@stilbuero.de | |
| 55 | + */ | |
| 56 | +jQuery.cookie = function(name, value, options) { | |
| 57 | + if (typeof value != 'undefined') { // name and value given, set cookie | |
| 58 | + options = options || {}; | |
| 59 | + if (value === null) { | |
| 60 | + value = ''; | |
| 61 | + options = $.extend({}, options); // clone object since it's unexpected behavior if the expired property were changed | |
| 62 | + options.expires = -1; | |
| 63 | + } | |
| 64 | + var expires = ''; | |
| 65 | + if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { | |
| 66 | + var date; | |
| 67 | + if (typeof options.expires == 'number') { | |
| 68 | + date = new Date(); | |
| 69 | + date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); | |
| 70 | + } else { | |
| 71 | + date = options.expires; | |
| 72 | + } | |
| 73 | + expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE | |
| 74 | + } | |
| 75 | + // NOTE Needed to parenthesize options.path and options.domain | |
| 76 | + // in the following expressions, otherwise they evaluate to undefined | |
| 77 | + // in the packed version for some reason... | |
| 78 | + var path = options.path ? '; path=' + (options.path) : ''; | |
| 79 | + var domain = options.domain ? '; domain=' + (options.domain) : ''; | |
| 80 | + var secure = options.secure ? '; secure' : ''; | |
| 81 | + document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); | |
| 82 | + } else { // only name given, get cookie | |
| 83 | + var cookieValue = null; | |
| 84 | + if (document.cookie && document.cookie != '') { | |
| 85 | + var cookies = document.cookie.split(';'); | |
| 86 | + for (var i = 0; i < cookies.length; i++) { | |
| 87 | + var cookie = jQuery.trim(cookies[i]); | |
| 88 | + // Does this cookie string begin with the name we want? | |
| 89 | + if (cookie.substring(0, name.length + 1) == (name + '=')) { | |
| 90 | + cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); | |
| 91 | + break; | |
| 92 | + } | |
| 93 | + } | |
| 94 | + } | |
| 95 | + return cookieValue; | |
| 96 | + } | |
| 97 | +}; | |
| 0 | 98 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/plugins/jquery.dynatree.min.js
0 → 100644
| 1 | +// jquery.dynatree.js build 0.4.2 | |
| 2 | +// Revision: 216, date: 2009-04-19 08:08:47 | |
| 3 | +// Copyright (c) 2008-09 Martin Wendt (http://dynatree.googlecode.com/) | |
| 4 | +// Licensed under the MIT License. | |
| 5 | + | |
| 6 | +var _canLog=true;function _log(mode,msg){if(!_canLog) | |
| 7 | +return;var args=Array.prototype.slice.apply(arguments,[1]);var dt=new Date();var tag=dt.getHours()+":"+dt.getMinutes()+":"+dt.getSeconds()+"."+dt.getMilliseconds();args[0]=tag+" - "+args[0];try{switch(mode){case"info":window.console.info.apply(window.console,args);break;case"warn":window.console.warn.apply(window.console,args);break;default:window.console.log.apply(window.console,args);}}catch(e){if(!window.console) | |
| 8 | +_canLog=false;}} | |
| 9 | +function logMsg(msg){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,arguments);} | |
| 10 | +var DTNodeStatus_Error=-1;var DTNodeStatus_Loading=1;var DTNodeStatus_Ok=0;;(function($){var Class={create:function(){return function(){this.initialize.apply(this,arguments);}}} | |
| 11 | +var DynaTreeNode=Class.create();DynaTreeNode.prototype={initialize:function(parent,tree,data){this.parent=parent;this.tree=tree;if(typeof data=="string") | |
| 12 | +data={title:data};if(data.key==undefined) | |
| 13 | +data.key="_"+tree._nodeCount++;this.data=$.extend({},$.ui.dynatree.nodedatadefaults,data);this.div=null;this.span=null;this.childList=null;this.isRead=false;this.hasSubSel=false;if(tree.initMode=="cookie"){if(tree.initActiveKey==this.data.key) | |
| 14 | +tree.activeNode=this;if(tree.initFocusKey==this.data.key) | |
| 15 | +tree.focusNode=this;this.bExpanded=($.inArray(this.data.key,tree.initExpandedKeys)>=0);this.bSelected=($.inArray(this.data.key,tree.initSelectedKeys)>=0);}else{if(data.activate) | |
| 16 | +tree.activeNode=this;if(data.focus) | |
| 17 | +tree.focusNode=this;this.bExpanded=(data.expand==true);this.bSelected=(data.select==true);} | |
| 18 | +if(this.bExpanded) | |
| 19 | +tree.expandedNodes.push(this);if(this.bSelected) | |
| 20 | +tree.selectedNodes.push(this);},toString:function(){return"dtnode<"+this.data.key+">: '"+this.data.title+"'";},toDict:function(recursive,callback){var dict=$.extend({},this.data);dict.activate=(this.tree.activeNode===this);dict.focus=(this.tree.focusNode===this);dict.expand=this.bExpanded;dict.select=this.bSelected;if(callback) | |
| 21 | +callback(dict);if(recursive&&this.childList){dict.children=[];for(var i=0;i<this.childList.length;i++) | |
| 22 | +dict.children.push(this.childList[i].toDict(true,callback));}else{delete dict.children;} | |
| 23 | +return dict;},_getInnerHtml:function(){var opts=this.tree.options;var cache=this.tree.cache;var rootParent=opts.rootVisible?null:this.tree.tnRoot;var bHideFirstExpander=(opts.rootVisible&&opts.minExpandLevel>0)||opts.minExpandLevel>1;var bHideFirstConnector=opts.rootVisible||opts.minExpandLevel>0;var res="";var p=this.parent;while(p){if(bHideFirstConnector&&(p==rootParent)) | |
| 24 | +break;res=(p.isLastSibling()?cache.tagEmpty:cache.tagVline)+res;p=p.parent;} | |
| 25 | +if(bHideFirstExpander&&this.parent==rootParent){}else if(this.childList||this.data.isLazy){res+=cache.tagExpander;}else{res+=cache.tagConnector;} | |
| 26 | +if(opts.checkbox&&this.data.hideCheckbox!=true&&!this.data.isStatusNode){res+=cache.tagCheckbox;} | |
| 27 | +if(this.data.icon){res+="<img src='"+opts.imagePath+this.data.icon+"' alt='' />";}else if(this.data.icon==false){}else{res+=cache.tagNodeIcon;} | |
| 28 | +var tooltip=(this.data&&typeof this.data.tooltip=="string")?" title='"+this.data.tooltip+"'":"";res+="<a href='#'"+tooltip+">"+this.data.title+"</a>";return res;},render:function(bDeep,bHidden){if(!this.div){this.span=document.createElement("span");this.span.dtnode=this;if(this.data.key) | |
| 29 | +this.span.id=this.tree.options.idPrefix+this.data.key;this.div=document.createElement("div");this.div.appendChild(this.span);if(this.parent) | |
| 30 | +this.parent.div.appendChild(this.div);if(this.parent==null&&!this.tree.options.rootVisible) | |
| 31 | +this.span.style.display="none";} | |
| 32 | +this.span.innerHTML=this._getInnerHtml();this.div.style.display=(this.parent==null||this.parent.bExpanded?"":"none");var opts=this.tree.options;var cn=opts.classNames;var isLastSib=this.isLastSibling();var cnList=[];cnList.push((this.data.isFolder)?cn.folder:cn.document);if(this.bExpanded) | |
| 33 | +cnList.push(cn.expanded);if(this.data.isLazy&&!this.isRead) | |
| 34 | +cnList.push(cn.lazy);if(isLastSib) | |
| 35 | +cnList.push(cn.lastsib);if(this.bSelected) | |
| 36 | +cnList.push(cn.selected);if(this.hasSubSel) | |
| 37 | +cnList.push(cn.partsel);if(this.tree.activeNode===this) | |
| 38 | +cnList.push(cn.active);if(this.data.addClass) | |
| 39 | +cnList.push(this.data.addClass);cnList.push(cn.combinedExpanderPrefix | |
| 40 | ++(this.bExpanded?"e":"c") | |
| 41 | ++(this.data.isLazy&&!this.isRead?"d":"") | |
| 42 | ++(isLastSib?"l":""));cnList.push(cn.combinedIconPrefix | |
| 43 | ++(this.bExpanded?"e":"c") | |
| 44 | ++(this.data.isFolder?"f":""));this.span.className=cnList.join(" ");if(bDeep&&this.childList&&(bHidden||this.bExpanded)){for(var i=0;i<this.childList.length;i++){this.childList[i].render(bDeep,bHidden)}}},hasChildren:function(){return this.childList!=null;},isLastSibling:function(){var p=this.parent;if(!p)return true;return p.childList[p.childList.length-1]===this;},prevSibling:function(){if(!this.parent)return null;var ac=this.parent.childList;for(var i=1;i<ac.length;i++) | |
| 45 | +if(ac[i]===this) | |
| 46 | +return ac[i-1];return null;},nextSibling:function(){if(!this.parent)return null;var ac=this.parent.childList;for(var i=0;i<ac.length-1;i++) | |
| 47 | +if(ac[i]===this) | |
| 48 | +return ac[i+1];return null;},_setStatusNode:function(data){var firstChild=(this.childList?this.childList[0]:null);if(!data){if(firstChild){this.div.removeChild(firstChild.div);if(this.childList.length==1) | |
| 49 | +this.childList=null;else | |
| 50 | +this.childList.shift();}}else if(firstChild){data.isStatusNode=true;firstChild.data=data;firstChild.render(false,false);}else{data.isStatusNode=true;firstChild=this._addNode(data);}},setLazyNodeStatus:function(lts){switch(lts){case DTNodeStatus_Ok:this._setStatusNode(null);this.isRead=true;this.render(false,false);if(this.tree.options.autoFocus){if(this===this.tree.tnRoot&&!this.tree.options.rootVisible&&this.childList){this.childList[0].focus();}else{this.focus();}} | |
| 51 | +break;case DTNodeStatus_Loading:this._setStatusNode({title:this.tree.options.strings.loading,addClass:this.tree.options.classNames.nodeWait});break;case DTNodeStatus_Error:this._setStatusNode({title:this.tree.options.strings.loadError,addClass:this.tree.options.classNames.nodeError});break;default:throw"Bad LazyNodeStatus: '"+lts+"'.";}},_parentList:function(includeRoot,includeSelf){var l=[];var dtn=includeSelf?this:this.parent;while(dtn){if(includeRoot||dtn.parent) | |
| 52 | +l.unshift(dtn);dtn=dtn.parent;};return l;},getLevel:function(){var level=0;var dtn=this.parent;while(dtn){level++;dtn=dtn.parent;};return level;},isVisible:function(){var parents=this._parentList(true,false);for(var i=0;i<parents.length;i++) | |
| 53 | +if(!parents[i].bExpanded)return false;return true;},makeVisible:function(){var parents=this._parentList(true,false);for(var i=0;i<parents.length;i++) | |
| 54 | +parents[i]._expand(true);},focus:function(){this.makeVisible();try{$(this.span).find(">a").focus();}catch(e){}},isActive:function(){return(this.tree.activeNode===this);},activate:function(){var opts=this.tree.options;if(this.data.isStatusNode) | |
| 55 | +return;if(opts.onQueryActivate&&opts.onQueryActivate.call(this.span,true,this)==false) | |
| 56 | +return;if(this.tree.activeNode){if(this.tree.activeNode===this) | |
| 57 | +return;this.tree.activeNode.deactivate();} | |
| 58 | +if(opts.activeVisible) | |
| 59 | +this.makeVisible();this.tree.activeNode=this;if(opts.persist) | |
| 60 | +$.cookie(opts.cookieId+"-active",this.data.key,opts.cookie);$(this.span).addClass(opts.classNames.active);if(opts.onActivate) | |
| 61 | +opts.onActivate.call(this.span,this);},deactivate:function(){if(this.tree.activeNode===this){var opts=this.tree.options;if(opts.onQueryActivate&&opts.onQueryActivate.call(this.span,false,this)==false) | |
| 62 | +return;$(this.span).removeClass(opts.classNames.active);if(opts.persist){$.cookie(opts.cookieId+"-active","",opts.cookie);} | |
| 63 | +this.tree.activeNode=null;if(opts.onDeactivate) | |
| 64 | +opts.onDeactivate.call(this.span,this);}},_userActivate:function(){var activate=true;var expand=false;if(this.data.isFolder){switch(this.tree.options.clickFolderMode){case 2:activate=false;expand=true;break;case 3:activate=expand=true;break;}} | |
| 65 | +if(this.parent==null&&this.tree.options.minExpandLevel>0){expand=false;} | |
| 66 | +if(expand){this.toggleExpand();this.focus();} | |
| 67 | +if(activate){this.activate();}},_setSubSel:function(hasSubSel){if(hasSubSel){this.hasSubSel=true;$(this.span).addClass(this.tree.options.classNames.partsel);}else{this.hasSubSel=false;$(this.span).removeClass(this.tree.options.classNames.partsel);}},_fixSelectionState:function(){if(this.bSelected){this.visit(function(dtnode){dtnode.parent._setSubSel(true);dtnode._select(true,false,false);});var p=this.parent;while(p){p._setSubSel(true);var allChildsSelected=true;for(var i=0;i<p.childList.length;i++){var n=p.childList[i];if(!n.bSelected&&!n.data.isStatusNode){allChildsSelected=false;break;}} | |
| 68 | +if(allChildsSelected) | |
| 69 | +p._select(true,false,false);p=p.parent;}}else{this._setSubSel(false);this.visit(function(dtnode){dtnode._setSubSel(false);dtnode._select(false,false,false);});var p=this.parent;while(p){p._select(false,false,false);var isPartSel=false;for(var i=0;i<p.childList.length;i++){if(p.childList[i].bSelected||p.childList[i].hasSubSel){isPartSel=true;break;}} | |
| 70 | +p._setSubSel(isPartSel);p=p.parent;}}},_select:function(sel,fireEvents,deep){var opts=this.tree.options;if(this.data.isStatusNode) | |
| 71 | +return;if(this.bSelected==sel){return;} | |
| 72 | +if(fireEvents&&opts.onQuerySelect&&opts.onQuerySelect.call(this.span,sel,this)==false) | |
| 73 | +return;if(opts.selectMode==1&&this.tree.selectedNodes.length&&sel) | |
| 74 | +this.tree.selectedNodes[0]._select(false,false,false);this.bSelected=sel;this.tree._changeNodeList("select",this,sel);if(sel){$(this.span).addClass(opts.classNames.selected);if(deep&&opts.selectMode==3) | |
| 75 | +this._fixSelectionState();if(fireEvents&&opts.onSelect) | |
| 76 | +opts.onSelect.call(this.span,true,this);}else{$(this.span).removeClass(opts.classNames.selected);if(deep&&opts.selectMode==3) | |
| 77 | +this._fixSelectionState();if(fireEvents&&opts.onSelect) | |
| 78 | +opts.onSelect.call(this.span,false,this);}},isSelected:function(){return this.bSelected;},select:function(sel){return this._select(sel!=false,true,true);},toggleSelect:function(){return this.select(!this.bSelected);},_expand:function(bExpand){if(this.bExpanded==bExpand){return;} | |
| 79 | +var opts=this.tree.options;if(!bExpand&&this.getLevel()<opts.minExpandLevel){this.tree.logDebug("dtnode._expand(%o) forced expand - %o",bExpand,this);return;} | |
| 80 | +if(opts.onQueryExpand&&opts.onQueryExpand.call(this.span,bExpand,this)==false) | |
| 81 | +return;this.bExpanded=bExpand;this.tree._changeNodeList("expand",this,bExpand);this.render(false);if(this.bExpanded&&this.parent&&opts.autoCollapse){var parents=this._parentList(false,true);for(var i=0;i<parents.length;i++) | |
| 82 | +parents[i].collapseSiblings();} | |
| 83 | +if(opts.activeVisible&&this.tree.activeNode&&!this.tree.activeNode.isVisible()){this.tree.activeNode.deactivate();} | |
| 84 | +if(bExpand&&this.data.isLazy&&!this.isRead){try{this.tree.logDebug("_expand: start lazy - %o",this);this.setLazyNodeStatus(DTNodeStatus_Loading);if(true==opts.onLazyRead.call(this.span,this)){this.setLazyNodeStatus(DTNodeStatus_Ok);this.tree.logDebug("_expand: lazy succeeded - %o",this);}}catch(e){this.setLazyNodeStatus(DTNodeStatus_Error);} | |
| 85 | +return;} | |
| 86 | +if(opts.fx){var duration=opts.fx.duration||200;$(">DIV",this.div).animate(opts.fx,duration);}else{var $d=$(">DIV",this.div);$d.toggle();} | |
| 87 | +if(opts.onExpand) | |
| 88 | +opts.onExpand.call(this.span,bExpand,this);},expand:function(flag){if(!this.childList&&!this.data.isLazy&&flag) | |
| 89 | +return;if(this.parent==null&&this.tree.options.minExpandLevel>0&&!flag) | |
| 90 | +return;this._expand(flag);},toggleExpand:function(){this.expand(!this.bExpanded);},collapseSiblings:function(){if(this.parent==null) | |
| 91 | +return;var ac=this.parent.childList;for(var i=0;i<ac.length;i++){if(ac[i]!==this&&ac[i].bExpanded) | |
| 92 | +ac[i]._expand(false);}},onClick:function(event){if($(event.target).hasClass(this.tree.options.classNames.expander)){this.toggleExpand();}else if($(event.target).hasClass(this.tree.options.classNames.checkbox)){this.toggleSelect();}else{this._userActivate();this.span.getElementsByTagName("a")[0].focus();} | |
| 93 | +return false;},onDblClick:function(event){},onKeydown:function(event){var handled=true;switch(event.which){case 107:case 187:if(!this.bExpanded)this.toggleExpand();break;case 109:case 189:if(this.bExpanded)this.toggleExpand();break;case 32:this._userActivate();break;case 8:if(this.parent) | |
| 94 | +this.parent.focus();break;case 37:if(this.bExpanded){this.toggleExpand();this.focus();}else if(this.parent&&(this.tree.options.rootVisible||this.parent.parent)){this.parent.focus();} | |
| 95 | +break;case 39:if(!this.bExpanded&&(this.childList||this.data.isLazy)){this.toggleExpand();this.focus();}else if(this.childList){this.childList[0].focus();} | |
| 96 | +break;case 38:var sib=this.prevSibling();while(sib&&sib.bExpanded) | |
| 97 | +sib=sib.childList[sib.childList.length-1];if(!sib&&this.parent&&(this.tree.options.rootVisible||this.parent.parent)) | |
| 98 | +sib=this.parent;if(sib)sib.focus();break;case 40:var sib;if(this.bExpanded){sib=this.childList[0];}else{var parents=this._parentList(false,true);for(var i=parents.length-1;i>=0;i--){sib=parents[i].nextSibling();if(sib)break;}} | |
| 99 | +if(sib)sib.focus();break;default:handled=false;} | |
| 100 | +return!handled;},onKeypress:function(event){},onFocus:function(event){var opts=this.tree.options;if(event.type=="blur"||event.type=="focusout"){if(opts.onBlur) | |
| 101 | +opts.onBlur.call(this.span,this);if(this.tree.tnFocused) | |
| 102 | +$(this.tree.tnFocused.span).removeClass(opts.classNames.focused);this.tree.tnFocused=null;if(opts.persist){$.cookie(opts.cookieId+"-focus",null,$.extend({},opts.cookie));}}else if(event.type=="focus"||event.type=="focusin"){if(this.tree.tnFocused&&this.tree.tnFocused!==this){this.tree.logDebug("dtnode.onFocus: out of sync: curFocus: %o",this.tree.tnFocused);$(this.tree.tnFocused.span).removeClass(opts.classNames.focused);} | |
| 103 | +this.tree.tnFocused=this;if(opts.onFocus) | |
| 104 | +opts.onFocus.call(this.span,this);$(this.tree.tnFocused.span).addClass(opts.classNames.focused);if(opts.persist) | |
| 105 | +$.cookie(opts.cookieId+"-focus",this.data.key,opts.cookie);}},_postInit:function(){if(opts.onPostInit) | |
| 106 | +opts.onPostInit.call(this.span,this);},visit:function(fn,data,includeSelf){var n=0;if(includeSelf==true){if(fn(this,data)==false) | |
| 107 | +return 1;n++;} | |
| 108 | +if(this.childList) | |
| 109 | +for(var i=0;i<this.childList.length;i++) | |
| 110 | +n+=this.childList[i].visit(fn,data,true);return n;},remove:function(){if(this===this.tree.root) | |
| 111 | +return false;return this.parent.removeChild(this);},removeChild:function(tn){var ac=this.childList;if(ac.length==1){if(tn!==ac[0]) | |
| 112 | +throw"removeChild: invalid child";return this.removeChildren();} | |
| 113 | +if(tn===this.tree.activeNode) | |
| 114 | +tn.deactivate();if(tn.bSelected) | |
| 115 | +this.tree._changeNodeList("select",tn,false);if(tn.bExpanded) | |
| 116 | +this.tree._changeNodeList("expand",tn,false);tn.removeChildren(true);this.div.removeChild(tn.div);for(var i=0;i<ac.length;i++){if(ac[i]===tn){this.childList.splice(i,1);delete tn;break;}}},removeChildren:function(recursive){var tree=this.tree;var ac=this.childList;if(ac){for(var i=0;i<ac.length;i++){var tn=ac[i];if(tn===tree.activeNode) | |
| 117 | +tn.deactivate();if(tn.bSelected) | |
| 118 | +this.tree._changeNodeList("select",tn,false);if(tn.bExpanded) | |
| 119 | +this.tree._changeNodeList("expand",tn,false);tn.removeChildren(true);this.div.removeChild(tn.div);delete tn;} | |
| 120 | +this.childList=null;if(!recursive){this._expand(false);this.isRead=false;this.render(false,false);}}},_addChildNode:function(dtnode){var tree=this.tree;var opts=tree.options;if(this.childList==null){this.childList=[];}else{$(this.childList[this.childList.length-1].span).removeClass(opts.classNames.lastsib);} | |
| 121 | +this.childList.push(dtnode);dtnode.parent=this;if(dtnode.data.expand||opts.minExpandLevel>=dtnode.getLevel()) | |
| 122 | +this.bExpanded=true;if(!dtnode.data.isStatusNode&&opts.selectMode==3&&!tree.isInitializing()) | |
| 123 | +dtnode._fixSelectionState();if(tree.bEnableUpdate) | |
| 124 | +this.render(true,true);return dtnode;},_addNode:function(data){return this._addChildNode(new DynaTreeNode(this,this.tree,data));},append:function(obj){if(!obj||obj.length==0) | |
| 125 | +return;if(!obj.length) | |
| 126 | +obj=[obj];var prevFlag=this.tree.enableUpdate(false);var tnFirst=null;for(var i=0;i<obj.length;i++){var data=obj[i];var dtnode=this._addNode(data);if(!tnFirst)tnFirst=dtnode;if(data.children) | |
| 127 | +dtnode.append(data.children);} | |
| 128 | +this.tree.enableUpdate(prevFlag);return tnFirst;},appendAjax:function(ajaxOptions){this.setLazyNodeStatus(DTNodeStatus_Loading);var self=this;var orgSuccess=ajaxOptions.success;var orgError=ajaxOptions.error;var options=$.extend({},this.tree.options.ajaxDefaults,ajaxOptions,{success:function(data,textStatus){self.append(data);self.setLazyNodeStatus(DTNodeStatus_Ok);if(orgSuccess) | |
| 129 | +orgSuccess.call(options,self);},error:function(XMLHttpRequest,textStatus,errorThrown){self.setLazyNodeStatus(DTNodeStatus_Error);if(orgError) | |
| 130 | +orgError.call(options,self,XMLHttpRequest,textStatus,errorThrown);}});$.ajax(options);},lastentry:undefined} | |
| 131 | +var DynaTree=Class.create();DynaTree.version="$Version: 0.4.2$";DynaTree.prototype={initialize:function(divContainer,options){this.options=options;this.bEnableUpdate=true;this._nodeCount=0;this.initMode="data";this.activeNode=null;this.selectedNodes=[];this.expandedNodes=[];if(this.options.persist){this.initActiveKey=$.cookie(this.options.cookieId+"-active");if(cookie||this.initActiveKey!=null) | |
| 132 | +this.initMode="cookie";this.initFocusKey=$.cookie(this.options.cookieId+"-focus");var cookie=$.cookie(this.options.cookieId+"-expand");if(cookie!=null) | |
| 133 | +this.initMode="cookie";this.initExpandedKeys=cookie?cookie.split(","):[];cookie=$.cookie(this.options.cookieId+"-select");this.initSelectedKeys=cookie?cookie.split(","):[];} | |
| 134 | +this.logDebug("initMode: %o, active: %o, focus: %o, expanded: %o, selected: %o",this.initMode,this.initActiveKey,this.initFocusKey,this.initExpandedKeys,this.initSelectedKeys);this.cache={tagEmpty:"<span class='"+options.classNames.empty+"'></span>",tagVline:"<span class='"+options.classNames.vline+"'></span>",tagExpander:"<span class='"+options.classNames.expander+"'></span>",tagConnector:"<span class='"+options.classNames.connector+"'></span>",tagNodeIcon:"<span class='"+options.classNames.nodeIcon+"'></span>",tagCheckbox:"<span class='"+options.classNames.checkbox+"'></span>",lastentry:undefined};this.divTree=divContainer;this.tnRoot=new DynaTreeNode(null,this,{title:this.options.title,key:"root"});this.tnRoot.data.isFolder=true;this.tnRoot.render(false,false);this.divRoot=this.tnRoot.div;this.divRoot.className=this.options.classNames.container;this.divTree.appendChild(this.divRoot);},toString:function(){return"DynaTree '"+this.options.title+"'";},toDict:function(){return this.tnRoot.toDict(true);},logDebug:function(msg){if(this.options.debugLevel>=2){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,arguments);}},logInfo:function(msg){if(this.options.debugLevel>=1){Array.prototype.unshift.apply(arguments,["info"]);_log.apply(this,arguments);}},logWarning:function(msg){Array.prototype.unshift.apply(arguments,["warn"]);_log.apply(this,arguments);},isInitializing:function(){return(this.initMode=="data"||this.initMode=="cookie"||this.initMode=="postInit");},_changeNodeList:function(mode,node,bAdd){if(!node) | |
| 135 | +return false;var cookieName=this.options.cookieId+"-"+mode;var nodeList=(mode=="expand")?this.expandedNodes:this.selectedNodes;var idx=$.inArray(node,nodeList);if(bAdd){if(idx>=0) | |
| 136 | +return false;nodeList.push(node);}else{if(idx<0) | |
| 137 | +return false;nodeList.splice(idx,1);} | |
| 138 | +if(this.options.persist){var keyList=$.map(nodeList,function(e,i){return e.data.key});$.cookie(cookieName,keyList.join(","),this.options.cookie);}else{}},redraw:function(){this.logDebug("dynatree.redraw()...");this.tnRoot.render(true,true);this.logDebug("dynatree.redraw() done.");},getRoot:function(){return this.tnRoot;},getNodeByKey:function(key){var el=document.getElementById(this.options.idPrefix+key);return(el&&el.dtnode)?el.dtnode:null;},getActiveNode:function(){return this.activeNode;},getSelectedNodes:function(stopOnParents){if(stopOnParents==true){var nodeList=[];this.tnRoot.visit(function(dtnode){if(dtnode.bSelected){nodeList.push(dtnode);return false;}});return nodeList;}else{return this.selectedNodes;}},activateKey:function(key){var dtnode=this.getNodeByKey(key);if(!dtnode){this.activeNode=null;return null;} | |
| 139 | +dtnode.focus();dtnode.activate();return dtnode;},selectKey:function(key,select){var dtnode=this.getNodeByKey(key);if(!dtnode) | |
| 140 | +return null;dtnode.select(select);return dtnode;},enableUpdate:function(bEnable){if(this.bEnableUpdate==bEnable) | |
| 141 | +return bEnable;this.bEnableUpdate=bEnable;if(bEnable) | |
| 142 | +this.redraw();return!bEnable;},visit:function(fn,data,includeRoot){return this.tnRoot.visit(fn,data,includeRoot);},_createFromTag:function(parentTreeNode,$ulParent){var self=this;$ulParent.find(">li").each(function(){var $li=$(this);var $liSpan=$li.find(">span:first");var title;if($liSpan.length){title=$liSpan.html();}else{title=$li.html();var iPos=title.search(/<ul/i);if(iPos>=0) | |
| 143 | +title=$.trim(title.substring(0,iPos));else | |
| 144 | +title=$.trim(title);} | |
| 145 | +var data={title:title,isFolder:$li.hasClass("folder"),isLazy:$li.hasClass("lazy"),expand:$li.hasClass("expanded"),select:$li.hasClass("selected"),activate:$li.hasClass("active"),focus:$li.hasClass("focused")};if($li.attr("title")) | |
| 146 | +data.tooltip=$li.attr("title");if($li.attr("id")) | |
| 147 | +data.key=$li.attr("id");if($li.attr("data")){var dataAttr=$.trim($li.attr("data"));if(dataAttr){if(dataAttr.charAt(0)!="{") | |
| 148 | +dataAttr="{"+dataAttr+"}" | |
| 149 | +try{$.extend(data,eval("("+dataAttr+")"));}catch(e){throw("Error parsing node data: "+e+"\ndata:\n'"+dataAttr+"'");}}} | |
| 150 | +childNode=parentTreeNode._addNode(data);var $ul=$li.find(">ul:first");if($ul.length){self._createFromTag(childNode,$ul);}});},lastentry:undefined};$.widget("ui.dynatree",{init:function(){return this._init();},_init:function(){logMsg("Dynatree._init(): version='%s', debugLevel=%o.",DynaTree.version,this.options.debugLevel);this.options.event+=".dynatree";var $this=this.element;var opts=this.options;if(!opts.imagePath){$("script").each(function(){if(this.src.search(/.*dynatree[^/]*\.js$/i)>=0){if(this.src.indexOf("/")>=0) | |
| 151 | +opts.imagePath=this.src.slice(0,this.src.lastIndexOf("/"))+"/skin/";else | |
| 152 | +opts.imagePath="skin/";logMsg("Guessing imagePath from '%s': '%s'",this.src,opts.imagePath);return false;}});} | |
| 153 | +var divContainer=$this.get(0);if(opts.children||(opts.initAjax&&opts.initAjax.url)||opts.initId) | |
| 154 | +$(divContainer).empty();this.tree=new DynaTree(divContainer,opts);var root=this.tree.getRoot();var prevFlag=this.tree.enableUpdate(false);this.tree.logDebug("Start init tree structure...");if(opts.children){root.append(opts.children);}else if(opts.initAjax&&opts.initAjax.url){root.appendAjax(opts.initAjax);}else if(opts.initId){this.tree._createFromTag(root,$("#"+opts.initId));}else{var $ul=$this.find(">ul").hide();this.tree._createFromTag(root,$ul);$ul.remove();} | |
| 155 | +this.tree.enableUpdate(prevFlag);this.tree.logDebug("Init tree structure... done.");this.bind();this.tree.initMode="postInit";nodeList=this.tree.selectedNodes.slice();this.tree.selectedNodes=[];for(var i=0;i<nodeList.length;i++){var dtnode=nodeList[i];this.tree.logDebug("Re-select on init: %o",dtnode);dtnode.bSelected=false;dtnode.select(true);} | |
| 156 | +if(this.tree.focusNode){this.tree.logDebug("Focus on init: %o",this.tree.focusNode);this.tree.focusNode.focus();} | |
| 157 | +if(this.tree.activeNode){var dtnode=this.tree.activeNode;this.tree.activeNode=null;this.tree.logDebug("Activate on init: %o",dtnode);dtnode._userActivate();} | |
| 158 | +this.tree.initMode="running";},bind:function(){var $this=this.element;var o=this.options;this.unbind();function __getNodeFromElement(el){var iMax=4;do{if(el.dtnode)return el.dtnode;el=el.parentNode;}while(iMax--);return null;} | |
| 159 | +$this.bind("click.dynatree dblclick.dynatree keypress.dynatree keydown.dynatree",function(event){var dtnode=__getNodeFromElement(event.target);if(!dtnode) | |
| 160 | +return false;dtnode.tree.logDebug("bind(%o): dtnode: %o",event,dtnode);switch(event.type){case"click":return(o.onClick&&o.onClick(dtnode,event)===false)?false:dtnode.onClick(event);case"dblclick":return(o.onDblClick&&o.onDblClick(dtnode,event)===false)?false:dtnode.onDblClick(event);case"keydown":return(o.onKeydown&&o.onKeydown(dtnode,event)===false)?false:dtnode.onKeydown(event);case"keypress":return(o.onKeypress&&o.onKeypress(dtnode,event)===false)?false:dtnode.onKeypress(event);};});function __focusHandler(event){event=arguments[0]=$.event.fix(event||window.event);var dtnode=__getNodeFromElement(event.target);return dtnode?dtnode.onFocus(event):false;} | |
| 161 | +var div=this.tree.divTree;if(div.addEventListener){div.addEventListener("focus",__focusHandler,true);div.addEventListener("blur",__focusHandler,true);}else{div.onfocusin=div.onfocusout=__focusHandler;}},unbind:function(){this.element.unbind(".dynatree");},enable:function(){this.bind();this.setData("disabled",false);},disable:function(){this.unbind();this.setData("disabled",true);},getTree:function(){return this.tree;},getRoot:function(){return this.tree.getRoot();},getActiveNode:function(){return this.tree.getActiveNode();},getSelectedNodes:function(){return this.tree.getSelectedNodes();},lastentry:undefined});$.ui.dynatree.getter="getTree getRoot getActiveNode getSelectedNodes";$.ui.dynatree.defaults={title:"Dynatree root",rootVisible:false,minExpandLevel:1,imagePath:null,children:null,initId:null,initAjax:null,autoFocus:true,keyboard:true,persist:false,autoCollapse:false,clickFolderMode:3,activeVisible:true,checkbox:false,selectMode:2,fx:null,onClick:null,onDblClick:null,onKeydown:null,onKeypress:null,onFocus:null,onBlur:null,onQueryActivate:null,onQuerySelect:null,onQueryExpand:null,onActivate:null,onDeactivate:null,onSelect:null,onExpand:null,onLazyRead:null,ajaxDefaults:{cache:false,dataType:"json"},strings:{loading:"Loading…",loadError:"Load error!"},idPrefix:"ui-dynatree-id-",cookieId:"ui-dynatree-cookie",cookie:{expires:null},classNames:{container:"ui-dynatree-container",folder:"ui-dynatree-folder",document:"ui-dynatree-document",empty:"ui-dynatree-empty",vline:"ui-dynatree-vline",expander:"ui-dynatree-expander",connector:"ui-dynatree-connector",checkbox:"ui-dynatree-checkbox",nodeIcon:"ui-dynatree-icon",nodeError:"ui-dynatree-statusnode-error",nodeWait:"ui-dynatree-statusnode-wait",hidden:"ui-dynatree-hidden",combinedExpanderPrefix:"ui-dynatree-exp-",combinedIconPrefix:"ui-dynatree-ico-",active:"ui-dynatree-active",selected:"ui-dynatree-selected",expanded:"ui-dynatree-expanded",lazy:"ui-dynatree-lazy",focused:"ui-dynatree-focused",partsel:"ui-dynatree-partsel",lastsib:"ui-dynatree-lastsib"},debugLevel:1,lastentry:undefined};$.ui.dynatree.nodedatadefaults={title:null,key:null,isFolder:false,isLazy:false,tooltip:null,icon:null,addClass:null,activate:false,focus:false,expand:false,select:false,children:null,lastentry:undefined};})(jQuery); | |
| 0 | 162 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/plugins/jquery.xml2json.js
0 → 100644
| 1 | +/* | |
| 2 | + ### jQuery XML to JSON Plugin v1.0 - 2008-07-01 ### | |
| 3 | + * http://www.fyneworks.com/ - diego@fyneworks.com | |
| 4 | + * Dual licensed under the MIT and GPL licenses: | |
| 5 | + * http://www.opensource.org/licenses/mit-license.php | |
| 6 | + * http://www.gnu.org/licenses/gpl.html | |
| 7 | + ### | |
| 8 | + Website: http://www.fyneworks.com/jquery/xml-to-json/ | |
| 9 | +*/ | |
| 10 | +eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';5(10.M)(w($){$.N({11:w(j,k){5(!j)t{};w B(d,e){5(!d)t y;6 f=\'\',2=y,E=y;6 g=d.x,12=l(d.O||d.P);6 h=d.v||d.F||\'\';5(d.G){5(d.G.7>0){$.Q(d.G,w(n,a){6 b=a.x,u=l(a.O||a.P);6 c=a.v||a.F||\'\';5(b==8){t}z 5(b==3||b==4||!u){5(c.13(/^\\s+$/)){t};f+=c.H(/^\\s+/,\'\').H(/\\s+$/,\'\')}z{2=2||{};5(2[u]){5(!2[u].7)2[u]=p(2[u]);2[u][2[u].7]=B(a,R);2[u].7=2[u].7}z{2[u]=B(a)}}})}};5(d.I){5(d.I.7>0){E={};2=2||{};$.Q(d.I,w(a,b){6 c=l(b.14),C=b.15;E[c]=C;5(2[c]){5(!2[c].7)2[c]=p(2[c]);2[c][2[c].7]=C;2[c].7=2[c].7}z{2[c]=C}})}};5(2){2=$.N((f!=\'\'?A J(f):{}),2||{});f=(2.v)?(D(2.v)==\'16\'?2.v:[2.v||\'\']).17([f]):f;5(f)2.v=f;f=\'\'};6 i=2||f;5(k){5(f)i={};f=i.v||f||\'\';5(f)i.v=f;5(!e)i=p(i)};t i};6 l=w(s){t J(s||\'\').H(/-/g,"18")};6 m=w(s){t(D s=="19")||J((s&&D s=="K")?s:\'\').1a(/^((-)?([0-9]*)((\\.{0,1})([0-9]+))?$)/)};6 p=w(o){5(!o.7)o=[o];o.7=o.7;t o};5(D j==\'K\')j=$.S(j);5(!j.x)t;5(j.x==3||j.x==4)t j.F;6 q=(j.x==9)?j.1b:j;6 r=B(q,R);j=y;q=y;t r},S:w(a){6 b;T{6 c=($.U.V)?A 1c("1d.1e"):A 1f();c.1g=W}X(e){Y A L("Z 1h 1i 1j 1k 1l")};T{5($.U.V)b=(c.1m(a))?c:W;z b=c.1n(a,"v/1o")}X(e){Y A L("L 1p Z K")};t b}})})(M);',62,88,'||obj|||if|var|length||||||||||||||||||||||return|cnn|text|function|nodeType|null|else|new|parseXML|atv|typeof|att|nodeValue|childNodes|replace|attributes|String|string|Error|jQuery|extend|localName|nodeName|each|true|text2xml|try|browser|msie|false|catch|throw|XML|window|xml2json|nn|match|name|value|object|concat|_|number|test|documentElement|ActiveXObject|Microsoft|XMLDOM|DOMParser|async|Parser|could|not|be|instantiated|loadXML|parseFromString|xml|parsing'.split('|'),0,{})) | |
| 0 | 11 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/cbChecked.gif
0 → 100644
887 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/cbChecked_hover.gif
0 → 100644
880 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/cbIntermediate.gif
0 → 100644
922 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/cbIntermediate_hover.gif
0 → 100644
885 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/cbUnchecked.gif
0 → 100644
877 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/cbUnchecked_hover.gif
0 → 100644
873 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/customDoc1.gif
0 → 100644
960 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/customFolder1.gif
0 → 100644
1004 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/loading.gif
0 → 100644
1.81 KB
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltD_ne.gif
0 → 100644
876 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltD_nes.gif
0 → 100644
877 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltDoc.gif
0 → 100644
875 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltError.gif
0 → 100644
862 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltFld.gif
0 → 100644
906 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltFld_o.gif
0 → 100644
911 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltL_.gif
0 → 100644
832 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltL_ne.gif
0 → 100644
843 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltL_nes.gif
0 → 100644
846 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltL_ns.gif
0 → 100644
844 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltM_ne.gif
0 → 100644
872 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltM_nes.gif
0 → 100644
873 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltP_ne.gif
0 → 100644
875 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltP_nes.gif
0 → 100644
876 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ltWait.gif
0 → 100644
570 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/access.gif
0 → 100644
609 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/access.png
0 → 100644
689 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/code.gif
0 → 100644
591 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/code.png
0 → 100644
738 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/database.gif
0 → 100644
609 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/database.png
0 → 100644
689 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/excel.gif
0 → 100644
612 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/excel.png
0 → 100644
745 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/flash.png
0 → 100644
706 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/html.gif
0 → 100644
619 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/html.png
0 → 100644
863 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/image.gif
0 → 100644
605 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/image.png
0 → 100644
809 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/office.gif
0 → 100644
626 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/office.png
0 → 100644
930 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/openoffice.gif
0 → 100644
367 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/openoffice.png
0 → 100644
595 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/pdf.gif
0 → 100644
588 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/pdf.png
0 → 100644
707 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/php.gif
0 → 100644
376 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/php.png
0 → 100644
681 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/run.gif
0 → 100644
591 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/run.png
0 → 100644
732 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/vector-image.gif
0 → 100644
604 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/vector-image.png
0 → 100644
795 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/word.gif
0 → 100644
619 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/word.png
0 → 100644
768 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/zip.gif
0 → 100644
597 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/mimeIcons/zip.png
0 → 100644
659 Bytes
ktatompub/Client/js/ktAtompubClient/jquery/plugins/skin/ui.dynatree.css
0 → 100644
| 1 | +/******************************************************************************* | |
| 2 | + * Tree container | |
| 3 | + */ | |
| 4 | +div.ui-dynatree-container | |
| 5 | +{ | |
| 6 | + font-family: tahoma, arial, helvetica; | |
| 7 | + font-size: 10pt; /* font size should not be too big */ | |
| 8 | + white-space: nowrap; | |
| 9 | + padding: 3px; | |
| 10 | + | |
| 11 | + background-color: white; | |
| 12 | +/* border: 1px dotted gray; */ | |
| 13 | +} | |
| 14 | + | |
| 15 | +/* Style, when control is disabled */ | |
| 16 | +.ui-dynatree-disabled div.ui-dynatree-container | |
| 17 | +{ | |
| 18 | + opacity: 0.5; | |
| 19 | +/* filter: alpha(opacity=50); /* Yields a css warning */ | |
| 20 | + background-color: silver; | |
| 21 | +} | |
| 22 | + | |
| 23 | + | |
| 24 | +/******************************************************************************* | |
| 25 | + * Vertical line image | |
| 26 | + */ | |
| 27 | +div.ui-dynatree-container img | |
| 28 | +{ | |
| 29 | + width: 16px; | |
| 30 | + height: 16px; | |
| 31 | + margin-left: 3px; | |
| 32 | + vertical-align: top; | |
| 33 | + border-style: none; | |
| 34 | +} | |
| 35 | + | |
| 36 | +/******************************************************************************* | |
| 37 | + * Common icon definitions | |
| 38 | + */ | |
| 39 | +span.ui-dynatree-empty, | |
| 40 | +span.ui-dynatree-vline, | |
| 41 | +span.ui-dynatree-connector, | |
| 42 | +span.ui-dynatree-expander, | |
| 43 | +span.ui-dynatree-icon, | |
| 44 | +span.ui-dynatree-checkbox | |
| 45 | +{ | |
| 46 | + width: 16px; | |
| 47 | + height: 16px; | |
| 48 | + display: -moz-inline-box; /* @ FF 1+2 */ | |
| 49 | + display: inline-block; /* Required to make a span sizeable */ | |
| 50 | + vertical-align: top; | |
| 51 | + background-repeat: no-repeat; | |
| 52 | + background-position: left; | |
| 53 | +} | |
| 54 | + | |
| 55 | +/******************************************************************************* | |
| 56 | + * Lines and connectors | |
| 57 | + */ | |
| 58 | +span.ui-dynatree-empty | |
| 59 | +{ | |
| 60 | +} | |
| 61 | +span.ui-dynatree-vline | |
| 62 | +{ | |
| 63 | + background-image: url("ltL_ns.gif"); | |
| 64 | +} | |
| 65 | +span.ui-dynatree-connector | |
| 66 | +{ | |
| 67 | + background-image: url("ltL_nes.gif"); | |
| 68 | +} | |
| 69 | +.ui-dynatree-lastsib span.ui-dynatree-connector | |
| 70 | +{ | |
| 71 | + background-image: url("ltL_ne.gif"); | |
| 72 | +} | |
| 73 | + | |
| 74 | +/******************************************************************************* | |
| 75 | + * Expander icon | |
| 76 | + * Note: IE6 doesn't correctly evaluate multiples class names, | |
| 77 | + * so we create combined class names that can be used in the CSS. | |
| 78 | + * | |
| 79 | + * Prefix: ui-dynatree-exp- | |
| 80 | + * 1st character: 'e': expanded, 'c': collapsed | |
| 81 | + * 2nd character (optional): 'd': lazy (Delayed) | |
| 82 | + * 3rd character (optional): 'l': Last sibling | |
| 83 | + */ | |
| 84 | + | |
| 85 | +span.ui-dynatree-expander | |
| 86 | +{ | |
| 87 | + background-image: url("ltP_nes.gif"); | |
| 88 | + cursor: pointer; | |
| 89 | +} | |
| 90 | +.ui-dynatree-exp-cl span.ui-dynatree-expander /* Collapsed, not delayed, last sibling */ | |
| 91 | +{ | |
| 92 | + background-image: url("ltP_ne.gif"); | |
| 93 | +} | |
| 94 | +.ui-dynatree-exp-cd span.ui-dynatree-expander /* Collapsed, delayed, not last sibling */ | |
| 95 | +{ | |
| 96 | + background-image: url("ltD_nes.gif"); | |
| 97 | +} | |
| 98 | +.ui-dynatree-exp-cdl span.ui-dynatree-expander /* Collapsed, delayed, last sibling */ | |
| 99 | +{ | |
| 100 | + background-image: url("ltD_ne.gif"); | |
| 101 | +} | |
| 102 | +.ui-dynatree-exp-e span.ui-dynatree-expander, /* Expanded, not delayed, not last sibling */ | |
| 103 | +.ui-dynatree-exp-ed span.ui-dynatree-expander /* Expanded, delayed, not last sibling */ | |
| 104 | +{ | |
| 105 | + background-image: url("ltM_nes.gif"); | |
| 106 | +} | |
| 107 | +.ui-dynatree-exp-el span.ui-dynatree-expander, /* Expanded, not delayed, last sibling */ | |
| 108 | +.ui-dynatree-exp-edl span.ui-dynatree-expander /* Expanded, delayed, last sibling */ | |
| 109 | +{ | |
| 110 | + background-image: url("ltM_ne.gif"); | |
| 111 | +} | |
| 112 | + | |
| 113 | + | |
| 114 | +/******************************************************************************* | |
| 115 | + * Checkbox icon | |
| 116 | + */ | |
| 117 | +span.ui-dynatree-checkbox | |
| 118 | +{ | |
| 119 | + margin-left: 3px; | |
| 120 | + background-image: url("cbUnchecked.gif"); | |
| 121 | +} | |
| 122 | +span.ui-dynatree-checkbox:hover | |
| 123 | +{ | |
| 124 | + background-image: url("cbUnchecked_hover.gif"); | |
| 125 | +} | |
| 126 | + | |
| 127 | +.ui-dynatree-partsel span.ui-dynatree-checkbox | |
| 128 | +{ | |
| 129 | + background-image: url("cbIntermediate.gif"); | |
| 130 | +} | |
| 131 | +.ui-dynatree-partsel span.ui-dynatree-checkbox:hover | |
| 132 | +{ | |
| 133 | + background-image: url("cbIntermediate_hover.gif"); | |
| 134 | +} | |
| 135 | + | |
| 136 | +.ui-dynatree-selected span.ui-dynatree-checkbox | |
| 137 | +{ | |
| 138 | + background-image: url("cbChecked.gif"); | |
| 139 | +} | |
| 140 | +.ui-dynatree-selected span.ui-dynatree-checkbox:hover | |
| 141 | +{ | |
| 142 | + background-image: url("cbChecked_hover.gif"); | |
| 143 | +} | |
| 144 | + | |
| 145 | +/******************************************************************************* | |
| 146 | + * Node type icon | |
| 147 | + * Note: IE6 doesn't correctly evaluate multiples class names, | |
| 148 | + * so we create combined class names that can be used in the CSS. | |
| 149 | + * | |
| 150 | + * Prefix: ui-dynatree-ico- | |
| 151 | + * 1st character: 'e': expanded, 'c': collapsed | |
| 152 | + * 2nd character (optional): 'f': folder | |
| 153 | + */ | |
| 154 | + | |
| 155 | +span.ui-dynatree-icon /* Default icon */ | |
| 156 | +{ | |
| 157 | + margin-left: 3px; | |
| 158 | + background-image: url("ltDoc.gif"); | |
| 159 | +} | |
| 160 | + | |
| 161 | +.ui-dynatree-ico-cf span.ui-dynatree-icon /* Collapsed Folder */ | |
| 162 | +{ | |
| 163 | + background-image: url("ltFld.gif"); | |
| 164 | +} | |
| 165 | + | |
| 166 | +.ui-dynatree-ico-ef span.ui-dynatree-icon /* Expanded Folder */ | |
| 167 | +{ | |
| 168 | + background-image: url("ltFld_o.gif"); | |
| 169 | +} | |
| 170 | + | |
| 171 | +/* Status node icons */ | |
| 172 | + | |
| 173 | +.ui-dynatree-statusnode-wait span.ui-dynatree-icon | |
| 174 | +{ | |
| 175 | + background-image: url("ltWait.gif"); | |
| 176 | +} | |
| 177 | + | |
| 178 | +.ui-dynatree-statusnode-error span.ui-dynatree-icon | |
| 179 | +{ | |
| 180 | + background-image: url("ltError.gif"); | |
| 181 | +} | |
| 182 | + | |
| 183 | +/******************************************************************************* | |
| 184 | + * Node titles | |
| 185 | + */ | |
| 186 | + | |
| 187 | +/* Remove blue color and underline from title links */ | |
| 188 | +div.ui-dynatree-container a | |
| 189 | +{ | |
| 190 | + color: black; /* inherit doesn't work on IE */ | |
| 191 | + text-decoration: none; | |
| 192 | + vertical-align: top; | |
| 193 | + margin: 0px; | |
| 194 | + margin-left: 3px; | |
| 195 | +/* outline: 0; /* @ Firefox, prevent dotted border after click */ | |
| 196 | +} | |
| 197 | + | |
| 198 | +div.ui-dynatree-container a:hover | |
| 199 | +{ | |
| 200 | + text-decoration: underline; | |
| 201 | +} | |
| 202 | + | |
| 203 | +span.ui-dynatree-document a, | |
| 204 | +span.ui-dynatree-folder a | |
| 205 | +{ | |
| 206 | + display: inline-block; /* Better alignment, when title contains <br> */ | |
| 207 | +/* vertical-align: top;*/ | |
| 208 | + padding-left: 3px; | |
| 209 | + padding-right: 3px; /* Otherwise italic font will be outside bounds */ | |
| 210 | + /* line-height: 16px; /* should be the same as img height, in case 16 px */ | |
| 211 | +} | |
| 212 | +span.ui-dynatree-folder a | |
| 213 | +{ | |
| 214 | + font-weight: bold; | |
| 215 | +} | |
| 216 | + | |
| 217 | +div.ui-dynatree-container a:focus, | |
| 218 | +span.ui-dynatree-focused a:link /* @IE */ | |
| 219 | +{ | |
| 220 | + background-color: #EFEBDE; /* gray */ | |
| 221 | +} | |
| 222 | + | |
| 223 | + | |
| 224 | +span.ui-dynatree-expanded a | |
| 225 | +{ | |
| 226 | +} | |
| 227 | + | |
| 228 | +span.ui-dynatree-selected a | |
| 229 | +{ | |
| 230 | + color: green; | |
| 231 | + font-style: italic; | |
| 232 | +} | |
| 233 | + | |
| 234 | +span.ui-dynatree-active a | |
| 235 | +{ | |
| 236 | + background-color: #3169C6 !important; | |
| 237 | + color: white !important; /* @ IE6 */ | |
| 238 | +} | |
| 239 | + | |
| 240 | +/******************************************************************************* | |
| 241 | + * Custom node classes (sample) | |
| 242 | + */ | |
| 243 | + | |
| 244 | +span.custom1 a | |
| 245 | +{ | |
| 246 | + background-color: maroon; | |
| 247 | + color: yellow; | |
| 248 | +} | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.blind.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Blind 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Blind | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.blind = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this), props = ['position','top','left']; | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode | |
| 24 | + var direction = o.options.direction || 'vertical'; // Default direction | |
| 25 | + | |
| 26 | + // Adjust | |
| 27 | + $.effects.save(el, props); el.show(); // Save & Show | |
| 28 | + var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper | |
| 29 | + var ref = (direction == 'vertical') ? 'height' : 'width'; | |
| 30 | + var distance = (direction == 'vertical') ? wrapper.height() : wrapper.width(); | |
| 31 | + if(mode == 'show') wrapper.css(ref, 0); // Shift | |
| 32 | + | |
| 33 | + // Animation | |
| 34 | + var animation = {}; | |
| 35 | + animation[ref] = mode == 'show' ? distance : 0; | |
| 36 | + | |
| 37 | + // Animate | |
| 38 | + wrapper.animate(animation, o.duration, o.options.easing, function() { | |
| 39 | + if(mode == 'hide') el.hide(); // Hide | |
| 40 | + $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore | |
| 41 | + if(o.callback) o.callback.apply(el[0], arguments); // Callback | |
| 42 | + el.dequeue(); | |
| 43 | + }); | |
| 44 | + | |
| 45 | + }); | |
| 46 | + | |
| 47 | +}; | |
| 48 | + | |
| 49 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.bounce.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Bounce 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Bounce | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.bounce = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this), props = ['position','top','left']; | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode | |
| 24 | + var direction = o.options.direction || 'up'; // Default direction | |
| 25 | + var distance = o.options.distance || 20; // Default distance | |
| 26 | + var times = o.options.times || 5; // Default # of times | |
| 27 | + var speed = o.duration || 250; // Default speed per bounce | |
| 28 | + if (/show|hide/.test(mode)) props.push('opacity'); // Avoid touching opacity to prevent clearType and PNG issues in IE | |
| 29 | + | |
| 30 | + // Adjust | |
| 31 | + $.effects.save(el, props); el.show(); // Save & Show | |
| 32 | + $.effects.createWrapper(el); // Create Wrapper | |
| 33 | + var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; | |
| 34 | + var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; | |
| 35 | + var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) / 3 : el.outerWidth({margin:true}) / 3); | |
| 36 | + if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift | |
| 37 | + if (mode == 'hide') distance = distance / (times * 2); | |
| 38 | + if (mode != 'hide') times--; | |
| 39 | + | |
| 40 | + // Animate | |
| 41 | + if (mode == 'show') { // Show Bounce | |
| 42 | + var animation = {opacity: 1}; | |
| 43 | + animation[ref] = (motion == 'pos' ? '+=' : '-=') + distance; | |
| 44 | + el.animate(animation, speed / 2, o.options.easing); | |
| 45 | + distance = distance / 2; | |
| 46 | + times--; | |
| 47 | + }; | |
| 48 | + for (var i = 0; i < times; i++) { // Bounces | |
| 49 | + var animation1 = {}, animation2 = {}; | |
| 50 | + animation1[ref] = (motion == 'pos' ? '-=' : '+=') + distance; | |
| 51 | + animation2[ref] = (motion == 'pos' ? '+=' : '-=') + distance; | |
| 52 | + el.animate(animation1, speed / 2, o.options.easing).animate(animation2, speed / 2, o.options.easing); | |
| 53 | + distance = (mode == 'hide') ? distance * 2 : distance / 2; | |
| 54 | + }; | |
| 55 | + if (mode == 'hide') { // Last Bounce | |
| 56 | + var animation = {opacity: 0}; | |
| 57 | + animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance; | |
| 58 | + el.animate(animation, speed / 2, o.options.easing, function(){ | |
| 59 | + el.hide(); // Hide | |
| 60 | + $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore | |
| 61 | + if(o.callback) o.callback.apply(this, arguments); // Callback | |
| 62 | + }); | |
| 63 | + } else { | |
| 64 | + var animation1 = {}, animation2 = {}; | |
| 65 | + animation1[ref] = (motion == 'pos' ? '-=' : '+=') + distance; | |
| 66 | + animation2[ref] = (motion == 'pos' ? '+=' : '-=') + distance; | |
| 67 | + el.animate(animation1, speed / 2, o.options.easing).animate(animation2, speed / 2, o.options.easing, function(){ | |
| 68 | + $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore | |
| 69 | + if(o.callback) o.callback.apply(this, arguments); // Callback | |
| 70 | + }); | |
| 71 | + }; | |
| 72 | + el.queue('fx', function() { el.dequeue(); }); | |
| 73 | + el.dequeue(); | |
| 74 | + }); | |
| 75 | + | |
| 76 | +}; | |
| 77 | + | |
| 78 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.clip.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Clip 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Clip | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.clip = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this), props = ['position','top','left','height','width']; | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode | |
| 24 | + var direction = o.options.direction || 'vertical'; // Default direction | |
| 25 | + | |
| 26 | + // Adjust | |
| 27 | + $.effects.save(el, props); el.show(); // Save & Show | |
| 28 | + var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper | |
| 29 | + var animate = el[0].tagName == 'IMG' ? wrapper : el; | |
| 30 | + var ref = { | |
| 31 | + size: (direction == 'vertical') ? 'height' : 'width', | |
| 32 | + position: (direction == 'vertical') ? 'top' : 'left' | |
| 33 | + }; | |
| 34 | + var distance = (direction == 'vertical') ? animate.height() : animate.width(); | |
| 35 | + if(mode == 'show') { animate.css(ref.size, 0); animate.css(ref.position, distance / 2); } // Shift | |
| 36 | + | |
| 37 | + // Animation | |
| 38 | + var animation = {}; | |
| 39 | + animation[ref.size] = mode == 'show' ? distance : 0; | |
| 40 | + animation[ref.position] = mode == 'show' ? 0 : distance / 2; | |
| 41 | + | |
| 42 | + // Animate | |
| 43 | + animate.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { | |
| 44 | + if(mode == 'hide') el.hide(); // Hide | |
| 45 | + $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore | |
| 46 | + if(o.callback) o.callback.apply(el[0], arguments); // Callback | |
| 47 | + el.dequeue(); | |
| 48 | + }}); | |
| 49 | + | |
| 50 | + }); | |
| 51 | + | |
| 52 | +}; | |
| 53 | + | |
| 54 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.core.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/ | |
| 9 | + */ | |
| 10 | +;jQuery.effects || (function($) { | |
| 11 | + | |
| 12 | +$.effects = { | |
| 13 | + version: "1.7.2", | |
| 14 | + | |
| 15 | + // Saves a set of properties in a data storage | |
| 16 | + save: function(element, set) { | |
| 17 | + for(var i=0; i < set.length; i++) { | |
| 18 | + if(set[i] !== null) element.data("ec.storage."+set[i], element[0].style[set[i]]); | |
| 19 | + } | |
| 20 | + }, | |
| 21 | + | |
| 22 | + // Restores a set of previously saved properties from a data storage | |
| 23 | + restore: function(element, set) { | |
| 24 | + for(var i=0; i < set.length; i++) { | |
| 25 | + if(set[i] !== null) element.css(set[i], element.data("ec.storage."+set[i])); | |
| 26 | + } | |
| 27 | + }, | |
| 28 | + | |
| 29 | + setMode: function(el, mode) { | |
| 30 | + if (mode == 'toggle') mode = el.is(':hidden') ? 'show' : 'hide'; // Set for toggle | |
| 31 | + return mode; | |
| 32 | + }, | |
| 33 | + | |
| 34 | + getBaseline: function(origin, original) { // Translates a [top,left] array into a baseline value | |
| 35 | + // this should be a little more flexible in the future to handle a string & hash | |
| 36 | + var y, x; | |
| 37 | + switch (origin[0]) { | |
| 38 | + case 'top': y = 0; break; | |
| 39 | + case 'middle': y = 0.5; break; | |
| 40 | + case 'bottom': y = 1; break; | |
| 41 | + default: y = origin[0] / original.height; | |
| 42 | + }; | |
| 43 | + switch (origin[1]) { | |
| 44 | + case 'left': x = 0; break; | |
| 45 | + case 'center': x = 0.5; break; | |
| 46 | + case 'right': x = 1; break; | |
| 47 | + default: x = origin[1] / original.width; | |
| 48 | + }; | |
| 49 | + return {x: x, y: y}; | |
| 50 | + }, | |
| 51 | + | |
| 52 | + // Wraps the element around a wrapper that copies position properties | |
| 53 | + createWrapper: function(element) { | |
| 54 | + | |
| 55 | + //if the element is already wrapped, return it | |
| 56 | + if (element.parent().is('.ui-effects-wrapper')) | |
| 57 | + return element.parent(); | |
| 58 | + | |
| 59 | + //Cache width,height and float properties of the element, and create a wrapper around it | |
| 60 | + var props = { width: element.outerWidth(true), height: element.outerHeight(true), 'float': element.css('float') }; | |
| 61 | + element.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>'); | |
| 62 | + var wrapper = element.parent(); | |
| 63 | + | |
| 64 | + //Transfer the positioning of the element to the wrapper | |
| 65 | + if (element.css('position') == 'static') { | |
| 66 | + wrapper.css({ position: 'relative' }); | |
| 67 | + element.css({ position: 'relative'} ); | |
| 68 | + } else { | |
| 69 | + var top = element.css('top'); if(isNaN(parseInt(top,10))) top = 'auto'; | |
| 70 | + var left = element.css('left'); if(isNaN(parseInt(left,10))) left = 'auto'; | |
| 71 | + wrapper.css({ position: element.css('position'), top: top, left: left, zIndex: element.css('z-index') }).show(); | |
| 72 | + element.css({position: 'relative', top: 0, left: 0 }); | |
| 73 | + } | |
| 74 | + | |
| 75 | + wrapper.css(props); | |
| 76 | + return wrapper; | |
| 77 | + }, | |
| 78 | + | |
| 79 | + removeWrapper: function(element) { | |
| 80 | + if (element.parent().is('.ui-effects-wrapper')) | |
| 81 | + return element.parent().replaceWith(element); | |
| 82 | + return element; | |
| 83 | + }, | |
| 84 | + | |
| 85 | + setTransition: function(element, list, factor, value) { | |
| 86 | + value = value || {}; | |
| 87 | + $.each(list, function(i, x){ | |
| 88 | + unit = element.cssUnit(x); | |
| 89 | + if (unit[0] > 0) value[x] = unit[0] * factor + unit[1]; | |
| 90 | + }); | |
| 91 | + return value; | |
| 92 | + }, | |
| 93 | + | |
| 94 | + //Base function to animate from one class to another in a seamless transition | |
| 95 | + animateClass: function(value, duration, easing, callback) { | |
| 96 | + | |
| 97 | + var cb = (typeof easing == "function" ? easing : (callback ? callback : null)); | |
| 98 | + var ea = (typeof easing == "string" ? easing : null); | |
| 99 | + | |
| 100 | + return this.each(function() { | |
| 101 | + | |
| 102 | + var offset = {}; var that = $(this); var oldStyleAttr = that.attr("style") || ''; | |
| 103 | + if(typeof oldStyleAttr == 'object') oldStyleAttr = oldStyleAttr["cssText"]; /* Stupidly in IE, style is a object.. */ | |
| 104 | + if(value.toggle) { that.hasClass(value.toggle) ? value.remove = value.toggle : value.add = value.toggle; } | |
| 105 | + | |
| 106 | + //Let's get a style offset | |
| 107 | + var oldStyle = $.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this,null) : this.currentStyle)); | |
| 108 | + if(value.add) that.addClass(value.add); if(value.remove) that.removeClass(value.remove); | |
| 109 | + var newStyle = $.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this,null) : this.currentStyle)); | |
| 110 | + if(value.add) that.removeClass(value.add); if(value.remove) that.addClass(value.remove); | |
| 111 | + | |
| 112 | + // The main function to form the object for animation | |
| 113 | + for(var n in newStyle) { | |
| 114 | + if( typeof newStyle[n] != "function" && newStyle[n] /* No functions and null properties */ | |
| 115 | + && n.indexOf("Moz") == -1 && n.indexOf("length") == -1 /* No mozilla spezific render properties. */ | |
| 116 | + && newStyle[n] != oldStyle[n] /* Only values that have changed are used for the animation */ | |
| 117 | + && (n.match(/color/i) || (!n.match(/color/i) && !isNaN(parseInt(newStyle[n],10)))) /* Only things that can be parsed to integers or colors */ | |
| 118 | + && (oldStyle.position != "static" || (oldStyle.position == "static" && !n.match(/left|top|bottom|right/))) /* No need for positions when dealing with static positions */ | |
| 119 | + ) offset[n] = newStyle[n]; | |
| 120 | + } | |
| 121 | + | |
| 122 | + that.animate(offset, duration, ea, function() { // Animate the newly constructed offset object | |
| 123 | + // Change style attribute back to original. For stupid IE, we need to clear the damn object. | |
| 124 | + if(typeof $(this).attr("style") == 'object') { $(this).attr("style")["cssText"] = ""; $(this).attr("style")["cssText"] = oldStyleAttr; } else $(this).attr("style", oldStyleAttr); | |
| 125 | + if(value.add) $(this).addClass(value.add); if(value.remove) $(this).removeClass(value.remove); | |
| 126 | + if(cb) cb.apply(this, arguments); | |
| 127 | + }); | |
| 128 | + | |
| 129 | + }); | |
| 130 | + } | |
| 131 | +}; | |
| 132 | + | |
| 133 | + | |
| 134 | +function _normalizeArguments(a, m) { | |
| 135 | + | |
| 136 | + var o = a[1] && a[1].constructor == Object ? a[1] : {}; if(m) o.mode = m; | |
| 137 | + var speed = a[1] && a[1].constructor != Object ? a[1] : (o.duration ? o.duration : a[2]); //either comes from options.duration or the secon/third argument | |
| 138 | + speed = $.fx.off ? 0 : typeof speed === "number" ? speed : $.fx.speeds[speed] || $.fx.speeds._default; | |
| 139 | + var callback = o.callback || ( $.isFunction(a[1]) && a[1] ) || ( $.isFunction(a[2]) && a[2] ) || ( $.isFunction(a[3]) && a[3] ); | |
| 140 | + | |
| 141 | + return [a[0], o, speed, callback]; | |
| 142 | + | |
| 143 | +} | |
| 144 | + | |
| 145 | +//Extend the methods of jQuery | |
| 146 | +$.fn.extend({ | |
| 147 | + | |
| 148 | + //Save old methods | |
| 149 | + _show: $.fn.show, | |
| 150 | + _hide: $.fn.hide, | |
| 151 | + __toggle: $.fn.toggle, | |
| 152 | + _addClass: $.fn.addClass, | |
| 153 | + _removeClass: $.fn.removeClass, | |
| 154 | + _toggleClass: $.fn.toggleClass, | |
| 155 | + | |
| 156 | + // New effect methods | |
| 157 | + effect: function(fx, options, speed, callback) { | |
| 158 | + return $.effects[fx] ? $.effects[fx].call(this, {method: fx, options: options || {}, duration: speed, callback: callback }) : null; | |
| 159 | + }, | |
| 160 | + | |
| 161 | + show: function() { | |
| 162 | + if(!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0]))) | |
| 163 | + return this._show.apply(this, arguments); | |
| 164 | + else { | |
| 165 | + return this.effect.apply(this, _normalizeArguments(arguments, 'show')); | |
| 166 | + } | |
| 167 | + }, | |
| 168 | + | |
| 169 | + hide: function() { | |
| 170 | + if(!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0]))) | |
| 171 | + return this._hide.apply(this, arguments); | |
| 172 | + else { | |
| 173 | + return this.effect.apply(this, _normalizeArguments(arguments, 'hide')); | |
| 174 | + } | |
| 175 | + }, | |
| 176 | + | |
| 177 | + toggle: function(){ | |
| 178 | + if(!arguments[0] || | |
| 179 | + (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0])) || | |
| 180 | + ($.isFunction(arguments[0]) || typeof arguments[0] == 'boolean')) { | |
| 181 | + return this.__toggle.apply(this, arguments); | |
| 182 | + } else { | |
| 183 | + return this.effect.apply(this, _normalizeArguments(arguments, 'toggle')); | |
| 184 | + } | |
| 185 | + }, | |
| 186 | + | |
| 187 | + addClass: function(classNames, speed, easing, callback) { | |
| 188 | + return speed ? $.effects.animateClass.apply(this, [{ add: classNames },speed,easing,callback]) : this._addClass(classNames); | |
| 189 | + }, | |
| 190 | + removeClass: function(classNames,speed,easing,callback) { | |
| 191 | + return speed ? $.effects.animateClass.apply(this, [{ remove: classNames },speed,easing,callback]) : this._removeClass(classNames); | |
| 192 | + }, | |
| 193 | + toggleClass: function(classNames,speed,easing,callback) { | |
| 194 | + return ( (typeof speed !== "boolean") && speed ) ? $.effects.animateClass.apply(this, [{ toggle: classNames },speed,easing,callback]) : this._toggleClass(classNames, speed); | |
| 195 | + }, | |
| 196 | + morph: function(remove,add,speed,easing,callback) { | |
| 197 | + return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]); | |
| 198 | + }, | |
| 199 | + switchClass: function() { | |
| 200 | + return this.morph.apply(this, arguments); | |
| 201 | + }, | |
| 202 | + | |
| 203 | + // helper functions | |
| 204 | + cssUnit: function(key) { | |
| 205 | + var style = this.css(key), val = []; | |
| 206 | + $.each( ['em','px','%','pt'], function(i, unit){ | |
| 207 | + if(style.indexOf(unit) > 0) | |
| 208 | + val = [parseFloat(style), unit]; | |
| 209 | + }); | |
| 210 | + return val; | |
| 211 | + } | |
| 212 | +}); | |
| 213 | + | |
| 214 | +/* | |
| 215 | + * jQuery Color Animations | |
| 216 | + * Copyright 2007 John Resig | |
| 217 | + * Released under the MIT and GPL licenses. | |
| 218 | + */ | |
| 219 | + | |
| 220 | +// We override the animation for all of these color styles | |
| 221 | +$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ | |
| 222 | + $.fx.step[attr] = function(fx) { | |
| 223 | + if ( fx.state == 0 ) { | |
| 224 | + fx.start = getColor( fx.elem, attr ); | |
| 225 | + fx.end = getRGB( fx.end ); | |
| 226 | + } | |
| 227 | + | |
| 228 | + fx.elem.style[attr] = "rgb(" + [ | |
| 229 | + Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0],10), 255), 0), | |
| 230 | + Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1],10), 255), 0), | |
| 231 | + Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2],10), 255), 0) | |
| 232 | + ].join(",") + ")"; | |
| 233 | + }; | |
| 234 | +}); | |
| 235 | + | |
| 236 | +// Color Conversion functions from highlightFade | |
| 237 | +// By Blair Mitchelmore | |
| 238 | +// http://jquery.offput.ca/highlightFade/ | |
| 239 | + | |
| 240 | +// Parse strings looking for color tuples [255,255,255] | |
| 241 | +function getRGB(color) { | |
| 242 | + var result; | |
| 243 | + | |
| 244 | + // Check if we're already dealing with an array of colors | |
| 245 | + if ( color && color.constructor == Array && color.length == 3 ) | |
| 246 | + return color; | |
| 247 | + | |
| 248 | + // Look for rgb(num,num,num) | |
| 249 | + if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) | |
| 250 | + return [parseInt(result[1],10), parseInt(result[2],10), parseInt(result[3],10)]; | |
| 251 | + | |
| 252 | + // Look for rgb(num%,num%,num%) | |
| 253 | + if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) | |
| 254 | + return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55]; | |
| 255 | + | |
| 256 | + // Look for #a0b1c2 | |
| 257 | + if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color)) | |
| 258 | + return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)]; | |
| 259 | + | |
| 260 | + // Look for #fff | |
| 261 | + if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color)) | |
| 262 | + return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)]; | |
| 263 | + | |
| 264 | + // Look for rgba(0, 0, 0, 0) == transparent in Safari 3 | |
| 265 | + if (result = /rgba\(0, 0, 0, 0\)/.exec(color)) | |
| 266 | + return colors['transparent']; | |
| 267 | + | |
| 268 | + // Otherwise, we're most likely dealing with a named color | |
| 269 | + return colors[$.trim(color).toLowerCase()]; | |
| 270 | +} | |
| 271 | + | |
| 272 | +function getColor(elem, attr) { | |
| 273 | + var color; | |
| 274 | + | |
| 275 | + do { | |
| 276 | + color = $.curCSS(elem, attr); | |
| 277 | + | |
| 278 | + // Keep going until we find an element that has color, or we hit the body | |
| 279 | + if ( color != '' && color != 'transparent' || $.nodeName(elem, "body") ) | |
| 280 | + break; | |
| 281 | + | |
| 282 | + attr = "backgroundColor"; | |
| 283 | + } while ( elem = elem.parentNode ); | |
| 284 | + | |
| 285 | + return getRGB(color); | |
| 286 | +}; | |
| 287 | + | |
| 288 | +// Some named colors to work with | |
| 289 | +// From Interface by Stefan Petre | |
| 290 | +// http://interface.eyecon.ro/ | |
| 291 | + | |
| 292 | +var colors = { | |
| 293 | + aqua:[0,255,255], | |
| 294 | + azure:[240,255,255], | |
| 295 | + beige:[245,245,220], | |
| 296 | + black:[0,0,0], | |
| 297 | + blue:[0,0,255], | |
| 298 | + brown:[165,42,42], | |
| 299 | + cyan:[0,255,255], | |
| 300 | + darkblue:[0,0,139], | |
| 301 | + darkcyan:[0,139,139], | |
| 302 | + darkgrey:[169,169,169], | |
| 303 | + darkgreen:[0,100,0], | |
| 304 | + darkkhaki:[189,183,107], | |
| 305 | + darkmagenta:[139,0,139], | |
| 306 | + darkolivegreen:[85,107,47], | |
| 307 | + darkorange:[255,140,0], | |
| 308 | + darkorchid:[153,50,204], | |
| 309 | + darkred:[139,0,0], | |
| 310 | + darksalmon:[233,150,122], | |
| 311 | + darkviolet:[148,0,211], | |
| 312 | + fuchsia:[255,0,255], | |
| 313 | + gold:[255,215,0], | |
| 314 | + green:[0,128,0], | |
| 315 | + indigo:[75,0,130], | |
| 316 | + khaki:[240,230,140], | |
| 317 | + lightblue:[173,216,230], | |
| 318 | + lightcyan:[224,255,255], | |
| 319 | + lightgreen:[144,238,144], | |
| 320 | + lightgrey:[211,211,211], | |
| 321 | + lightpink:[255,182,193], | |
| 322 | + lightyellow:[255,255,224], | |
| 323 | + lime:[0,255,0], | |
| 324 | + magenta:[255,0,255], | |
| 325 | + maroon:[128,0,0], | |
| 326 | + navy:[0,0,128], | |
| 327 | + olive:[128,128,0], | |
| 328 | + orange:[255,165,0], | |
| 329 | + pink:[255,192,203], | |
| 330 | + purple:[128,0,128], | |
| 331 | + violet:[128,0,128], | |
| 332 | + red:[255,0,0], | |
| 333 | + silver:[192,192,192], | |
| 334 | + white:[255,255,255], | |
| 335 | + yellow:[255,255,0], | |
| 336 | + transparent: [255,255,255] | |
| 337 | +}; | |
| 338 | + | |
| 339 | +/* | |
| 340 | + * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ | |
| 341 | + * | |
| 342 | + * Uses the built in easing capabilities added In jQuery 1.1 | |
| 343 | + * to offer multiple easing options | |
| 344 | + * | |
| 345 | + * TERMS OF USE - jQuery Easing | |
| 346 | + * | |
| 347 | + * Open source under the BSD License. | |
| 348 | + * | |
| 349 | + * Copyright 2008 George McGinley Smith | |
| 350 | + * All rights reserved. | |
| 351 | + * | |
| 352 | + * Redistribution and use in source and binary forms, with or without modification, | |
| 353 | + * are permitted provided that the following conditions are met: | |
| 354 | + * | |
| 355 | + * Redistributions of source code must retain the above copyright notice, this list of | |
| 356 | + * conditions and the following disclaimer. | |
| 357 | + * Redistributions in binary form must reproduce the above copyright notice, this list | |
| 358 | + * of conditions and the following disclaimer in the documentation and/or other materials | |
| 359 | + * provided with the distribution. | |
| 360 | + * | |
| 361 | + * Neither the name of the author nor the names of contributors may be used to endorse | |
| 362 | + * or promote products derived from this software without specific prior written permission. | |
| 363 | + * | |
| 364 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY | |
| 365 | + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
| 366 | + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
| 367 | + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
| 368 | + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | |
| 369 | + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | |
| 370 | + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |
| 371 | + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | |
| 372 | + * OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 373 | + * | |
| 374 | +*/ | |
| 375 | + | |
| 376 | +// t: current time, b: begInnIng value, c: change In value, d: duration | |
| 377 | +$.easing.jswing = $.easing.swing; | |
| 378 | + | |
| 379 | +$.extend($.easing, | |
| 380 | +{ | |
| 381 | + def: 'easeOutQuad', | |
| 382 | + swing: function (x, t, b, c, d) { | |
| 383 | + //alert($.easing.default); | |
| 384 | + return $.easing[$.easing.def](x, t, b, c, d); | |
| 385 | + }, | |
| 386 | + easeInQuad: function (x, t, b, c, d) { | |
| 387 | + return c*(t/=d)*t + b; | |
| 388 | + }, | |
| 389 | + easeOutQuad: function (x, t, b, c, d) { | |
| 390 | + return -c *(t/=d)*(t-2) + b; | |
| 391 | + }, | |
| 392 | + easeInOutQuad: function (x, t, b, c, d) { | |
| 393 | + if ((t/=d/2) < 1) return c/2*t*t + b; | |
| 394 | + return -c/2 * ((--t)*(t-2) - 1) + b; | |
| 395 | + }, | |
| 396 | + easeInCubic: function (x, t, b, c, d) { | |
| 397 | + return c*(t/=d)*t*t + b; | |
| 398 | + }, | |
| 399 | + easeOutCubic: function (x, t, b, c, d) { | |
| 400 | + return c*((t=t/d-1)*t*t + 1) + b; | |
| 401 | + }, | |
| 402 | + easeInOutCubic: function (x, t, b, c, d) { | |
| 403 | + if ((t/=d/2) < 1) return c/2*t*t*t + b; | |
| 404 | + return c/2*((t-=2)*t*t + 2) + b; | |
| 405 | + }, | |
| 406 | + easeInQuart: function (x, t, b, c, d) { | |
| 407 | + return c*(t/=d)*t*t*t + b; | |
| 408 | + }, | |
| 409 | + easeOutQuart: function (x, t, b, c, d) { | |
| 410 | + return -c * ((t=t/d-1)*t*t*t - 1) + b; | |
| 411 | + }, | |
| 412 | + easeInOutQuart: function (x, t, b, c, d) { | |
| 413 | + if ((t/=d/2) < 1) return c/2*t*t*t*t + b; | |
| 414 | + return -c/2 * ((t-=2)*t*t*t - 2) + b; | |
| 415 | + }, | |
| 416 | + easeInQuint: function (x, t, b, c, d) { | |
| 417 | + return c*(t/=d)*t*t*t*t + b; | |
| 418 | + }, | |
| 419 | + easeOutQuint: function (x, t, b, c, d) { | |
| 420 | + return c*((t=t/d-1)*t*t*t*t + 1) + b; | |
| 421 | + }, | |
| 422 | + easeInOutQuint: function (x, t, b, c, d) { | |
| 423 | + if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; | |
| 424 | + return c/2*((t-=2)*t*t*t*t + 2) + b; | |
| 425 | + }, | |
| 426 | + easeInSine: function (x, t, b, c, d) { | |
| 427 | + return -c * Math.cos(t/d * (Math.PI/2)) + c + b; | |
| 428 | + }, | |
| 429 | + easeOutSine: function (x, t, b, c, d) { | |
| 430 | + return c * Math.sin(t/d * (Math.PI/2)) + b; | |
| 431 | + }, | |
| 432 | + easeInOutSine: function (x, t, b, c, d) { | |
| 433 | + return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; | |
| 434 | + }, | |
| 435 | + easeInExpo: function (x, t, b, c, d) { | |
| 436 | + return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; | |
| 437 | + }, | |
| 438 | + easeOutExpo: function (x, t, b, c, d) { | |
| 439 | + return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; | |
| 440 | + }, | |
| 441 | + easeInOutExpo: function (x, t, b, c, d) { | |
| 442 | + if (t==0) return b; | |
| 443 | + if (t==d) return b+c; | |
| 444 | + if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; | |
| 445 | + return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; | |
| 446 | + }, | |
| 447 | + easeInCirc: function (x, t, b, c, d) { | |
| 448 | + return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; | |
| 449 | + }, | |
| 450 | + easeOutCirc: function (x, t, b, c, d) { | |
| 451 | + return c * Math.sqrt(1 - (t=t/d-1)*t) + b; | |
| 452 | + }, | |
| 453 | + easeInOutCirc: function (x, t, b, c, d) { | |
| 454 | + if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; | |
| 455 | + return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; | |
| 456 | + }, | |
| 457 | + easeInElastic: function (x, t, b, c, d) { | |
| 458 | + var s=1.70158;var p=0;var a=c; | |
| 459 | + if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; | |
| 460 | + if (a < Math.abs(c)) { a=c; var s=p/4; } | |
| 461 | + else var s = p/(2*Math.PI) * Math.asin (c/a); | |
| 462 | + return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; | |
| 463 | + }, | |
| 464 | + easeOutElastic: function (x, t, b, c, d) { | |
| 465 | + var s=1.70158;var p=0;var a=c; | |
| 466 | + if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; | |
| 467 | + if (a < Math.abs(c)) { a=c; var s=p/4; } | |
| 468 | + else var s = p/(2*Math.PI) * Math.asin (c/a); | |
| 469 | + return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; | |
| 470 | + }, | |
| 471 | + easeInOutElastic: function (x, t, b, c, d) { | |
| 472 | + var s=1.70158;var p=0;var a=c; | |
| 473 | + if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); | |
| 474 | + if (a < Math.abs(c)) { a=c; var s=p/4; } | |
| 475 | + else var s = p/(2*Math.PI) * Math.asin (c/a); | |
| 476 | + if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; | |
| 477 | + return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; | |
| 478 | + }, | |
| 479 | + easeInBack: function (x, t, b, c, d, s) { | |
| 480 | + if (s == undefined) s = 1.70158; | |
| 481 | + return c*(t/=d)*t*((s+1)*t - s) + b; | |
| 482 | + }, | |
| 483 | + easeOutBack: function (x, t, b, c, d, s) { | |
| 484 | + if (s == undefined) s = 1.70158; | |
| 485 | + return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; | |
| 486 | + }, | |
| 487 | + easeInOutBack: function (x, t, b, c, d, s) { | |
| 488 | + if (s == undefined) s = 1.70158; | |
| 489 | + if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; | |
| 490 | + return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; | |
| 491 | + }, | |
| 492 | + easeInBounce: function (x, t, b, c, d) { | |
| 493 | + return c - $.easing.easeOutBounce (x, d-t, 0, c, d) + b; | |
| 494 | + }, | |
| 495 | + easeOutBounce: function (x, t, b, c, d) { | |
| 496 | + if ((t/=d) < (1/2.75)) { | |
| 497 | + return c*(7.5625*t*t) + b; | |
| 498 | + } else if (t < (2/2.75)) { | |
| 499 | + return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; | |
| 500 | + } else if (t < (2.5/2.75)) { | |
| 501 | + return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; | |
| 502 | + } else { | |
| 503 | + return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; | |
| 504 | + } | |
| 505 | + }, | |
| 506 | + easeInOutBounce: function (x, t, b, c, d) { | |
| 507 | + if (t < d/2) return $.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; | |
| 508 | + return $.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; | |
| 509 | + } | |
| 510 | +}); | |
| 511 | + | |
| 512 | +/* | |
| 513 | + * | |
| 514 | + * TERMS OF USE - EASING EQUATIONS | |
| 515 | + * | |
| 516 | + * Open source under the BSD License. | |
| 517 | + * | |
| 518 | + * Copyright 2001 Robert Penner | |
| 519 | + * All rights reserved. | |
| 520 | + * | |
| 521 | + * Redistribution and use in source and binary forms, with or without modification, | |
| 522 | + * are permitted provided that the following conditions are met: | |
| 523 | + * | |
| 524 | + * Redistributions of source code must retain the above copyright notice, this list of | |
| 525 | + * conditions and the following disclaimer. | |
| 526 | + * Redistributions in binary form must reproduce the above copyright notice, this list | |
| 527 | + * of conditions and the following disclaimer in the documentation and/or other materials | |
| 528 | + * provided with the distribution. | |
| 529 | + * | |
| 530 | + * Neither the name of the author nor the names of contributors may be used to endorse | |
| 531 | + * or promote products derived from this software without specific prior written permission. | |
| 532 | + * | |
| 533 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY | |
| 534 | + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
| 535 | + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
| 536 | + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
| 537 | + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | |
| 538 | + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | |
| 539 | + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |
| 540 | + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | |
| 541 | + * OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 542 | + * | |
| 543 | + */ | |
| 544 | + | |
| 545 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.drop.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Drop 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Drop | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.drop = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this), props = ['position','top','left','opacity']; | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode | |
| 24 | + var direction = o.options.direction || 'left'; // Default Direction | |
| 25 | + | |
| 26 | + // Adjust | |
| 27 | + $.effects.save(el, props); el.show(); // Save & Show | |
| 28 | + $.effects.createWrapper(el); // Create Wrapper | |
| 29 | + var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; | |
| 30 | + var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; | |
| 31 | + var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) / 2 : el.outerWidth({margin:true}) / 2); | |
| 32 | + if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift | |
| 33 | + | |
| 34 | + // Animation | |
| 35 | + var animation = {opacity: mode == 'show' ? 1 : 0}; | |
| 36 | + animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance; | |
| 37 | + | |
| 38 | + // Animate | |
| 39 | + el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { | |
| 40 | + if(mode == 'hide') el.hide(); // Hide | |
| 41 | + $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore | |
| 42 | + if(o.callback) o.callback.apply(this, arguments); // Callback | |
| 43 | + el.dequeue(); | |
| 44 | + }}); | |
| 45 | + | |
| 46 | + }); | |
| 47 | + | |
| 48 | +}; | |
| 49 | + | |
| 50 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.explode.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Explode 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Explode | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.explode = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3; | |
| 20 | + var cells = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3; | |
| 21 | + | |
| 22 | + o.options.mode = o.options.mode == 'toggle' ? ($(this).is(':visible') ? 'hide' : 'show') : o.options.mode; | |
| 23 | + var el = $(this).show().css('visibility', 'hidden'); | |
| 24 | + var offset = el.offset(); | |
| 25 | + | |
| 26 | + //Substract the margins - not fixing the problem yet. | |
| 27 | + offset.top -= parseInt(el.css("marginTop"),10) || 0; | |
| 28 | + offset.left -= parseInt(el.css("marginLeft"),10) || 0; | |
| 29 | + | |
| 30 | + var width = el.outerWidth(true); | |
| 31 | + var height = el.outerHeight(true); | |
| 32 | + | |
| 33 | + for(var i=0;i<rows;i++) { // = | |
| 34 | + for(var j=0;j<cells;j++) { // || | |
| 35 | + el | |
| 36 | + .clone() | |
| 37 | + .appendTo('body') | |
| 38 | + .wrap('<div></div>') | |
| 39 | + .css({ | |
| 40 | + position: 'absolute', | |
| 41 | + visibility: 'visible', | |
| 42 | + left: -j*(width/cells), | |
| 43 | + top: -i*(height/rows) | |
| 44 | + }) | |
| 45 | + .parent() | |
| 46 | + .addClass('ui-effects-explode') | |
| 47 | + .css({ | |
| 48 | + position: 'absolute', | |
| 49 | + overflow: 'hidden', | |
| 50 | + width: width/cells, | |
| 51 | + height: height/rows, | |
| 52 | + left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? (j-Math.floor(cells/2))*(width/cells) : 0), | |
| 53 | + top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? (i-Math.floor(rows/2))*(height/rows) : 0), | |
| 54 | + opacity: o.options.mode == 'show' ? 0 : 1 | |
| 55 | + }).animate({ | |
| 56 | + left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? 0 : (j-Math.floor(cells/2))*(width/cells)), | |
| 57 | + top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? 0 : (i-Math.floor(rows/2))*(height/rows)), | |
| 58 | + opacity: o.options.mode == 'show' ? 1 : 0 | |
| 59 | + }, o.duration || 500); | |
| 60 | + } | |
| 61 | + } | |
| 62 | + | |
| 63 | + // Set a timeout, to call the callback approx. when the other animations have finished | |
| 64 | + setTimeout(function() { | |
| 65 | + | |
| 66 | + o.options.mode == 'show' ? el.css({ visibility: 'visible' }) : el.css({ visibility: 'visible' }).hide(); | |
| 67 | + if(o.callback) o.callback.apply(el[0]); // Callback | |
| 68 | + el.dequeue(); | |
| 69 | + | |
| 70 | + $('div.ui-effects-explode').remove(); | |
| 71 | + | |
| 72 | + }, o.duration || 500); | |
| 73 | + | |
| 74 | + | |
| 75 | + }); | |
| 76 | + | |
| 77 | +}; | |
| 78 | + | |
| 79 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.fold.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Fold 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Fold | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.fold = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this), props = ['position','top','left']; | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode | |
| 24 | + var size = o.options.size || 15; // Default fold size | |
| 25 | + var horizFirst = !(!o.options.horizFirst); // Ensure a boolean value | |
| 26 | + var duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2; | |
| 27 | + | |
| 28 | + // Adjust | |
| 29 | + $.effects.save(el, props); el.show(); // Save & Show | |
| 30 | + var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper | |
| 31 | + var widthFirst = ((mode == 'show') != horizFirst); | |
| 32 | + var ref = widthFirst ? ['width', 'height'] : ['height', 'width']; | |
| 33 | + var distance = widthFirst ? [wrapper.width(), wrapper.height()] : [wrapper.height(), wrapper.width()]; | |
| 34 | + var percent = /([0-9]+)%/.exec(size); | |
| 35 | + if(percent) size = parseInt(percent[1],10) / 100 * distance[mode == 'hide' ? 0 : 1]; | |
| 36 | + if(mode == 'show') wrapper.css(horizFirst ? {height: 0, width: size} : {height: size, width: 0}); // Shift | |
| 37 | + | |
| 38 | + // Animation | |
| 39 | + var animation1 = {}, animation2 = {}; | |
| 40 | + animation1[ref[0]] = mode == 'show' ? distance[0] : size; | |
| 41 | + animation2[ref[1]] = mode == 'show' ? distance[1] : 0; | |
| 42 | + | |
| 43 | + // Animate | |
| 44 | + wrapper.animate(animation1, duration, o.options.easing) | |
| 45 | + .animate(animation2, duration, o.options.easing, function() { | |
| 46 | + if(mode == 'hide') el.hide(); // Hide | |
| 47 | + $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore | |
| 48 | + if(o.callback) o.callback.apply(el[0], arguments); // Callback | |
| 49 | + el.dequeue(); | |
| 50 | + }); | |
| 51 | + | |
| 52 | + }); | |
| 53 | + | |
| 54 | +}; | |
| 55 | + | |
| 56 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.highlight.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Highlight 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Highlight | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.highlight = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this), props = ['backgroundImage','backgroundColor','opacity']; | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode | |
| 24 | + var color = o.options.color || "#ffff99"; // Default highlight color | |
| 25 | + var oldColor = el.css("backgroundColor"); | |
| 26 | + | |
| 27 | + // Adjust | |
| 28 | + $.effects.save(el, props); el.show(); // Save & Show | |
| 29 | + el.css({backgroundImage: 'none', backgroundColor: color}); // Shift | |
| 30 | + | |
| 31 | + // Animation | |
| 32 | + var animation = {backgroundColor: oldColor }; | |
| 33 | + if (mode == "hide") animation['opacity'] = 0; | |
| 34 | + | |
| 35 | + // Animate | |
| 36 | + el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { | |
| 37 | + if(mode == "hide") el.hide(); | |
| 38 | + $.effects.restore(el, props); | |
| 39 | + if (mode == "show" && $.browser.msie) this.style.removeAttribute('filter'); | |
| 40 | + if(o.callback) o.callback.apply(this, arguments); | |
| 41 | + el.dequeue(); | |
| 42 | + }}); | |
| 43 | + | |
| 44 | + }); | |
| 45 | + | |
| 46 | +}; | |
| 47 | + | |
| 48 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.pulsate.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Pulsate 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Pulsate | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.pulsate = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this); | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode | |
| 24 | + var times = o.options.times || 5; // Default # of times | |
| 25 | + var duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2; | |
| 26 | + | |
| 27 | + // Adjust | |
| 28 | + if (mode == 'hide') times--; | |
| 29 | + if (el.is(':hidden')) { // Show fadeIn | |
| 30 | + el.css('opacity', 0); | |
| 31 | + el.show(); // Show | |
| 32 | + el.animate({opacity: 1}, duration, o.options.easing); | |
| 33 | + times = times-2; | |
| 34 | + } | |
| 35 | + | |
| 36 | + // Animate | |
| 37 | + for (var i = 0; i < times; i++) { // Pulsate | |
| 38 | + el.animate({opacity: 0}, duration, o.options.easing).animate({opacity: 1}, duration, o.options.easing); | |
| 39 | + }; | |
| 40 | + if (mode == 'hide') { // Last Pulse | |
| 41 | + el.animate({opacity: 0}, duration, o.options.easing, function(){ | |
| 42 | + el.hide(); // Hide | |
| 43 | + if(o.callback) o.callback.apply(this, arguments); // Callback | |
| 44 | + }); | |
| 45 | + } else { | |
| 46 | + el.animate({opacity: 0}, duration, o.options.easing).animate({opacity: 1}, duration, o.options.easing, function(){ | |
| 47 | + if(o.callback) o.callback.apply(this, arguments); // Callback | |
| 48 | + }); | |
| 49 | + }; | |
| 50 | + el.queue('fx', function() { el.dequeue(); }); | |
| 51 | + el.dequeue(); | |
| 52 | + }); | |
| 53 | + | |
| 54 | +}; | |
| 55 | + | |
| 56 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.scale.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Scale 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Scale | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.puff = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this); | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var options = $.extend(true, {}, o.options); | |
| 24 | + var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode | |
| 25 | + var percent = parseInt(o.options.percent,10) || 150; // Set default puff percent | |
| 26 | + options.fade = true; // It's not a puff if it doesn't fade! :) | |
| 27 | + var original = {height: el.height(), width: el.width()}; // Save original | |
| 28 | + | |
| 29 | + // Adjust | |
| 30 | + var factor = percent / 100; | |
| 31 | + el.from = (mode == 'hide') ? original : {height: original.height * factor, width: original.width * factor}; | |
| 32 | + | |
| 33 | + // Animation | |
| 34 | + options.from = el.from; | |
| 35 | + options.percent = (mode == 'hide') ? percent : 100; | |
| 36 | + options.mode = mode; | |
| 37 | + | |
| 38 | + // Animate | |
| 39 | + el.effect('scale', options, o.duration, o.callback); | |
| 40 | + el.dequeue(); | |
| 41 | + }); | |
| 42 | + | |
| 43 | +}; | |
| 44 | + | |
| 45 | +$.effects.scale = function(o) { | |
| 46 | + | |
| 47 | + return this.queue(function() { | |
| 48 | + | |
| 49 | + // Create element | |
| 50 | + var el = $(this); | |
| 51 | + | |
| 52 | + // Set options | |
| 53 | + var options = $.extend(true, {}, o.options); | |
| 54 | + var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode | |
| 55 | + var percent = parseInt(o.options.percent,10) || (parseInt(o.options.percent,10) == 0 ? 0 : (mode == 'hide' ? 0 : 100)); // Set default scaling percent | |
| 56 | + var direction = o.options.direction || 'both'; // Set default axis | |
| 57 | + var origin = o.options.origin; // The origin of the scaling | |
| 58 | + if (mode != 'effect') { // Set default origin and restore for show/hide | |
| 59 | + options.origin = origin || ['middle','center']; | |
| 60 | + options.restore = true; | |
| 61 | + } | |
| 62 | + var original = {height: el.height(), width: el.width()}; // Save original | |
| 63 | + el.from = o.options.from || (mode == 'show' ? {height: 0, width: 0} : original); // Default from state | |
| 64 | + | |
| 65 | + // Adjust | |
| 66 | + var factor = { // Set scaling factor | |
| 67 | + y: direction != 'horizontal' ? (percent / 100) : 1, | |
| 68 | + x: direction != 'vertical' ? (percent / 100) : 1 | |
| 69 | + }; | |
| 70 | + el.to = {height: original.height * factor.y, width: original.width * factor.x}; // Set to state | |
| 71 | + | |
| 72 | + if (o.options.fade) { // Fade option to support puff | |
| 73 | + if (mode == 'show') {el.from.opacity = 0; el.to.opacity = 1;}; | |
| 74 | + if (mode == 'hide') {el.from.opacity = 1; el.to.opacity = 0;}; | |
| 75 | + }; | |
| 76 | + | |
| 77 | + // Animation | |
| 78 | + options.from = el.from; options.to = el.to; options.mode = mode; | |
| 79 | + | |
| 80 | + // Animate | |
| 81 | + el.effect('size', options, o.duration, o.callback); | |
| 82 | + el.dequeue(); | |
| 83 | + }); | |
| 84 | + | |
| 85 | +}; | |
| 86 | + | |
| 87 | +$.effects.size = function(o) { | |
| 88 | + | |
| 89 | + return this.queue(function() { | |
| 90 | + | |
| 91 | + // Create element | |
| 92 | + var el = $(this), props = ['position','top','left','width','height','overflow','opacity']; | |
| 93 | + var props1 = ['position','top','left','overflow','opacity']; // Always restore | |
| 94 | + var props2 = ['width','height','overflow']; // Copy for children | |
| 95 | + var cProps = ['fontSize']; | |
| 96 | + var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom']; | |
| 97 | + var hProps = ['borderLeftWidth', 'borderRightWidth', 'paddingLeft', 'paddingRight']; | |
| 98 | + | |
| 99 | + // Set options | |
| 100 | + var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode | |
| 101 | + var restore = o.options.restore || false; // Default restore | |
| 102 | + var scale = o.options.scale || 'both'; // Default scale mode | |
| 103 | + var origin = o.options.origin; // The origin of the sizing | |
| 104 | + var original = {height: el.height(), width: el.width()}; // Save original | |
| 105 | + el.from = o.options.from || original; // Default from state | |
| 106 | + el.to = o.options.to || original; // Default to state | |
| 107 | + // Adjust | |
| 108 | + if (origin) { // Calculate baseline shifts | |
| 109 | + var baseline = $.effects.getBaseline(origin, original); | |
| 110 | + el.from.top = (original.height - el.from.height) * baseline.y; | |
| 111 | + el.from.left = (original.width - el.from.width) * baseline.x; | |
| 112 | + el.to.top = (original.height - el.to.height) * baseline.y; | |
| 113 | + el.to.left = (original.width - el.to.width) * baseline.x; | |
| 114 | + }; | |
| 115 | + var factor = { // Set scaling factor | |
| 116 | + from: {y: el.from.height / original.height, x: el.from.width / original.width}, | |
| 117 | + to: {y: el.to.height / original.height, x: el.to.width / original.width} | |
| 118 | + }; | |
| 119 | + if (scale == 'box' || scale == 'both') { // Scale the css box | |
| 120 | + if (factor.from.y != factor.to.y) { // Vertical props scaling | |
| 121 | + props = props.concat(vProps); | |
| 122 | + el.from = $.effects.setTransition(el, vProps, factor.from.y, el.from); | |
| 123 | + el.to = $.effects.setTransition(el, vProps, factor.to.y, el.to); | |
| 124 | + }; | |
| 125 | + if (factor.from.x != factor.to.x) { // Horizontal props scaling | |
| 126 | + props = props.concat(hProps); | |
| 127 | + el.from = $.effects.setTransition(el, hProps, factor.from.x, el.from); | |
| 128 | + el.to = $.effects.setTransition(el, hProps, factor.to.x, el.to); | |
| 129 | + }; | |
| 130 | + }; | |
| 131 | + if (scale == 'content' || scale == 'both') { // Scale the content | |
| 132 | + if (factor.from.y != factor.to.y) { // Vertical props scaling | |
| 133 | + props = props.concat(cProps); | |
| 134 | + el.from = $.effects.setTransition(el, cProps, factor.from.y, el.from); | |
| 135 | + el.to = $.effects.setTransition(el, cProps, factor.to.y, el.to); | |
| 136 | + }; | |
| 137 | + }; | |
| 138 | + $.effects.save(el, restore ? props : props1); el.show(); // Save & Show | |
| 139 | + $.effects.createWrapper(el); // Create Wrapper | |
| 140 | + el.css('overflow','hidden').css(el.from); // Shift | |
| 141 | + | |
| 142 | + // Animate | |
| 143 | + if (scale == 'content' || scale == 'both') { // Scale the children | |
| 144 | + vProps = vProps.concat(['marginTop','marginBottom']).concat(cProps); // Add margins/font-size | |
| 145 | + hProps = hProps.concat(['marginLeft','marginRight']); // Add margins | |
| 146 | + props2 = props.concat(vProps).concat(hProps); // Concat | |
| 147 | + el.find("*[width]").each(function(){ | |
| 148 | + child = $(this); | |
| 149 | + if (restore) $.effects.save(child, props2); | |
| 150 | + var c_original = {height: child.height(), width: child.width()}; // Save original | |
| 151 | + child.from = {height: c_original.height * factor.from.y, width: c_original.width * factor.from.x}; | |
| 152 | + child.to = {height: c_original.height * factor.to.y, width: c_original.width * factor.to.x}; | |
| 153 | + if (factor.from.y != factor.to.y) { // Vertical props scaling | |
| 154 | + child.from = $.effects.setTransition(child, vProps, factor.from.y, child.from); | |
| 155 | + child.to = $.effects.setTransition(child, vProps, factor.to.y, child.to); | |
| 156 | + }; | |
| 157 | + if (factor.from.x != factor.to.x) { // Horizontal props scaling | |
| 158 | + child.from = $.effects.setTransition(child, hProps, factor.from.x, child.from); | |
| 159 | + child.to = $.effects.setTransition(child, hProps, factor.to.x, child.to); | |
| 160 | + }; | |
| 161 | + child.css(child.from); // Shift children | |
| 162 | + child.animate(child.to, o.duration, o.options.easing, function(){ | |
| 163 | + if (restore) $.effects.restore(child, props2); // Restore children | |
| 164 | + }); // Animate children | |
| 165 | + }); | |
| 166 | + }; | |
| 167 | + | |
| 168 | + // Animate | |
| 169 | + el.animate(el.to, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { | |
| 170 | + if(mode == 'hide') el.hide(); // Hide | |
| 171 | + $.effects.restore(el, restore ? props : props1); $.effects.removeWrapper(el); // Restore | |
| 172 | + if(o.callback) o.callback.apply(this, arguments); // Callback | |
| 173 | + el.dequeue(); | |
| 174 | + }}); | |
| 175 | + | |
| 176 | + }); | |
| 177 | + | |
| 178 | +}; | |
| 179 | + | |
| 180 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.shake.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Shake 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Shake | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.shake = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this), props = ['position','top','left']; | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode | |
| 24 | + var direction = o.options.direction || 'left'; // Default direction | |
| 25 | + var distance = o.options.distance || 20; // Default distance | |
| 26 | + var times = o.options.times || 3; // Default # of times | |
| 27 | + var speed = o.duration || o.options.duration || 140; // Default speed per shake | |
| 28 | + | |
| 29 | + // Adjust | |
| 30 | + $.effects.save(el, props); el.show(); // Save & Show | |
| 31 | + $.effects.createWrapper(el); // Create Wrapper | |
| 32 | + var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; | |
| 33 | + var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; | |
| 34 | + | |
| 35 | + // Animation | |
| 36 | + var animation = {}, animation1 = {}, animation2 = {}; | |
| 37 | + animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance; | |
| 38 | + animation1[ref] = (motion == 'pos' ? '+=' : '-=') + distance * 2; | |
| 39 | + animation2[ref] = (motion == 'pos' ? '-=' : '+=') + distance * 2; | |
| 40 | + | |
| 41 | + // Animate | |
| 42 | + el.animate(animation, speed, o.options.easing); | |
| 43 | + for (var i = 1; i < times; i++) { // Shakes | |
| 44 | + el.animate(animation1, speed, o.options.easing).animate(animation2, speed, o.options.easing); | |
| 45 | + }; | |
| 46 | + el.animate(animation1, speed, o.options.easing). | |
| 47 | + animate(animation, speed / 2, o.options.easing, function(){ // Last shake | |
| 48 | + $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore | |
| 49 | + if(o.callback) o.callback.apply(this, arguments); // Callback | |
| 50 | + }); | |
| 51 | + el.queue('fx', function() { el.dequeue(); }); | |
| 52 | + el.dequeue(); | |
| 53 | + }); | |
| 54 | + | |
| 55 | +}; | |
| 56 | + | |
| 57 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.slide.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Slide 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Slide | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.slide = function(o) { | |
| 16 | + | |
| 17 | + return this.queue(function() { | |
| 18 | + | |
| 19 | + // Create element | |
| 20 | + var el = $(this), props = ['position','top','left']; | |
| 21 | + | |
| 22 | + // Set options | |
| 23 | + var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode | |
| 24 | + var direction = o.options.direction || 'left'; // Default Direction | |
| 25 | + | |
| 26 | + // Adjust | |
| 27 | + $.effects.save(el, props); el.show(); // Save & Show | |
| 28 | + $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper | |
| 29 | + var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; | |
| 30 | + var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; | |
| 31 | + var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) : el.outerWidth({margin:true})); | |
| 32 | + if (mode == 'show') el.css(ref, motion == 'pos' ? -distance : distance); // Shift | |
| 33 | + | |
| 34 | + // Animation | |
| 35 | + var animation = {}; | |
| 36 | + animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance; | |
| 37 | + | |
| 38 | + // Animate | |
| 39 | + el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { | |
| 40 | + if(mode == 'hide') el.hide(); // Hide | |
| 41 | + $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore | |
| 42 | + if(o.callback) o.callback.apply(this, arguments); // Callback | |
| 43 | + el.dequeue(); | |
| 44 | + }}); | |
| 45 | + | |
| 46 | + }); | |
| 47 | + | |
| 48 | +}; | |
| 49 | + | |
| 50 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/effects.transfer.js
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Effects Transfer 1.7.2 | |
| 3 | + * | |
| 4 | + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) | |
| 5 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 6 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 7 | + * | |
| 8 | + * http://docs.jquery.com/UI/Effects/Transfer | |
| 9 | + * | |
| 10 | + * Depends: | |
| 11 | + * effects.core.js | |
| 12 | + */ | |
| 13 | +(function($) { | |
| 14 | + | |
| 15 | +$.effects.transfer = function(o) { | |
| 16 | + return this.queue(function() { | |
| 17 | + var elem = $(this), | |
| 18 | + target = $(o.options.to), | |
| 19 | + endPosition = target.offset(), | |
| 20 | + animation = { | |
| 21 | + top: endPosition.top, | |
| 22 | + left: endPosition.left, | |
| 23 | + height: target.innerHeight(), | |
| 24 | + width: target.innerWidth() | |
| 25 | + }, | |
| 26 | + startPosition = elem.offset(), | |
| 27 | + transfer = $('<div class="ui-effects-transfer"></div>') | |
| 28 | + .appendTo(document.body) | |
| 29 | + .addClass(o.options.className) | |
| 30 | + .css({ | |
| 31 | + top: startPosition.top, | |
| 32 | + left: startPosition.left, | |
| 33 | + height: elem.innerHeight(), | |
| 34 | + width: elem.innerWidth(), | |
| 35 | + position: 'absolute' | |
| 36 | + }) | |
| 37 | + .animate(animation, o.duration, o.options.easing, function() { | |
| 38 | + transfer.remove(); | |
| 39 | + (o.callback && o.callback.apply(elem[0], arguments)); | |
| 40 | + elem.dequeue(); | |
| 41 | + }); | |
| 42 | + }); | |
| 43 | +}; | |
| 44 | + | |
| 45 | +})(jQuery); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/jquery-ui-i18n.js
0 → 100644
| 1 | +/* Arabic Translation for jQuery UI date picker plugin. */ | |
| 2 | +/* Khaled Al Horani -- koko.dw@gmail.com */ | |
| 3 | +/* خالد الحوراني -- koko.dw@gmail.com */ | |
| 4 | +/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ | |
| 5 | +jQuery(function($){ | |
| 6 | + $.datepicker.regional['ar'] = { | |
| 7 | + closeText: 'إغلاق', | |
| 8 | + prevText: '<السابق', | |
| 9 | + nextText: 'التالي>', | |
| 10 | + currentText: 'اليوم', | |
| 11 | + monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران', | |
| 12 | + 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], | |
| 13 | + monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], | |
| 14 | + dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'], | |
| 15 | + dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], | |
| 16 | + dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], | |
| 17 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 18 | + isRTL: true}; | |
| 19 | + $.datepicker.setDefaults($.datepicker.regional['ar']); | |
| 20 | +});/* Bulgarian initialisation for the jQuery UI date picker plugin. */ | |
| 21 | +/* Written by Stoyan Kyosev (http://svest.org). */ | |
| 22 | +jQuery(function($){ | |
| 23 | + $.datepicker.regional['bg'] = { | |
| 24 | + closeText: 'затвори', | |
| 25 | + prevText: '<назад', | |
| 26 | + nextText: 'напред>', | |
| 27 | + nextBigText: '>>', | |
| 28 | + currentText: 'днес', | |
| 29 | + monthNames: ['Януари','Февруари','Март','Април','Май','Юни', | |
| 30 | + 'Юли','Август','Септември','Октомври','Ноември','Декември'], | |
| 31 | + monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', | |
| 32 | + 'Юли','Авг','Сеп','Окт','Нов','Дек'], | |
| 33 | + dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], | |
| 34 | + dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], | |
| 35 | + dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], | |
| 36 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 37 | + isRTL: false}; | |
| 38 | + $.datepicker.setDefaults($.datepicker.regional['bg']); | |
| 39 | +}); | |
| 40 | +/* Inicialitzaci� en catal� per a l'extenci� 'calendar' per jQuery. */ | |
| 41 | +/* Writers: (joan.leon@gmail.com). */ | |
| 42 | +jQuery(function($){ | |
| 43 | + $.datepicker.regional['ca'] = { | |
| 44 | + closeText: 'Tancar', | |
| 45 | + prevText: '<Ant', | |
| 46 | + nextText: 'Seg>', | |
| 47 | + currentText: 'Avui', | |
| 48 | + monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny', | |
| 49 | + 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'], | |
| 50 | + monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun', | |
| 51 | + 'Jul','Ago','Set','Oct','Nov','Des'], | |
| 52 | + dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], | |
| 53 | + dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], | |
| 54 | + dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], | |
| 55 | + dateFormat: 'mm/dd/yy', firstDay: 0, | |
| 56 | + isRTL: false}; | |
| 57 | + $.datepicker.setDefaults($.datepicker.regional['ca']); | |
| 58 | +});/* Czech initialisation for the jQuery UI date picker plugin. */ | |
| 59 | +/* Written by Tomas Muller (tomas@tomas-muller.net). */ | |
| 60 | +jQuery(function($){ | |
| 61 | + $.datepicker.regional['cs'] = { | |
| 62 | + closeText: 'Zavřít', | |
| 63 | + prevText: '<Dříve', | |
| 64 | + nextText: 'Později>', | |
| 65 | + currentText: 'Nyní', | |
| 66 | + monthNames: ['leden','únor','březen','duben','květen','červen', | |
| 67 | + 'červenec','srpen','září','říjen','listopad','prosinec'], | |
| 68 | + monthNamesShort: ['led','úno','bře','dub','kvě','čer', | |
| 69 | + 'čvc','srp','zář','říj','lis','pro'], | |
| 70 | + dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], | |
| 71 | + dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], | |
| 72 | + dayNamesMin: ['ne','po','út','st','čt','pá','so'], | |
| 73 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 74 | + isRTL: false}; | |
| 75 | + $.datepicker.setDefaults($.datepicker.regional['cs']); | |
| 76 | +}); | |
| 77 | +/* Danish initialisation for the jQuery UI date picker plugin. */ | |
| 78 | +/* Written by Jan Christensen ( deletestuff@gmail.com). */ | |
| 79 | +jQuery(function($){ | |
| 80 | + $.datepicker.regional['da'] = { | |
| 81 | + closeText: 'Luk', | |
| 82 | + prevText: '<Forrige', | |
| 83 | + nextText: 'Næste>', | |
| 84 | + currentText: 'Idag', | |
| 85 | + monthNames: ['Januar','Februar','Marts','April','Maj','Juni', | |
| 86 | + 'Juli','August','September','Oktober','November','December'], | |
| 87 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', | |
| 88 | + 'Jul','Aug','Sep','Okt','Nov','Dec'], | |
| 89 | + dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], | |
| 90 | + dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], | |
| 91 | + dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], | |
| 92 | + dateFormat: 'dd-mm-yy', firstDay: 0, | |
| 93 | + isRTL: false}; | |
| 94 | + $.datepicker.setDefaults($.datepicker.regional['da']); | |
| 95 | +}); | |
| 96 | +/* German initialisation for the jQuery UI date picker plugin. */ | |
| 97 | +/* Written by Milian Wolff (mail@milianw.de). */ | |
| 98 | +jQuery(function($){ | |
| 99 | + $.datepicker.regional['de'] = { | |
| 100 | + closeText: 'schließen', | |
| 101 | + prevText: '<zurück', | |
| 102 | + nextText: 'Vor>', | |
| 103 | + currentText: 'heute', | |
| 104 | + monthNames: ['Januar','Februar','März','April','Mai','Juni', | |
| 105 | + 'Juli','August','September','Oktober','November','Dezember'], | |
| 106 | + monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', | |
| 107 | + 'Jul','Aug','Sep','Okt','Nov','Dez'], | |
| 108 | + dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], | |
| 109 | + dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], | |
| 110 | + dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], | |
| 111 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 112 | + isRTL: false}; | |
| 113 | + $.datepicker.setDefaults($.datepicker.regional['de']); | |
| 114 | +}); | |
| 115 | +/* Greek (el) initialisation for the jQuery UI date picker plugin. */ | |
| 116 | +/* Written by Alex Cicovic (http://www.alexcicovic.com) */ | |
| 117 | +jQuery(function($){ | |
| 118 | + $.datepicker.regional['el'] = { | |
| 119 | + closeText: 'Κλείσιμο', | |
| 120 | + prevText: 'Προηγούμενος', | |
| 121 | + nextText: 'Επόμενος', | |
| 122 | + currentText: 'Τρέχων Μήνας', | |
| 123 | + monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος', | |
| 124 | + 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], | |
| 125 | + monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', | |
| 126 | + 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], | |
| 127 | + dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], | |
| 128 | + dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], | |
| 129 | + dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], | |
| 130 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 131 | + isRTL: false}; | |
| 132 | + $.datepicker.setDefaults($.datepicker.regional['el']); | |
| 133 | +});/* Esperanto initialisation for the jQuery UI date picker plugin. */ | |
| 134 | +/* Written by Olivier M. (olivierweb@ifrance.com). */ | |
| 135 | +jQuery(function($){ | |
| 136 | + $.datepicker.regional['eo'] = { | |
| 137 | + closeText: 'Fermi', | |
| 138 | + prevText: '<Anta', | |
| 139 | + nextText: 'Sekv>', | |
| 140 | + currentText: 'Nuna', | |
| 141 | + monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio', | |
| 142 | + 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'], | |
| 143 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', | |
| 144 | + 'Jul','Aŭg','Sep','Okt','Nov','Dec'], | |
| 145 | + dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], | |
| 146 | + dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], | |
| 147 | + dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], | |
| 148 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 149 | + isRTL: false}; | |
| 150 | + $.datepicker.setDefaults($.datepicker.regional['eo']); | |
| 151 | +}); | |
| 152 | +/* Inicializaci�n en espa�ol para la extensi�n 'UI date picker' para jQuery. */ | |
| 153 | +/* Traducido por Vester (xvester@gmail.com). */ | |
| 154 | +jQuery(function($){ | |
| 155 | + $.datepicker.regional['es'] = { | |
| 156 | + closeText: 'Cerrar', | |
| 157 | + prevText: '<Ant', | |
| 158 | + nextText: 'Sig>', | |
| 159 | + currentText: 'Hoy', | |
| 160 | + monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', | |
| 161 | + 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'], | |
| 162 | + monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', | |
| 163 | + 'Jul','Ago','Sep','Oct','Nov','Dic'], | |
| 164 | + dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], | |
| 165 | + dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], | |
| 166 | + dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], | |
| 167 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 168 | + isRTL: false}; | |
| 169 | + $.datepicker.setDefaults($.datepicker.regional['es']); | |
| 170 | +});/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ | |
| 171 | +/* Javad Mowlanezhad -- jmowla@gmail.com */ | |
| 172 | +/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ | |
| 173 | +jQuery(function($) { | |
| 174 | + $.datepicker.regional['fa'] = { | |
| 175 | + closeText: 'بستن', | |
| 176 | + prevText: '<قبلي', | |
| 177 | + nextText: 'بعدي>', | |
| 178 | + currentText: 'امروز', | |
| 179 | + monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور', | |
| 180 | + 'مهر','آبان','آذر','دي','بهمن','اسفند'], | |
| 181 | + monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], | |
| 182 | + dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], | |
| 183 | + dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'], | |
| 184 | + dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'], | |
| 185 | + dateFormat: 'yy/mm/dd', firstDay: 6, | |
| 186 | + isRTL: true}; | |
| 187 | + $.datepicker.setDefaults($.datepicker.regional['fa']); | |
| 188 | +});/* Finnish initialisation for the jQuery UI date picker plugin. */ | |
| 189 | +/* Written by Harri Kilpi� (harrikilpio@gmail.com). */ | |
| 190 | +jQuery(function($){ | |
| 191 | + $.datepicker.regional['fi'] = { | |
| 192 | + closeText: 'Sulje', | |
| 193 | + prevText: '«Edellinen', | |
| 194 | + nextText: 'Seuraava»', | |
| 195 | + currentText: 'Tänään', | |
| 196 | + monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', | |
| 197 | + 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], | |
| 198 | + monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', | |
| 199 | + 'Heinä','Elo','Syys','Loka','Marras','Joulu'], | |
| 200 | + dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], | |
| 201 | + dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], | |
| 202 | + dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], | |
| 203 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 204 | + isRTL: false}; | |
| 205 | + $.datepicker.setDefaults($.datepicker.regional['fi']); | |
| 206 | +}); | |
| 207 | +/* French initialisation for the jQuery UI date picker plugin. */ | |
| 208 | +/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ | |
| 209 | +jQuery(function($){ | |
| 210 | + $.datepicker.regional['fr'] = { | |
| 211 | + closeText: 'Fermer', | |
| 212 | + prevText: '<Préc', | |
| 213 | + nextText: 'Suiv>', | |
| 214 | + currentText: 'Courant', | |
| 215 | + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', | |
| 216 | + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], | |
| 217 | + monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', | |
| 218 | + 'Jul','Aoû','Sep','Oct','Nov','Déc'], | |
| 219 | + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], | |
| 220 | + dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], | |
| 221 | + dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], | |
| 222 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 223 | + isRTL: false}; | |
| 224 | + $.datepicker.setDefaults($.datepicker.regional['fr']); | |
| 225 | +});/* Hebrew initialisation for the UI Datepicker extension. */ | |
| 226 | +/* Written by Amir Hardon (ahardon at gmail dot com). */ | |
| 227 | +jQuery(function($){ | |
| 228 | + $.datepicker.regional['he'] = { | |
| 229 | + closeText: 'סגור', | |
| 230 | + prevText: '<הקודם', | |
| 231 | + nextText: 'הבא>', | |
| 232 | + currentText: 'היום', | |
| 233 | + monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', | |
| 234 | + 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], | |
| 235 | + monthNamesShort: ['1','2','3','4','5','6', | |
| 236 | + '7','8','9','10','11','12'], | |
| 237 | + dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], | |
| 238 | + dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], | |
| 239 | + dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], | |
| 240 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 241 | + isRTL: true}; | |
| 242 | + $.datepicker.setDefaults($.datepicker.regional['he']); | |
| 243 | +}); | |
| 244 | +/* Croatian i18n for the jQuery UI date picker plugin. */ | |
| 245 | +/* Written by Vjekoslav Nesek. */ | |
| 246 | +jQuery(function($){ | |
| 247 | + $.datepicker.regional['hr'] = { | |
| 248 | + closeText: 'Zatvori', | |
| 249 | + prevText: '<', | |
| 250 | + nextText: '>', | |
| 251 | + currentText: 'Danas', | |
| 252 | + monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani', | |
| 253 | + 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'], | |
| 254 | + monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip', | |
| 255 | + 'Srp','Kol','Ruj','Lis','Stu','Pro'], | |
| 256 | + dayNames: ['Nedjalja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], | |
| 257 | + dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], | |
| 258 | + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], | |
| 259 | + dateFormat: 'dd.mm.yy.', firstDay: 1, | |
| 260 | + isRTL: false}; | |
| 261 | + $.datepicker.setDefaults($.datepicker.regional['hr']); | |
| 262 | +});/* Hungarian initialisation for the jQuery UI date picker plugin. */ | |
| 263 | +/* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */ | |
| 264 | +jQuery(function($){ | |
| 265 | + $.datepicker.regional['hu'] = { | |
| 266 | + closeText: 'bezárás', | |
| 267 | + prevText: '« vissza', | |
| 268 | + nextText: 'előre »', | |
| 269 | + currentText: 'ma', | |
| 270 | + monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', | |
| 271 | + 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'], | |
| 272 | + monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', | |
| 273 | + 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'], | |
| 274 | + dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], | |
| 275 | + dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], | |
| 276 | + dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], | |
| 277 | + dateFormat: 'yy-mm-dd', firstDay: 1, | |
| 278 | + isRTL: false}; | |
| 279 | + $.datepicker.setDefaults($.datepicker.regional['hu']); | |
| 280 | +}); | |
| 281 | +/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 282 | +/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ | |
| 283 | +jQuery(function($){ | |
| 284 | + $.datepicker.regional['hy'] = { | |
| 285 | + closeText: 'Փակել', | |
| 286 | + prevText: '<Նախ.', | |
| 287 | + nextText: 'Հաջ.>', | |
| 288 | + currentText: 'Այսօր', | |
| 289 | + monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս', | |
| 290 | + 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'], | |
| 291 | + monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս', | |
| 292 | + 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'], | |
| 293 | + dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], | |
| 294 | + dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], | |
| 295 | + dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], | |
| 296 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 297 | + isRTL: false}; | |
| 298 | + $.datepicker.setDefaults($.datepicker.regional['hy']); | |
| 299 | +});/* Indonesian initialisation for the jQuery UI date picker plugin. */ | |
| 300 | +/* Written by Deden Fathurahman (dedenf@gmail.com). */ | |
| 301 | +jQuery(function($){ | |
| 302 | + $.datepicker.regional['id'] = { | |
| 303 | + closeText: 'Tutup', | |
| 304 | + prevText: '<mundur', | |
| 305 | + nextText: 'maju>', | |
| 306 | + currentText: 'hari ini', | |
| 307 | + monthNames: ['Januari','Februari','Maret','April','Mei','Juni', | |
| 308 | + 'Juli','Agustus','September','Oktober','Nopember','Desember'], | |
| 309 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', | |
| 310 | + 'Jul','Agus','Sep','Okt','Nop','Des'], | |
| 311 | + dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], | |
| 312 | + dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], | |
| 313 | + dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], | |
| 314 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 315 | + isRTL: false}; | |
| 316 | + $.datepicker.setDefaults($.datepicker.regional['id']); | |
| 317 | +});/* Icelandic initialisation for the jQuery UI date picker plugin. */ | |
| 318 | +/* Written by Haukur H. Thorsson (haukur@eskill.is). */ | |
| 319 | +jQuery(function($){ | |
| 320 | + $.datepicker.regional['is'] = { | |
| 321 | + closeText: 'Loka', | |
| 322 | + prevText: '< Fyrri', | |
| 323 | + nextText: 'Næsti >', | |
| 324 | + currentText: 'Í dag', | |
| 325 | + monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní', | |
| 326 | + 'Júlí','Ágúst','September','Október','Nóvember','Desember'], | |
| 327 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún', | |
| 328 | + 'Júl','Ágú','Sep','Okt','Nóv','Des'], | |
| 329 | + dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], | |
| 330 | + dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], | |
| 331 | + dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], | |
| 332 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 333 | + isRTL: false}; | |
| 334 | + $.datepicker.setDefaults($.datepicker.regional['is']); | |
| 335 | +});/* Italian initialisation for the jQuery UI date picker plugin. */ | |
| 336 | +/* Written by Apaella (apaella@gmail.com). */ | |
| 337 | +jQuery(function($){ | |
| 338 | + $.datepicker.regional['it'] = { | |
| 339 | + closeText: 'Chiudi', | |
| 340 | + prevText: '<Prec', | |
| 341 | + nextText: 'Succ>', | |
| 342 | + currentText: 'Oggi', | |
| 343 | + monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', | |
| 344 | + 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], | |
| 345 | + monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu', | |
| 346 | + 'Lug','Ago','Set','Ott','Nov','Dic'], | |
| 347 | + dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], | |
| 348 | + dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], | |
| 349 | + dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], | |
| 350 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 351 | + isRTL: false}; | |
| 352 | + $.datepicker.setDefaults($.datepicker.regional['it']); | |
| 353 | +}); | |
| 354 | +/* Japanese initialisation for the jQuery UI date picker plugin. */ | |
| 355 | +/* Written by Kentaro SATO (kentaro@ranvis.com). */ | |
| 356 | +jQuery(function($){ | |
| 357 | + $.datepicker.regional['ja'] = { | |
| 358 | + closeText: '閉じる', | |
| 359 | + prevText: '<前', | |
| 360 | + nextText: '次>', | |
| 361 | + currentText: '今日', | |
| 362 | + monthNames: ['1月','2月','3月','4月','5月','6月', | |
| 363 | + '7月','8月','9月','10月','11月','12月'], | |
| 364 | + monthNamesShort: ['1月','2月','3月','4月','5月','6月', | |
| 365 | + '7月','8月','9月','10月','11月','12月'], | |
| 366 | + dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], | |
| 367 | + dayNamesShort: ['日','月','火','水','木','金','土'], | |
| 368 | + dayNamesMin: ['日','月','火','水','木','金','土'], | |
| 369 | + dateFormat: 'yy/mm/dd', firstDay: 0, | |
| 370 | + isRTL: false, | |
| 371 | + showMonthAfterYear: true}; | |
| 372 | + $.datepicker.setDefaults($.datepicker.regional['ja']); | |
| 373 | +});/* Korean initialisation for the jQuery calendar extension. */ | |
| 374 | +/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */ | |
| 375 | +jQuery(function($){ | |
| 376 | + $.datepicker.regional['ko'] = { | |
| 377 | + closeText: '닫기', | |
| 378 | + prevText: '이전달', | |
| 379 | + nextText: '다음달', | |
| 380 | + currentText: '오늘', | |
| 381 | + monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', | |
| 382 | + '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], | |
| 383 | + monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', | |
| 384 | + '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], | |
| 385 | + dayNames: ['일','월','화','수','목','금','토'], | |
| 386 | + dayNamesShort: ['일','월','화','수','목','금','토'], | |
| 387 | + dayNamesMin: ['일','월','화','수','목','금','토'], | |
| 388 | + dateFormat: 'yy-mm-dd', firstDay: 0, | |
| 389 | + isRTL: false}; | |
| 390 | + $.datepicker.setDefaults($.datepicker.regional['ko']); | |
| 391 | +});/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 392 | +/* @author Arturas Paleicikas <arturas@avalon.lt> */ | |
| 393 | +jQuery(function($){ | |
| 394 | + $.datepicker.regional['lt'] = { | |
| 395 | + closeText: 'Uždaryti', | |
| 396 | + prevText: '<Atgal', | |
| 397 | + nextText: 'Pirmyn>', | |
| 398 | + currentText: 'Šiandien', | |
| 399 | + monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', | |
| 400 | + 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], | |
| 401 | + monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir', | |
| 402 | + 'Lie','Rugp','Rugs','Spa','Lap','Gru'], | |
| 403 | + dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], | |
| 404 | + dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], | |
| 405 | + dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], | |
| 406 | + dateFormat: 'yy-mm-dd', firstDay: 1, | |
| 407 | + isRTL: false}; | |
| 408 | + $.datepicker.setDefaults($.datepicker.regional['lt']); | |
| 409 | +});/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 410 | +/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ | |
| 411 | +jQuery(function($){ | |
| 412 | + $.datepicker.regional['lv'] = { | |
| 413 | + closeText: 'Aizvērt', | |
| 414 | + prevText: 'Iepr', | |
| 415 | + nextText: 'Nāka', | |
| 416 | + currentText: 'Šodien', | |
| 417 | + monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', | |
| 418 | + 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], | |
| 419 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', | |
| 420 | + 'Jūl','Aug','Sep','Okt','Nov','Dec'], | |
| 421 | + dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], | |
| 422 | + dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], | |
| 423 | + dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], | |
| 424 | + dateFormat: 'dd-mm-yy', firstDay: 1, | |
| 425 | + isRTL: false}; | |
| 426 | + $.datepicker.setDefaults($.datepicker.regional['lv']); | |
| 427 | +});/* Malaysian initialisation for the jQuery UI date picker plugin. */ | |
| 428 | +/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ | |
| 429 | +jQuery(function($){ | |
| 430 | + $.datepicker.regional['ms'] = { | |
| 431 | + closeText: 'Tutup', | |
| 432 | + prevText: '<Sebelum', | |
| 433 | + nextText: 'Selepas>', | |
| 434 | + currentText: 'hari ini', | |
| 435 | + monthNames: ['Januari','Februari','Mac','April','Mei','Jun', | |
| 436 | + 'Julai','Ogos','September','Oktober','November','Disember'], | |
| 437 | + monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', | |
| 438 | + 'Jul','Ogo','Sep','Okt','Nov','Dis'], | |
| 439 | + dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], | |
| 440 | + dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], | |
| 441 | + dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], | |
| 442 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 443 | + isRTL: false}; | |
| 444 | + $.datepicker.setDefaults($.datepicker.regional['ms']); | |
| 445 | +});/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 446 | +/* Written by Mathias Bynens <http://mathiasbynens.be/> */ | |
| 447 | +jQuery(function($){ | |
| 448 | + $.datepicker.regional.nl = { | |
| 449 | + closeText: 'Sluiten', | |
| 450 | + prevText: '←', | |
| 451 | + nextText: '→', | |
| 452 | + currentText: 'Vandaag', | |
| 453 | + monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', | |
| 454 | + 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], | |
| 455 | + monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun', | |
| 456 | + 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], | |
| 457 | + dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], | |
| 458 | + dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], | |
| 459 | + dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], | |
| 460 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 461 | + isRTL: false}; | |
| 462 | + $.datepicker.setDefaults($.datepicker.regional.nl); | |
| 463 | +});/* Norwegian initialisation for the jQuery UI date picker plugin. */ | |
| 464 | +/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ | |
| 465 | +jQuery(function($){ | |
| 466 | + $.datepicker.regional['no'] = { | |
| 467 | + closeText: 'Lukk', | |
| 468 | + prevText: '«Forrige', | |
| 469 | + nextText: 'Neste»', | |
| 470 | + currentText: 'I dag', | |
| 471 | + monthNames: ['Januar','Februar','Mars','April','Mai','Juni', | |
| 472 | + 'Juli','August','September','Oktober','November','Desember'], | |
| 473 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun', | |
| 474 | + 'Jul','Aug','Sep','Okt','Nov','Des'], | |
| 475 | + dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], | |
| 476 | + dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], | |
| 477 | + dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], | |
| 478 | + dateFormat: 'yy-mm-dd', firstDay: 0, | |
| 479 | + isRTL: false}; | |
| 480 | + $.datepicker.setDefaults($.datepicker.regional['no']); | |
| 481 | +}); | |
| 482 | +/* Polish initialisation for the jQuery UI date picker plugin. */ | |
| 483 | +/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ | |
| 484 | +jQuery(function($){ | |
| 485 | + $.datepicker.regional['pl'] = { | |
| 486 | + closeText: 'Zamknij', | |
| 487 | + prevText: '<Poprzedni', | |
| 488 | + nextText: 'Następny>', | |
| 489 | + currentText: 'Dziś', | |
| 490 | + monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec', | |
| 491 | + 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'], | |
| 492 | + monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze', | |
| 493 | + 'Lip','Sie','Wrz','Pa','Lis','Gru'], | |
| 494 | + dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'], | |
| 495 | + dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], | |
| 496 | + dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], | |
| 497 | + dateFormat: 'yy-mm-dd', firstDay: 1, | |
| 498 | + isRTL: false}; | |
| 499 | + $.datepicker.setDefaults($.datepicker.regional['pl']); | |
| 500 | +}); | |
| 501 | +/* Brazilian initialisation for the jQuery UI date picker plugin. */ | |
| 502 | +/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ | |
| 503 | +jQuery(function($){ | |
| 504 | + $.datepicker.regional['pt-BR'] = { | |
| 505 | + closeText: 'Fechar', | |
| 506 | + prevText: '<Anterior', | |
| 507 | + nextText: 'Próximo>', | |
| 508 | + currentText: 'Hoje', | |
| 509 | + monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', | |
| 510 | + 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], | |
| 511 | + monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', | |
| 512 | + 'Jul','Ago','Set','Out','Nov','Dez'], | |
| 513 | + dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'], | |
| 514 | + dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], | |
| 515 | + dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], | |
| 516 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 517 | + isRTL: false}; | |
| 518 | + $.datepicker.setDefaults($.datepicker.regional['pt-BR']); | |
| 519 | +});/* Romanian initialisation for the jQuery UI date picker plugin. | |
| 520 | + * | |
| 521 | + * Written by Edmond L. (ll_edmond@walla.com) | |
| 522 | + * and Ionut G. Stan (ionut.g.stan@gmail.com) | |
| 523 | + */ | |
| 524 | +jQuery(function($){ | |
| 525 | + $.datepicker.regional['ro'] = { | |
| 526 | + closeText: 'Închide', | |
| 527 | + prevText: '« Luna precedentă', | |
| 528 | + nextText: 'Luna următoare »', | |
| 529 | + currentText: 'Azi', | |
| 530 | + monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie', | |
| 531 | + 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'], | |
| 532 | + monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun', | |
| 533 | + 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], | |
| 534 | + dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'], | |
| 535 | + dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], | |
| 536 | + dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'], | |
| 537 | + dateFormat: 'dd MM yy', firstDay: 1, | |
| 538 | + isRTL: false}; | |
| 539 | + $.datepicker.setDefaults($.datepicker.regional['ro']); | |
| 540 | +}); | |
| 541 | +/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 542 | +/* Written by Andrew Stromnov (stromnov@gmail.com). */ | |
| 543 | +jQuery(function($){ | |
| 544 | + $.datepicker.regional['ru'] = { | |
| 545 | + closeText: 'Закрыть', | |
| 546 | + prevText: '<Пред', | |
| 547 | + nextText: 'След>', | |
| 548 | + currentText: 'Сегодня', | |
| 549 | + monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', | |
| 550 | + 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], | |
| 551 | + monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', | |
| 552 | + 'Июл','Авг','Сен','Окт','Ноя','Дек'], | |
| 553 | + dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], | |
| 554 | + dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], | |
| 555 | + dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], | |
| 556 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 557 | + isRTL: false}; | |
| 558 | + $.datepicker.setDefaults($.datepicker.regional['ru']); | |
| 559 | +});/* Slovak initialisation for the jQuery UI date picker plugin. */ | |
| 560 | +/* Written by Vojtech Rinik (vojto@hmm.sk). */ | |
| 561 | +jQuery(function($){ | |
| 562 | + $.datepicker.regional['sk'] = { | |
| 563 | + closeText: 'Zavrieť', | |
| 564 | + prevText: '<Predchádzajúci', | |
| 565 | + nextText: 'Nasledujúci>', | |
| 566 | + currentText: 'Dnes', | |
| 567 | + monthNames: ['Január','Február','Marec','Apríl','Máj','Jún', | |
| 568 | + 'Júl','August','September','Október','November','December'], | |
| 569 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún', | |
| 570 | + 'Júl','Aug','Sep','Okt','Nov','Dec'], | |
| 571 | + dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'], | |
| 572 | + dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], | |
| 573 | + dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], | |
| 574 | + dateFormat: 'dd.mm.yy', firstDay: 0, | |
| 575 | + isRTL: false}; | |
| 576 | + $.datepicker.setDefaults($.datepicker.regional['sk']); | |
| 577 | +}); | |
| 578 | +/* Slovenian initialisation for the jQuery UI date picker plugin. */ | |
| 579 | +/* Written by Jaka Jancar (jaka@kubje.org). */ | |
| 580 | +/* c = č, s = š z = ž C = Č S = Š Z = Ž */ | |
| 581 | +jQuery(function($){ | |
| 582 | + $.datepicker.regional['sl'] = { | |
| 583 | + closeText: 'Zapri', | |
| 584 | + prevText: '<Prejšnji', | |
| 585 | + nextText: 'Naslednji>', | |
| 586 | + currentText: 'Trenutni', | |
| 587 | + monthNames: ['Januar','Februar','Marec','April','Maj','Junij', | |
| 588 | + 'Julij','Avgust','September','Oktober','November','December'], | |
| 589 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', | |
| 590 | + 'Jul','Avg','Sep','Okt','Nov','Dec'], | |
| 591 | + dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'], | |
| 592 | + dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], | |
| 593 | + dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], | |
| 594 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 595 | + isRTL: false}; | |
| 596 | + $.datepicker.setDefaults($.datepicker.regional['sl']); | |
| 597 | +}); | |
| 598 | +/* Albanian initialisation for the jQuery UI date picker plugin. */ | |
| 599 | +/* Written by Flakron Bytyqi (flakron@gmail.com). */ | |
| 600 | +jQuery(function($){ | |
| 601 | + $.datepicker.regional['sq'] = { | |
| 602 | + closeText: 'mbylle', | |
| 603 | + prevText: '<mbrapa', | |
| 604 | + nextText: 'Përpara>', | |
| 605 | + currentText: 'sot', | |
| 606 | + monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor', | |
| 607 | + 'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'], | |
| 608 | + monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer', | |
| 609 | + 'Kor','Gus','Sht','Tet','Nën','Dhj'], | |
| 610 | + dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'], | |
| 611 | + dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'], | |
| 612 | + dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'], | |
| 613 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 614 | + isRTL: false}; | |
| 615 | + $.datepicker.setDefaults($.datepicker.regional['sq']); | |
| 616 | +}); | |
| 617 | +/* Serbian i18n for the jQuery UI date picker plugin. */ | |
| 618 | +/* Written by Dejan Dimić. */ | |
| 619 | +jQuery(function($){ | |
| 620 | + $.datepicker.regional['sr-SR'] = { | |
| 621 | + closeText: 'Zatvori', | |
| 622 | + prevText: '<', | |
| 623 | + nextText: '>', | |
| 624 | + currentText: 'Danas', | |
| 625 | + monthNames: ['Januar','Februar','Mart','April','Maj','Jun', | |
| 626 | + 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'], | |
| 627 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', | |
| 628 | + 'Jul','Avg','Sep','Okt','Nov','Dec'], | |
| 629 | + dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'], | |
| 630 | + dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'], | |
| 631 | + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], | |
| 632 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 633 | + isRTL: false}; | |
| 634 | + $.datepicker.setDefaults($.datepicker.regional['sr-SR']); | |
| 635 | +}); | |
| 636 | +/* Serbian i18n for the jQuery UI date picker plugin. */ | |
| 637 | +/* Written by Dejan Dimić. */ | |
| 638 | +jQuery(function($){ | |
| 639 | + $.datepicker.regional['sr'] = { | |
| 640 | + closeText: 'Затвори', | |
| 641 | + prevText: '<', | |
| 642 | + nextText: '>', | |
| 643 | + currentText: 'Данас', | |
| 644 | + monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун', | |
| 645 | + 'Јул','Август','Септембар','Октобар','Новембар','Децембар'], | |
| 646 | + monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун', | |
| 647 | + 'Јул','Авг','Сеп','Окт','Нов','Дец'], | |
| 648 | + dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'], | |
| 649 | + dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'], | |
| 650 | + dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'], | |
| 651 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 652 | + isRTL: false}; | |
| 653 | + $.datepicker.setDefaults($.datepicker.regional['sr']); | |
| 654 | +}); | |
| 655 | +/* Swedish initialisation for the jQuery UI date picker plugin. */ | |
| 656 | +/* Written by Anders Ekdahl ( anders@nomadiz.se). */ | |
| 657 | +jQuery(function($){ | |
| 658 | + $.datepicker.regional['sv'] = { | |
| 659 | + closeText: 'Stäng', | |
| 660 | + prevText: '«Förra', | |
| 661 | + nextText: 'Nästa»', | |
| 662 | + currentText: 'Idag', | |
| 663 | + monthNames: ['Januari','Februari','Mars','April','Maj','Juni', | |
| 664 | + 'Juli','Augusti','September','Oktober','November','December'], | |
| 665 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', | |
| 666 | + 'Jul','Aug','Sep','Okt','Nov','Dec'], | |
| 667 | + dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'], | |
| 668 | + dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], | |
| 669 | + dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], | |
| 670 | + dateFormat: 'yy-mm-dd', firstDay: 1, | |
| 671 | + isRTL: false}; | |
| 672 | + $.datepicker.setDefaults($.datepicker.regional['sv']); | |
| 673 | +}); | |
| 674 | +/* Thai initialisation for the jQuery UI date picker plugin. */ | |
| 675 | +/* Written by pipo (pipo@sixhead.com). */ | |
| 676 | +jQuery(function($){ | |
| 677 | + $.datepicker.regional['th'] = { | |
| 678 | + closeText: 'ปิด', | |
| 679 | + prevText: '« ย้อน', | |
| 680 | + nextText: 'ถัดไป »', | |
| 681 | + currentText: 'วันนี้', | |
| 682 | + monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', | |
| 683 | + 'กรกฏาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], | |
| 684 | + monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', | |
| 685 | + 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], | |
| 686 | + dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], | |
| 687 | + dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], | |
| 688 | + dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], | |
| 689 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 690 | + isRTL: false}; | |
| 691 | + $.datepicker.setDefaults($.datepicker.regional['th']); | |
| 692 | +});/* Turkish initialisation for the jQuery UI date picker plugin. */ | |
| 693 | +/* Written by Izzet Emre Erkan (kara@karalamalar.net). */ | |
| 694 | +jQuery(function($){ | |
| 695 | + $.datepicker.regional['tr'] = { | |
| 696 | + closeText: 'kapat', | |
| 697 | + prevText: '<geri', | |
| 698 | + nextText: 'ileri>', | |
| 699 | + currentText: 'bugün', | |
| 700 | + monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran', | |
| 701 | + 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'], | |
| 702 | + monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz', | |
| 703 | + 'Tem','Ağu','Eyl','Eki','Kas','Ara'], | |
| 704 | + dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], | |
| 705 | + dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], | |
| 706 | + dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], | |
| 707 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 708 | + isRTL: false}; | |
| 709 | + $.datepicker.setDefaults($.datepicker.regional['tr']); | |
| 710 | +});/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 711 | +/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ | |
| 712 | +jQuery(function($){ | |
| 713 | + $.datepicker.regional['uk'] = { | |
| 714 | + clearText: 'Очистити', clearStatus: '', | |
| 715 | + closeText: 'Закрити', closeStatus: '', | |
| 716 | + prevText: '<', prevStatus: '', | |
| 717 | + prevBigText: '<<', prevBigStatus: '', | |
| 718 | + nextText: '>', nextStatus: '', | |
| 719 | + nextBigText: '>>', nextBigStatus: '', | |
| 720 | + currentText: 'Сьогодні', currentStatus: '', | |
| 721 | + monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень', | |
| 722 | + 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'], | |
| 723 | + monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер', | |
| 724 | + 'Лип','Сер','Вер','Жов','Лис','Гру'], | |
| 725 | + monthStatus: '', yearStatus: '', | |
| 726 | + weekHeader: 'Не', weekStatus: '', | |
| 727 | + dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'], | |
| 728 | + dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], | |
| 729 | + dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], | |
| 730 | + dayStatus: 'DD', dateStatus: 'D, M d', | |
| 731 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 732 | + initStatus: '', isRTL: false}; | |
| 733 | + $.datepicker.setDefaults($.datepicker.regional['uk']); | |
| 734 | +});/* Chinese initialisation for the jQuery UI date picker plugin. */ | |
| 735 | +/* Written by Cloudream (cloudream@gmail.com). */ | |
| 736 | +jQuery(function($){ | |
| 737 | + $.datepicker.regional['zh-CN'] = { | |
| 738 | + closeText: '关闭', | |
| 739 | + prevText: '<上月', | |
| 740 | + nextText: '下月>', | |
| 741 | + currentText: '今天', | |
| 742 | + monthNames: ['一月','二月','三月','四月','五月','六月', | |
| 743 | + '七月','八月','九月','十月','十一月','十二月'], | |
| 744 | + monthNamesShort: ['一','二','三','四','五','六', | |
| 745 | + '七','八','九','十','十一','十二'], | |
| 746 | + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], | |
| 747 | + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], | |
| 748 | + dayNamesMin: ['日','一','二','三','四','五','六'], | |
| 749 | + dateFormat: 'yy-mm-dd', firstDay: 1, | |
| 750 | + isRTL: false}; | |
| 751 | + $.datepicker.setDefaults($.datepicker.regional['zh-CN']); | |
| 752 | +}); | |
| 753 | +/* Chinese initialisation for the jQuery UI date picker plugin. */ | |
| 754 | +/* Written by Ressol (ressol@gmail.com). */ | |
| 755 | +jQuery(function($){ | |
| 756 | + $.datepicker.regional['zh-TW'] = { | |
| 757 | + closeText: '關閉', | |
| 758 | + prevText: '<上月', | |
| 759 | + nextText: '下月>', | |
| 760 | + currentText: '今天', | |
| 761 | + monthNames: ['一月','二月','三月','四月','五月','六月', | |
| 762 | + '七月','八月','九月','十月','十一月','十二月'], | |
| 763 | + monthNamesShort: ['一','二','三','四','五','六', | |
| 764 | + '七','八','九','十','十一','十二'], | |
| 765 | + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], | |
| 766 | + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], | |
| 767 | + dayNamesMin: ['日','一','二','三','四','五','六'], | |
| 768 | + dateFormat: 'yy/mm/dd', firstDay: 1, | |
| 769 | + isRTL: false}; | |
| 770 | + $.datepicker.setDefaults($.datepicker.regional['zh-TW']); | |
| 771 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-ar.js
0 → 100644
| 1 | +/* Arabic Translation for jQuery UI date picker plugin. */ | |
| 2 | +/* Khaled Al Horani -- koko.dw@gmail.com */ | |
| 3 | +/* خالد الحوراني -- koko.dw@gmail.com */ | |
| 4 | +/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ | |
| 5 | +jQuery(function($){ | |
| 6 | + $.datepicker.regional['ar'] = { | |
| 7 | + closeText: 'إغلاق', | |
| 8 | + prevText: '<السابق', | |
| 9 | + nextText: 'التالي>', | |
| 10 | + currentText: 'اليوم', | |
| 11 | + monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران', | |
| 12 | + 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], | |
| 13 | + monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], | |
| 14 | + dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'], | |
| 15 | + dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], | |
| 16 | + dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], | |
| 17 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 18 | + isRTL: true}; | |
| 19 | + $.datepicker.setDefaults($.datepicker.regional['ar']); | |
| 20 | +}); | |
| 0 | 21 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-bg.js
0 → 100644
| 1 | +/* Bulgarian initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Stoyan Kyosev (http://svest.org). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['bg'] = { | |
| 5 | + closeText: 'затвори', | |
| 6 | + prevText: '<назад', | |
| 7 | + nextText: 'напред>', | |
| 8 | + nextBigText: '>>', | |
| 9 | + currentText: 'днес', | |
| 10 | + monthNames: ['Януари','Февруари','Март','Април','Май','Юни', | |
| 11 | + 'Юли','Август','Септември','Октомври','Ноември','Декември'], | |
| 12 | + monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', | |
| 13 | + 'Юли','Авг','Сеп','Окт','Нов','Дек'], | |
| 14 | + dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], | |
| 15 | + dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], | |
| 16 | + dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], | |
| 17 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 18 | + isRTL: false}; | |
| 19 | + $.datepicker.setDefaults($.datepicker.regional['bg']); | |
| 20 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-ca.js
0 → 100644
| 1 | +/* Inicialitzaci� en catal� per a l'extenci� 'calendar' per jQuery. */ | |
| 2 | +/* Writers: (joan.leon@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['ca'] = { | |
| 5 | + closeText: 'Tancar', | |
| 6 | + prevText: '<Ant', | |
| 7 | + nextText: 'Seg>', | |
| 8 | + currentText: 'Avui', | |
| 9 | + monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny', | |
| 10 | + 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'], | |
| 11 | + monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun', | |
| 12 | + 'Jul','Ago','Set','Oct','Nov','Des'], | |
| 13 | + dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], | |
| 14 | + dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], | |
| 15 | + dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], | |
| 16 | + dateFormat: 'mm/dd/yy', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['ca']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-cs.js
0 → 100644
| 1 | +/* Czech initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Tomas Muller (tomas@tomas-muller.net). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['cs'] = { | |
| 5 | + closeText: 'Zavřít', | |
| 6 | + prevText: '<Dříve', | |
| 7 | + nextText: 'Později>', | |
| 8 | + currentText: 'Nyní', | |
| 9 | + monthNames: ['leden','únor','březen','duben','květen','červen', | |
| 10 | + 'červenec','srpen','září','říjen','listopad','prosinec'], | |
| 11 | + monthNamesShort: ['led','úno','bře','dub','kvě','čer', | |
| 12 | + 'čvc','srp','zář','říj','lis','pro'], | |
| 13 | + dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], | |
| 14 | + dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], | |
| 15 | + dayNamesMin: ['ne','po','út','st','čt','pá','so'], | |
| 16 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['cs']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-da.js
0 → 100644
| 1 | +/* Danish initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Jan Christensen ( deletestuff@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['da'] = { | |
| 5 | + closeText: 'Luk', | |
| 6 | + prevText: '<Forrige', | |
| 7 | + nextText: 'Næste>', | |
| 8 | + currentText: 'Idag', | |
| 9 | + monthNames: ['Januar','Februar','Marts','April','Maj','Juni', | |
| 10 | + 'Juli','August','September','Oktober','November','December'], | |
| 11 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', | |
| 12 | + 'Jul','Aug','Sep','Okt','Nov','Dec'], | |
| 13 | + dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], | |
| 14 | + dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], | |
| 15 | + dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], | |
| 16 | + dateFormat: 'dd-mm-yy', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['da']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-de.js
0 → 100644
| 1 | +/* German initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Milian Wolff (mail@milianw.de). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['de'] = { | |
| 5 | + closeText: 'schließen', | |
| 6 | + prevText: '<zurück', | |
| 7 | + nextText: 'Vor>', | |
| 8 | + currentText: 'heute', | |
| 9 | + monthNames: ['Januar','Februar','März','April','Mai','Juni', | |
| 10 | + 'Juli','August','September','Oktober','November','Dezember'], | |
| 11 | + monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', | |
| 12 | + 'Jul','Aug','Sep','Okt','Nov','Dez'], | |
| 13 | + dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], | |
| 14 | + dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], | |
| 15 | + dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], | |
| 16 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['de']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-el.js
0 → 100644
| 1 | +/* Greek (el) initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Alex Cicovic (http://www.alexcicovic.com) */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['el'] = { | |
| 5 | + closeText: 'Κλείσιμο', | |
| 6 | + prevText: 'Προηγούμενος', | |
| 7 | + nextText: 'Επόμενος', | |
| 8 | + currentText: 'Τρέχων Μήνας', | |
| 9 | + monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος', | |
| 10 | + 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], | |
| 11 | + monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', | |
| 12 | + 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], | |
| 13 | + dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], | |
| 14 | + dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], | |
| 15 | + dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['el']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-eo.js
0 → 100644
| 1 | +/* Esperanto initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Olivier M. (olivierweb@ifrance.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['eo'] = { | |
| 5 | + closeText: 'Fermi', | |
| 6 | + prevText: '<Anta', | |
| 7 | + nextText: 'Sekv>', | |
| 8 | + currentText: 'Nuna', | |
| 9 | + monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio', | |
| 10 | + 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'], | |
| 11 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', | |
| 12 | + 'Jul','Aŭg','Sep','Okt','Nov','Dec'], | |
| 13 | + dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], | |
| 14 | + dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], | |
| 15 | + dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['eo']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-es.js
0 → 100644
| 1 | +/* Inicializaci�n en espa�ol para la extensi�n 'UI date picker' para jQuery. */ | |
| 2 | +/* Traducido por Vester (xvester@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['es'] = { | |
| 5 | + closeText: 'Cerrar', | |
| 6 | + prevText: '<Ant', | |
| 7 | + nextText: 'Sig>', | |
| 8 | + currentText: 'Hoy', | |
| 9 | + monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', | |
| 10 | + 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'], | |
| 11 | + monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', | |
| 12 | + 'Jul','Ago','Sep','Oct','Nov','Dic'], | |
| 13 | + dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], | |
| 14 | + dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], | |
| 15 | + dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['es']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-fa.js
0 → 100644
| 1 | +/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Javad Mowlanezhad -- jmowla@gmail.com */ | |
| 3 | +/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ | |
| 4 | +jQuery(function($) { | |
| 5 | + $.datepicker.regional['fa'] = { | |
| 6 | + closeText: 'بستن', | |
| 7 | + prevText: '<قبلي', | |
| 8 | + nextText: 'بعدي>', | |
| 9 | + currentText: 'امروز', | |
| 10 | + monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور', | |
| 11 | + 'مهر','آبان','آذر','دي','بهمن','اسفند'], | |
| 12 | + monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], | |
| 13 | + dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], | |
| 14 | + dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'], | |
| 15 | + dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'], | |
| 16 | + dateFormat: 'yy/mm/dd', firstDay: 6, | |
| 17 | + isRTL: true}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['fa']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-fi.js
0 → 100644
| 1 | +/* Finnish initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Harri Kilpi� (harrikilpio@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['fi'] = { | |
| 5 | + closeText: 'Sulje', | |
| 6 | + prevText: '«Edellinen', | |
| 7 | + nextText: 'Seuraava»', | |
| 8 | + currentText: 'Tänään', | |
| 9 | + monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', | |
| 10 | + 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], | |
| 11 | + monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', | |
| 12 | + 'Heinä','Elo','Syys','Loka','Marras','Joulu'], | |
| 13 | + dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], | |
| 14 | + dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], | |
| 15 | + dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], | |
| 16 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['fi']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-fr.js
0 → 100644
| 1 | +/* French initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['fr'] = { | |
| 5 | + closeText: 'Fermer', | |
| 6 | + prevText: '<Préc', | |
| 7 | + nextText: 'Suiv>', | |
| 8 | + currentText: 'Courant', | |
| 9 | + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', | |
| 10 | + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], | |
| 11 | + monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', | |
| 12 | + 'Jul','Aoû','Sep','Oct','Nov','Déc'], | |
| 13 | + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], | |
| 14 | + dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], | |
| 15 | + dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['fr']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-he.js
0 → 100644
| 1 | +/* Hebrew initialisation for the UI Datepicker extension. */ | |
| 2 | +/* Written by Amir Hardon (ahardon at gmail dot com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['he'] = { | |
| 5 | + closeText: 'סגור', | |
| 6 | + prevText: '<הקודם', | |
| 7 | + nextText: 'הבא>', | |
| 8 | + currentText: 'היום', | |
| 9 | + monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', | |
| 10 | + 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], | |
| 11 | + monthNamesShort: ['1','2','3','4','5','6', | |
| 12 | + '7','8','9','10','11','12'], | |
| 13 | + dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], | |
| 14 | + dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], | |
| 15 | + dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 17 | + isRTL: true}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['he']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-hr.js
0 → 100644
| 1 | +/* Croatian i18n for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Vjekoslav Nesek. */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['hr'] = { | |
| 5 | + closeText: 'Zatvori', | |
| 6 | + prevText: '<', | |
| 7 | + nextText: '>', | |
| 8 | + currentText: 'Danas', | |
| 9 | + monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani', | |
| 10 | + 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'], | |
| 11 | + monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip', | |
| 12 | + 'Srp','Kol','Ruj','Lis','Stu','Pro'], | |
| 13 | + dayNames: ['Nedjalja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], | |
| 14 | + dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], | |
| 15 | + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], | |
| 16 | + dateFormat: 'dd.mm.yy.', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['hr']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-hu.js
0 → 100644
| 1 | +/* Hungarian initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['hu'] = { | |
| 5 | + closeText: 'bezárás', | |
| 6 | + prevText: '« vissza', | |
| 7 | + nextText: 'előre »', | |
| 8 | + currentText: 'ma', | |
| 9 | + monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', | |
| 10 | + 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'], | |
| 11 | + monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', | |
| 12 | + 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'], | |
| 13 | + dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], | |
| 14 | + dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], | |
| 15 | + dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], | |
| 16 | + dateFormat: 'yy-mm-dd', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['hu']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-hy.js
0 → 100644
| 1 | +/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['hy'] = { | |
| 5 | + closeText: 'Փակել', | |
| 6 | + prevText: '<Նախ.', | |
| 7 | + nextText: 'Հաջ.>', | |
| 8 | + currentText: 'Այսօր', | |
| 9 | + monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս', | |
| 10 | + 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'], | |
| 11 | + monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս', | |
| 12 | + 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'], | |
| 13 | + dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], | |
| 14 | + dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], | |
| 15 | + dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], | |
| 16 | + dateFormat: 'dd.mm.yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['hy']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-id.js
0 → 100644
| 1 | +/* Indonesian initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Deden Fathurahman (dedenf@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['id'] = { | |
| 5 | + closeText: 'Tutup', | |
| 6 | + prevText: '<mundur', | |
| 7 | + nextText: 'maju>', | |
| 8 | + currentText: 'hari ini', | |
| 9 | + monthNames: ['Januari','Februari','Maret','April','Mei','Juni', | |
| 10 | + 'Juli','Agustus','September','Oktober','Nopember','Desember'], | |
| 11 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', | |
| 12 | + 'Jul','Agus','Sep','Okt','Nop','Des'], | |
| 13 | + dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], | |
| 14 | + dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], | |
| 15 | + dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['id']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-is.js
0 → 100644
| 1 | +/* Icelandic initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Haukur H. Thorsson (haukur@eskill.is). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['is'] = { | |
| 5 | + closeText: 'Loka', | |
| 6 | + prevText: '< Fyrri', | |
| 7 | + nextText: 'Næsti >', | |
| 8 | + currentText: 'Í dag', | |
| 9 | + monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní', | |
| 10 | + 'Júlí','Ágúst','September','Október','Nóvember','Desember'], | |
| 11 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún', | |
| 12 | + 'Júl','Ágú','Sep','Okt','Nóv','Des'], | |
| 13 | + dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], | |
| 14 | + dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], | |
| 15 | + dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['is']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-it.js
0 → 100644
| 1 | +/* Italian initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Apaella (apaella@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['it'] = { | |
| 5 | + closeText: 'Chiudi', | |
| 6 | + prevText: '<Prec', | |
| 7 | + nextText: 'Succ>', | |
| 8 | + currentText: 'Oggi', | |
| 9 | + monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', | |
| 10 | + 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], | |
| 11 | + monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu', | |
| 12 | + 'Lug','Ago','Set','Ott','Nov','Dic'], | |
| 13 | + dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], | |
| 14 | + dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], | |
| 15 | + dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['it']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-ja.js
0 → 100644
| 1 | +/* Japanese initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Kentaro SATO (kentaro@ranvis.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['ja'] = { | |
| 5 | + closeText: '閉じる', | |
| 6 | + prevText: '<前', | |
| 7 | + nextText: '次>', | |
| 8 | + currentText: '今日', | |
| 9 | + monthNames: ['1月','2月','3月','4月','5月','6月', | |
| 10 | + '7月','8月','9月','10月','11月','12月'], | |
| 11 | + monthNamesShort: ['1月','2月','3月','4月','5月','6月', | |
| 12 | + '7月','8月','9月','10月','11月','12月'], | |
| 13 | + dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], | |
| 14 | + dayNamesShort: ['日','月','火','水','木','金','土'], | |
| 15 | + dayNamesMin: ['日','月','火','水','木','金','土'], | |
| 16 | + dateFormat: 'yy/mm/dd', firstDay: 0, | |
| 17 | + isRTL: false, | |
| 18 | + showMonthAfterYear: true}; | |
| 19 | + $.datepicker.setDefaults($.datepicker.regional['ja']); | |
| 20 | +}); | |
| 0 | 21 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-ko.js
0 → 100644
| 1 | +/* Korean initialisation for the jQuery calendar extension. */ | |
| 2 | +/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['ko'] = { | |
| 5 | + closeText: '닫기', | |
| 6 | + prevText: '이전달', | |
| 7 | + nextText: '다음달', | |
| 8 | + currentText: '오늘', | |
| 9 | + monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', | |
| 10 | + '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], | |
| 11 | + monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', | |
| 12 | + '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], | |
| 13 | + dayNames: ['일','월','화','수','목','금','토'], | |
| 14 | + dayNamesShort: ['일','월','화','수','목','금','토'], | |
| 15 | + dayNamesMin: ['일','월','화','수','목','금','토'], | |
| 16 | + dateFormat: 'yy-mm-dd', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['ko']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-lt.js
0 → 100644
| 1 | +/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* @author Arturas Paleicikas <arturas@avalon.lt> */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['lt'] = { | |
| 5 | + closeText: 'Uždaryti', | |
| 6 | + prevText: '<Atgal', | |
| 7 | + nextText: 'Pirmyn>', | |
| 8 | + currentText: 'Šiandien', | |
| 9 | + monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', | |
| 10 | + 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], | |
| 11 | + monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir', | |
| 12 | + 'Lie','Rugp','Rugs','Spa','Lap','Gru'], | |
| 13 | + dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], | |
| 14 | + dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], | |
| 15 | + dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], | |
| 16 | + dateFormat: 'yy-mm-dd', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['lt']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-lv.js
0 → 100644
| 1 | +/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['lv'] = { | |
| 5 | + closeText: 'Aizvērt', | |
| 6 | + prevText: 'Iepr', | |
| 7 | + nextText: 'Nāka', | |
| 8 | + currentText: 'Šodien', | |
| 9 | + monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', | |
| 10 | + 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], | |
| 11 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', | |
| 12 | + 'Jūl','Aug','Sep','Okt','Nov','Dec'], | |
| 13 | + dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], | |
| 14 | + dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], | |
| 15 | + dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], | |
| 16 | + dateFormat: 'dd-mm-yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['lv']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-ms.js
0 → 100644
| 1 | +/* Malaysian initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['ms'] = { | |
| 5 | + closeText: 'Tutup', | |
| 6 | + prevText: '<Sebelum', | |
| 7 | + nextText: 'Selepas>', | |
| 8 | + currentText: 'hari ini', | |
| 9 | + monthNames: ['Januari','Februari','Mac','April','Mei','Jun', | |
| 10 | + 'Julai','Ogos','September','Oktober','November','Disember'], | |
| 11 | + monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', | |
| 12 | + 'Jul','Ogo','Sep','Okt','Nov','Dis'], | |
| 13 | + dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], | |
| 14 | + dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], | |
| 15 | + dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['ms']); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-nl.js
0 → 100644
| 1 | +/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Mathias Bynens <http://mathiasbynens.be/> */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional.nl = { | |
| 5 | + closeText: 'Sluiten', | |
| 6 | + prevText: '←', | |
| 7 | + nextText: '→', | |
| 8 | + currentText: 'Vandaag', | |
| 9 | + monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', | |
| 10 | + 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], | |
| 11 | + monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun', | |
| 12 | + 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], | |
| 13 | + dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], | |
| 14 | + dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], | |
| 15 | + dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], | |
| 16 | + dateFormat: 'dd/mm/yy', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional.nl); | |
| 19 | +}); | |
| 0 | 20 | \ No newline at end of file | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-no.js
0 → 100644
| 1 | +/* Norwegian initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['no'] = { | |
| 5 | + closeText: 'Lukk', | |
| 6 | + prevText: '«Forrige', | |
| 7 | + nextText: 'Neste»', | |
| 8 | + currentText: 'I dag', | |
| 9 | + monthNames: ['Januar','Februar','Mars','April','Mai','Juni', | |
| 10 | + 'Juli','August','September','Oktober','November','Desember'], | |
| 11 | + monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun', | |
| 12 | + 'Jul','Aug','Sep','Okt','Nov','Des'], | |
| 13 | + dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], | |
| 14 | + dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], | |
| 15 | + dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], | |
| 16 | + dateFormat: 'yy-mm-dd', firstDay: 0, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['no']); | |
| 19 | +}); | ... | ... |
ktatompub/Client/js/ktAtompubClient/jquery/ui/i18n/ui.datepicker-pl.js
0 → 100644
| 1 | +/* Polish initialisation for the jQuery UI date picker plugin. */ | |
| 2 | +/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ | |
| 3 | +jQuery(function($){ | |
| 4 | + $.datepicker.regional['pl'] = { | |
| 5 | + closeText: 'Zamknij', | |
| 6 | + prevText: '<Poprzedni', | |
| 7 | + nextText: 'Następny>', | |
| 8 | + currentText: 'Dziś', | |
| 9 | + monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec', | |
| 10 | + 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'], | |
| 11 | + monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze', | |
| 12 | + 'Lip','Sie','Wrz','Pa','Lis','Gru'], | |
| 13 | + dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'], | |
| 14 | + dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], | |
| 15 | + dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], | |
| 16 | + dateFormat: 'yy-mm-dd', firstDay: 1, | |
| 17 | + isRTL: false}; | |
| 18 | + $.datepicker.setDefaults($.datepicker.regional['pl']); | |
| 19 | +}); | ... | ... |