WordPress File Upload - Version 3.10.0

Version Description

  • an alternative Iptanus server is launched in Google Cloud for resolving the notorious error "file_get_contents(https://services2.iptanus.com/wp-admin/admin-ajax.php): failed to open stream: Connection timed out."
  • added option 'Use Alternative Iptanus Server' in Settings to switch to the alternative Iptanus Server
  • added advanced option 'Alternative Iptanus Server' that points to an alternative Iptanus Server
  • added advanced option 'Alternative Iptanus Version Server' that points to the alternative Iptanus Server URL returning the latest plugin version
  • an error is shown in the Main page of the plugin in Dashboard if Iptanus Server is unreachable
  • a warning is shown in the Main page of the plugin in Dashboard if an alternative insecure (http) Iptanus Server is used
  • alternative fix of error accessing https://services2.iptanus.com for cURL (by disabling CURLOPT_SSL_VERIFYHOST) and for sockets by employing a better parser of socket response
  • added Swedish translation, kindly provided by Leif Persson
  • improved ftp functionality so that ftp folders can be created recursively
Download this release

Release Info

Developer nickboss
Plugin Icon 128x128 WordPress File Upload
Version 3.10.0
Comparing to
See all releases

Code changes from version 3.9.6 to 3.10.0

js/getElementsByClassName-1.0.1.js CHANGED
@@ -1 +1,4 @@
1
- var getElementsByClassName=function(e,t,n){return(getElementsByClassName=document.getElementsByClassName?function(e,t,n){n=n||document;for(var l,a=n.getElementsByClassName(e),s=t?new RegExp("\\b"+t+"\\b","i"):null,u=[],m=0,o=a.length;o>m;m+=1)l=a[m],(!s||s.test(l.nodeName))&&u.push(l);return u}:document.evaluate?function(e,t,n){t=t||"*",n=n||document;for(var l,a,s=e.split(" "),u="",m="http://www.w3.org/1999/xhtml",o=document.documentElement.namespaceURI===m?m:null,r=[],c=0,g=s.length;g>c;c+=1)u+="[contains(concat(' ', @class, ' '), ' "+s[c]+" ')]";try{l=document.evaluate(".//"+t+u,n,o,0,null)}catch(h){l=document.evaluate(".//"+t+u,n,null,0,null)}for(;a=l.iterateNext();)r.push(a);return r}:function(e,t,n){t=t||"*",n=n||document;for(var l,a,s=e.split(" "),u=[],m="*"===t&&n.all?n.all:n.getElementsByTagName(t),o=[],r=0,c=s.length;c>r;r+=1)u.push(new RegExp("(^|\\s)"+s[r]+"(\\s|$)"));for(var g=0,h=m.length;h>g;g+=1){l=m[g],a=!1;for(var d=0,f=u.length;f>d&&(a=u[d].test(l.className),a);d+=1);a&&o.push(l)}return o})(e,t,n)};
 
 
 
1
+ var getElementsByClassName=function(className,tag,elm){if(document.getElementsByClassName)getElementsByClassName=function(className,tag,elm){elm=elm||document;var elements=elm.getElementsByClassName(className),nodeName=tag?new RegExp("\\b"+tag+"\\b","i"):null,returnElements=[],current;for(var i=0,il=elements.length;i<il;i+=1){current=elements[i];if(!nodeName||nodeName.test(current.nodeName))returnElements.push(current)}return returnElements};else if(document.evaluate)getElementsByClassName=function(className,
2
+ tag,elm){tag=tag||"*";elm=elm||document;var classes=className.split(" "),classesToCheck="",xhtmlNamespace="http://www.w3.org/1999/xhtml",namespaceResolver=document.documentElement.namespaceURI===xhtmlNamespace?xhtmlNamespace:null,returnElements=[],elements,node;for(var j=0,jl=classes.length;j<jl;j+=1)classesToCheck+="[contains(concat(' ', @class, ' '), ' "+classes[j]+" ')]";try{elements=document.evaluate(".//"+tag+classesToCheck,elm,namespaceResolver,0,null)}catch(e){elements=document.evaluate(".//"+
3
+ tag+classesToCheck,elm,null,0,null)}while(node=elements.iterateNext())returnElements.push(node);return returnElements};else getElementsByClassName=function(className,tag,elm){tag=tag||"*";elm=elm||document;var classes=className.split(" "),classesToCheck=[],elements=tag==="*"&&elm.all?elm.all:elm.getElementsByTagName(tag),current,returnElements=[],match;for(var k=0,kl=classes.length;k<kl;k+=1)classesToCheck.push(new RegExp("(^|\\s)"+classes[k]+"(\\s|$)"));for(var l=0,ll=elements.length;l<ll;l+=1){current=
4
+ elements[l];match=false;for(var m=0,ml=classesToCheck.length;m<ml;m+=1){match=classesToCheck[m].test(current.className);if(!match)break}if(match)returnElements.push(current)}return returnElements};return getElementsByClassName(className,tag,elm)};
js/json2.js CHANGED
@@ -1 +1,8 @@
1
- var JSON;JSON||(JSON={}),function(){"use strict";function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var r,n,o,f,u,i=gap,p=e[t];switch(p&&"object"==typeof p&&"function"==typeof p.toJSON&&(p=p.toJSON(t)),"function"==typeof rep&&(p=rep.call(e,t,p)),typeof p){case"string":return quote(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(gap+=indent,u=[],"[object Array]"===Object.prototype.toString.apply(p)){for(f=p.length,r=0;f>r;r+=1)u[r]=str(r,p)||"null";return o=0===u.length?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+i+"]":"["+u.join(",")+"]",gap=i,o}if(rep&&"object"==typeof rep)for(f=rep.length,r=0;f>r;r+=1)"string"==typeof rep[r]&&(n=rep[r],o=str(n,p),o&&u.push(quote(n)+(gap?": ":":")+o));else for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(o=str(n,p),o&&u.push(quote(n)+(gap?": ":":")+o));return o=0===u.length?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+i+"}":"{"+u.join(",")+"}",gap=i,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(t){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(t){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,r){var n;if(gap="",indent="","number"==typeof r)for(n=0;r>n;n+=1)indent+=" ";else"string"==typeof r&&(indent=r);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var r,n,o=t[e];if(o&&"object"==typeof o)for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n=walk(o,r),void 0!==n?o[r]=n:delete o[r]);return reviver.call(t,e,o)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();
 
 
 
 
 
 
 
1
+ var JSON;if(!JSON)JSON={};
2
+ (function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=
3
+ /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=
4
+ gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function")value=value.toJSON(key);if(typeof rep==="function")value=rep.call(holder,key,value);switch(typeof value){case "string":return quote(value);case "number":return isFinite(value)?String(value):"null";case "boolean":case "null":return String(value);case "object":if(!value)return"null";gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=
5
+ 1)partial[i]=str(i,value)||"null";v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1)if(typeof rep[i]==="string"){k=rep[i];v=str(k,value);if(v)partial.push(quote(k)+(gap?": ":":")+v)}}else for(k in value)if(Object.prototype.hasOwnProperty.call(value,k)){v=str(k,value);if(v)partial.push(quote(k)+(gap?": ":":")+v)}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+
6
+ gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function")JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number")for(i=0;i<space;i+=1)indent+=" ";else if(typeof space==="string")indent=space;rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number"))throw new Error("JSON.stringify");return str("",{"":value})};if(typeof JSON.parse!=="function")JSON.parse=
7
+ function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object")for(k in value)if(Object.prototype.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined)value[k]=v;else delete value[k]}return reviver.call(holder,key,value)}text=String(text);cx.lastIndex=0;if(cx.test(text))text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
8
+ "@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse");}})();
js/wordpress_file_upload_adminfunctions.js CHANGED
@@ -1,3 +1,269 @@
1
- function wfu_admin_activate_tab(e){for(var t,a,l=document.getElementById("wfu_tab_container"),n=0;n<l.childNodes.length;n++)t=l.childNodes[n],1===t.nodeType&&(a=t.id.substr(8),t.className.indexOf("nav-tab-active")>-1&&(t.className="nav-tab",document.getElementById("wfu_container_"+a).style.display="none"));document.getElementById("wfu_tab_"+e).className="nav-tab nav-tab-active",document.getElementById("wfu_container_"+e).style.display="block"}function wfu_admin_onoff_clicked(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),n=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),d="on"==t.className.substr(t.className.length-2);if(d=!d){document.getElementById("wfu_attribute_value_"+e).value="true",t.className="wfu_onoff_container_on";for(var u=0;u<l.length;u++)l[u].style.display="none";for(var u=0;u<n.length;u++)n[u].style.display="block"}else{document.getElementById("wfu_attribute_value_"+e).value="false",t.className="wfu_onoff_container_off";for(var u=0;u<l.length;u++)l[u].style.display="block";for(var u=0;u<n.length;u++)n[u].style.display="none"}wfu_generate_shortcode(),("userdata"==e||"formdata"==e)&&wfu_update_formfield_variables()}function wfu_admin_radio_clicked(e){var t=document.getElementsByName("wfu_radioattribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),n=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),d="";for(r=0;r<t.length;r++)t[r].checked&&(d=t[r].value);var u="*"==d.substr(0,1);if(u){d=d.substr(1);for(var r=0;r<l.length;r++)l[r].style.display="none";for(var r=0;r<n.length;r++)n[r].style.display="block"}else{for(var r=0;r<l.length;r++)l[r].style.display="block";for(var r=0;r<n.length;r++)n[r].style.display="none"}document.getElementById("wfu_attribute_value_"+e).value=d,wfu_generate_shortcode()}function wfu_addEventHandler(e,t,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent?e.attachEvent("on"+t,a):e["on"+t]=a}function wfu_attach_separator_dragdrop_events(){for(var e,t=document.getElementById("wfu_placements_container"),a=0;a<t.childNodes.length;a++)e=t.childNodes[a],("wfu_component_separator_hor"==e.className||"wfu_component_separator_ver"==e.className)&&(wfu_addEventHandler(e,"dragenter",wfu_separator_dragenter),wfu_addEventHandler(e,"dragover",wfu_default_dragover),wfu_addEventHandler(e,"dragleave",wfu_separator_dragleave),wfu_addEventHandler(e,"drop",wfu_separator_drop))}function wfu_Attach_Admin_DragDrop_Events(){if(window.FileReader){var e=document.getElementById("wfu_placements_container");if(e){for(var t,a=document.getElementById("wfu_componentlist_container"),l=0;l<e.childNodes.length;l++)t=e.childNodes[l],"wfu_component_box"==t.className&&(wfu_addEventHandler(t,"dragstart",wfu_component_dragstart),wfu_addEventHandler(t,"dragend",wfu_component_dragend));for(var l=0;l<a.childNodes.length;l++)if(t=a.childNodes[l],"wfu_component_box_container"==t.className)for(var n=0;n<t.childNodes.length;n++)"wfu_component_box wfu_inbase"==t.childNodes[n].className&&(wfu_addEventHandler(t.childNodes[n],"dragstart",wfu_component_dragstart),wfu_addEventHandler(t.childNodes[n],"dragend",wfu_component_dragend));t=document.getElementById("wfu_componentlist_dragdrop"),wfu_addEventHandler(t,"dragenter",wfu_componentlist_dragenter),wfu_addEventHandler(t,"dragover",wfu_default_dragover),wfu_addEventHandler(t,"dragleave",wfu_componentlist_dragleave),wfu_addEventHandler(t,"drop",wfu_componentlist_drop),wfu_attach_separator_dragdrop_events()}}}function wfu_componentlist_dragenter(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;var t=document.getElementById("wfu_componentlist_dragdrop");return-1==t.className.indexOf("wfu_componentlist_dragdrop_dragover")&&(t.className+=" wfu_componentlist_dragdrop_dragover"),!1}function wfu_componentlist_dragleave(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;var t=document.getElementById("wfu_componentlist_dragdrop");return t.className=t.className.replace(" wfu_componentlist_dragdrop_dragover",""),!1}function wfu_componentlist_drop(e){e=e||window.event,e.preventDefault&&e.preventDefault();var t=e.dataTransfer.getData("Component");if(!t)return!1;var a=t.split("_"),l=a[0],n=parseInt(a[1]),d=document.getElementById("wfu_component_box_"+l+"_"+n);0==n?(d.className="wfu_component_box wfu_inbase",d.style.display="block",document.getElementById("wfu_component_box_container_"+l).appendChild(d)):d.parentNode.removeChild(d);var u=wfu_admin_recreate_placements_text(null,"");return wfu_admin_recreate_placements_panel(u),document.getElementById("wfu_attribute_value_placements").value=u,wfu_update_multiplacement_attributes(),wfu_generate_shortcode(),!1}function wfu_separator_dragenter(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;if("wfu_component_separator_hor"==e.target.className){var t=document.getElementById("wfu_component_bar_hor");t.style.top=e.target.offsetTop+"px",t.style.display="block"}else if("wfu_component_separator_ver"==e.target.className){var t=document.getElementById("wfu_component_bar_ver");t.style.top=e.target.offsetTop+"px",t.style.left=e.target.offsetLeft+"px",t.style.display="block"}return!1}function wfu_default_dragover(e){return e=e||window.event,e.preventDefault&&e.preventDefault(),!1}function wfu_separator_dragleave(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;if("wfu_component_separator_hor"==e.target.className){var t=document.getElementById("wfu_component_bar_hor");t.style.display="none"}else if("wfu_component_separator_ver"==e.target.className){var t=document.getElementById("wfu_component_bar_ver");t.style.display="none"}return!1}function wfu_separator_drop(e){e=e||window.event,e.preventDefault&&e.preventDefault();var t=e.dataTransfer.getData("Component");if(!t)return!1;var a=t.split("_"),l=a[0],n=parseInt(a[1]),d=document.getElementById("wfu_component_box_"+l+"_"+n);d.style.display="none",d.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+l).appendChild(d);var u=wfu_admin_recreate_placements_text(e.target,l);return wfu_admin_recreate_placements_panel(u),document.getElementById("wfu_attribute_value_placements").value=u,wfu_update_multiplacement_attributes(),wfu_generate_shortcode(),!1}function wfu_component_dragstart(e){e=e||window.event,e.dataTransfer.setData("Component",e.target.id.replace("wfu_component_box_","")),-1==e.target.className.indexOf("wfu_component_box_dragged")&&(e.target.className+=" wfu_component_box_dragged",DraggedItem=e.target),e.target.style.zIndex=3;var t=document.getElementById("wfu_componentlist_dragdrop");return t.className="wfu_componentlist_dragdrop wfu_componentlist_dragdrop_dragover",t.style.display="block",!1}function wfu_component_dragend(e){e=e||window.event,DraggedItem=null,e.target.style.zIndex=1;var t=document.getElementById("wfu_componentlist_dragdrop");return t.style.display="none",t.className="wfu_componentlist_dragdrop",e.target.className=e.target.className.replace(" wfu_component_box_dragged",""),document.getElementById("wfu_component_bar_ver").style.display="none",document.getElementById("wfu_component_bar_hor").style.display="none",!1}function wfu_admin_recreate_placements_text(e,t){function a(e){""!=d&&(d+=n),d+=e,n=""}for(var l=document.getElementById("wfu_placements_container"),n="",d="",u=0;u<l.childNodes.length;u++)item=l.childNodes[u],"wfu_component_separator_ver"==item.className?(""==n&&(n="+"),item==e&&(a(t),n="+")):"wfu_component_separator_hor"==item.className?(n="/",item==e&&(a(t),n="/")):"wfu_component_box"==item.className&&a(item.id.replace("wfu_component_box_","").replace(/_.*$/,""));return d}function wfu_admin_recreate_placements_panel(e){for(var t,a,l,n,d,u,r,o=document.getElementById("wfu_placements_container"),_="",s=0;s<o.childNodes.length;s++)t=o.childNodes[s],"wfu_component_box"==t.className&&(n=t.id.replace("wfu_component_box_",""),d=n.split("_"),_=d[0],u=parseInt(d[1]),0==u?(t.style.display="inline-block",t.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+_).appendChild(t)):t.parentNode.removeChild(t));for(var i=document.querySelectorAll("div.wfu_component_box_container"),c={},s=0;s<i.length;s++)_=i[s].id.replace("wfu_component_box_container_",""),c[_]=0,r=document.querySelector("div#"+i[s].id+" div.wfu_component_box_index"),r&&(r.innerHTML="1");o.innerHTML="",a=e.split("/");for(var s=0;s<a.length;s++){t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),o.appendChild(t),t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),o.appendChild(t),l=a[s].split("+");for(var f=0;f<l.length;f++)t=document.querySelector("div#wfu_component_box_container_"+l[f]+" div.wfu_component_box.wfu_inbase"),t&&(n=t.id.replace("wfu_component_box_",""),d=n.split("_"),_=d[0],u=parseInt(d[1]),0==u?o.appendChild(t):(c[_]++,t.id="wfu_component_box_"+_+"_"+(c[_]+1).toString(),t.style.display="block",r=document.querySelector("div#"+t.id+" div.wfu_component_box_index"),r.innerHTML=(c[_]+1).toString(),t=t.cloneNode(!0),o.appendChild(t),t.id="wfu_component_box_"+_+"_"+c[_].toString(),r=document.querySelector("div#"+t.id+" div.wfu_component_box_index"),r.innerHTML=c[_].toString(),wfu_addEventHandler(t,"dragstart",wfu_component_dragstart),wfu_addEventHandler(t,"dragend",wfu_component_dragend)),t.className="wfu_component_box",t.style.display="inline-block",t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),o.appendChild(t))}t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),o.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_hor",t.className="wfu_component_bar_hor",o.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_ver",t.className="wfu_component_bar_ver",o.appendChild(t),wfu_attach_separator_dragdrop_events()}function wfu_update_multiplacement_attributes(){for(var e=document.querySelectorAll("div.wfu_component_box_container"),t=0;t<e.length;t++){itemname=e[t].id.replace("wfu_component_box_container_","");var a=document.querySelector("div#"+e[t].id+" div.wfu_component_box_index");if(a)for(var l=Math.max(1,parseInt(a.innerHTML)-1),n=document.getElementsByName("wfu_attribute_governor_"+itemname),d=0;d<n.length;d++)wfu_update_multiplacement_attribute(n[d].value,l)}}function wfu_update_multiplacement_attribute(e,t){if("userdatalabel"==e){var a=document.querySelectorAll("div.wfu_formdata_container"),l=a.length;if(1>l)return;for(var n,d,u=a[0],r=2;r<=Math.max(l,t);){if(r>l){var o=e+r.toString();for(n=u.parentNode;null!=n&&"TR"!=n.tagName;)n=n.parentNode;if(null==n||"TR"!=n.tagName)return;d=n.cloneNode(!0),d.id="tr_"+wfu_randomString(4),n.parentNode.appendChild(d);var _=document.querySelector("tr#"+d.id+' label[for="wfu_attribute_'+e+'"]');_.setAttribute("for","wfu_attribute_"+o),_.innerHTML+=" ("+r.toString()+")",_=document.querySelector("tr#"+d.id+" input.wfu_attribute_governor"),_.setAttribute("name","wfu_attribute_governor_independent"),_.value=o,_=document.querySelector("tr#"+d.id+" div.wfu_formdata_container"),_.id+=r.toString();var s=document.getElementById("wfu_attribute_default_"+o);s||(s=document.createElement("INPUT"),s.id="wfu_attribute_default_"+o,s.type="hidden",s.value=document.getElementById("wfu_attribute_default_"+e).value,document.getElementById("wfu_attribute_defaults").appendChild(s));var i=document.getElementById("wfu_attribute_value_"+o);i||(i=document.createElement("INPUT"),i.id="wfu_attribute_value_"+o,i.type="hidden",i.value=s.value,document.getElementById("wfu_attribute_values").appendChild(i)),window["wfu_attribute_"+o+"_formtemplate"]=window["wfu_attribute_"+e+"_formtemplate"],window["wfu_attribute_"+o+"_typeprops"]=window["wfu_attribute_"+e+"_typeprops"],wfu_apply_value(o,"formfields",i.value)}else if(r>t){for(d=a[r-1].parentNode;null!=d&&"TR"!=d.tagName;)d=d.parentNode;if(null==d||"TR"!=d.tagName)return;d.parentNode.removeChild(d),wfu_update_formfield_variables()}r++}a=document.querySelectorAll("div.wfu_formdata_container");for(var c=[],r=0;r<a.length;r++)c.push(a[r].id.replace(/^wfu_attribute_/,""));for(var f=document.querySelectorAll(".wfu_formdata_all_attributes"),r=0;r<f.length;r++)f[r].value=c.join(",");wfu_formdata_update_all_updown_buttons(e)}}function wfu_subfolders_input_changed(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_subfolders_path_","");a=a.replace("wfu_subfolders_label_","");var l=document.getElementById("wfu_attribute_"+a);if(!(l.selectedIndex<0)){var n,d,u=document.getElementById("wfu_subfolders_path_"+a),r=document.getElementById("wfu_subfolders_label_"+a),o=document.getElementById("wfu_subfolders_ok_"+a),_="1"==document.getElementById("wfu_subfolders_isnewitem_"+a).value;if(_)n="",d="";else{var s=l.data;t=s[l.selectedIndex],n=t.path,d=t.label}if(u.value==n&&r.value==d)o.disabled=!0,_||wfu_subfolders_update_nav(a);else{o.disabled=!1;for(var i=document.getElementsByName("wfu_subfolder_nav_"+a),c=0;c<i.length;c++)i[c].disabled=!0}}}function wfu_subfolders_auto_changed(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_auto_"+e),l=document.getElementById("wfu_subfolders_editable_"+e),n=document.getElementById("wfu_subfolders_manualtext_"+e);if(a.checked){var d=document.getElementById("wfu_attribute_value_"+e).value;"auto"!=d.substr(0,4)&&(n.value=d),l.parentNode.style.display="inline",wfu_apply_value(e,"folderlist","auto"+(l.checked?"+":"")),t.disabled=!0}else t.disabled=!1,l.parentNode.style.display="none",wfu_apply_value(e,"folderlist",n.value)}function wfu_subfolders_up_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index-1;if(!(0>l)){for(var n=-1,d=t.selectedIndex-1;d>=0;){if(a[d].level==item.level&&a[d].index==l){n=d;break}d--}if(-1!=n){var u=0;for(d=t.selectedIndex+1;d<a.length&&a[d].level>item.level;)u++,d++;a[n].index=item.index,item.index=l,t.data=a.slice(0,n).concat(a.slice(t.selectedIndex,t.selectedIndex+1+u)).concat(a.slice(n,t.selectedIndex)).concat(a.slice(t.selectedIndex+1+u));var r=wfu_update_subfolder_list(e);t.selectedIndex=n,wfu_subfolders_update_toolnav(e),item=t,r!==item.oldVal&&(item.oldVal=r,document.getElementById("wfu_attribute_value_"+e).value=r,wfu_generate_shortcode())}}}}function wfu_subfolders_down_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index+1,n=-1;for(curind=t.selectedIndex+1;curind<a.length;){if(a[curind].level==item.level){n=curind;break}if(a[curind].level<item.level)break;curind++}if(-1!=n){var d=0;for(curind=n+1;curind<a.length&&a[curind].level>item.level;)d++,curind++;a[n].index=item.index,item.index=l,t.data=a.slice(0,t.selectedIndex).concat(a.slice(n,n+1+d)).concat(a.slice(t.selectedIndex,n)).concat(a.slice(n+1+d));var u=wfu_update_subfolder_list(e);t.selectedIndex=t.selectedIndex+d+1,wfu_subfolders_update_toolnav(e),item=t,u!==item.oldVal&&(item.oldVal=u,document.getElementById("wfu_attribute_value_"+e).value=u,wfu_generate_shortcode())}}}function wfu_subfolders_left_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level--,curind++;item.level--;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_right_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level++,curind++;item.level++;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_def_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;if(item=a[t.selectedIndex],item["default"])item["default"]=!1;else{for(var l=0;l<a.length;l++)a[l]["default"]=!1;item["default"]=!0}var n=wfu_update_subfolder_list(e);wfu_subfolders_update_toolnav(e),item=t,n!==item.oldVal&&(item.oldVal=n,document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode())}}function wfu_subfolders_ok_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=document.getElementById("wfu_subfolders_path_"+e),l=document.getElementById("wfu_subfolders_label_"+e);if(""==a.value||""==l.value)return void alert("Path or label cannot be empty!");var n=t.data,d="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;if(d){var u=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value),r={label:l.value,path:a.value,level:u,"default":!1},o=parseInt(document.getElementById("wfu_subfolders_newitemindex_"+e).value);o>=n.length?n.push(r):n.splice(o,0,r)}else item=n[t.selectedIndex],item.path=a.value,item.label=l.value;var _=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,_!==item.oldVal&&(item.oldVal=_,document.getElementById("wfu_attribute_value_"+e).value=_,wfu_generate_shortcode())}}function wfu_subfolders_del_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=0;for(curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)l++,curind++;if(!(l>0)||confirm("Children items will be deleted as well. Proceed?")){a.splice(t.selectedIndex,1+l);var n=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,n!==item.oldVal&&(item.oldVal=n,document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode())}}}function wfu_subfolders_add_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data,l=t.selectedIndex;item=a[l];var n=t.options,d=document.createElement("option");d.value="",d.innerHTML="",n.add(d,l),t.selectedIndex=l;var u=document.getElementById("wfu_subfolder_tools_"+e),r=document.getElementById("wfu_subfolders_path_"+e),o=document.getElementById("wfu_subfolders_label_"+e),_=document.getElementById("wfu_subfolders_ok_"+e),s=document.getElementById("wfu_subfolders_browse_"+e);u.className="wfu_subfolder_tools_container",o.disabled=!1,_.disabled=!0,document.getElementById("wfu_subfolders_isnewitem_"+e).value="1",document.getElementById("wfu_subfolders_newitemindex_"+e).value=l,document.getElementById("wfu_subfolders_newitemlevel_"+e).value=item.level,document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="",r.disabled=0==item.level,s.disabled=0==item.level,0==item.level?(r.value="{root}",o.value="{upload folder}"):(r.value="",o.value="");for(var i=document.getElementsByName("wfu_subfolder_nav_"+e),c=0;c<i.length;c++)i[c].disabled=!0}}function wfu_subfolders_browse_clicked(e){var t=wfu_GetHttpRequestObject();if(null!=t){var a=null;try{var a=new FormData}catch(l){}if(null!=a){for(var n=document.getElementById("wfu_global_dialog_container"),d=document.getElementById("wfu_subfolders_browser_"+e),u=document.getElementById("wfu_subfolders_browse_"+e),r=document.getElementById("wfu_subfolders_inner_shadow_"+e),o=document.getElementById("wfu_subfolders_browser_msgcont_"+e),_=document.getElementById("wfu_subfolders_browser_msg_"+e),s=document.getElementById("wfu_subfolders_browser_img_"+e),i=document.getElementById("wfu_subfolders_browser_ok_"+e),c=document.getElementById("wfu_subfolders_browser_list_"+e);c.options.length>0;)c.options.remove(0);i.disabled=!0,i.onclick=function(){wfu_folder_browser_cancel_clicked(e)},_.innerHTML="loading folder contents...",s.style.display="inline",o.style.display="block",n.style.display="block",d.style.display="block",d.style.left=u.offsetLeft+u.offsetWidth-d.offsetWidth+"px",d.style.top=u.offsetTop+u.offsetHeight-d.offsetHeight+"px",r.style.display="block",n.onclick=function(){wfu_folder_browser_cancel_clicked(e)};var f=document.getElementById("wfu_attribute_uploadpath").value;"/"==f.substr(f.length-1)&&(f=f.substr(0,f.length-1));var m=wfu_get_relative_path(e).split(","),p=f+m[0];"/"!=p.substr(0)&&(p="/"+p);var w="";2==m.length&&(w=m[1]),a.append("action","wfu_ajax_action_read_subfolders"),a.append("folder1",wfu_plugin_encode_string(p)),a.append("folder2",wfu_plugin_encode_string(w)),t.key=e,t.addEventListener("load",wfu_readfolderComplete,!1),t.addEventListener("error",wfu_readfolderFailed,!1),t.addEventListener("abort",wfu_readfolderCanceled,!1),t.open("POST",AdminParams.wfu_ajax_url),t.send(a)}}}function wfu_readfolderComplete(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msgcont_"+t),l=document.getElementById("wfu_subfolders_browser_msg_"+t),n=document.getElementById("wfu_subfolders_browser_img_"+t),d=document.getElementById("wfu_subfolders_browser_list_"+t),u=document.getElementById("wfu_subfolders_browser_ok_"+t),r=document.getElementById("wfu_subfolders_path_"+t),o=document.getElementById("wfu_subfolders_label_"+t),_=e.target.responseText;if(-1!=_){var s="wfu_read_subfolders:",i=e.target.responseText.indexOf(s);-1==i&&(i=e.target.responseText.length);var c=(e.target.responseText.substr(0,i),e.target.responseText.substr(i+s.length,e.target.responseText.length-i-s.length));i=c.indexOf(":");var f=c.substr(0,i);if(txt_value=c.substr(i+1,c.length-i-1),"success"==f){for(var m,p=wfu_plugin_decode_string(txt_value),w=p.split(","),g=0,v=0;v<w.length;v++)""!=w[v]&&(m=document.createElement("option"),m.value=w[v],m.innerHTML=w[v].replace("*","&nbsp;&nbsp;&nbsp;"),d.add(m),g++);0==g&&(m=document.createElement("option"),m.value="",m.innerHTML="{empty}",m.disabled=!0,d.add(m)),d.selectedIndex=-1,u.onclick=function(){var e=d.options[d.selectedIndex].value,a=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+t).value);("*"==e.substr(0,1)||0==a)&&(document.getElementById("wfu_subfolders_newitemlevel_"+t).value=a+1,a>0&&(e=e.substr(1))),r.value=e,o.value=e,wfu_folder_browser_cancel_clicked(t),wfu_subfolders_ok_clicked(t)},a.style.display="none"}else"error"==f?(l.innerHTML=txt_value,n.style.display="none",u.disabled=!1):(l.innerHTML="Unknown error",n.style.display="none",u.disabled=!1)}}function wfu_readfolderFailed(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",n.disabled=!1}function wfu_readfolderCanceled(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",n.disabled=!1}function wfu_subfolders_browser_list_changed(e){var t=document.getElementById("wfu_subfolders_browser_list_"+e),a=document.getElementById("wfu_subfolders_browser_ok_"+e);a.disabled=t.selectedIndex<0}function wfu_folder_browser_cancel_clicked(e){var t=document.getElementById("wfu_global_dialog_container"),a=document.getElementById("wfu_subfolders_browser_"+e),l=(document.getElementById("wfu_subfolders_browse_"+e),document.getElementById("wfu_subfolders_inner_shadow_"+e));t.onclick=null,l.style.display="none",a.style.display="none",t.style.display="none"}function wfu_get_relative_path(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a,l=t.data,n="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;a=n?parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value):l[t.selectedIndex].level;for(var d="/",u=t.selectedIndex-1,r=a;u>=0&&r>1;)l[u].level<r&&(d="/"+l[u].path+d,r=l[u].level),u--;return n&&"1"==document.getElementById("wfu_subfolders_newitemlevel2_"+e).value&&a>0&&t.selectedIndex>0&&(d+=","+l[t.selectedIndex-1].path),d}}function wfu_subfolders_changed(e){wfu_update_subfolder_list(e),wfu_subfolders_update_toolnav(e)}function wfu_subfolders_update_toolnav(e){var t,a,l=document.getElementById("wfu_attribute_"+e),n=document.getElementById("wfu_subfolder_tools_"+e),d=document.getElementById("wfu_subfolders_path_"+e),u=document.getElementById("wfu_subfolders_label_"+e),r=document.getElementById("wfu_subfolders_ok_"+e),o=document.getElementById("wfu_subfolders_browse_"+e),_=document.getElementById("wfu_subfolders_auto_"+e);if(document.getElementById("wfu_subfolders_isnewitem_"+e).value="",document.getElementById("wfu_subfolders_newitemindex_"+e).value="",document.getElementById("wfu_subfolders_newitemlevel_"+e).value="",document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="",null==l.data?(t=wfu_decode_subfolder_list(e),l.data=t):t=l.data,0===l.data.length?(l.className="wfu_select_folders wfu_select_folders_empty",l.options[0].innerHTML=_.checked?"":"press here"):l.className="wfu_select_folders",l.selectedIndex<0)n.className="wfu_subfolder_tools_container wfu_subfolder_tools_disabled",d.disabled=!0,u.disabled=!0,r.disabled=!0,o.disabled=!0,u.value="",d.value="";else if(l.selectedIndex>=l.options.length-1){n.className="wfu_subfolder_tools_container",u.disabled=!1,r.disabled=!0,document.getElementById("wfu_subfolders_isnewitem_"+e).value="1",document.getElementById("wfu_subfolders_newitemindex_"+e).value=t.length;var s;s=0==t.length?0:0==t[t.length-1].level?1:t[t.length-1].level,document.getElementById("wfu_subfolders_newitemlevel_"+e).value=s,document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="1",d.disabled=0==s,o.disabled=!1,0==s?(d.value="{root}",u.value="{upload folder}"):(d.value="",u.value="")}else n.className="wfu_subfolder_tools_container",u.disabled=!1,r.disabled=!0,a=t[l.selectedIndex],d.disabled=0==a.level,o.disabled=0==a.level,u.value=a.label,d.value=a.path;var i=document.getElementsByName("wfu_subfolder_nav_"+e);if(l.selectedIndex<0||l.selectedIndex>=l.options.length-1)for(var c=0;c<i.length;c++)i[c].disabled=!0;else wfu_subfolders_update_nav(e)}function wfu_subfolders_update_nav(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_up_"+e),l=document.getElementById("wfu_subfolders_down_"+e),n=document.getElementById("wfu_subfolders_left_"+e),d=document.getElementById("wfu_subfolders_right_"+e),u=document.getElementById("wfu_subfolders_add_"+e),r=document.getElementById("wfu_subfolders_def_"+e),o=document.getElementById("wfu_subfolders_del_"+e),_=t.data,s=_[t.selectedIndex];for(a.disabled=s.index<=0,ind=t.selectedIndex+1,nextind=0;ind<_.length;){if(_[ind].level==s.level){nextind=_[ind].index;break}if(_[ind].level<s.level)break;ind++}l.disabled=0==s.level||0==nextind,n.disabled=0==t.selectedIndex&&s.level<1||t.selectedIndex>0&&s.level<=1,t.selectedIndex>=1?prevlevel=_[t.selectedIndex-1].level:prevlevel=0,d.disabled=s.level-prevlevel>0,u.disabled=0==s.level,r.disabled=!1,r.className="button"+(s["default"]?" wfu_subfolder_nav_pressed":""),o.disabled=!1}function wfu_decode_subfolder(e){var t={label:"",path:"",level:0,"default":!1};e=e.trim();for(var a=0,l=!1;a<e.length&&"*"==e.substr(a,1);)a++;e=e.substr(a,e.length-a),"&"==e.substr(0,1)&&(e=e.substr(1),l=!0),t.level=a,t["default"]=l;var n=e.split("/");return 1==n.length?(t.path=n[0],t.label=n[0]):n.length>1&&(t.path=n[0],t.label=n[1]),0==a&&(t.path="{root}",""==t.label&&(t.label="{upload folder}")),t}function wfu_decode_subfolder_list(e){for(var t,a=document.getElementById("wfu_attribute_"+e).options,l=Array(),n=["root"],d=[0],u=-1,r=0;r<a.length-1;r++){for(l.push(wfu_decode_subfolder(wfu_plugin_decode_string(a[r].value))),n.length>l[r].level?n[l[r].level]=l[r].path:n.push(l[r].path),t="",j=1;j<=l[r].level;j++)t+=n[j]+"/";l[r].fullpath=t,d.length<=l[r].level&&d.push(0),l[r].level>u?l[r].index=0:l[r].index=d[l[r].level]+1,d[l[r].level]=l[r].index,u=l[r].level}return l}function wfu_update_subfolder_list(e){var t=document.getElementById("wfu_attribute_"+e).options,a=document.getElementById("wfu_attribute_"+e),l=a.data;if(null!=l){var n,d,u="";t.length=l.length+1;for(var r=0;r<l.length;r++){for(n="",d="",j=0;j<l[r].level;j++)n+="*",d+="&nbsp;&nbsp;&nbsp;";l[r]["default"]?(n+="&",t[r].className="wfu_select_folders_option_default"):t[r].className="",n+=l[r].path+"/"+l[r].label,d+=l[r].label,t[r].value=wfu_plugin_encode_string(n),t[r].innerHTML=d,""!=u&&(u+=","),u+=n}return t[l.length].value="",t[l.length].innerHTML="",u}}function wfu_userdata_edit_field(e,t,a){for(var l,n=0;n<e.childNodes.length;n++)l=e.childNodes[n],"INPUT"==l.tagName?"text"==l.type?(l.value=t,wfu_attach_element_handlers(l,wfu_update_userfield_value)):"checkbox"==l.type&&(l.checked=a):"DIV"==l.tagName&&(l.className="wfu_userdata_action")}function wfu_formdata_edit_field(e,t,a){}function wfu_formdata_get_field_props(e){var t=e.split("_"),a=t[0],l="wfu_formfield_"+e,n=window["wfu_attribute_"+a+"_typeprops"][document.getElementById(l+"_type").value],d={type:document.getElementById(l+"_type").value,label:document.getElementById(l+"_label").value,labelposition:document.getElementById(l+"_labelposition").value,required:"show"==n.required.substr(0,4)&&document.getElementById(l+"_required")?document.getElementById(l+"_required").checked:"true"==n.required.substr(5),donotautocomplete:"show"==n.donotautocomplete.substr(0,4)&&document.getElementById(l+"_donotautocomplete")?document.getElementById(l+"_donotautocomplete").checked:"true"==n.donotautocomplete.substr(5),validate:"show"==n.validate.substr(0,4)&&document.getElementById(l+"_validate")?document.getElementById(l+"_validate").checked:"true"==n.validate.substr(5),typehook:"show"==n.typehook.substr(0,4)&&document.getElementById(l+"_typehook")?document.getElementById(l+"_typehook").checked:"true"==n.typehook.substr(5),hintposition:"show"==n.hintposition.substr(0,4)&&document.getElementById(l+"_hintposition")?document.getElementById(l+"_hintposition").value:n.hintposition.substr(5),"default":"show"==n["default"].substr(0,4)&&document.getElementById(l+"_default")?document.getElementById(l+"_default").value:n["default"].substr(5),data:"show"==n.data.substr(0,4)&&document.getElementById(l+"_data")?document.getElementById(l+"_data").value:n.data.substr(5),group:"show"==n.group.substr(0,4)&&document.getElementById(l+"_group")?document.getElementById(l+"_group").value:n.group.substr(5),format:"show"==n.format.substr(0,4)&&document.getElementById(l+"_format")?document.getElementById(l+"_format").value:n.format.substr(5)};return d}function wfu_formdata_type_changed(e){var t=e.split("_"),a=t[0],l="wfu_formfield_"+e,n=document.getElementById(l+"_container"),d=wfu_formdata_get_field_props(e),u=wfu_formdata_prepare_template(a,d,e);n.innerHTML=u;for(var r=document.querySelectorAll("div#"+l+'_container input[name="wfu_formfield_elements"]'),o=0;o<r.length;o++)wfu_attach_element_handlers(r[o],wfu_update_formfield_value);wfu_formdata_update_buttons(e),wfu_update_formfield_value({target:n})}function wfu_userdata_add_field(e){var t=e.parentNode,a=t.cloneNode(!0);wfu_userdata_edit_field(a,"",!1),t.parentNode.insertBefore(a,t.nextSibling)}function wfu_formdata_add_field(e){var t=e.split("_"),a=t[0],l=(t[1],document.getElementById("wfu_attribute_"+a)),n=document.getElementById("wfu_formfield_"+e+"_container"),d=document.createElement("DIV"),u=a+"_"+wfu_randomString(4);d.id="wfu_formfield_"+u+"_container",d.className="wfu_formdata_line_container",l.insertBefore(d,n.nextSibling);
2
- var r={type:"text",label:"",labelposition:"left",required:!1,donotautocomplete:!1,validate:!1,"default":"",data:"",group:"",format:"",hintposition:"right",typehook:!1},o=wfu_formdata_prepare_template(a,r,u);d.innerHTML=o;for(var _=document.querySelectorAll("div#wfu_formfield_"+u+'_container input[name="wfu_formfield_elements"]'),s=0;s<_.length;s++)wfu_attach_element_handlers(_[s],wfu_update_formfield_value);wfu_formdata_update_buttons(e),wfu_formdata_update_buttons(u),wfu_update_formfield_value({target:d})}function wfu_formdata_prepare_template(e,t,a){var l=wfu_plugin_decode_string(window["wfu_attribute_"+e+"_formtemplate"]),n=window["wfu_attribute_"+e+"_typeprops"][t.type],d=window["wfu_attribute_"+e+"_typeprops"][0].split(","),u=["required","donotautocomplete","validate","typehook","labelposition","hintposition","default","data","group","format"],r=["none","top","right","bottom","left"],o=["none","inline","top","right","bottom","left"];l=l.replace(/\[\[key\]\]/g,a).replace(/\[\[t\]\]/g,t.type).replace(/\[\[label\]\]/g,t.label).replace(/\[\[s\]\]/g,t.labelposition).replace(/\[\[d\]\]/g,t["default"]).replace(/\[\[l\]\]/g,t.data).replace(/\[\[data_label\]\]/g,n.data_label).replace(/\[\[g\]\]/g,t.group).replace(/\[\[f\]\]/g,t.format).replace(/\[\[p\]\]/g,t.hintposition);for(var _=0;_<u.length;_++)l=l.replace(new RegExp("\\[\\["+u[_]+"_hint\\]\\]","g"),n[u[_]+"_hint"]);for(var _=0;_<d.length;_++)l=l.replace("[[type_"+d[_]+"_selected]]",d[_]==t.type?' selected="selected"':"");for(var _=0;_<r.length;_++)l=l.replace("[[labelposition_"+r[_]+"_selected]]",r[_]==t.labelposition?' selected="selected"':"");for(var _=0;_<o.length;_++)l=l.replace("[[hintposition_"+o[_]+"_selected]]",o[_]==t.hintposition?' selected="selected"':"");return l=l.replace("[[remove_disabled]]",""),l=l.replace("[[up_disabled]]",""),l=l.replace("[[down_disabled]]",""),l=t.required?l.replace(/\[\[r\-\>\]\]|\[\[\<\-r\]\]/g,""):l.replace(/\[\[r\-\>\]\].*\[\[\<\-r\]\]/g,""),l=t.donotautocomplete?l.replace(/\[\[a\-\>\]\]|\[\[\<\-a\]\]/g,""):l.replace(/\[\[a\-\>\]\].*\[\[\<\-a\]\]/g,""),l=t.validate?l.replace(/\[\[v\-\>\]\]|\[\[\<\-v\]\]/g,""):l.replace(/\[\[v\-\>\]\].*\[\[\<\-v\]\]/g,""),l=t.typehook?l.replace(/\[\[h\-\>\]\]|\[\[\<\-h\]\]/g,""):l.replace(/\[\[h\-\>\]\].*\[\[\<\-h\]\]/g,""),l="show"==n.required.substr(0,4)?l.replace(/\[\[R\-\>\]\]|\[\[\<\-R\]\]/g,""):l.replace(/\[\[R\-\>\]\][^]*\[\[\<\-R\]\]/g,""),l="show"==n.donotautocomplete.substr(0,4)?l.replace(/\[\[A\-\>\]\]|\[\[\<\-A\]\]/g,""):l.replace(/\[\[A\-\>\]\][^]*\[\[\<\-A\]\]/g,""),l="show"==n.validate.substr(0,4)?l.replace(/\[\[V\-\>\]\]|\[\[\<\-V\]\]/g,""):l.replace(/\[\[V\-\>\]\][^]*\[\[\<\-V\]\]/g,""),l="show"==n.hintposition.substr(0,4)?l.replace(/\[\[P\-\>\]\]|\[\[\<\-P\]\]/g,""):l.replace(/\[\[P\-\>\]\][^]*\[\[\<\-P\]\]/g,""),l="show"==n.typehook.substr(0,4)?l.replace(/\[\[H\-\>\]\]|\[\[\<\-H\]\]/g,""):l.replace(/\[\[H\-\>\]\][^]*\[\[\<\-H\]\]/g,""),l="show"==n["default"].substr(0,4)?l.replace(/\[\[D\-\>\]\]|\[\[\<\-D\]\]/g,""):l.replace(/\[\[D\-\>\]\][^]*\[\[\<\-D\]\]/g,""),l="show"==n.data.substr(0,4)?l.replace(/\[\[L\-\>\]\]|\[\[\<\-L\]\]/g,""):l.replace(/\[\[L\-\>\]\][^]*\[\[\<\-L\]\]/g,""),l="show"==n.group.substr(0,4)?l.replace(/\[\[G\-\>\]\]|\[\[\<\-G\]\]/g,""):l.replace(/\[\[G\-\>\]\][^]*\[\[\<\-G\]\]/g,""),l="show"==n.format.substr(0,4)?l.replace(/\[\[F\-\>\]\]|\[\[\<\-F\]\]/g,""):l.replace(/\[\[F\-\>\]\][^]*\[\[\<\-F\]\]/g,"")}function wfu_userdata_remove_field(e){for(var t=e.parentNode,a=t.parentNode,l=null,n=0;n<a.childNodes.length;n++)if(1===a.childNodes[n].nodeType){l=a.childNodes[n];break}if(t!=l){t.parentNode.removeChild(t);for(var n=0;n<l.childNodes.length;n++)if(1===l.childNodes[n].nodeType){wfu_update_userfield_value({target:l.childNodes[n]});break}}}function wfu_formdata_remove_field(e){var t=e.split("_"),a=t[0],l=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_line_container");if(!(l.length<2)){for(var n=document.getElementById("wfu_attribute_"+a),d=document.getElementById("wfu_formfield_"+e+"_container"),u=0,r=0;r<l.length;r++)if(l[r]==d){u=r+1;break}n.removeChild(d),l=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_line_container"),u>l.length&&(u=l.length),d=l[u-1];var o=d.id.replace(/^wfu_formfield_/,"").replace(/_container$/,"");wfu_formdata_update_buttons(o),wfu_update_formfield_value({target:d})}}function wfu_formdata_move_field(e,t){for(var a=e.split("_"),l=a[0],n=document.querySelector("div#wfu_attribute_"+l+" .wfu_formdata_all_attributes").value.split(","),d=n.indexOf(l)+1,u=document.querySelectorAll("div#wfu_attribute_"+l+" .wfu_formdata_line_container"),r=document.getElementById("wfu_attribute_"+l),o=document.getElementById("wfu_formfield_"+e+"_container"),_=0,s=0;s<u.length;s++)if(u[s]==o){_=s+1;break}if(!("up"==t&&1==d&&1==_||"down"==t&&d==n.length&&_==u.length)){var i=wfu_formdata_get_field_props(e),c=l,f=o;if("up"==t)if(_>1)f=u[_-2];else{c=n[d-2];var m=document.querySelectorAll("div#wfu_attribute_"+c+" .wfu_formdata_line_container");f=m[m.length-1]}else if(_<u.length)f=u[_];else{c=n[d];var m=document.querySelectorAll("div#wfu_attribute_"+c+" .wfu_formdata_line_container");f=m[0]}var p=f.id.replace(/^wfu_formfield_/,"").replace(/_container$/,"");if(c==l)"up"==t?r.insertBefore(o,f):r.insertBefore(f,o);else{var w=wfu_formdata_get_field_props(p),g=wfu_formdata_prepare_template(c,i,p);f.innerHTML=g;for(var v=document.querySelectorAll("div#wfu_formfield_"+p+'_container input[name="wfu_formfield_elements"]'),s=0;s<v.length;s++)wfu_attach_element_handlers(v[s],wfu_update_formfield_value);g=wfu_formdata_prepare_template(l,w,e),o.innerHTML=g,v=document.querySelectorAll("div#wfu_formfield_"+e+'_container input[name="wfu_formfield_elements"]');for(var s=0;s<v.length;s++)wfu_attach_element_handlers(v[s],wfu_update_formfield_value)}wfu_formdata_update_buttons(e),wfu_formdata_update_buttons(p),wfu_update_formfield_value({target:o}),c!=l&&wfu_update_formfield_value({target:f})}}function wfu_formdata_update_buttons(e){for(var t=e.split("_"),a=t[0],l=document.querySelector("div#wfu_attribute_"+a+" .wfu_formdata_all_attributes").value.split(","),n=l.indexOf(a)+1,d=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_line_container"),u=document.getElementById("wfu_formfield_"+e+"_container"),r=0,o=0;o<d.length;o++)if(d[o]==u){r=o+1;break}var _=document.querySelector("div#wfu_formfield_"+e+"_container .wfu_formdata_action.wfu_formdata_action_up"),s=document.querySelector("div#wfu_formfield_"+e+"_container .wfu_formdata_action.wfu_formdata_action_down"),i=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_action_remove");_.className="wfu_formdata_action wfu_formdata_action_up"+(1==n&&1==r?" wfu_formdata_action_disabled":""),s.className="wfu_formdata_action wfu_formdata_action_down"+(n==l.length&&r==d.length?" wfu_formdata_action_disabled":"");for(var o=0;o<i.length;o++)i[o].className="wfu_formdata_action wfu_formdata_action_remove"+(i.length>1?"":" wfu_formdata_action_disabled")}function wfu_formdata_update_all_updown_buttons(e){for(var t=document.querySelector("div#wfu_attribute_"+e+" .wfu_formdata_all_attributes").value.split(","),a=0;a<t.length;a++)for(var l=a+1,n=document.querySelectorAll("div#wfu_attribute_"+t[a]+" .wfu_formdata_line_container"),d=0;d<n.length;d++){var u=d+1,r=n[d].id.replace(/^wfu_formfield_/,"").replace(/_container$/,""),o=document.querySelector("div#wfu_formfield_"+r+"_container .wfu_formdata_action.wfu_formdata_action_up"),_=document.querySelector("div#wfu_formfield_"+r+"_container .wfu_formdata_action.wfu_formdata_action_down");o.className="wfu_formdata_action wfu_formdata_action_up"+(1==l&&1==u?" wfu_formdata_action_disabled":""),_.className="wfu_formdata_action wfu_formdata_action_down"+(l==t.length&&u==n.length?" wfu_formdata_action_disabled":"")}}function wfu_generate_shortcode(){for(var e,t=document.getElementById("wfu_shortcode_tag").value,a=document.getElementById("wfu_attribute_defaults"),l=(document.getElementById("wfu_attribute_values"),""),n="",d="["+t,u="",r=0;r<a.childNodes.length;r++)e=a.childNodes[r],1===e.nodeType&&(l=e.id.replace("wfu_attribute_default_",""),n=document.getElementById("wfu_attribute_value_"+l).value,e.value!=n&&(u+=" "+l+'="'+n+'"'));d+=u+"]",document.getElementById("wfu_shortcode").value=d,ShortcodeString=u.substr(1),document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode").disabled=wfu_plugin_encode_string(d)==document.getElementById("wfu_shortcode_original_enc").value),Autosave&&wfu_schedule_save_shortcode()}function wfu_update_text_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_",""),l=t.value;l=l.replace(/(\r\n|\n|\r)/gm,"%n%"),l=l.replace(/\"/gm,"%dq%"),l=l.replace(/\[/gm,"%brl%"),l=l.replace(/\]/gm,"%brr%"),l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_date_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_",""),l=t.value;l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_stringmatch_textvalue(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.replace("_matchfield","").replace("_matchvalue",""),wfu_update_stringmatch_value(a)}function wfu_update_triplecolor_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.replace("_color",""),a=a.replace("_bgcolor",""),a=a.replace("_borcolor",""),t=document.getElementById("wfu_attribute_"+a+"_color");var l=t.value+","+document.getElementById("wfu_attribute_"+a+"_bgcolor").value+","+document.getElementById("wfu_attribute_"+a+"_borcolor").value;l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_dimension_value(e){e=e||window.event;var t=e.target,a=t.name.replace("wfu_dimension_elements_",""),l=document.getElementsByName(t.name);t=l[0];for(var n="",d="",u=0;u<l.length;u++)d=l[u].id.replace("wfu_attribute_"+a+"_",""),""!=n&&""!=l[u].value&&(n+=", "),""!=l[u].value&&(n+=d+":"+l[u].value);n!==t.oldVal&&(t.oldVal=n,document.getElementById("wfu_attribute_value_"+a).value=n,wfu_generate_shortcode())}function wfu_update_ptext_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.substr(2);var l=document.getElementById("wfu_attribute_s_"+a).value,n=document.getElementById("wfu_attribute_p_"+a).value,d=l+"/"+n;d!==t.oldVal&&(t.oldVal=d,document.getElementById("wfu_attribute_value_"+a).value=d),wfu_generate_shortcode()}function wfu_update_mchecklist_value(e){var t="",a=(document.getElementById("wfu_attribute_"+e),document.getElementById("wfu_attribute_"+e+"_all"));a.checked?(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!0),jQuery("#wfu_attribute_"+e+" input").prop("checked",!0),t="all"):(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!1),jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked")&&(t+=","+jQuery(this).next().html())}),t=t.substr(1)),document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_rolelist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_guests"),n=document.getElementById("wfu_attribute_"+e+"_all");if(n.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var d=a.options,u=0;u<d.length;u++)d[u].selected&&(""!=t&&(t+=","),t+=d[u].value)}l.checked&&(""!=t&&(t+=","),t+="guests"),document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_userlist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_current"),n=document.getElementById("wfu_attribute_"+e+"_guests"),d=document.getElementById("wfu_attribute_"+e+"_all");if(l&&l.checked)a.disabled=!0,d.disabled=!0,n.disabled=!0,t="current";else{if(d.disabled=!1,n.disabled=!1,d.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var u=a.options,r=0;r<u.length;r++)u[r].selected&&(""!=t&&(t+=","),t+=u[r].value)}n.checked&&(""!=t&&(t+=","),t+="guests")}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_postlist_value(e){for(var t="",a=Array(),l=Array(),n=document.getElementById("wfu_attribute_"+e+"_postlist").value.split(","),d=0;d<n.length;d++)a.push(document.getElementById("wfu_attribute_"+e+"_"+n[d])),l.push(document.getElementById("wfu_attribute_"+e+"_all_"+n[d]));var u=document.getElementById("wfu_attribute_"+e+"_current");if(u&&u.checked){for(var d=0;d<n.length;d++)a[d].disabled=!0,l[d].disabled=!0;t="current"}else{var r=!0;t="";for(var d=0;d<n.length;d++)if(l[d].disabled=!1,l[d].checked)a[d].disabled=!0,""!=t&&(t+=","),t+="all"+n[d];else{a[d].disabled=!1,r=!1;for(var o=a[d].options,_=0;_<o.length;_++)o[_].selected&&(""!=t&&(t+=","),t+=o[_].value)}r&&(t="all")}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_bloglist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_current"),n=document.getElementById("wfu_attribute_"+e+"_all");if(l&&l.checked)a.disabled=!0,n.disabled=!0,t="current";else if(n.disabled=!1,n.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var d=a.options,u=0;u<d.length;u++)d[u].selected&&(""!=t&&(t+=","),t+=d[u].value)}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_stringmatch_value(e){var t=document.getElementById("wfu_attribute_"+e+"_matchfield").value,a=document.getElementById("wfu_attribute_"+e+"_matchcriterion").value,l=document.getElementById("wfu_attribute_"+e+"_matchvalue").value;t=t.replace(";",""),""==t.trim()?document.getElementById("wfu_attribute_value_"+e).value="":document.getElementById("wfu_attribute_value_"+e).value="field:"+t+";criterion:"+a+";value:"+l,wfu_generate_shortcode()}function wfu_update_userfield_value(e){e=e||window.event;for(var t=e.target,a=t.parentNode,l=a.parentNode,n="",d=!1,u="",r=0;r<l.childNodes.length;r++)if(a=l.childNodes[r],"DIV"===a.tagName){for(var o=0;o<a.childNodes.length;o++)"INPUT"==a.childNodes[o].tagName&&("text"==a.childNodes[o].type?(n=a.childNodes[o].value,0==r&&(t=a.childNodes[o])):"checkbox"==a.childNodes[o].type&&(d=a.childNodes[o].checked));""!=u&&""!=n&&(u+="/"),""!=n&&d&&(u+="*"),""!=n&&(u+=n)}u!==t.oldVal&&(t.oldVal=u,document.getElementById("wfu_attribute_value_userdatalabel").value=u,wfu_generate_shortcode(),wfu_update_formfield_variables())}function wfu_update_formfield_value(e){e=e||window.event;for(var t=e.target,a=t.id.match(/^wfu_formfield_(.*?)_/)[1],l=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_line_container"),n="",d=0;d<l.length;d++){var u="",r=l[d].id.match(/^wfu_formfield_.*?_(.*?)_/)[1],o=a+"_"+r,_=document.getElementById("wfu_formfield_"+o+"_label").value;if(""!=_.trim()){u=_.trim();var s=document.getElementById("wfu_formfield_"+o+"_type").value,i=window["wfu_attribute_"+a+"_typeprops"];u+="|t:"+s,u+="|s:"+document.getElementById("wfu_formfield_"+o+"_labelposition").value,"show"==i[s].required.substr(0,4)&&(u+="|r:"+(document.getElementById("wfu_formfield_"+o+"_required").checked?"1":"0")),"show"==i[s].donotautocomplete.substr(0,4)&&(u+="|a:"+(document.getElementById("wfu_formfield_"+o+"_donotautocomplete").checked?"1":"0")),"show"==i[s].validate.substr(0,4)&&(u+="|v:"+(document.getElementById("wfu_formfield_"+o+"_validate").checked?"1":"0")),"show"==i[s].typehook.substr(0,4)&&(u+="|h:"+(document.getElementById("wfu_formfield_"+o+"_typehook").checked?"1":"0")),"show"==i[s].hintposition.substr(0,4)&&(u+="|p:"+document.getElementById("wfu_formfield_"+o+"_hintposition").value),"show"==i[s]["default"].substr(0,4)&&(u+="|d:"+document.getElementById("wfu_formfield_"+o+"_default").value),"show"==i[s].data.substr(0,4)&&(u+="|l:"+document.getElementById("wfu_formfield_"+o+"_data").value),"show"==i[s].group.substr(0,4)&&(u+="|g:"+document.getElementById("wfu_formfield_"+o+"_group").value),"show"==i[s].format.substr(0,4)&&(u+="|f:"+document.getElementById("wfu_formfield_"+o+"_format").value)}""!=u&&(""!=n&&(n+="/"),n+=u)}n!==t.oldVal&&(t.oldVal=n,document.getElementById("wfu_attribute_value_"+a).value=n,wfu_generate_shortcode(),wfu_update_formfield_variables())}function wfu_update_formfield_variables(){var e=document.getElementById("wfu_attribute_value_userdatalabel");if(e){for(var t=document.getElementById("wfu_wrapper"),a=document.getElementsByClassName("wfu_shadow_userdata","div",t),l=document.getElementsByName("wfu_formfield_select"),n=0;n<l.length;n++)l[n].style.display="none";if(0!=a.length&&"block"!=a[0].style.display){for(var d='<option style="display:none;">%userdataXXX%</option>',u=e.value.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),r=2;document.getElementById("wfu_attribute_userdatalabel"+r);){var o=document.getElementById("wfu_attribute_value_userdatalabel"+r).value.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]");u=u.concat(o),r++}var _="",s=0;r=1;for(var n=0;n<u.length;n++)_=u[n],"*"==_[0]&&(_=_.substr(1)),s=_.indexOf("|"),s>-1&&(_=_.substr(0,s)),""!=_.trim()&&(d+='<option value="%userdata'+r+'%">'+r+": "+_.trim()+"</option>",r++);for(var n=0;n<l.length;n++)l[n].innerHTML=d,l[n].style.display="inline-block"}}}function wfu_attach_element_handlers(e,t){for(var a=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"],l=0;l<a.length;l++)wfu_addEventHandler(e,a[l],t)}function wfu_Attach_Admin_Events(e){Autosave=e,wfu_generate_shortcode(),wfu_update_formfield_variables(),wfu_Attach_Admin_DragDrop_Events();for(var t=document.getElementsByName("wfu_text_elements"),a=0;a<t.length;a++)wfu_attach_element_handlers(t[a],wfu_update_text_value);for(var l=document.getElementsByName("wfu_ptext_elements"),a=0;a<l.length;a++)wfu_attach_element_handlers(l[a],wfu_update_ptext_value);for(var n=document.getElementsByName("wfu_stringmatch_elements"),a=0;a<n.length;a++)wfu_attach_element_handlers(n[a],wfu_update_stringmatch_textvalue);for(var d=document.getElementsByName("wfu_triplecolor_elements"),a=0;a<d.length;a++)wfu_attach_element_handlers(d[a],wfu_update_triplecolor_value);for(var u=document.getElementsByName("wfu_dimension_elements_widths"),a=0;a<u.length;a++)wfu_attach_element_handlers(u[a],wfu_update_dimension_value);u=document.getElementsByName("wfu_dimension_elements_heights");for(var a=0;a<u.length;a++)wfu_attach_element_handlers(u[a],wfu_update_dimension_value);for(var r=document.getElementsByName("wfu_userfield_elements"),a=0;a<r.length;a++)wfu_attach_element_handlers(r[a],wfu_update_userfield_value);for(var o=document.getElementsByName("wfu_formfield_elements"),a=0;a<o.length;a++)wfu_attach_element_handlers(o[a],wfu_update_formfield_value);for(var _=document.getElementsByName("wfu_subfolder_tools_input"),a=0;a<_.length;a++)wfu_attach_element_handlers(_[a],wfu_subfolders_input_changed);for(var s=document.getElementsByName("wfu_columnprops_elements"),a=0;a<s.length;a++)wfu_attach_element_handlers(s[a],wfu_columnprops_element_changed);""!=document.getElementById("wfu_shortcode_postid").value&&setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}function wfu_insert_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,n=a.value;a.value=n.substr(0,l)+e.innerHTML+n.substr(l),wfu_update_text_value({target:a})}function wfu_insert_userfield_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,n=a.value;a.value=n.substr(0,l)+e.value+n.substr(l),e.value="%userdataXXX%",wfu_update_text_value({target:a})}function wfu_columns_itemclicked(e,t){var a=e.parentNode;if("SELECT"==a.tagName){for(var l=0;l<a.options.length;l++)a.options[l].selected=a.options[l]==e;wfu_update_column_props(t)}}function wfu_columns_buttonaction(e,t){var a=document.getElementById("wfu_attribute_"+e+"_sourcelist"),l=document.getElementById("wfu_attribute_"+e);if("add"==t){for(var n=0;n<a.options.length;n++)if(a.options[n].selected||"wfu_columns_item_required"==a.options[n].className){for(var d=!1,u=a.options[n].value.replace(/:.*/,""),r=0;r<l.options.length;r++){var o=l.options[r].value.replace(/:.*/,"");if(o==u){d=!0;break}}if(!d){var _=a.options[n].value.match(/(.*?):(.*?)\/(.*)/),s=_[1],i="custom"==s?"+-"+(""==_[2]?"s":_[2]):""!=_[2]?"-+"+_[2]:"",c=_[3];"custom"==s&&(s="custom1");var f=document.createElement("OPTION");f.value=s+":"+i+"/"+a.options[n].innerHTML+"/"+c,f.innerHTML=a.options[n].innerHTML+(""!=c&&c!=a.options[n].innerHTML?" ("+c+")":""),f.className=a.options[n].className,f.onclick=a.options[n].onclick,l.appendChild(f),l.selectedIndex=l.options.length-1}}}else if("del"==t)for(var n=0;n<l.options.length;)l.options[n].selected&&"wfu_columns_item_required"!=l.options[n].className?l.options.remove(n):n++;else if("up"==t||"down"==t){for(var m=-1,n=0;n<l.options.length;n++)l.options[n].selected&&-1==m?m=n:l.options[n].selected&&m>-1&&(l.options[n].selected=!1);"up"==t&&m>0?l.insertBefore(l.options[m],l.options[m-1]):"down"==t&&m<l.options.length-1&&l.insertBefore(l.options[m+1],l.options[m])}wfu_update_column_props(e),wfu_update_columns(e)}function wfu_update_column_props(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_attribute_"+e+"_columnprops_container"),l=document.getElementById("wfu_attribute_"+e+"_columnprops_title"),n=(document.getElementById("wfu_attribute_"+e+"_columnprops_title_label"),document.getElementById("wfu_attribute_"+e+"_columnprops_id")),d=document.getElementById("wfu_attribute_"+e+"_columnprops_id_label"),u=document.getElementById("wfu_attribute_"+e+"_columnprops_sort"),r=document.getElementById("wfu_attribute_"+e+"_columnprops_sort_label"),o=document.getElementById("wfu_attribute_"+e+"_columnprops_sorttype"),_=document.getElementById("wfu_attribute_"+e+"_columnprops_sorttype_label"),s=t.selectedIndex;if(""==o.options[0].value&&o.options.remove(0),-1==s)a.className="wfu_columnprops_container wfu_columnprops_container_disabled",l.value="",l.disabled=!0,n.value="",n.disabled=!0,u.checked=!1,u.disabled=!0,o.selectedIndex=-1,o.disabled=!0;else{var i=t.options[s].value.match(/(.*?):(.*?)\/(.*?)\/(.*)/),c=i[1],f="custom"==c.substr(0,6),m=f?c.substr(6):"",p=""!=i[2],w=p&&"+"==i[2].substr(1,1),g=w&&"+"==i[2].substr(0,1),v=w?i[2].substr(2):"",b=i[4];a.className="wfu_columnprops_container",l.value=b,l.disabled=!1,d.className=f?"":"wfu_columnprops_label_disabled",n.value=m,n.disabled=!f,r.className=p?"":"wfu_columnprops_label_disabled",u.checked=w,u.disabled=!p,_.className=g?"":"wfu_columnprops_label_disabled",o.value=v,o.disabled=!g}}function wfu_columnprops_element_changed(e){e=e||window.event;var t=e.target,a=t.id.match(/^wfu_attribute_(.*?)_columnprops_/)[1],l=document.getElementById("wfu_attribute_"+a),n=document.getElementById("wfu_attribute_"+a+"_columnprops_title"),d=document.getElementById("wfu_attribute_"+a+"_columnprops_id"),u=document.getElementById("wfu_attribute_"+a+"_columnprops_sort"),r=document.getElementById("wfu_attribute_"+a+"_columnprops_sorttype"),o=l.selectedIndex;if(-1!=o){var _=l.options[o].value.match(/(.*?):(.*?)\/(.*?)\/(.*)/),s=_[1],i="custom"==s.substr(0,6)?"custom":s,c="custom"==i,f=c?parseInt(d.value)>=1?d.value:"1":"",m=""!=_[2]?_[2].substr(0,1)+(u.checked?"+":"-")+(""!=r.value?r.value:""!=_[2].substr(2)?_[2].substr(2):"s"):"",p=_[3],w=""!=n.value?n.value:p;l.options[o].value=i+f+":"+m+"/"+p+"/"+w,l.options[o].innerHTML=p+(w!=p?" ("+w+")":""),wfu_update_column_props(a),wfu_update_columns(a)}}function wfu_update_columns(e){for(var t=document.getElementById("wfu_attribute_"+e),a="",l=0;l<t.options.length;l++){var n=t.options[l].value.match(/(.*?):(.*?)\/(.*?)\/(.*)/),d=n[1]+":"+("+"==n[2].substr(1,1)?n[2].substr(2):"")+"/"+n[4];""!=a&&(a+=","),a+=d}document.getElementById("wfu_attribute_value_"+e).value=a,wfu_generate_shortcode()}function wfu_GetHttpRequestObject(){var e=null;try{e=new XMLHttpRequest}catch(t){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}if(null==e&&window.createRequest)try{xmlhttp=window.createRequest()}catch(t){}return e}function wfu_plugin_encode_string(e){var t,a=0,l="",n="";for(a=0;a<e.length;a++)t=e.charCodeAt(a),t>=2048?t=((16773120&t|917504)<<4)+((4032&t|8192)<<2)+(63&t|128):t>=128&&(t=((65472&t|12288)<<2)+(63&t|128)),n=t.toString(16),(1==n.length||3==n.length||5==n.length)&&(n="0"+n),l+=n;return l}function wfu_plugin_decode_string(e){for(var t,a,l=0,n="";l<e.length;)t=parseInt(e.substr(l,2),16),a=128>t?t:224>t?((31&t)<<6)+(63&parseInt(e.substr(l+=2,2),16)):((15&t)<<12)+((63&parseInt(e.substr(l+=2,2),16))<<6)+(63&parseInt(e.substr(l+=2,2),16)),n+=String.fromCharCode(a),l+=2;return n}function wfu_randomString(e){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",a=e,l="",n=0;a>n;n++){var d=Math.floor(Math.random()*t.length);l+=t.substring(d,d+1)}return l}function wfu_schedule_save_shortcode(){var e=new Date,t=ShortcodeNextSave-e.getTime();null!=ShortcodeTimeOut&&(clearTimeout(ShortcodeTimeOut),ShortcodeTimeOut=null),0>=t?wfu_save_shortcode():ShortcodeTimeOut=setTimeout(function(){wfu_save_shortcode()},t)}function wfu_check_page_obsolescence(){PageObsolete||PageUpdating||""==document.getElementById("wfu_shortcode_postid").value}function wfu_save_shortcode(){if(!PageObsolete){var e=wfu_GetHttpRequestObject();if(null!=e){PageUpdating=!0,document.getElementById("wfu_update_failed_message").style.display="none";var t=AdminParams.wfu_ajax_url;params=new Array(8),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_save_shortcode",params[1]=new Array(2),params[1][0]="shortcode",params[1][1]=wfu_plugin_encode_string(ShortcodeString),params[2]=new Array(2),params[2][0]="shortcode_original",params[2][1]=document.getElementById("wfu_shortcode_original_enc").value,params[3]=new Array(2),params[3][0]="post_id",params[3][1]=document.getElementById("wfu_shortcode_postid").value,params[4]=new Array(2),params[4][0]="post_hash",params[4][1]=document.getElementById("wfu_shortcode_posthash").value,params[5]=new Array(2),params[5][0]="shortcode_position",params[5][1]=document.getElementById("wfu_shortcode_position").value,params[6]=new Array(2),params[6][0]="shortcode_tag",params[6][1]=document.getElementById("wfu_shortcode_tag").value,params[7]=new Array(2),params[7][0]="widget_id",params[7][1]=document.getElementById("wfu_shortcode_widgetid").value;for(var a="",l=0;l<params.length;l++)a+=(l>0?"&":"")+params[l][0]+"="+encodeURI(params[l][1]);var n=new Date;Autosave?ShortcodeNextSave=n.getTime()+5e3:document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="inline"),e.open("POST",t,!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){PageUpdating=!1;var t="wfu_save_shortcode:",a=e.responseText.indexOf(t);-1==a&&(a=e.responseText.length);var l=(e.responseText.substr(0,a),e.responseText.substr(a+t.length,e.responseText.length-a-t.length));a=l.indexOf(":");var d=l.substr(0,a);if(txt_value=l.substr(a+1,l.length-a-1),"success"==d){if(Autosave?(document.getElementById("wfu_save_label").innerHTML="saved",document.getElementById("wfu_save_label").className="wfu_save_label",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300),ShortcodeNextSave=n.getTime()+1e3,null!=ShortcodeTimeOut&&wfu_schedule_save_shortcode()):document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="none",document.getElementById("wfu_update_shortcode").disabled=!0,window.plugin_window&&window.plugin_window.location.reload(!0)),""!=document.getElementById("wfu_shortcode_postid").value){var u=document.getElementById("wfu_shortcode_tag").value;document.getElementById("wfu_shortcode_original_enc").value=wfu_plugin_encode_string("["+u+" "+ShortcodeString+"]"),document.getElementById("wfu_shortcode_posthash").value=txt_value,setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}}else Autosave&&(document.getElementById("wfu_save_label").innerHTML="not saved",document.getElementById("wfu_save_label").className="wfu_save_label_fail",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300)),"fail"==d&&("post_modified"==txt_value?(PageObsolete=!0,document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode").disabled=!0),document.getElementById("wfu_update_rejected_message").style.display="block"):document.getElementById("wfu_update_failed_message").style.display="block")}},e.send(a)}}}function wfu_adjust_opacity(e){document.getElementById("wfu_save_label").style.opacity=e}function wfu_fadeout_element(e){for(var t=20,a=0,l=0;t>l;l++)a=1-l/t,setTimeout('wfu_adjust_opacity("'+a.toString()+'")',l*e/t);setTimeout('wfu_adjust_opacity("0.0")',l*e/t)}function wfu_apply_value(e,t,a){if("onoff"==t)document.getElementById("wfu_attribute_"+e).className="wfu_onoff_container_"+("true"!=a?"on":"off"),wfu_admin_onoff_clicked(e);else if("text"==t||"ltext"==t||"integer"==t||"float"==t||"mtext"==t||"color"==t){var l=document.getElementById("wfu_attribute_"+e);if(a=a.replace(/\%n\%/gm,"\n"),a=a.replace(/\%dq\%/gm,'"'),a=a.replace(/\%brl\%/gm,"["),a=a.replace(/\%brr\%/gm,"]"),"color"==t){var n=colourNameToHex(a);n||(n=a),jQuery("#wfu_attribute_"+e).wpColorPicker("color",n)}l.value=a,wfu_update_text_value({target:l})}else if("date"==t){var l=document.getElementById("wfu_attribute_"+e);l.value=a,wfu_update_date_value({target:l})}else if("placements"==t)wfu_admin_recreate_placements_panel(a),document.getElementById("wfu_attribute_value_placements").value=a,wfu_generate_shortcode();else if("radio"==t){for(var d=document.getElementsByName("wfu_radioattribute_"+e),u=0;u<d.length;u++)d[u].checked=d[u].value==a||"*"+d[u].value==a;wfu_admin_radio_clicked(e)}else if("ptext"==t){a=a.replace(/\%n\%/gm,"\n"),a=a.replace(/\%dq\%/gm,'"'),a=a.replace(/\%brl\%/gm,"["),a=a.replace(/\%brr\%/gm,"]");var r=a.split("/"),o=r.length<1?"":r[0],_=r.length<2?o:r[1],s=document.getElementById("wfu_attribute_s_"+e);s.value=o;var i=document.getElementById("wfu_attribute_p_"+e);i.value=_,wfu_update_ptext_value({target:s}),wfu_update_ptext_value({target:i})}else if("mchecklist"==t){if(a=a.toLowerCase(),"all"==a)document.getElementById("wfu_attribute_"+e+"_all").checked=!0;else{document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var c=a.split(","),u=0;u<c.length;u++)c[u]=c[u].trim();jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked",c.indexOf(jQuery(this).next().html())>-1)})}wfu_update_mchecklist_value(e)}else if("rolelist"==t){var l=document.getElementById("wfu_attribute_"+e),f=document.getElementById("wfu_attribute_"+e+"_all"),m=f.className.indexOf("wfu_default_administrator")>-1,p=a.split(",");if(p.indexOf("all")>-1){f.checked=!0;for(var u=0;u<l.options.length;u++)l.options[u].selected=m&&"administrator"==l.options[u].value}else{f.checked=!1;for(var u=0;u<p.length;u++)p[u]=p[u].trim();for(var u=0;u<l.options.length;u++)l.options[u].selected=p.indexOf(l.options[u].value)>-1}document.getElementById("wfu_attribute_"+e+"_guests").checked=p.indexOf("guests")>-1,wfu_update_rolelist_value(e)}else if("userlist"==t){var l=document.getElementById("wfu_attribute_"+e),f=document.getElementById("wfu_attribute_"+e+"_all"),w=f.className.indexOf("wfu_default_0")>-1,g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0,f.checked=!1,document.getElementById("wfu_attribute_"+e+"_guests").checked=!1;for(var u=0;u<l.options.length;u++)l.options[u].selected=w&&1>u;
3
- }else{g&&(g.checked=!1);var v=a.split(",");if(v.indexOf("all")>-1){f.checked=!0;for(var u=0;u<l.options.length;u++)l.options[u].selected=w&&1>u}else{f.checked=!1;for(var u=0;u<v.length;u++)v[u]=v[u].trim();for(var u=0;u<l.options.length;u++)l.options[u].selected=v.indexOf(l.options[u].value)>-1}document.getElementById("wfu_attribute_"+e+"_guests").checked=v.indexOf("guests")>-1}wfu_update_userlist_value(e)}else if("postlist"==t){for(var b=Array(),f=Array(),h=document.getElementById("wfu_attribute_"+e+"_postlist").value.split(","),u=0;u<h.length;u++)b.push(document.getElementById("wfu_attribute_"+e+"_"+h[u])),f.push(document.getElementById("wfu_attribute_"+e+"_all_"+h[u]));var g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0;for(var u=0;u<h.length;u++){f[u].checked=!1;for(var y=0;y<b[u].options.length;y++)b[u].options[y].selected=!1}}else{g&&(g.checked=!1);for(var I=a.split(","),u=0;u<h.length;u++){("all"==a||I.indexOf("all"+h[u])>-1)&&(f[u].checked=!0);for(var y=0;y<b[u].options.length;y++)b[u].options[y].selected=I.indexOf(b[u].options[y].value)>-1}}wfu_update_postlist_value(e)}else if("bloglist"==t){var g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0,document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var l=document.getElementById("wfu_attribute_"+e),u=0;u<l.options.length;u++)l.options[u].selected=!1}else{g&&(g.checked=!1);var E=a.split(",");if("all"==a)document.getElementById("wfu_attribute_"+e+"_all").checked=!0;else{document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var u=0;u<E.length;u++)E[u]=E[u].trim();for(var l=document.getElementById("wfu_attribute_"+e),u=0;u<l.options.length;u++)l.options[u].selected=E.indexOf(l.options[u].value)>-1}}wfu_update_bloglist_value(e)}else if("stringmatch"==t){var B="",k="equal to",x="",N=a.match(/^field:(.*?);\s*criterion:(.*?)\s*;\s*value:(.*)$/);N&&4==N.length&&(B=N[1],k=N[2],x=N[3]),document.getElementById("wfu_attribute_"+e+"_matchfield").value=B,document.getElementById("wfu_attribute_"+e+"_matchcriterion").value=k,document.getElementById("wfu_attribute_"+e+"_matchvalue").value=x,wfu_update_stringmatch_value(e)}else if("columns"==t){var T=document.getElementById("wfu_attribute_"+e+"_sourcelist"),A=document.getElementById("wfu_attribute_"+e);A.innerHTML="";for(var S=a.replace(/(:|\/).*?(,|$)/g,"$2").split(","),u=0;u<T.options.length;u++){var r=T.options[u].value.match(/(.*?):(.*?)\/(.*)/),q=r[1];if("wfu_columns_item_required"==T.options[u].className&&-1==S.indexOf(q)){var H="custom"==q?"+-"+(""==r[2]?"s":r[2]):""!=r[2]?"-+"+r[2]:"",O=r[3];"custom"==q&&(q="custom1");var L=document.createElement("OPTION");L.value=q+":"+H+"/"+T.options[u].innerHTML+"/"+O,L.innerHTML=T.options[u].innerHTML+(""!=O&&O!=T.options[u].innerHTML?" ("+O+")":""),L.className=T.options[u].className,L.onclick=T.options[u].onclick,A.appendChild(L)}}for(var C=a.split(","),u=0;u<C.length;u++){var M=C[u].split("/",2),q=M[0],j="";M.length>1&&(j=M[1]),M=q.split(":",2),q=M[0];for(var D=q.replace(/custom[0-9]+$/,"custom"),P=-1,y=0;y<T.options.length;y++){var V=T.options[y].value.replace(/:.*/,"");if(V==D){P=y;break}}for(var R=!1,y=0;y<A.options.length;y++){var F=A.options[y].value.replace(/:.*/,"");if(F==q){R=!0;break}}if("custom"!=q&&P>-1&&!R){var r=T.options[P].value.match(/(.*?):(.*?)\/(.*)/),U="custom"==D||""!=r[2],H=r[2],Q=T.options[P].innerHTML,O=r[3],G="";G=1==M.length?"custom"==D?"+-s":U?"-+"+H:"":"custom"==D?"+"+(""==M[1]?"-s":"+"+M[1]):U?"-"+(""==M[1]?"-":"+")+H:"",""==j&&(j=O);var L=document.createElement("OPTION");L.value=q+":"+G+"/"+Q+"/"+j,L.innerHTML=Q+(O!=Q?" ("+O+")":""),L.className=T.options[P].className,L.onclick=T.options[u].onclick,A.appendChild(L)}}wfu_update_column_props(e),wfu_update_columns(e)}else if("dimensions"==t){for(var X,$,W,l,z=a.split(","),J=document.getElementsByName("wfu_dimension_elements_"+e),u=0;u<J.length;u++)J[u].value="";for(var u=0;u<z.length;u++)X=z[u].split(":",2),$=X.length<1?"":X[0],W=X.length<2?$:X[1],l=document.getElementById("wfu_attribute_"+e+"_"+$.trim()),l&&(l.value=W.trim());l=J[0],wfu_update_dimension_value({target:l})}else if("userfields"==t){for(var K,Z=a.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),Y=Array(),u=0;u<Z.length;u++)K="*"==Z[u].substr(0,1),K&&(Z[u]=Z[u].substr(1)),""!=Z[u]&&Y.push({name:Z[u],required:K});for(var ee=document.getElementById("wfu_attribute_"+e),te=null,ae=Array(),u=0;u<ee.childNodes.length;u++)1===ee.childNodes[u].nodeType&&(null==te?te=ee.childNodes[u]:ae.push(ee.childNodes[u]));for(var u=0;u<ae.length;u++)ee.removeChild(ae[u]);wfu_userdata_edit_field(te,"",!1);for(var le,ne=te,u=0;u<Y.length;u++)0==u?wfu_userdata_edit_field(te,Y[u].name,Y[u].required):(le=ne.cloneNode(!0),wfu_userdata_edit_field(le,Y[u].name,Y[u].required),ee.insertBefore(le,ne.nextSibling),ne=le);for(var l,u=0;u<te.childNodes.length&&(l=te.childNodes[u],"INPUT"!=l.tagName);u++);wfu_update_userfield_value({target:l})}else if("formfields"==t){for(var Y=Array(),de=window["wfu_attribute_"+e+"_typeprops"],ue=de[0].split(","),re={},u=0;u<ue.length;u++){var oe=de[ue[u]],_e={};_e.type=ue[u],_e.label="",_e.labelposition=oe.labelposition.substr(5),_e.required="true"==oe.required.substr(5),_e.donotautocomplete="true"==oe.donotautocomplete.substr(5),_e.validate="true"==oe.validate.substr(5),_e.typehook="true"==oe.typehook.substr(5),_e.hintposition=oe.hintposition.substr(5),_e["default"]=oe["default"].substr(5),_e.data=oe.data.substr(5),_e.group=oe.group.substr(5),_e.format=oe.format.substr(5),re[ue[u]]=_e}for(var Z=a.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),u=0;u<Z.length;u++){var se=Z[u].trim(),ie={};for(prop in re.text)ie[prop]=re.text[prop];"*"==se.substr(0,1)&&(ie.required=!0,se=se.substr(1));var ce=se.split("|");if(""!=ce[0].trim()){for(var fe=-1,me="",y=0;y<ce.length;y++){var pe=ce[y].replace(/^\s+/gm,""),we=pe.substr(0,2),W=pe.substr(2);if("t:"==we&&y>0&&ue.indexOf(W)>-1){me=W,fe=y;break}}if(""!=me){for(prop in re[me])ie[prop]=re[me][prop];ce.splice(fe,1)}ie.label=ce[0].trim(),ce.splice(0,1);for(var y=0;y<ce.length;y++){var pe=ce[y].replace(/^\s+/gm,""),we=pe.substr(0,2),W=pe.substr(2);"s:"==we?ie.labelposition=W:"r:"==we?ie.required="1"==W:"a:"==we?ie.donotautocomplete="1"==W:"v:"==we?ie.validate="1"==W:"d:"==we?ie["default"]=W:"l:"==we?ie.data=W:"g:"==we?ie.group=W:"f:"==we?ie.format=W:"p:"==we?ie.hintposition=W:"h:"==we&&(ie.typehook="1"==W)}Y.push(ie)}}0==Y.length&&Y.push(fieldprops_default);for(var ee=document.getElementById("wfu_attribute_"+e),ge=document.querySelectorAll("div#wfu_attribute_"+e+" .wfu_formdata_line_container"),u=1;u<ge.length;u++)ee.removeChild(ge[u]);for(var ve=ge[0],u=0;u<Y.length;u++){var be=e+"_"+wfu_randomString(4),he=wfu_formdata_prepare_template(e,Y[u],be);u>0&&(ve=document.createElement("DIV")),ve.id="wfu_formfield_"+be+"_container",ve.className="wfu_formdata_line_container",u>0&&ee.insertBefore(ve,null),ve.innerHTML=he,wfu_formdata_update_buttons(be)}for(var ye=document.querySelectorAll("div#wfu_attribute_"+e+' input[name="wfu_formfield_elements"]'),u=0;u<ye.length;u++)wfu_attach_element_handlers(ye[u],wfu_update_formfield_value);wfu_update_formfield_value({target:ge[0]})}else if("color-triplet"==t){for(var Ie=a.split(","),u=0;u<Ie.length;u++)Ie[u]=Ie[u].trim();2==Ie.length?Ie=[Ie[0],Ie[1],"#000000"]:1==Ie.length?Ie=[Ie[0],"#FFFFFF","#000000"]:Ie.length<3&&(Ie=["#000000","#FFFFFF","#000000"]);var n=colourNameToHex(Ie[0]);n||(n=Ie[0]),jQuery("#wfu_attribute_"+e+"_color").wpColorPicker("color",n);var l=document.getElementById("wfu_attribute_"+e+"_color");l.value=Ie[0],n=colourNameToHex(Ie[1]),n||(n=Ie[1]),jQuery("#wfu_attribute_"+e+"_bgcolor").wpColorPicker("color",n),document.getElementById("wfu_attribute_"+e+"_bgcolor").value=Ie[1],n=colourNameToHex(Ie[2]),n||(n=Ie[2]),jQuery("#wfu_attribute_"+e+"_borcolor").wpColorPicker("color",n),document.getElementById("wfu_attribute_"+e+"_borcolor").value=Ie[2],wfu_update_triplecolor_value({target:l})}else if("folderlist"==t){for(var c=wfu_parse_folderlist_js(a),Ee=document.getElementById("wfu_attribute_"+e).options;Ee.length>0;)Ee.remove(0);for(var L,Be,ke,xe,Ne,Te,u=0;u<c.path.length;u++){Be=c.path[u],"/"==Be.substr(Be.length,1)&&(Be=Be.substr(0,Be.length-1)),ke=Be.split("/"),Be=ke[ke.length-1],Ne=parseInt(c.level[u]),xe="",Te="";for(var y=0;Ne>y;y++)xe+="&nbsp;&nbsp;&nbsp;",Te+="*";xe+=c.label[u],c["default"][u]&&(Te+="&"),Te+=""==Be?"{root}/"+c.label[u]:Be+c.label[u],L=document.createElement("option"),c["default"][u]?L.className="wfu_select_folders_option_default":L.className="",L.value=wfu_plugin_encode_string(Te),L.innerHTML=xe,Ee.add(L)}L=document.createElement("option"),L.value="",L.innerHTML="",Ee.add(L);var Ae=document.getElementById("wfu_attribute_"+e);Ae.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),l=Ae,a!==l.oldVal&&(l.oldVal=a,document.getElementById("wfu_attribute_value_"+e).value=a,wfu_generate_shortcode())}}function wfu_parse_folderlist_js(e){var t=Object();if(t.path=Array(),t.label=Array(),t.level=Array(),t["default"]=Array(),"auto"==e.substr(0,4))return t;var a=e.split(",");if(0==a.length)return t;if(1==a.length&&""==a[0].trim())return t;for(var l,n,d,u,r,o,_,s=["root"],i=0,c=0,f=-1,m=0;m<a.length;m++){for(l=a[m].trim(),n=0,d="",u=!1;n<l.length&&"*"==l.substr(n,1);)n++,d+="&nbsp;&nbsp;&nbsp;";if(1>=n-i&&(n>0||0==c)&&(l=l.substr(n,l.length-n),"&"==l.substr(0,1)&&(l=l.substr(1),u=!0),subfolder_items=l.split("/"),subfolder_items.length<2&&subfolder_items.push(""),""!=subfolder_items[1]?(r=subfolder_items[0],o=subfolder_items[1]):(r=l,o=l),""!=r)){u&&-1==f?f=t.path.length:u=!1,0==n&&(c=1),s.length>n?s[n]=r:s.push(r),_="";for(var p=1;n>=p;p++)_+=s[p]+"/";t.path.push(_),t.label.push(o),t.level.push(n),t["default"].push(u),i=n}}return t}function colourNameToHex(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!=typeof t[e.toLowerCase()]?t[e.toLowerCase()]:!1}function wfu_download_file(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_invoker",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="nonce",params[2][1]=a;for(var d="",u=0;u<params.length;u++)d+=(u>0?"&":"")+params[u][0]+"="+encodeURI(params[u][1]);l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_invoker:",n=l.responseText.indexOf(a);-1==n&&(n=l.responseText.length);var d=(l.responseText.substr(0,n),l.responseText.substr(n+a.length,l.responseText.length-n-a.length));n=d.indexOf(":");var u=d.substr(0,n);if(txt_value=d.substr(n+1,d.length-n-1),"wfu_download_id;"==u.substr(0,16)){var r=u.substr(16),o=document.getElementById("wfu_file_download_container_"+t);o.innerHTML=txt_value,setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+r+"')",100)}}},l.send(d)}}function wfu_download_file_monitor(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_monitor",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="id",params[2][1]=a;for(var d="",u=0;u<params.length;u++)d+=(u>0?"&":"")+params[u][0]+"="+encodeURI(params[u][1]);l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_monitor:",n=l.responseText.indexOf(a);-1==n&&(n=l.responseText.length);var d=(l.responseText.substr(0,n),l.responseText.substr(n+a.length,l.responseText.length-n-a.length));n=d.indexOf(":");var u=d.substr(0,n);if(txt_value=d.substr(n+1,d.length-n-1),"repeat"!=u){var r=document.getElementById("wfu_file_download_container_"+t);r.innerHTML=""}else"repeat"==u&&setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+txt_value+"')",100)}},l.send(d)}}function wfu_filedetails_changed(e){for(var t,a,l=document.getElementsByName("wfu_filedetails_userdata"),n=!1,d=!1,u=0;u<l.length;u++)if(t=document.getElementById(l[u].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_default_")),a=document.getElementById(l[u].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_")),a.value=l[u].value,l[u].value!=t.value){n=!0;break}d=document.getElementById("wfu_filedetails_userid").value!=document.getElementById("wfu_filedetails_userid_default").value,document.getElementById("dp_filedetails_submit_fields").disabled=!n&&!d}function wfu_Attach_FileDetails_Admin_Events(){for(var e=document.getElementsByName("wfu_filedetails_userdata"),t=0;t<e.length;t++)wfu_attach_element_handlers(e[t],wfu_filedetails_changed)}function wfu_update_browserpermission_option(e,t,a){var l=document.getElementById("wfu_fbperm_users"),n=document.getElementById("wfu_fbperm_roles"),d=document.getElementById("wfu_fbperm_"+e+"_"+t+"_view"),u=document.getElementById("wfu_fbperm_"+e+"_"+t+"_dl"),r=document.getElementById("wfu_fbperm_"+e+"_"+t+"_edit"),o=document.getElementById("wfu_fbperm_"+e+"_"+t+"_del");if("role"==e){if("0"==t){u.checked=d.checked&&u.checked,r.checked=d.checked&&r.checked,o.checked=d.checked&&o.checked,u.disabled=!d.checked,r.disabled=!d.checked,o.disabled=!d.checked;for(var _=document.querySelectorAll("tr.wfu_fbperm_role_tr"),s=0;s<_.length;s++){var i=_[s].id.substr(16,_[s].id.length-20);wfu_update_browserpermission_option("role",i,!1)}if(a){var c=(d.checked?"v":"")+(u.checked?"d":"")+(r.checked?"e":"")+(o.checked?"l":"");n.value=n.value.replace(/^0\[\w*\]/,"0["+c+"]")}}else if("administrator"!=t){var f=document.getElementById("wfu_fbperm_role_"+t+"_row"),m=document.getElementById("wfu_fbperm_role_"+t+"_def"),p=document.getElementById("wfu_fbperm_role_0_view"),w=document.getElementById("wfu_fbperm_role_0_dl"),g=document.getElementById("wfu_fbperm_role_0_edit"),v=document.getElementById("wfu_fbperm_role_0_del");if(d.checked=m.checked?p.checked:d.checked,f.style.fontWeight=m.checked?"":"bold",u.checked=m.checked?w.checked:d.checked&&u.checked,r.checked=m.checked?g.checked:d.checked&&r.checked,o.checked=m.checked?v.checked:d.checked&&o.checked,d.disabled=m.checked,u.disabled=m.checked||!d.checked,r.disabled=m.checked||!d.checked,o.disabled=m.checked||!d.checked,a){var c=m.checked?"":"D"+(d.checked?"v":"")+(u.checked?"d":"")+(r.checked?"e":"")+(o.checked?"l":"");n.value=n.value.replace(new RegExp(","+t+"\\[\\w*\\]"),","+t+"["+c+"]")}}for(var b=document.querySelectorAll("tr.wfu_fbperm_user_tr"),s=0;s<b.length;s++){var h=b[s].id.substr(16,b[s].id.length-20);wfu_update_browserpermission_option("user",h,!1)}}else if("user"==e){var y=document.getElementById("wfu_fbperm_user_"+t+"_role");if("0"==t){d.checked=y.checked?!1:d.checked,u.checked=y.checked?!1:d.checked&&u.checked,r.checked=y.checked?!1:d.checked&&r.checked,o.checked=y.checked?!1:d.checked&&o.checked,d.disabled=y.checked,u.disabled=y.checked||!d.checked,r.disabled=y.checked||!d.checked,o.disabled=y.checked||!d.checked,d.indeterminate=y.checked,u.indeterminate=y.checked,r.indeterminate=y.checked,o.indeterminate=y.checked;for(var b=document.querySelectorAll("tr.wfu_fbperm_user_tr"),s=0;s<b.length;s++){var h=b[s].id.substr(16,b[s].id.length-20);wfu_update_browserpermission_option("user",h,!1)}if(a){var c=y.checked?"":"R"+(d.checked?"v":"")+(u.checked?"d":"")+(r.checked?"e":"")+(o.checked?"l":"");l.value=l.value.replace(/^0\[\w*\],?/,""),l.value="0["+c+"]"+(""==l.value?"":","+l.value)}}else{var I=document.getElementById("wfu_fbperm_user_"+t+"_roles").value.split(",");if(1==I.length&&""==I[0]&&(I=Array()),I.indexOf("administrator")<0){var f=document.getElementById("wfu_fbperm_user_"+t+"_row"),m=document.getElementById("wfu_fbperm_user_"+t+"_def"),E=document.getElementById("wfu_fbperm_user_0_role"),p=document.getElementById("wfu_fbperm_user_0_view"),w=document.getElementById("wfu_fbperm_user_0_dl"),g=document.getElementById("wfu_fbperm_user_0_edit"),v=document.getElementById("wfu_fbperm_user_0_del");if(I.length>0)for(var B=!1,k=!1,x=!1,N=!1,s=0;s<I.length;s++)B=B||document.getElementById("wfu_fbperm_role_"+I[s]+"_view").checked,k=B&&(k||document.getElementById("wfu_fbperm_role_"+I[s]+"_dl").checked),x=B&&(x||document.getElementById("wfu_fbperm_role_"+I[s]+"_edit").checked),N=B&&(N||document.getElementById("wfu_fbperm_role_"+I[s]+"_del").checked);else var B=document.getElementById("wfu_fbperm_role_0_view"),k=document.getElementById("wfu_fbperm_role_0_dl"),x=document.getElementById("wfu_fbperm_role_0_edit"),N=document.getElementById("wfu_fbperm_role_0_del");if(f.style.fontWeight=m.checked?"":"bold",y.checked=m.checked?E.checked:y.checked,d.checked=m.checked?E.checked?B:p.checked:y.checked?B:d.checked,u.checked=m.checked?E.checked?k:w.checked:y.checked?k:d.checked&&u.checked,r.checked=m.checked?E.checked?x:g.checked:y.checked?x:d.checked&&r.checked,o.checked=m.checked?E.checked?N:v.checked:y.checked?N:d.checked&&o.checked,y.disabled=m.checked,d.disabled=m.checked||y.checked,u.disabled=m.checked||y.checked||!d.checked,r.disabled=m.checked||y.checked||!d.checked,o.disabled=m.checked||y.checked||!d.checked,a){var c=m.checked?"":"D"+(y.checked?"":"R"+(d.checked?"v":"")+(u.checked?"d":"")+(r.checked?"e":"")+(o.checked?"l":""));l.value=l.value.replace(new RegExp(","+t+"\\[\\w*\\]|"+t+"\\[\\w*\\],|"+t+"\\[\\w*\\]"),""),l.value+=(""==l.value?"":",")+t+"["+c+"]"}}}}}function wfu_goto_historylog_page(e,t){var a=document.getElementById("wfu_historylog_pages"),l=a.selectedIndex+1,n=l;if("next"==t?n=Math.min(l+1,a.options.length):"prev"==t?n=Math.max(l-1,1):"last"==t?n=a.options.length:"first"==t?n=1:"sel"==t&&(l=-1),n!=l){var d=wfu_GetHttpRequestObject();if(null!=d){var u=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_get_historylog_page",params[1]=new Array(2),params[1][0]="token",params[1][1]=e,params[2]=new Array(2),params[2][0]="page",params[2][1]=n;for(var r="",o=0;o<params.length;o++)r+=(o>0?"&":"")+params[o][0]+"="+encodeURI(params[o][1]);document.getElementById("wfu_historylog_overlay").style.display="block",d.open("POST",u,!0),d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),d.onreadystatechange=function(){if(4==d.readyState&&200==d.status){document.getElementById("wfu_historylog_overlay").style.display="none";var e="wfu_historylog_page_success:",t=d.responseText.indexOf(e);-1==t&&(t=d.responseText.length);var l=(d.responseText.substr(0,t),d.responseText.substr(t+e.length,d.responseText.length-t-e.length));if(""!=l){var u=document.getElementById("wfu_historylog_table");u.tBodies[0].innerHTML=wfu_plugin_decode_string(l),a.selectedIndex=n-1,document.getElementById("wfu_historylog_first_disabled").style.display=1==n?"inline":"none",document.getElementById("wfu_historylog_prev_disabled").style.display=1==n?"inline":"none",document.getElementById("wfu_historylog_first").style.display=1==n?"none":"inline",document.getElementById("wfu_historylog_prev").style.display=1==n?"none":"inline",document.getElementById("wfu_historylog_last_disabled").style.display=n==a.options.length?"inline":"none",document.getElementById("wfu_historylog_next_disabled").style.display=n==a.options.length?"inline":"none",document.getElementById("wfu_historylog_last").style.display=n==a.options.length?"none":"inline",document.getElementById("wfu_historylog_next").style.display=n==a.options.length?"none":"inline"}}},d.send(r)}}}function wfu_include_file(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(2),params[0]=new Array(3),params[0][0]="action",params[0][1]="wfu_ajax_action_include_file",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="nonce",params[2][1]=a;for(var d="",u=0;u<params.length;u++)d+=(u>0?"&":"")+params[u][0]+"="+encodeURI(params[u][1]);document.getElementById("wfu_include_file_"+t+"_a").href="javascript: void(0)",document.getElementById("wfu_include_file_"+t+"_img").style.display="inline",l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&(document.getElementById("wfu_include_file_"+t+"_img").style.display="none",200==l.status)){var e="wfu_include_file:",a=l.responseText.indexOf(e);-1==a&&(a=l.responseText.length);var n=(l.responseText.substr(0,a),l.responseText.substr(a+e.length,l.responseText.length-a-e.length));a=n.indexOf(":");var d=n.substr(0,a);txt_value=n.substr(a+1,n.length-a-1),"success"==d?(document.getElementById("wfu_file_flat_"+t).style.display="none",document.getElementById("wfu_file_link_"+t).style.display="inline",document.getElementById("wfu_file_can_be_included_actions_"+t).style.display="none",document.getElementById("wfu_file_is_included_actions_"+t).style.display="block"):document.getElementById("wfu_include_file_"+t+"_a").innerHTML=document.getElementById("wfu_include_file_"+t+"_inpfail").value}},l.send(d)}}function wfu_adminbrowser_select_all_visible_changed(){for(var e=document.getElementById("wfu_select_all_visible").checked,t=document.querySelectorAll(".wfu_selectors"),a=0;a<t.length;a++)t[a].checked=e}function wfu_adminbrowser_selector_changed(e){var t=document.querySelectorAll(".wfu_selectors").length,a=document.querySelectorAll(".wfu_selectors:checked").length,l=document.getElementById("wfu_select_all_visible");l.style.webkitAppearance="",l.style.webkitAppearance="checkbox",l.checked=a>0,l.indeterminate=a>0&&t>a}function wfu_apply_adminbrowser_bulkaction(){var e=document.getElementById("wfu_adminbrowser_bulkactions");if(!(e.selectedIndex<1)){var t=e.options[e.selectedIndex].value,a=document.querySelectorAll(".wfu_selectors:checked");if(0!=a.length){for(var l=[],n=0,d=0,u=0;u<a.length;u++){var r=a[u].className.replace(/.*?wfu_selcode_/,"");if(""!=r){var o=a[u].className.indexOf("wfu_included")>-1;o?n++:d++,"delete"==t&&!o||"include"==t&&o?a[u].checked=!1:l.push(r)}}if("delete"==t&&d>0?alert("Notice! Files that were not uploaded using the plugin cannot be deleted and have been deselected."):"include"==t&&n>0&&alert("Notice! Files already included in the plugin have been deselected."),0!=l.length){var _=document.getElementById("wfu_adminbrowser_action_url").value,s=document.getElementById("wfu_adminbrowser_referer").value;if("delete"==t||"include"==t){var i=document.createElement("FORM");i.method="POST",i.action=_,i.style.display="none";var c=document.createElement("INPUT");c.type="hidden",c.name="action",c.value=t+"_file",i.appendChild(c);var f=document.createElement("INPUT");f.type="hidden",f.name="file",f.value="list:"+l.join(),i.appendChild(f);var m=document.createElement("INPUT");m.type="hidden",m.name="referer",m.value=s,i.appendChild(m),document.body.appendChild(i),i.submit()}}}}}var DraggedItem=null,ShortcodeNextSave=0,ShortcodeTimeOut=null,ShortcodeString="",Autosave=!1,PageObsolete=!1,PageUpdating=!1,CheckObsolescenceTimeOut=5e3;jQuery(document).ready(function(e){e(".wfu_color_field").wpColorPicker({change:function(e,t){e.target.value=t.color.toString(),"wfu_text_elements"==e.target.name?wfu_update_text_value(e):"wfu_triplecolor_elements"==e.target.name&&wfu_update_triplecolor_value(e)}})});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var DraggedItem=null;var ShortcodeNextSave=0;var ShortcodeTimeOut=null;var ShortcodeString="";var Autosave=false;var PageObsolete=false;var PageUpdating=false;var CheckObsolescenceTimeOut=5E3;jQuery(document).ready(function($){$(".wfu_color_field").wpColorPicker({change:function(event,ui){event.target.value=ui.color.toString();if(event.target.name=="wfu_text_elements")wfu_update_text_value(event);else if(event.target.name=="wfu_triplecolor_elements")wfu_update_triplecolor_value(event)}})});
2
+ function wfu_admin_activate_tab(key){var tabs=document.getElementById("wfu_tab_container");var tab,tabkey;for(var i=0;i<tabs.childNodes.length;i++){tab=tabs.childNodes[i];if(tab.nodeType===1){tabkey=tab.id.substr(8);if(tab.className.indexOf("nav-tab-active")>-1){tab.className="nav-tab";document.getElementById("wfu_container_"+tabkey).style.display="none"}}}document.getElementById("wfu_tab_"+key).className="nav-tab nav-tab-active";document.getElementById("wfu_container_"+key).style.display="block"}
3
+ function wfu_admin_onoff_clicked(key){var onoff=document.getElementById("wfu_attribute_"+key);var container=document.getElementById("wfu_wrapper");var shadows=document.getElementsByClassName("wfu_shadow_"+key,"div",container);var shadows_inv=document.getElementsByClassName("wfu_shadow_"+key+"_inv","div",container);var status=onoff.className.substr(onoff.className.length-2)=="on";status=!status;if(status){document.getElementById("wfu_attribute_value_"+key).value="true";onoff.className="wfu_onoff_container_on";
4
+ for(var i=0;i<shadows.length;i++)shadows[i].style.display="none";for(var i=0;i<shadows_inv.length;i++)shadows_inv[i].style.display="block"}else{document.getElementById("wfu_attribute_value_"+key).value="false";onoff.className="wfu_onoff_container_off";for(var i=0;i<shadows.length;i++)shadows[i].style.display="block";for(var i=0;i<shadows_inv.length;i++)shadows_inv[i].style.display="none"}wfu_generate_shortcode();if(key=="userdata"||key=="formdata")wfu_update_formfield_variables()}
5
+ function wfu_admin_radio_clicked(key){var radios=document.getElementsByName("wfu_radioattribute_"+key);var container=document.getElementById("wfu_wrapper");var shadows=document.getElementsByClassName("wfu_shadow_"+key,"div",container);var shadows_inv=document.getElementsByClassName("wfu_shadow_"+key+"_inv","div",container);var val="";for(i=0;i<radios.length;i++)if(radios[i].checked)val=radios[i].value;var status=val.substr(0,1)=="*";if(status){val=val.substr(1);for(var i=0;i<shadows.length;i++)shadows[i].style.display=
6
+ "none";for(var i=0;i<shadows_inv.length;i++)shadows_inv[i].style.display="block"}else{for(var i=0;i<shadows.length;i++)shadows[i].style.display="block";for(var i=0;i<shadows_inv.length;i++)shadows_inv[i].style.display="none"}document.getElementById("wfu_attribute_value_"+key).value=val;wfu_generate_shortcode()}
7
+ function wfu_addEventHandler(obj,evt,handler){if(obj.addEventListener)obj.addEventListener(evt,handler,false);else if(obj.attachEvent)obj.attachEvent("on"+evt,handler);else obj["on"+evt]=handler}
8
+ function wfu_attach_separator_dragdrop_events(){var container=document.getElementById("wfu_placements_container");var item;for(var i=0;i<container.childNodes.length;i++){item=container.childNodes[i];if(item.className=="wfu_component_separator_hor"||item.className=="wfu_component_separator_ver"){wfu_addEventHandler(item,"dragenter",wfu_separator_dragenter);wfu_addEventHandler(item,"dragover",wfu_default_dragover);wfu_addEventHandler(item,"dragleave",wfu_separator_dragleave);wfu_addEventHandler(item,
9
+ "drop",wfu_separator_drop)}}}
10
+ function wfu_Attach_Admin_DragDrop_Events(){if(window.FileReader){var container=document.getElementById("wfu_placements_container");if(container){var available_container=document.getElementById("wfu_componentlist_container");var item;for(var i=0;i<container.childNodes.length;i++){item=container.childNodes[i];if(item.className=="wfu_component_box"){wfu_addEventHandler(item,"dragstart",wfu_component_dragstart);wfu_addEventHandler(item,"dragend",wfu_component_dragend)}}for(var i=0;i<available_container.childNodes.length;i++){item=
11
+ available_container.childNodes[i];if(item.className=="wfu_component_box_container")for(var ii=0;ii<item.childNodes.length;ii++)if(item.childNodes[ii].className=="wfu_component_box wfu_inbase"){wfu_addEventHandler(item.childNodes[ii],"dragstart",wfu_component_dragstart);wfu_addEventHandler(item.childNodes[ii],"dragend",wfu_component_dragend)}}item=document.getElementById("wfu_componentlist_dragdrop");wfu_addEventHandler(item,"dragenter",wfu_componentlist_dragenter);wfu_addEventHandler(item,"dragover",
12
+ wfu_default_dragover);wfu_addEventHandler(item,"dragleave",wfu_componentlist_dragleave);wfu_addEventHandler(item,"drop",wfu_componentlist_drop);wfu_attach_separator_dragdrop_events()}}}
13
+ function wfu_componentlist_dragenter(e){e=e||window.event;if(e.preventDefault)e.preventDefault();if(!DraggedItem)return false;var item=document.getElementById("wfu_componentlist_dragdrop");if(item.className.indexOf("wfu_componentlist_dragdrop_dragover")==-1)item.className+=" wfu_componentlist_dragdrop_dragover";return false}
14
+ function wfu_componentlist_dragleave(e){e=e||window.event;if(e.preventDefault)e.preventDefault();if(!DraggedItem)return false;var item=document.getElementById("wfu_componentlist_dragdrop");item.className=item.className.replace(" wfu_componentlist_dragdrop_dragover","");return false}
15
+ function wfu_componentlist_drop(e){e=e||window.event;if(e.preventDefault)e.preventDefault();var component_raw=e.dataTransfer.getData("Component");if(!component_raw)return false;var parts=component_raw.split("_");var component=parts[0];var multi_index=parseInt(parts[1]);var item=document.getElementById("wfu_component_box_"+component+"_"+multi_index);if(multi_index==0){item.className="wfu_component_box wfu_inbase";item.style.display="block";document.getElementById("wfu_component_box_container_"+component).appendChild(item)}else item.parentNode.removeChild(item);
16
+ var placements=wfu_admin_recreate_placements_text(null,"");wfu_admin_recreate_placements_panel(placements);document.getElementById("wfu_attribute_value_placements").value=placements;wfu_update_multiplacement_attributes();wfu_generate_shortcode();return false}
17
+ function wfu_separator_dragenter(e){e=e||window.event;if(e.preventDefault)e.preventDefault();if(!DraggedItem)return false;if(e.target.className=="wfu_component_separator_hor"){var bar=document.getElementById("wfu_component_bar_hor");bar.style.top=e.target.offsetTop+"px";bar.style.display="block"}else if(e.target.className=="wfu_component_separator_ver"){var bar=document.getElementById("wfu_component_bar_ver");bar.style.top=e.target.offsetTop+"px";bar.style.left=e.target.offsetLeft+"px";bar.style.display=
18
+ "block"}return false}function wfu_default_dragover(e){e=e||window.event;if(e.preventDefault)e.preventDefault();return false}
19
+ function wfu_separator_dragleave(e){e=e||window.event;if(e.preventDefault)e.preventDefault();if(!DraggedItem)return false;if(e.target.className=="wfu_component_separator_hor"){var bar=document.getElementById("wfu_component_bar_hor");bar.style.display="none"}else if(e.target.className=="wfu_component_separator_ver"){var bar=document.getElementById("wfu_component_bar_ver");bar.style.display="none"}return false}
20
+ function wfu_separator_drop(e){e=e||window.event;if(e.preventDefault)e.preventDefault();var component_raw=e.dataTransfer.getData("Component");if(!component_raw)return false;var parts=component_raw.split("_");var component=parts[0];var multi_index=parseInt(parts[1]);var item=document.getElementById("wfu_component_box_"+component+"_"+multi_index);item.style.display="none";item.className="wfu_component_box wfu_inbase";document.getElementById("wfu_component_box_container_"+component).appendChild(item);
21
+ var placements=wfu_admin_recreate_placements_text(e.target,component);wfu_admin_recreate_placements_panel(placements);document.getElementById("wfu_attribute_value_placements").value=placements;wfu_update_multiplacement_attributes();wfu_generate_shortcode();return false}
22
+ function wfu_component_dragstart(e){e=e||window.event;e.dataTransfer.setData("Component",e.target.id.replace("wfu_component_box_",""));if(e.target.className.indexOf("wfu_component_box_dragged")==-1){e.target.className+=" wfu_component_box_dragged";DraggedItem=e.target}e.target.style.zIndex=3;var item=document.getElementById("wfu_componentlist_dragdrop");item.className="wfu_componentlist_dragdrop wfu_componentlist_dragdrop_dragover";item.style.display="block";return false}
23
+ function wfu_component_dragend(e){e=e||window.event;DraggedItem=null;e.target.style.zIndex=1;var item=document.getElementById("wfu_componentlist_dragdrop");item.style.display="none";item.className="wfu_componentlist_dragdrop";e.target.className=e.target.className.replace(" wfu_component_box_dragged","");document.getElementById("wfu_component_bar_ver").style.display="none";document.getElementById("wfu_component_bar_hor").style.display="none";return false}
24
+ function wfu_admin_recreate_placements_text(place,new_component){function add_item(component){if(placements!="")placements+=delim;placements+=component;delim=""}var container=document.getElementById("wfu_placements_container");var delim="";var placements="";var component="";for(var i=0;i<container.childNodes.length;i++){item=container.childNodes[i];if(item.className=="wfu_component_separator_ver"){if(delim=="")delim="+";if(item==place){add_item(new_component);delim="+"}}else if(item.className=="wfu_component_separator_hor"){delim=
25
+ "/";if(item==place){add_item(new_component);delim="/"}}else if(item.className=="wfu_component_box")add_item(item.id.replace("wfu_component_box_","").replace(/_.*$/,""))}return placements}
26
+ function wfu_admin_recreate_placements_panel(placements_text){var container=document.getElementById("wfu_placements_container");var item,placements,sections,itemname_raw,parts,multi_index,index_item;var itemname="";for(var i=0;i<container.childNodes.length;i++){item=container.childNodes[i];if(item.className=="wfu_component_box"){itemname_raw=item.id.replace("wfu_component_box_","");parts=itemname_raw.split("_");itemname=parts[0];multi_index=parseInt(parts[1]);if(multi_index==0){item.style.display=
27
+ "inline-block";item.className="wfu_component_box wfu_inbase";document.getElementById("wfu_component_box_container_"+itemname).appendChild(item)}else item.parentNode.removeChild(item)}}var box_containers=document.querySelectorAll("div.wfu_component_box_container");var component_used={};for(var i=0;i<box_containers.length;i++){itemname=box_containers[i].id.replace("wfu_component_box_container_","");component_used[itemname]=0;index_item=document.querySelector("div#"+box_containers[i].id+" div.wfu_component_box_index");
28
+ if(index_item)index_item.innerHTML="1"}container.innerHTML="";placements=placements_text.split("/");for(var i=0;i<placements.length;i++){item=document.createElement("DIV");item.className="wfu_component_separator_hor";item.setAttribute("draggable",true);container.appendChild(item);item=document.createElement("DIV");item.className="wfu_component_separator_ver";item.setAttribute("draggable",true);container.appendChild(item);sections=placements[i].split("+");for(var ii=0;ii<sections.length;ii++){item=
29
+ document.querySelector("div#wfu_component_box_container_"+sections[ii]+" div.wfu_component_box.wfu_inbase");if(item){itemname_raw=item.id.replace("wfu_component_box_","");parts=itemname_raw.split("_");itemname=parts[0];multi_index=parseInt(parts[1]);if(multi_index==0)container.appendChild(item);else{component_used[itemname]++;item.id="wfu_component_box_"+itemname+"_"+(component_used[itemname]+1).toString();item.style.display="block";index_item=document.querySelector("div#"+item.id+" div.wfu_component_box_index");
30
+ index_item.innerHTML=(component_used[itemname]+1).toString();item=item.cloneNode(true);container.appendChild(item);item.id="wfu_component_box_"+itemname+"_"+component_used[itemname].toString();index_item=document.querySelector("div#"+item.id+" div.wfu_component_box_index");index_item.innerHTML=component_used[itemname].toString();wfu_addEventHandler(item,"dragstart",wfu_component_dragstart);wfu_addEventHandler(item,"dragend",wfu_component_dragend)}item.className="wfu_component_box";item.style.display=
31
+ "inline-block";item=document.createElement("DIV");item.className="wfu_component_separator_ver";item.setAttribute("draggable",true);container.appendChild(item)}}}item=document.createElement("DIV");item.className="wfu_component_separator_hor";item.setAttribute("draggable",true);container.appendChild(item);item=document.createElement("DIV");item.id="wfu_component_bar_hor";item.className="wfu_component_bar_hor";container.appendChild(item);item=document.createElement("DIV");item.id="wfu_component_bar_ver";
32
+ item.className="wfu_component_bar_ver";container.appendChild(item);wfu_attach_separator_dragdrop_events()}
33
+ function wfu_update_multiplacement_attributes(){var box_containers=document.querySelectorAll("div.wfu_component_box_container");for(var i=0;i<box_containers.length;i++){itemname=box_containers[i].id.replace("wfu_component_box_container_","");var index_item=document.querySelector("div#"+box_containers[i].id+" div.wfu_component_box_index");if(index_item){var occurrences=Math.max(1,parseInt(index_item.innerHTML)-1);var dependencies=document.getElementsByName("wfu_attribute_governor_"+itemname);for(var j=
34
+ 0;j<dependencies.length;j++)wfu_update_multiplacement_attribute(dependencies[j].value,occurrences)}}}
35
+ function wfu_update_multiplacement_attribute(attribute,occurrencies){if(attribute=="userdatalabel"){var attributes=document.querySelectorAll("div.wfu_formdata_container");var current=attributes.length;if(current<1)return;var base=attributes[0],tr0,tr;var i=2;while(i<=Math.max(current,occurrencies)){if(i>current){var new_attribute=attribute+i.toString();tr0=base.parentNode;while(tr0!=null&&tr0.tagName!="TR")tr0=tr0.parentNode;if(tr0==null||tr0.tagName!="TR")return;tr=tr0.cloneNode(true);tr.id="tr_"+
36
+ wfu_randomString(4);tr0.parentNode.appendChild(tr);var elem=document.querySelector("tr#"+tr.id+' label[for="wfu_attribute_'+attribute+'"]');elem.setAttribute("for","wfu_attribute_"+new_attribute);elem.innerHTML+=" ("+i.toString()+")";elem=document.querySelector("tr#"+tr.id+" input.wfu_attribute_governor");elem.setAttribute("name","wfu_attribute_governor_independent");elem.value=new_attribute;elem=document.querySelector("tr#"+tr.id+" div.wfu_formdata_container");elem.id+=i.toString();var def=document.getElementById("wfu_attribute_default_"+
37
+ new_attribute);if(!def){def=document.createElement("INPUT");def.id="wfu_attribute_default_"+new_attribute;def.type="hidden";def.value=document.getElementById("wfu_attribute_default_"+attribute).value;document.getElementById("wfu_attribute_defaults").appendChild(def)}var shortcode_value=document.getElementById("wfu_attribute_value_"+new_attribute);if(!shortcode_value){shortcode_value=document.createElement("INPUT");shortcode_value.id="wfu_attribute_value_"+new_attribute;shortcode_value.type="hidden";
38
+ shortcode_value.value=def.value;document.getElementById("wfu_attribute_values").appendChild(shortcode_value)}window["wfu_attribute_"+new_attribute+"_formtemplate"]=window["wfu_attribute_"+attribute+"_formtemplate"];window["wfu_attribute_"+new_attribute+"_typeprops"]=window["wfu_attribute_"+attribute+"_typeprops"];wfu_apply_value(new_attribute,"formfields",shortcode_value.value)}else if(i>occurrencies){tr=attributes[i-1].parentNode;while(tr!=null&&tr.tagName!="TR")tr=tr.parentNode;if(tr==null||tr.tagName!=
39
+ "TR")return;tr.parentNode.removeChild(tr);wfu_update_formfield_variables()}i++}attributes=document.querySelectorAll("div.wfu_formdata_container");var names=[];for(var i=0;i<attributes.length;i++)names.push(attributes[i].id.replace(/^wfu_attribute_/,""));var all_attributes=document.querySelectorAll(".wfu_formdata_all_attributes");for(var i=0;i<all_attributes.length;i++)all_attributes[i].value=names.join(",");wfu_formdata_update_all_updown_buttons(attribute)}}
40
+ function wfu_subfolders_input_changed(e){e=e||window.event;var item=e.target;var key=item.id.replace("wfu_subfolders_path_","");key=key.replace("wfu_subfolders_label_","");var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var tools_path=document.getElementById("wfu_subfolders_path_"+key);var tools_label=document.getElementById("wfu_subfolders_label_"+key);var tools_ok=document.getElementById("wfu_subfolders_ok_"+key);var old_path_value,old_label_value;var isnewitem=
41
+ document.getElementById("wfu_subfolders_isnewitem_"+key).value=="1";if(isnewitem){old_path_value="";old_label_value=""}else{var items=list.data;item=items[list.selectedIndex];old_path_value=item.path;old_label_value=item.label}if(tools_path.value==old_path_value&&tools_label.value==old_label_value){tools_ok.disabled=true;if(!isnewitem)wfu_subfolders_update_nav(key)}else{tools_ok.disabled=false;var navs=document.getElementsByName("wfu_subfolder_nav_"+key);for(var i=0;i<navs.length;i++)navs[i].disabled=
42
+ true}}
43
+ function wfu_subfolders_auto_changed(key){var list=document.getElementById("wfu_attribute_"+key);var auto=document.getElementById("wfu_subfolders_auto_"+key);var editable=document.getElementById("wfu_subfolders_editable_"+key);var manualtext=document.getElementById("wfu_subfolders_manualtext_"+key);if(auto.checked){var manualvalue=document.getElementById("wfu_attribute_value_"+key).value;if(manualvalue.substr(0,4)!="auto")manualtext.value=manualvalue;editable.parentNode.style.display="inline";wfu_apply_value(key,
44
+ "folderlist","auto"+(editable.checked?"+":""));list.disabled=true}else{list.disabled=false;editable.parentNode.style.display="none";wfu_apply_value(key,"folderlist",manualtext.value)}}
45
+ function wfu_subfolders_up_clicked(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var items=list.data;item=items[list.selectedIndex];var prevind=item.index-1;if(prevind<0)return;var prevpos=-1;var curind=list.selectedIndex-1;while(curind>=0)if(items[curind].level==item.level&&items[curind].index==prevind){prevpos=curind;break}else curind--;if(prevpos==-1)return;var children_count=0;curind=list.selectedIndex+1;while(curind<items.length)if(items[curind].level>
46
+ item.level){children_count++;curind++}else break;items[prevpos].index=item.index;item.index=prevind;list.data=items.slice(0,prevpos).concat(items.slice(list.selectedIndex,list.selectedIndex+1+children_count)).concat(items.slice(prevpos,list.selectedIndex)).concat(items.slice(list.selectedIndex+1+children_count));var val=wfu_update_subfolder_list(key);list.selectedIndex=prevpos;wfu_subfolders_update_toolnav(key);item=list;if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+
47
+ key).value=val;wfu_generate_shortcode()}}
48
+ function wfu_subfolders_down_clicked(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var items=list.data;item=items[list.selectedIndex];var nextind=item.index+1;var nextpos=-1;curind=list.selectedIndex+1;while(curind<items.length)if(items[curind].level==item.level){nextpos=curind;break}else if(items[curind].level<item.level)break;else curind++;if(nextpos==-1)return;var next_children_count=0;curind=nextpos+1;while(curind<items.length)if(items[curind].level>
49
+ item.level){next_children_count++;curind++}else break;items[nextpos].index=item.index;item.index=nextind;list.data=items.slice(0,list.selectedIndex).concat(items.slice(nextpos,nextpos+1+next_children_count)).concat(items.slice(list.selectedIndex,nextpos)).concat(items.slice(nextpos+1+next_children_count));var val=wfu_update_subfolder_list(key);list.selectedIndex=list.selectedIndex+next_children_count+1;wfu_subfolders_update_toolnav(key);item=list;if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+
50
+ key).value=val;wfu_generate_shortcode()}}
51
+ function wfu_subfolders_left_clicked(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var items=list.data;item=items[list.selectedIndex];curind=list.selectedIndex+1;while(curind<items.length)if(items[curind].level>item.level){items[curind].level--;curind++}else break;item.level--;var val=wfu_update_subfolder_list(key);list.data=wfu_decode_subfolder_list(key);wfu_subfolders_update_toolnav(key);item=list;if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+
52
+ key).value=val;wfu_generate_shortcode()}}
53
+ function wfu_subfolders_right_clicked(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var items=list.data;item=items[list.selectedIndex];curind=list.selectedIndex+1;while(curind<items.length)if(items[curind].level>item.level){items[curind].level++;curind++}else break;item.level++;var val=wfu_update_subfolder_list(key);list.data=wfu_decode_subfolder_list(key);wfu_subfolders_update_toolnav(key);item=list;if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+
54
+ key).value=val;wfu_generate_shortcode()}}
55
+ function wfu_subfolders_def_clicked(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var items=list.data;item=items[list.selectedIndex];if(item["default"])item["default"]=false;else{for(var i=0;i<items.length;i++)items[i]["default"]=false;item["default"]=true}var val=wfu_update_subfolder_list(key);wfu_subfolders_update_toolnav(key);item=list;if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+key).value=val;wfu_generate_shortcode()}}
56
+ function wfu_subfolders_ok_clicked(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var tools_path=document.getElementById("wfu_subfolders_path_"+key);var tools_label=document.getElementById("wfu_subfolders_label_"+key);if(tools_path.value==""||tools_label.value==""){alert("Path or label cannot be empty!");return}var items=list.data;var isnewitem=document.getElementById("wfu_subfolders_isnewitem_"+key).value=="1";if(isnewitem){var newlevel=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+
57
+ key).value);var newitem={label:tools_label.value,path:tools_path.value,level:newlevel,"default":false};var newpos=parseInt(document.getElementById("wfu_subfolders_newitemindex_"+key).value);if(newpos>=items.length)items.push(newitem);else items.splice(newpos,0,newitem)}else{item=items[list.selectedIndex];item.path=tools_path.value;item.label=tools_label.value}var val=wfu_update_subfolder_list(key);list.data=wfu_decode_subfolder_list(key);wfu_subfolders_update_toolnav(key);item=list;if(val!==item.oldVal){item.oldVal=
58
+ val;document.getElementById("wfu_attribute_value_"+key).value=val;wfu_generate_shortcode()}}
59
+ function wfu_subfolders_del_clicked(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var items=list.data;item=items[list.selectedIndex];var children_count=0;curind=list.selectedIndex+1;while(curind<items.length)if(items[curind].level>item.level){children_count++;curind++}else break;if(children_count>0)if(!confirm("Children items will be deleted as well. Proceed?"))return;items.splice(list.selectedIndex,1+children_count);var val=wfu_update_subfolder_list(key);
60
+ list.data=wfu_decode_subfolder_list(key);wfu_subfolders_update_toolnav(key);item=list;if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+key).value=val;wfu_generate_shortcode()}}
61
+ function wfu_subfolders_add_clicked(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var items=list.data;var curpos=list.selectedIndex;item=items[curpos];var opts=list.options;var opt=document.createElement("option");opt.value="";opt.innerHTML="";opts.add(opt,curpos);list.selectedIndex=curpos;var tools_container=document.getElementById("wfu_subfolder_tools_"+key);var tools_path=document.getElementById("wfu_subfolders_path_"+key);var tools_label=document.getElementById("wfu_subfolders_label_"+
62
+ key);var tools_ok=document.getElementById("wfu_subfolders_ok_"+key);var tools_browse=document.getElementById("wfu_subfolders_browse_"+key);tools_container.className="wfu_subfolder_tools_container";tools_label.disabled=false;tools_ok.disabled=true;document.getElementById("wfu_subfolders_isnewitem_"+key).value="1";document.getElementById("wfu_subfolders_newitemindex_"+key).value=curpos;document.getElementById("wfu_subfolders_newitemlevel_"+key).value=item.level;document.getElementById("wfu_subfolders_newitemlevel2_"+
63
+ key).value="";tools_path.disabled=item.level==0;tools_browse.disabled=item.level==0;if(item.level==0){tools_path.value="{root}";tools_label.value="{upload folder}"}else{tools_path.value="";tools_label.value=""}var navs=document.getElementsByName("wfu_subfolder_nav_"+key);for(var i=0;i<navs.length;i++)navs[i].disabled=true}
64
+ function wfu_subfolders_browse_clicked(key){var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;var fd=null;try{var fd=new FormData}catch(e){}if(fd==null)return;var container=document.getElementById("wfu_global_dialog_container");var dialog=document.getElementById("wfu_subfolders_browser_"+key);var btn=document.getElementById("wfu_subfolders_browse_"+key);var shadow=document.getElementById("wfu_subfolders_inner_shadow_"+key);var msgcont=document.getElementById("wfu_subfolders_browser_msgcont_"+
65
+ key);var msg=document.getElementById("wfu_subfolders_browser_msg_"+key);var img=document.getElementById("wfu_subfolders_browser_img_"+key);var ok=document.getElementById("wfu_subfolders_browser_ok_"+key);var list=document.getElementById("wfu_subfolders_browser_list_"+key);while(list.options.length>0)list.options.remove(0);ok.disabled=true;ok.onclick=function(){wfu_folder_browser_cancel_clicked(key)};msg.innerHTML="loading folder contents...";img.style.display="inline";msgcont.style.display="block";
66
+ container.style.display="block";dialog.style.display="block";dialog.style.left=btn.offsetLeft+btn.offsetWidth-dialog.offsetWidth+"px";dialog.style.top=btn.offsetTop+btn.offsetHeight-dialog.offsetHeight+"px";shadow.style.display="block";container.onclick=function(){wfu_folder_browser_cancel_clicked(key)};var path=document.getElementById("wfu_attribute_uploadpath").value;if(path.substr(path.length-1)=="/")path=path.substr(0,path.length-1);var paths=wfu_get_relative_path(key).split(",");var path1=path+
67
+ paths[0];if(path1.substr(0)!="/")path1="/"+path1;var path2="";if(paths.length==2)path2=paths[1];fd.append("action","wfu_ajax_action_read_subfolders");fd.append("folder1",wfu_plugin_encode_string(path1));fd.append("folder2",wfu_plugin_encode_string(path2));xhr.key=key;xhr.addEventListener("load",wfu_readfolderComplete,false);xhr.addEventListener("error",wfu_readfolderFailed,false);xhr.addEventListener("abort",wfu_readfolderCanceled,false);xhr.open("POST",AdminParams.wfu_ajax_url);xhr.send(fd)}
68
+ function wfu_readfolderComplete(evt){var key=evt.target.key;var msgcont=document.getElementById("wfu_subfolders_browser_msgcont_"+key);var msg=document.getElementById("wfu_subfolders_browser_msg_"+key);var img=document.getElementById("wfu_subfolders_browser_img_"+key);var list=document.getElementById("wfu_subfolders_browser_list_"+key);var ok=document.getElementById("wfu_subfolders_browser_ok_"+key);var tools_path=document.getElementById("wfu_subfolders_path_"+key);var tools_label=document.getElementById("wfu_subfolders_label_"+
69
+ key);var txt=evt.target.responseText;if(txt!=-1){var start_text="wfu_read_subfolders:";var pos=evt.target.responseText.indexOf(start_text);if(pos==-1)pos=evt.target.responseText.length;var messages=evt.target.responseText.substr(0,pos);var response=evt.target.responseText.substr(pos+start_text.length,evt.target.responseText.length-pos-start_text.length);pos=response.indexOf(":");var txt_header=response.substr(0,pos);txt_value=response.substr(pos+1,response.length-pos-1);if(txt_header=="success"){var filelist=
70
+ wfu_plugin_decode_string(txt_value);var flist=filelist.split(",");var fcount=0;var opt;for(var i=0;i<flist.length;i++)if(flist[i]!=""){opt=document.createElement("option");opt.value=flist[i];opt.innerHTML=flist[i].replace("*","&nbsp;&nbsp;&nbsp;");list.add(opt);fcount++}if(fcount==0){opt=document.createElement("option");opt.value="";opt.innerHTML="{empty}";opt.disabled=true;list.add(opt)}list.selectedIndex=-1;ok.onclick=function(){var val=list.options[list.selectedIndex].value;var level=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+
71
+ key).value);if(val.substr(0,1)=="*"||level==0){document.getElementById("wfu_subfolders_newitemlevel_"+key).value=level+1;if(level>0)val=val.substr(1)}tools_path.value=val;tools_label.value=val;wfu_folder_browser_cancel_clicked(key);wfu_subfolders_ok_clicked(key)};msgcont.style.display="none"}else if(txt_header=="error"){msg.innerHTML=txt_value;img.style.display="none";ok.disabled=false}else{msg.innerHTML="Unknown error";img.style.display="none";ok.disabled=false}}}
72
+ function wfu_readfolderFailed(evt){var key=evt.target.key;var msg=document.getElementById("wfu_subfolders_browser_msg_"+key);var img=document.getElementById("wfu_subfolders_browser_img_"+key);var ok=document.getElementById("wfu_subfolders_browser_ok_"+key);msg.innerHTML="Unknown error";img.style.display="none";ok.disabled=false}
73
+ function wfu_readfolderCanceled(evt){var key=evt.target.key;var msg=document.getElementById("wfu_subfolders_browser_msg_"+key);var img=document.getElementById("wfu_subfolders_browser_img_"+key);var ok=document.getElementById("wfu_subfolders_browser_ok_"+key);msg.innerHTML="Unknown error";img.style.display="none";ok.disabled=false}
74
+ function wfu_subfolders_browser_list_changed(key){var list=document.getElementById("wfu_subfolders_browser_list_"+key);var ok=document.getElementById("wfu_subfolders_browser_ok_"+key);ok.disabled=list.selectedIndex<0}
75
+ function wfu_folder_browser_cancel_clicked(key){var container=document.getElementById("wfu_global_dialog_container");var dialog=document.getElementById("wfu_subfolders_browser_"+key);var btn=document.getElementById("wfu_subfolders_browse_"+key);var shadow=document.getElementById("wfu_subfolders_inner_shadow_"+key);container.onclick=null;shadow.style.display="none";dialog.style.display="none";container.style.display="none"}
76
+ function wfu_get_relative_path(key){var list=document.getElementById("wfu_attribute_"+key);if(list.selectedIndex<0)return;var items=list.data;var isnewitem=document.getElementById("wfu_subfolders_isnewitem_"+key).value=="1";var level;if(isnewitem)level=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+key).value);else level=items[list.selectedIndex].level;var relpath="/";var curpos=list.selectedIndex-1;var curlevel=level;while(curpos>=0&&curlevel>1){if(items[curpos].level<curlevel){relpath=
77
+ "/"+items[curpos].path+relpath;curlevel=items[curpos].level}curpos--}if(isnewitem&&document.getElementById("wfu_subfolders_newitemlevel2_"+key).value=="1"&&level>0&&list.selectedIndex>0)relpath+=","+items[list.selectedIndex-1].path;return relpath}function wfu_subfolders_changed(key){wfu_update_subfolder_list(key);wfu_subfolders_update_toolnav(key)}
78
+ function wfu_subfolders_update_toolnav(key){var list=document.getElementById("wfu_attribute_"+key);var items,item,ind,nextind,prevlevel;var tools_container=document.getElementById("wfu_subfolder_tools_"+key);var tools_path=document.getElementById("wfu_subfolders_path_"+key);var tools_label=document.getElementById("wfu_subfolders_label_"+key);var tools_ok=document.getElementById("wfu_subfolders_ok_"+key);var tools_browse=document.getElementById("wfu_subfolders_browse_"+key);var auto=document.getElementById("wfu_subfolders_auto_"+
79
+ key);document.getElementById("wfu_subfolders_isnewitem_"+key).value="";document.getElementById("wfu_subfolders_newitemindex_"+key).value="";document.getElementById("wfu_subfolders_newitemlevel_"+key).value="";document.getElementById("wfu_subfolders_newitemlevel2_"+key).value="";if(list.data==null){items=wfu_decode_subfolder_list(key);list.data=items}else items=list.data;if(list.data.length===0){list.className="wfu_select_folders wfu_select_folders_empty";list.options[0].innerHTML=auto.checked?"":
80
+ "press here"}else list.className="wfu_select_folders";if(list.selectedIndex<0){tools_container.className="wfu_subfolder_tools_container wfu_subfolder_tools_disabled";tools_path.disabled=true;tools_label.disabled=true;tools_ok.disabled=true;tools_browse.disabled=true;tools_label.value="";tools_path.value=""}else if(list.selectedIndex>=list.options.length-1){tools_container.className="wfu_subfolder_tools_container";tools_label.disabled=false;tools_ok.disabled=true;document.getElementById("wfu_subfolders_isnewitem_"+
81
+ key).value="1";document.getElementById("wfu_subfolders_newitemindex_"+key).value=items.length;var level;if(items.length==0)level=0;else if(items[items.length-1].level==0)level=1;else level=items[items.length-1].level;document.getElementById("wfu_subfolders_newitemlevel_"+key).value=level;document.getElementById("wfu_subfolders_newitemlevel2_"+key).value="1";tools_path.disabled=level==0;tools_browse.disabled=false;if(level==0){tools_path.value="{root}";tools_label.value="{upload folder}"}else{tools_path.value=
82
+ "";tools_label.value=""}}else{tools_container.className="wfu_subfolder_tools_container";tools_label.disabled=false;tools_ok.disabled=true;item=items[list.selectedIndex];tools_path.disabled=item.level==0;tools_browse.disabled=item.level==0;tools_label.value=item.label;tools_path.value=item.path}var navs=document.getElementsByName("wfu_subfolder_nav_"+key);if(list.selectedIndex<0||list.selectedIndex>=list.options.length-1)for(var i=0;i<navs.length;i++)navs[i].disabled=true;else wfu_subfolders_update_nav(key)}
83
+ function wfu_subfolders_update_nav(key){var list=document.getElementById("wfu_attribute_"+key);var navs_up=document.getElementById("wfu_subfolders_up_"+key);var navs_down=document.getElementById("wfu_subfolders_down_"+key);var navs_left=document.getElementById("wfu_subfolders_left_"+key);var navs_right=document.getElementById("wfu_subfolders_right_"+key);var navs_add=document.getElementById("wfu_subfolders_add_"+key);var navs_def=document.getElementById("wfu_subfolders_def_"+key);var navs_del=document.getElementById("wfu_subfolders_del_"+
84
+ key);var items=list.data;var item=items[list.selectedIndex];navs_up.disabled=item.index<=0;ind=list.selectedIndex+1;nextind=0;while(ind<items.length)if(items[ind].level==item.level){nextind=items[ind].index;break}else if(items[ind].level<item.level)break;else ind++;navs_down.disabled=item.level==0||nextind==0;navs_left.disabled=list.selectedIndex==0&&item.level<1||list.selectedIndex>0&&item.level<=1;if(list.selectedIndex>=1)prevlevel=items[list.selectedIndex-1].level;else prevlevel=0;navs_right.disabled=
85
+ item.level-prevlevel>0;navs_add.disabled=item.level==0;navs_def.disabled=false;navs_def.className="button"+(item["default"]?" wfu_subfolder_nav_pressed":"");navs_del.disabled=false}
86
+ function wfu_decode_subfolder(data){var ret={label:"",path:"",level:0,"default":false};data=data.trim();var star_count=0;var is_default=false;while(star_count<data.length)if(data.substr(star_count,1)=="*")star_count++;else break;data=data.substr(star_count,data.length-star_count);if(data.substr(0,1)=="&"){data=data.substr(1);is_default=true}ret.level=star_count;ret["default"]=is_default;var data_raw=data.split("/");if(data_raw.length==1){ret.path=data_raw[0];ret.label=data_raw[0]}else if(data_raw.length>
87
+ 1){ret.path=data_raw[0];ret.label=data_raw[1]}if(star_count==0){ret.path="{root}";if(ret.label=="")ret.label="{upload folder}"}return ret}
88
+ function wfu_decode_subfolder_list(key){var opts=document.getElementById("wfu_attribute_"+key).options;var list=Array();var dir_levels=["root"];var last_index=[0];var subfolder_path;var prev_level=-1;for(var i=0;i<opts.length-1;i++){list.push(wfu_decode_subfolder(wfu_plugin_decode_string(opts[i].value)));if(dir_levels.length>list[i].level)dir_levels[list[i].level]=list[i].path;else dir_levels.push(list[i].path);subfolder_path="";for(j=1;j<=list[i].level;j++)subfolder_path+=dir_levels[j]+"/";list[i].fullpath=
89
+ subfolder_path;if(last_index.length<=list[i].level)last_index.push(0);if(list[i].level>prev_level)list[i].index=0;else list[i].index=last_index[list[i].level]+1;last_index[list[i].level]=list[i].index;prev_level=list[i].level}return list}
90
+ function wfu_update_subfolder_list(key){var opts=document.getElementById("wfu_attribute_"+key).options;var list=document.getElementById("wfu_attribute_"+key);var items=list.data;if(items==null)return;var value_raw,text_raw;var global_raw="";opts.length=items.length+1;for(var i=0;i<items.length;i++){value_raw="";text_raw="";for(j=0;j<items[i].level;j++){value_raw+="*";text_raw+="&nbsp;&nbsp;&nbsp;"}if(items[i]["default"]){value_raw+="&";opts[i].className="wfu_select_folders_option_default"}else opts[i].className=
91
+ "";value_raw+=items[i].path+"/"+items[i].label;text_raw+=items[i].label;opts[i].value=wfu_plugin_encode_string(value_raw);opts[i].innerHTML=text_raw;if(global_raw!="")global_raw+=",";global_raw+=value_raw}opts[items.length].value="";opts[items.length].innerHTML="";return global_raw}
92
+ function wfu_userdata_edit_field(line,label,required){var item;for(var i=0;i<line.childNodes.length;i++){item=line.childNodes[i];if(item.tagName=="INPUT")if(item.type=="text"){item.value=label;wfu_attach_element_handlers(item,wfu_update_userfield_value)}else{if(item.type=="checkbox")item.checked=required}else if(item.tagName=="DIV")item.className="wfu_userdata_action"}}function wfu_formdata_edit_field(line,label,required){}
93
+ function wfu_formdata_get_field_props(key){var key_parts=key.split("_");var attribute=key_parts[0];var a="wfu_formfield_"+key;var fielddef=window["wfu_attribute_"+attribute+"_typeprops"][document.getElementById(a+"_type").value];var field={type:document.getElementById(a+"_type").value,label:document.getElementById(a+"_label").value,labelposition:document.getElementById(a+"_labelposition").value,required:fielddef.required.substr(0,4)=="show"&&document.getElementById(a+"_required")?document.getElementById(a+
94
+ "_required").checked:fielddef.required.substr(5)=="true",donotautocomplete:fielddef.donotautocomplete.substr(0,4)=="show"&&document.getElementById(a+"_donotautocomplete")?document.getElementById(a+"_donotautocomplete").checked:fielddef.donotautocomplete.substr(5)=="true",validate:fielddef.validate.substr(0,4)=="show"&&document.getElementById(a+"_validate")?document.getElementById(a+"_validate").checked:fielddef.validate.substr(5)=="true",typehook:fielddef.typehook.substr(0,4)=="show"&&document.getElementById(a+
95
+ "_typehook")?document.getElementById(a+"_typehook").checked:fielddef.typehook.substr(5)=="true",hintposition:fielddef.hintposition.substr(0,4)=="show"&&document.getElementById(a+"_hintposition")?document.getElementById(a+"_hintposition").value:fielddef.hintposition.substr(5),"default":fielddef["default"].substr(0,4)=="show"&&document.getElementById(a+"_default")?document.getElementById(a+"_default").value:fielddef["default"].substr(5),data:fielddef.data.substr(0,4)=="show"&&document.getElementById(a+
96
+ "_data")?document.getElementById(a+"_data").value:fielddef.data.substr(5),group:fielddef.group.substr(0,4)=="show"&&document.getElementById(a+"_group")?document.getElementById(a+"_group").value:fielddef.group.substr(5),format:fielddef.format.substr(0,4)=="show"&&document.getElementById(a+"_format")?document.getElementById(a+"_format").value:fielddef.format.substr(5)};return field}
97
+ function wfu_formdata_type_changed(key){var key_parts=key.split("_");var attribute=key_parts[0];var a="wfu_formfield_"+key;var line_container=document.getElementById(a+"_container");var field=wfu_formdata_get_field_props(key);var template=wfu_formdata_prepare_template(attribute,field,key);line_container.innerHTML=template;var formfield_elements=document.querySelectorAll("div#"+a+'_container input[name="wfu_formfield_elements"]');for(var i=0;i<formfield_elements.length;i++)wfu_attach_element_handlers(formfield_elements[i],
98
+ wfu_update_formfield_value);wfu_formdata_update_buttons(key);wfu_update_formfield_value({target:line_container})}function wfu_userdata_add_field(obj){var line=obj.parentNode;var newline=line.cloneNode(true);wfu_userdata_edit_field(newline,"",false);line.parentNode.insertBefore(newline,line.nextSibling)}
99
+ function wfu_formdata_add_field(key){var key_parts=key.split("_");var attribute=key_parts[0];var ind=key_parts[1];var container=document.getElementById("wfu_attribute_"+attribute);var prev=document.getElementById("wfu_formfield_"+key+"_container");var new_line_container=document.createElement("DIV");var new_key=attribute+"_"+wfu_randomString(4);new_line_container.id="wfu_formfield_"+new_key+"_container";new_line_container.className="wfu_formdata_line_container";container.insertBefore(new_line_container,
100
+ prev.nextSibling);var field={type:"text",label:"",labelposition:"left",required:false,donotautocomplete:false,validate:false,"default":"",data:"",group:"",format:"",hintposition:"right",typehook:false};var template=wfu_formdata_prepare_template(attribute,field,new_key);new_line_container.innerHTML=template;var formfield_elements=document.querySelectorAll("div#wfu_formfield_"+new_key+'_container input[name="wfu_formfield_elements"]');for(var i=0;i<formfield_elements.length;i++)wfu_attach_element_handlers(formfield_elements[i],
101
+ wfu_update_formfield_value);wfu_formdata_update_buttons(key);wfu_formdata_update_buttons(new_key);wfu_update_formfield_value({target:new_line_container})}
102
+ function wfu_formdata_prepare_template(attribute,field,key){var template=wfu_plugin_decode_string(window["wfu_attribute_"+attribute+"_formtemplate"]);var fielddef=window["wfu_attribute_"+attribute+"_typeprops"][field.type];var fielddef_array=window["wfu_attribute_"+attribute+"_typeprops"][0].split(",");var fieldprops_basic=["required","donotautocomplete","validate","typehook","labelposition","hintposition","default","data","group","format"];var labelpositions=["none","top","right","bottom","left"];
103
+ var hintpositions=["none","inline","top","right","bottom","left"];template=template.replace(/\[\[key\]\]/g,key).replace(/\[\[t\]\]/g,field.type).replace(/\[\[label\]\]/g,field.label).replace(/\[\[s\]\]/g,field.labelposition).replace(/\[\[d\]\]/g,field["default"]).replace(/\[\[l\]\]/g,field.data).replace(/\[\[data_label\]\]/g,fielddef.data_label).replace(/\[\[g\]\]/g,field.group).replace(/\[\[f\]\]/g,field.format).replace(/\[\[p\]\]/g,field.hintposition);for(var i=0;i<fieldprops_basic.length;i++)template=
104
+ template.replace(new RegExp("\\[\\["+fieldprops_basic[i]+"_hint\\]\\]","g"),fielddef[fieldprops_basic[i]+"_hint"]);for(var i=0;i<fielddef_array.length;i++)template=template.replace("[[type_"+fielddef_array[i]+"_selected]]",fielddef_array[i]==field.type?' selected="selected"':"");for(var i=0;i<labelpositions.length;i++)template=template.replace("[[labelposition_"+labelpositions[i]+"_selected]]",labelpositions[i]==field.labelposition?' selected="selected"':"");for(var i=0;i<hintpositions.length;i++)template=
105
+ template.replace("[[hintposition_"+hintpositions[i]+"_selected]]",hintpositions[i]==field.hintposition?' selected="selected"':"");template=template.replace("[[remove_disabled]]","");template=template.replace("[[up_disabled]]","");template=template.replace("[[down_disabled]]","");template=field.required?template.replace(/\[\[r\-\>\]\]|\[\[\<\-r\]\]/g,""):template.replace(/\[\[r\-\>\]\].*\[\[\<\-r\]\]/g,"");template=field.donotautocomplete?template.replace(/\[\[a\-\>\]\]|\[\[\<\-a\]\]/g,""):template.replace(/\[\[a\-\>\]\].*\[\[\<\-a\]\]/g,
106
+ "");template=field.validate?template.replace(/\[\[v\-\>\]\]|\[\[\<\-v\]\]/g,""):template.replace(/\[\[v\-\>\]\].*\[\[\<\-v\]\]/g,"");template=field.typehook?template.replace(/\[\[h\-\>\]\]|\[\[\<\-h\]\]/g,""):template.replace(/\[\[h\-\>\]\].*\[\[\<\-h\]\]/g,"");template=fielddef.required.substr(0,4)=="show"?template.replace(/\[\[R\-\>\]\]|\[\[\<\-R\]\]/g,""):template.replace(/\[\[R\-\>\]\][^]*\[\[\<\-R\]\]/g,"");template=fielddef.donotautocomplete.substr(0,4)=="show"?template.replace(/\[\[A\-\>\]\]|\[\[\<\-A\]\]/g,
107
+ ""):template.replace(/\[\[A\-\>\]\][^]*\[\[\<\-A\]\]/g,"");template=fielddef.validate.substr(0,4)=="show"?template.replace(/\[\[V\-\>\]\]|\[\[\<\-V\]\]/g,""):template.replace(/\[\[V\-\>\]\][^]*\[\[\<\-V\]\]/g,"");template=fielddef.hintposition.substr(0,4)=="show"?template.replace(/\[\[P\-\>\]\]|\[\[\<\-P\]\]/g,""):template.replace(/\[\[P\-\>\]\][^]*\[\[\<\-P\]\]/g,"");template=fielddef.typehook.substr(0,4)=="show"?template.replace(/\[\[H\-\>\]\]|\[\[\<\-H\]\]/g,""):template.replace(/\[\[H\-\>\]\][^]*\[\[\<\-H\]\]/g,
108
+ "");template=fielddef["default"].substr(0,4)=="show"?template.replace(/\[\[D\-\>\]\]|\[\[\<\-D\]\]/g,""):template.replace(/\[\[D\-\>\]\][^]*\[\[\<\-D\]\]/g,"");template=fielddef.data.substr(0,4)=="show"?template.replace(/\[\[L\-\>\]\]|\[\[\<\-L\]\]/g,""):template.replace(/\[\[L\-\>\]\][^]*\[\[\<\-L\]\]/g,"");template=fielddef.group.substr(0,4)=="show"?template.replace(/\[\[G\-\>\]\]|\[\[\<\-G\]\]/g,""):template.replace(/\[\[G\-\>\]\][^]*\[\[\<\-G\]\]/g,"");template=fielddef.format.substr(0,4)=="show"?
109
+ template.replace(/\[\[F\-\>\]\]|\[\[\<\-F\]\]/g,""):template.replace(/\[\[F\-\>\]\][^]*\[\[\<\-F\]\]/g,"");return template}
110
+ function wfu_userdata_remove_field(obj){var line=obj.parentNode;var container=line.parentNode;var first=null;for(var i=0;i<container.childNodes.length;i++)if(container.childNodes[i].nodeType===1){first=container.childNodes[i];break}if(line!=first){line.parentNode.removeChild(line);for(var i=0;i<first.childNodes.length;i++)if(first.childNodes[i].nodeType===1){wfu_update_userfield_value({target:first.childNodes[i]});break}}}
111
+ function wfu_formdata_remove_field(key){var key_parts=key.split("_");var attribute=key_parts[0];var containers=document.querySelectorAll("div#wfu_attribute_"+attribute+" .wfu_formdata_line_container");if(containers.length<2)return;var container=document.getElementById("wfu_attribute_"+attribute);var line_container=document.getElementById("wfu_formfield_"+key+"_container");var line_container_index=0;for(var i=0;i<containers.length;i++)if(containers[i]==line_container){line_container_index=i+1;break}container.removeChild(line_container);
112
+ containers=document.querySelectorAll("div#wfu_attribute_"+attribute+" .wfu_formdata_line_container");if(line_container_index>containers.length)line_container_index=containers.length;line_container=containers[line_container_index-1];var prev_key=line_container.id.replace(/^wfu_formfield_/,"").replace(/_container$/,"");wfu_formdata_update_buttons(prev_key);wfu_update_formfield_value({target:line_container})}
113
+ function wfu_formdata_move_field(key,direction){var key_parts=key.split("_");var attribute=key_parts[0];var all_attributes=document.querySelector("div#wfu_attribute_"+attribute+" .wfu_formdata_all_attributes").value.split(",");var attr_occur_index=all_attributes.indexOf(attribute)+1;var containers=document.querySelectorAll("div#wfu_attribute_"+attribute+" .wfu_formdata_line_container");var container=document.getElementById("wfu_attribute_"+attribute);var line_container=document.getElementById("wfu_formfield_"+
114
+ key+"_container");var line_container_index=0;for(var i=0;i<containers.length;i++)if(containers[i]==line_container){line_container_index=i+1;break}if(direction=="up"&&attr_occur_index==1&&line_container_index==1||direction=="down"&&attr_occur_index==all_attributes.length&&line_container_index==containers.length)return;var field=wfu_formdata_get_field_props(key);var other_attribute=attribute;var other_line_container=line_container;if(direction=="up")if(line_container_index>1)other_line_container=containers[line_container_index-
115
+ 2];else{other_attribute=all_attributes[attr_occur_index-2];var other_containers=document.querySelectorAll("div#wfu_attribute_"+other_attribute+" .wfu_formdata_line_container");other_line_container=other_containers[other_containers.length-1]}else if(line_container_index<containers.length)other_line_container=containers[line_container_index];else{other_attribute=all_attributes[attr_occur_index];var other_containers=document.querySelectorAll("div#wfu_attribute_"+other_attribute+" .wfu_formdata_line_container");
116
+ other_line_container=other_containers[0]}var other_key=other_line_container.id.replace(/^wfu_formfield_/,"").replace(/_container$/,"");if(other_attribute==attribute)if(direction=="up")container.insertBefore(line_container,other_line_container);else container.insertBefore(other_line_container,line_container);else{var other_field=wfu_formdata_get_field_props(other_key);var template=wfu_formdata_prepare_template(other_attribute,field,other_key);other_line_container.innerHTML=template;var formfield_elements=
117
+ document.querySelectorAll("div#wfu_formfield_"+other_key+'_container input[name="wfu_formfield_elements"]');for(var i=0;i<formfield_elements.length;i++)wfu_attach_element_handlers(formfield_elements[i],wfu_update_formfield_value);template=wfu_formdata_prepare_template(attribute,other_field,key);line_container.innerHTML=template;formfield_elements=document.querySelectorAll("div#wfu_formfield_"+key+'_container input[name="wfu_formfield_elements"]');for(var i=0;i<formfield_elements.length;i++)wfu_attach_element_handlers(formfield_elements[i],
118
+ wfu_update_formfield_value)}wfu_formdata_update_buttons(key);wfu_formdata_update_buttons(other_key);wfu_update_formfield_value({target:line_container});if(other_attribute!=attribute)wfu_update_formfield_value({target:other_line_container})}
119
+ function wfu_formdata_update_buttons(key){var key_parts=key.split("_");var attribute=key_parts[0];var all_attributes=document.querySelector("div#wfu_attribute_"+attribute+" .wfu_formdata_all_attributes").value.split(",");var attr_occur_index=all_attributes.indexOf(attribute)+1;var containers=document.querySelectorAll("div#wfu_attribute_"+attribute+" .wfu_formdata_line_container");var line_container=document.getElementById("wfu_formfield_"+key+"_container");var line_container_index=0;for(var i=0;i<
120
+ containers.length;i++)if(containers[i]==line_container){line_container_index=i+1;break}var up_element=document.querySelector("div#wfu_formfield_"+key+"_container .wfu_formdata_action.wfu_formdata_action_up");var down_element=document.querySelector("div#wfu_formfield_"+key+"_container .wfu_formdata_action.wfu_formdata_action_down");var remove_elements=document.querySelectorAll("div#wfu_attribute_"+attribute+" .wfu_formdata_action_remove");up_element.className="wfu_formdata_action wfu_formdata_action_up"+
121
+ (attr_occur_index==1&&line_container_index==1?" wfu_formdata_action_disabled":"");down_element.className="wfu_formdata_action wfu_formdata_action_down"+(attr_occur_index==all_attributes.length&&line_container_index==containers.length?" wfu_formdata_action_disabled":"");for(var i=0;i<remove_elements.length;i++)remove_elements[i].className="wfu_formdata_action wfu_formdata_action_remove"+(remove_elements.length>1?"":" wfu_formdata_action_disabled")}
122
+ function wfu_formdata_update_all_updown_buttons(attribute){var all_attributes=document.querySelector("div#wfu_attribute_"+attribute+" .wfu_formdata_all_attributes").value.split(",");for(var i=0;i<all_attributes.length;i++){var ii=i+1;var containers=document.querySelectorAll("div#wfu_attribute_"+all_attributes[i]+" .wfu_formdata_line_container");for(var j=0;j<containers.length;j++){var jj=j+1;var key=containers[j].id.replace(/^wfu_formfield_/,"").replace(/_container$/,"");var up_element=document.querySelector("div#wfu_formfield_"+
123
+ key+"_container .wfu_formdata_action.wfu_formdata_action_up");var down_element=document.querySelector("div#wfu_formfield_"+key+"_container .wfu_formdata_action.wfu_formdata_action_down");up_element.className="wfu_formdata_action wfu_formdata_action_up"+(ii==1&&jj==1?" wfu_formdata_action_disabled":"");down_element.className="wfu_formdata_action wfu_formdata_action_down"+(ii==all_attributes.length&&jj==containers.length?" wfu_formdata_action_disabled":"")}}}
124
+ function wfu_generate_shortcode(){var shortcode_tag=document.getElementById("wfu_shortcode_tag").value;var defaults=document.getElementById("wfu_attribute_defaults");var values=document.getElementById("wfu_attribute_values");var item;var attribute="";var value="";var shortcode_full="["+shortcode_tag;var shortcode="";for(var i=0;i<defaults.childNodes.length;i++){item=defaults.childNodes[i];if(item.nodeType===1){attribute=item.id.replace("wfu_attribute_default_","");value=document.getElementById("wfu_attribute_value_"+
125
+ attribute).value;if(item.value!=value)shortcode+=" "+attribute+'="'+value+'"'}}shortcode_full+=shortcode+"]";document.getElementById("wfu_shortcode").value=shortcode_full;ShortcodeString=shortcode.substr(1);if(document.getElementById("wfu_update_shortcode"))document.getElementById("wfu_update_shortcode").disabled=wfu_plugin_encode_string(shortcode_full)==document.getElementById("wfu_shortcode_original_enc").value;if(Autosave)wfu_schedule_save_shortcode()}
126
+ function wfu_update_text_value(e){e=e||window.event;var item=e.target;var attribute=item.id.replace("wfu_attribute_","");var val=item.value;val=val.replace(/(\r\n|\n|\r)/gm,"%n%");val=val.replace(/\"/gm,"%dq%");val=val.replace(/\[/gm,"%brl%");val=val.replace(/\]/gm,"%brr%");if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+attribute).value=val;wfu_generate_shortcode()}}
127
+ function wfu_update_date_value(e){e=e||window.event;var item=e.target;var attribute=item.id.replace("wfu_attribute_","");var val=item.value;if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+attribute).value=val;wfu_generate_shortcode()}}
128
+ function wfu_update_stringmatch_textvalue(e){e=e||window.event;var item=e.target;var attribute=item.id.replace("wfu_attribute_","");attribute=attribute.replace("_matchfield","").replace("_matchvalue","");wfu_update_stringmatch_value(attribute)}
129
+ function wfu_update_triplecolor_value(e){e=e||window.event;var item=e.target;var attribute=item.id.replace("wfu_attribute_","");attribute=attribute.replace("_color","");attribute=attribute.replace("_bgcolor","");attribute=attribute.replace("_borcolor","");item=document.getElementById("wfu_attribute_"+attribute+"_color");var val=item.value+","+document.getElementById("wfu_attribute_"+attribute+"_bgcolor").value+","+document.getElementById("wfu_attribute_"+attribute+"_borcolor").value;if(val!==item.oldVal){item.oldVal=
130
+ val;document.getElementById("wfu_attribute_value_"+attribute).value=val;wfu_generate_shortcode()}}
131
+ function wfu_update_dimension_value(e){e=e||window.event;var item=e.target;var attribute=item.name.replace("wfu_dimension_elements_","");var group=document.getElementsByName(item.name);item=group[0];var val="";var dimname="";for(var i=0;i<group.length;i++){dimname=group[i].id.replace("wfu_attribute_"+attribute+"_","");if(val!=""&&group[i].value!="")val+=", ";if(group[i].value!="")val+=dimname+":"+group[i].value}if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+attribute).value=
132
+ val;wfu_generate_shortcode()}}function wfu_update_ptext_value(e){e=e||window.event;var item=e.target;var attribute=item.id.replace("wfu_attribute_","");attribute=attribute.substr(2);var singular=document.getElementById("wfu_attribute_s_"+attribute).value;var plural=document.getElementById("wfu_attribute_p_"+attribute).value;var val=singular+"/"+plural;if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+attribute).value=val}wfu_generate_shortcode()}
133
+ function wfu_update_mchecklist_value(attribute){var value="";var mchecklist=document.getElementById("wfu_attribute_"+attribute);var checkall=document.getElementById("wfu_attribute_"+attribute+"_all");if(checkall.checked){jQuery("#wfu_attribute_"+attribute+" input").prop("disabled",true);jQuery("#wfu_attribute_"+attribute+" input").prop("checked",true);value="all"}else{jQuery("#wfu_attribute_"+attribute+" input").prop("disabled",false);jQuery("#wfu_attribute_"+attribute+" input").each(function(){if(jQuery(this).prop("checked"))value+=
134
+ ","+jQuery(this).next().html()});value=value.substr(1)}document.getElementById("wfu_attribute_value_"+attribute).value=value;wfu_generate_shortcode()}
135
+ function wfu_update_rolelist_value(attribute){var value="";var rolelist=document.getElementById("wfu_attribute_"+attribute);var guests=document.getElementById("wfu_attribute_"+attribute+"_guests");var checkall=document.getElementById("wfu_attribute_"+attribute+"_all");if(checkall.checked){rolelist.disabled=true;value="all"}else{rolelist.disabled=false;var options=rolelist.options;for(var i=0;i<options.length;i++)if(options[i].selected){if(value!="")value+=",";value+=options[i].value}}if(guests.checked){if(value!=
136
+ "")value+=",";value+="guests"}document.getElementById("wfu_attribute_value_"+attribute).value=value;wfu_generate_shortcode()}
137
+ function wfu_update_userlist_value(attribute){var value="";var userlist=document.getElementById("wfu_attribute_"+attribute);var only_current=document.getElementById("wfu_attribute_"+attribute+"_current");var guests=document.getElementById("wfu_attribute_"+attribute+"_guests");var checkall=document.getElementById("wfu_attribute_"+attribute+"_all");if(only_current&&only_current.checked){userlist.disabled=true;checkall.disabled=true;guests.disabled=true;value="current"}else{checkall.disabled=false;guests.disabled=
138
+ false;if(checkall.checked){userlist.disabled=true;value="all"}else{userlist.disabled=false;var options=userlist.options;for(var i=0;i<options.length;i++)if(options[i].selected){if(value!="")value+=",";value+=options[i].value}}if(guests.checked){if(value!="")value+=",";value+="guests"}}document.getElementById("wfu_attribute_value_"+attribute).value=value;wfu_generate_shortcode()}
139
+ function wfu_update_postlist_value(attribute){var value="";var userlist=Array();var checkall=Array();var postlist=document.getElementById("wfu_attribute_"+attribute+"_postlist").value.split(",");for(var i=0;i<postlist.length;i++){userlist.push(document.getElementById("wfu_attribute_"+attribute+"_"+postlist[i]));checkall.push(document.getElementById("wfu_attribute_"+attribute+"_all_"+postlist[i]))}var only_current=document.getElementById("wfu_attribute_"+attribute+"_current");if(only_current&&only_current.checked){for(var i=
140
+ 0;i<postlist.length;i++){userlist[i].disabled=true;checkall[i].disabled=true}value="current"}else{var allchecked=true;value="";for(var i=0;i<postlist.length;i++){checkall[i].disabled=false;if(checkall[i].checked){userlist[i].disabled=true;if(value!="")value+=",";value+="all"+postlist[i]}else{userlist[i].disabled=false;allchecked=false;var options=userlist[i].options;for(var j=0;j<options.length;j++)if(options[j].selected){if(value!="")value+=",";value+=options[j].value}}}if(allchecked)value="all"}document.getElementById("wfu_attribute_value_"+
141
+ attribute).value=value;wfu_generate_shortcode()}
142
+ function wfu_update_bloglist_value(attribute){var value="";var bloglist=document.getElementById("wfu_attribute_"+attribute);var only_current=document.getElementById("wfu_attribute_"+attribute+"_current");var checkall=document.getElementById("wfu_attribute_"+attribute+"_all");if(only_current&&only_current.checked){bloglist.disabled=true;checkall.disabled=true;value="current"}else{checkall.disabled=false;if(checkall.checked){bloglist.disabled=true;value="all"}else{bloglist.disabled=false;var options=
143
+ bloglist.options;for(var i=0;i<options.length;i++)if(options[i].selected){if(value!="")value+=",";value+=options[i].value}}}document.getElementById("wfu_attribute_value_"+attribute).value=value;wfu_generate_shortcode()}
144
+ function wfu_update_stringmatch_value(attribute){var matchfield=document.getElementById("wfu_attribute_"+attribute+"_matchfield").value;var matchcriterion=document.getElementById("wfu_attribute_"+attribute+"_matchcriterion").value;var matchvalue=document.getElementById("wfu_attribute_"+attribute+"_matchvalue").value;matchfield=matchfield.replace(";","");if(matchfield.trim()=="")document.getElementById("wfu_attribute_value_"+attribute).value="";else document.getElementById("wfu_attribute_value_"+attribute).value=
145
+ "field:"+matchfield+";criterion:"+matchcriterion+";value:"+matchvalue;wfu_generate_shortcode()}
146
+ function wfu_update_userfield_value(e){e=e||window.event;var item=e.target;var line=item.parentNode;var container=line.parentNode;var fieldval="";var fieldreq=false;var val="";for(var i=0;i<container.childNodes.length;i++){line=container.childNodes[i];if(line.tagName==="DIV"){for(var j=0;j<line.childNodes.length;j++)if(line.childNodes[j].tagName=="INPUT")if(line.childNodes[j].type=="text"){fieldval=line.childNodes[j].value;if(i==0)item=line.childNodes[j]}else if(line.childNodes[j].type=="checkbox")fieldreq=
147
+ line.childNodes[j].checked;if(val!=""&&fieldval!="")val+="/";if(fieldval!=""&&fieldreq)val+="*";if(fieldval!="")val+=fieldval}}if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_userdatalabel").value=val;wfu_generate_shortcode();wfu_update_formfield_variables()}}
148
+ function wfu_update_formfield_value(e){e=e||window.event;var item=e.target;var attribute=item.id.match(/^wfu_formfield_(.*?)_/)[1];var containers=document.querySelectorAll("div#wfu_attribute_"+attribute+" .wfu_formdata_line_container");var val="";for(var i=0;i<containers.length;i++){var part="";var ind=containers[i].id.match(/^wfu_formfield_.*?_(.*?)_/)[1];var key=attribute+"_"+ind;var label=document.getElementById("wfu_formfield_"+key+"_label").value;if(label.trim()!=""){part=label.trim();var type=
149
+ document.getElementById("wfu_formfield_"+key+"_type").value;var typeprops=window["wfu_attribute_"+attribute+"_typeprops"];part+="|t:"+type;part+="|s:"+document.getElementById("wfu_formfield_"+key+"_labelposition").value;if(typeprops[type].required.substr(0,4)=="show")part+="|r:"+(document.getElementById("wfu_formfield_"+key+"_required").checked?"1":"0");if(typeprops[type].donotautocomplete.substr(0,4)=="show")part+="|a:"+(document.getElementById("wfu_formfield_"+key+"_donotautocomplete").checked?
150
+ "1":"0");if(typeprops[type].validate.substr(0,4)=="show")part+="|v:"+(document.getElementById("wfu_formfield_"+key+"_validate").checked?"1":"0");if(typeprops[type].typehook.substr(0,4)=="show")part+="|h:"+(document.getElementById("wfu_formfield_"+key+"_typehook").checked?"1":"0");if(typeprops[type].hintposition.substr(0,4)=="show")part+="|p:"+document.getElementById("wfu_formfield_"+key+"_hintposition").value;if(typeprops[type]["default"].substr(0,4)=="show")part+="|d:"+document.getElementById("wfu_formfield_"+
151
+ key+"_default").value;if(typeprops[type].data.substr(0,4)=="show")part+="|l:"+document.getElementById("wfu_formfield_"+key+"_data").value;if(typeprops[type].group.substr(0,4)=="show")part+="|g:"+document.getElementById("wfu_formfield_"+key+"_group").value;if(typeprops[type].format.substr(0,4)=="show")part+="|f:"+document.getElementById("wfu_formfield_"+key+"_format").value}if(part!=""){if(val!="")val+="/";val+=part}}if(val!==item.oldVal){item.oldVal=val;document.getElementById("wfu_attribute_value_"+
152
+ attribute).value=val;wfu_generate_shortcode();wfu_update_formfield_variables()}}
153
+ function wfu_update_formfield_variables(){var userdata=document.getElementById("wfu_attribute_value_userdatalabel");if(!userdata)return;var container=document.getElementById("wfu_wrapper");var shadows=document.getElementsByClassName("wfu_shadow_userdata","div",container);var selects=document.getElementsByName("wfu_formfield_select");for(var i=0;i<selects.length;i++)selects[i].style.display="none";if(shadows.length==0)return;if(shadows[0].style.display=="block")return;var options_str='<option style="display:none;">%userdataXXX%</option>';
154
+ var userfields=userdata.value.replace(/\//g,"[/]").replace(/\(.*\)/,function(m){return m.replace(/\[\/\]/g,"/")}).split("[/]");var ind=2;while(document.getElementById("wfu_attribute_userdatalabel"+ind)){var userfields2=document.getElementById("wfu_attribute_value_userdatalabel"+ind).value.replace(/\//g,"[/]").replace(/\(.*\)/,function(m){return m.replace(/\[\/\]/g,"/")}).split("[/]");userfields=userfields.concat(userfields2);ind++}var field="";var pos=0;ind=1;for(var i=0;i<userfields.length;i++){field=
155
+ userfields[i];if(field[0]=="*")field=field.substr(1);pos=field.indexOf("|");if(pos>-1)field=field.substr(0,pos);if(field.trim()!=""){options_str+='<option value="%userdata'+ind+'%">'+ind+": "+field.trim()+"</option>";ind++}}for(var i=0;i<selects.length;i++){selects[i].innerHTML=options_str;selects[i].style.display="inline-block"}}
156
+ function wfu_attach_element_handlers(item,handler){var elem_events=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"];for(var i=0;i<elem_events.length;i++)wfu_addEventHandler(item,elem_events[i],handler)}
157
+ function wfu_Attach_Admin_Events(autosave_shortcode){Autosave=autosave_shortcode;wfu_generate_shortcode();wfu_update_formfield_variables();wfu_Attach_Admin_DragDrop_Events();var text_elements=document.getElementsByName("wfu_text_elements");for(var i=0;i<text_elements.length;i++)wfu_attach_element_handlers(text_elements[i],wfu_update_text_value);var ptext_elements=document.getElementsByName("wfu_ptext_elements");for(var i=0;i<ptext_elements.length;i++)wfu_attach_element_handlers(ptext_elements[i],
158
+ wfu_update_ptext_value);var stringmatch_elements=document.getElementsByName("wfu_stringmatch_elements");for(var i=0;i<stringmatch_elements.length;i++)wfu_attach_element_handlers(stringmatch_elements[i],wfu_update_stringmatch_textvalue);var triplecolor_elements=document.getElementsByName("wfu_triplecolor_elements");for(var i=0;i<triplecolor_elements.length;i++)wfu_attach_element_handlers(triplecolor_elements[i],wfu_update_triplecolor_value);var dimension_elements=document.getElementsByName("wfu_dimension_elements_widths");
159
+ for(var i=0;i<dimension_elements.length;i++)wfu_attach_element_handlers(dimension_elements[i],wfu_update_dimension_value);dimension_elements=document.getElementsByName("wfu_dimension_elements_heights");for(var i=0;i<dimension_elements.length;i++)wfu_attach_element_handlers(dimension_elements[i],wfu_update_dimension_value);var userfield_elements=document.getElementsByName("wfu_userfield_elements");for(var i=0;i<userfield_elements.length;i++)wfu_attach_element_handlers(userfield_elements[i],wfu_update_userfield_value);
160
+ var formfield_elements=document.getElementsByName("wfu_formfield_elements");for(var i=0;i<formfield_elements.length;i++)wfu_attach_element_handlers(formfield_elements[i],wfu_update_formfield_value);var subfolder_input_elements=document.getElementsByName("wfu_subfolder_tools_input");for(var i=0;i<subfolder_input_elements.length;i++)wfu_attach_element_handlers(subfolder_input_elements[i],wfu_subfolders_input_changed);var wfu_columnprops_elements=document.getElementsByName("wfu_columnprops_elements");
161
+ for(var i=0;i<wfu_columnprops_elements.length;i++)wfu_attach_element_handlers(wfu_columnprops_elements[i],wfu_columnprops_element_changed);if(document.getElementById("wfu_shortcode_postid").value!="")setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}
162
+ function wfu_insert_variable(obj){var attr=obj.className.replace("wfu_variable wfu_variable_","");var inp=document.getElementById("wfu_attribute_"+attr);var pos=inp.selectionStart;var prevval=inp.value;inp.value=prevval.substr(0,pos)+obj.innerHTML+prevval.substr(pos);wfu_update_text_value({target:inp})}
163
+ function wfu_insert_userfield_variable(obj){var attr=obj.className.replace("wfu_variable wfu_variable_","");var inp=document.getElementById("wfu_attribute_"+attr);var pos=inp.selectionStart;var prevval=inp.value;inp.value=prevval.substr(0,pos)+obj.value+prevval.substr(pos);obj.value="%userdataXXX%";wfu_update_text_value({target:inp})}
164
+ function wfu_columns_itemclicked(obj,attribute){var select=obj.parentNode;if(select.tagName!="SELECT")return;for(var i=0;i<select.options.length;i++)select.options[i].selected=select.options[i]==obj;wfu_update_column_props(attribute)}
165
+ function wfu_columns_buttonaction(attribute,action){var source=document.getElementById("wfu_attribute_"+attribute+"_sourcelist");var target=document.getElementById("wfu_attribute_"+attribute);if(action=="add")for(var i=0;i<source.options.length;i++){if(source.options[i].selected||source.options[i].className=="wfu_columns_item_required"){var found=false;var sou=source.options[i].value.replace(/:.*/,"");for(var j=0;j<target.options.length;j++){var tar=target.options[j].value.replace(/:.*/,"");if(tar==
166
+ sou){found=true;break}}if(!found){var parts=source.options[i].value.match(/(.*?):(.*?)\/(.*)/);var item_name=parts[1];var sorttype=item_name=="custom"?"+-"+(parts[2]==""?"s":parts[2]):parts[2]!=""?"-+"+parts[2]:"";var title=parts[3];if(item_name=="custom")item_name="custom1";var opt=document.createElement("OPTION");opt.value=item_name+":"+sorttype+"/"+source.options[i].innerHTML+"/"+title;opt.innerHTML=source.options[i].innerHTML+(title!=""&&title!=source.options[i].innerHTML?" ("+title+")":"");opt.className=
167
+ source.options[i].className;opt.onclick=source.options[i].onclick;target.appendChild(opt);target.selectedIndex=target.options.length-1}}}else if(action=="del"){var i=0;while(i<target.options.length)if(target.options[i].selected&&target.options[i].className!="wfu_columns_item_required")target.options.remove(i);else i++}else if(action=="up"||action=="down"){var ind=-1;for(var i=0;i<target.options.length;i++)if(target.options[i].selected&&ind==-1)ind=i;else if(target.options[i].selected&&ind>-1)target.options[i].selected=
168
+ false;if(action=="up"&&ind>0)target.insertBefore(target.options[ind],target.options[ind-1]);else if(action=="down"&&ind<target.options.length-1)target.insertBefore(target.options[ind+1],target.options[ind])}wfu_update_column_props(attribute);wfu_update_columns(attribute)}
169
+ function wfu_update_column_props(attribute){var target=document.getElementById("wfu_attribute_"+attribute);var props_table=document.getElementById("wfu_attribute_"+attribute+"_columnprops_container");var props_title=document.getElementById("wfu_attribute_"+attribute+"_columnprops_title");var props_title_label=document.getElementById("wfu_attribute_"+attribute+"_columnprops_title_label");var props_id=document.getElementById("wfu_attribute_"+attribute+"_columnprops_id");var props_id_label=document.getElementById("wfu_attribute_"+
170
+ attribute+"_columnprops_id_label");var props_sort=document.getElementById("wfu_attribute_"+attribute+"_columnprops_sort");var props_sort_label=document.getElementById("wfu_attribute_"+attribute+"_columnprops_sort_label");var props_sorttype=document.getElementById("wfu_attribute_"+attribute+"_columnprops_sorttype");var props_sorttype_label=document.getElementById("wfu_attribute_"+attribute+"_columnprops_sorttype_label");var index=target.selectedIndex;if(props_sorttype.options[0].value=="")props_sorttype.options.remove(0);
171
+ if(index==-1){props_table.className="wfu_columnprops_container wfu_columnprops_container_disabled";props_title.value="";props_title.disabled=true;props_id.value="";props_id.disabled=true;props_sort.checked=false;props_sort.disabled=true;props_sorttype.selectedIndex=-1;props_sorttype.disabled=true}else{var parts=target.options[index].value.match(/(.*?):(.*?)\/(.*?)\/(.*)/);var item_name=parts[1];var fieldid_enabled=item_name.substr(0,6)=="custom";var fieldid_value=fieldid_enabled?item_name.substr(6):
172
+ "";var sortable_enabled=parts[2]!="";var sortable=sortable_enabled&&parts[2].substr(1,1)=="+";var sorttype_enabled=sortable&&parts[2].substr(0,1)=="+";var sorttype=sortable?parts[2].substr(2):"";var title=parts[4];props_table.className="wfu_columnprops_container";props_title.value=title;props_title.disabled=false;props_id_label.className=fieldid_enabled?"":"wfu_columnprops_label_disabled";props_id.value=fieldid_value;props_id.disabled=!fieldid_enabled;props_sort_label.className=sortable_enabled?"":
173
+ "wfu_columnprops_label_disabled";props_sort.checked=sortable;props_sort.disabled=!sortable_enabled;props_sorttype_label.className=sorttype_enabled?"":"wfu_columnprops_label_disabled";props_sorttype.value=sorttype;props_sorttype.disabled=!sorttype_enabled}}
174
+ function wfu_columnprops_element_changed(e){e=e||window.event;var item=e.target;var attribute=item.id.match(/^wfu_attribute_(.*?)_columnprops_/)[1];var target=document.getElementById("wfu_attribute_"+attribute);var props_title=document.getElementById("wfu_attribute_"+attribute+"_columnprops_title");var props_id=document.getElementById("wfu_attribute_"+attribute+"_columnprops_id");var props_sort=document.getElementById("wfu_attribute_"+attribute+"_columnprops_sort");var props_sorttype=document.getElementById("wfu_attribute_"+
175
+ attribute+"_columnprops_sorttype");var index=target.selectedIndex;if(index==-1)return;var parts=target.options[index].value.match(/(.*?):(.*?)\/(.*?)\/(.*)/);var item_name=parts[1];var flat_name=item_name.substr(0,6)=="custom"?"custom":item_name;var fieldid_enabled=flat_name=="custom";var fieldid_value=fieldid_enabled?parseInt(props_id.value)>=1?props_id.value:"1":"";var sort=parts[2]!=""?parts[2].substr(0,1)+(props_sort.checked?"+":"-")+(props_sorttype.value!=""?props_sorttype.value:parts[2].substr(2)!=
176
+ ""?parts[2].substr(2):"s"):"";var label=parts[3];var title=props_title.value!=""?props_title.value:label;target.options[index].value=flat_name+fieldid_value+":"+sort+"/"+label+"/"+title;target.options[index].innerHTML=label+(title!=label?" ("+title+")":"");wfu_update_column_props(attribute);wfu_update_columns(attribute)}
177
+ function wfu_update_columns(attribute){var target=document.getElementById("wfu_attribute_"+attribute);var columns="";for(var i=0;i<target.options.length;i++){var parts=target.options[i].value.match(/(.*?):(.*?)\/(.*?)\/(.*)/);var col=parts[1]+":"+(parts[2].substr(1,1)=="+"?parts[2].substr(2):"")+"/"+parts[4];if(columns!="")columns+=",";columns+=col}document.getElementById("wfu_attribute_value_"+attribute).value=columns;wfu_generate_shortcode()}
178
+ function wfu_GetHttpRequestObject(){var xhr=null;try{xhr=new XMLHttpRequest}catch(e$0){try{xhr=new ActiveXObject("Msxml2.XMLHTTP")}catch(e2){try{xhr=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}}if(xhr==null&&window.createRequest)try{xmlhttp=window.createRequest()}catch(e$1){}return xhr}
179
+ function wfu_plugin_encode_string(str){var i=0;var newstr="";var num;var hex="";for(i=0;i<str.length;i++){num=str.charCodeAt(i);if(num>=2048)num=((num&16773120|917504)<<4)+((num&4032|8192)<<2)+(num&63|128);else if(num>=128)num=((num&65472|12288)<<2)+(num&63|128);hex=num.toString(16);if(hex.length==1||hex.length==3||hex.length==5)hex="0"+hex;newstr+=hex}return newstr}
180
+ function wfu_plugin_decode_string(str){var i=0;var newstr="";var num,val;while(i<str.length){num=parseInt(str.substr(i,2),16);if(num<128)val=num;else if(num<224)val=((num&31)<<6)+(parseInt(str.substr(i+=2,2),16)&63);else val=((num&15)<<12)+((parseInt(str.substr(i+=2,2),16)&63)<<6)+(parseInt(str.substr(i+=2,2),16)&63);newstr+=String.fromCharCode(val);i+=2}return newstr}
181
+ function wfu_randomString(len){var chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";var string_length=len;var randomstring="";for(var i=0;i<string_length;i++){var rnum=Math.floor(Math.random()*chars.length);randomstring+=chars.substring(rnum,rnum+1)}return randomstring}
182
+ function wfu_schedule_save_shortcode(){var d=new Date;var dt=ShortcodeNextSave-d.getTime();if(ShortcodeTimeOut!=null){clearTimeout(ShortcodeTimeOut);ShortcodeTimeOut=null}if(dt<=0)wfu_save_shortcode();else ShortcodeTimeOut=setTimeout(function(){wfu_save_shortcode()},dt)}function wfu_check_page_obsolescence(){if(PageObsolete||PageUpdating||document.getElementById("wfu_shortcode_postid").value=="")return}
183
+ function wfu_save_shortcode(){if(PageObsolete)return;var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;PageUpdating=true;document.getElementById("wfu_update_failed_message").style.display="none";var url=AdminParams.wfu_ajax_url;params=new Array(8);params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action_save_shortcode";params[1]=new Array(2);params[1][0]="shortcode";params[1][1]=wfu_plugin_encode_string(ShortcodeString);params[2]=new Array(2);params[2][0]="shortcode_original";
184
+ params[2][1]=document.getElementById("wfu_shortcode_original_enc").value;params[3]=new Array(2);params[3][0]="post_id";params[3][1]=document.getElementById("wfu_shortcode_postid").value;params[4]=new Array(2);params[4][0]="post_hash";params[4][1]=document.getElementById("wfu_shortcode_posthash").value;params[5]=new Array(2);params[5][0]="shortcode_position";params[5][1]=document.getElementById("wfu_shortcode_position").value;params[6]=new Array(2);params[6][0]="shortcode_tag";params[6][1]=document.getElementById("wfu_shortcode_tag").value;
185
+ params[7]=new Array(2);params[7][0]="widget_id";params[7][1]=document.getElementById("wfu_shortcode_widgetid").value;var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);var d=new Date;if(Autosave)ShortcodeNextSave=d.getTime()+5E3;else if(document.getElementById("wfu_update_shortcode"))document.getElementById("wfu_update_shortcode_wait").style.display="inline";xhr.open("POST",url,true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");
186
+ xhr.onreadystatechange=function(){if(xhr.readyState==4)if(xhr.status==200){PageUpdating=false;var start_text="wfu_save_shortcode:";var pos=xhr.responseText.indexOf(start_text);if(pos==-1)pos=xhr.responseText.length;var messages=xhr.responseText.substr(0,pos);var response=xhr.responseText.substr(pos+start_text.length,xhr.responseText.length-pos-start_text.length);pos=response.indexOf(":");var txt_header=response.substr(0,pos);txt_value=response.substr(pos+1,response.length-pos-1);if(txt_header=="success"){if(Autosave){document.getElementById("wfu_save_label").innerHTML=
187
+ "saved";document.getElementById("wfu_save_label").className="wfu_save_label";document.getElementById("wfu_save_label").style.opacity=1;wfu_fadeout_element(300);ShortcodeNextSave=d.getTime()+1E3;if(ShortcodeTimeOut!=null)wfu_schedule_save_shortcode()}else if(document.getElementById("wfu_update_shortcode")){document.getElementById("wfu_update_shortcode_wait").style.display="none";document.getElementById("wfu_update_shortcode").disabled=true;if(window.plugin_window)window.plugin_window.location.reload(true)}if(document.getElementById("wfu_shortcode_postid").value!=
188
+ ""){var shortcode_tag=document.getElementById("wfu_shortcode_tag").value;document.getElementById("wfu_shortcode_original_enc").value=wfu_plugin_encode_string("["+shortcode_tag+" "+ShortcodeString+"]");document.getElementById("wfu_shortcode_posthash").value=txt_value;setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}}else{if(Autosave){document.getElementById("wfu_save_label").innerHTML="not saved";document.getElementById("wfu_save_label").className="wfu_save_label_fail";
189
+ document.getElementById("wfu_save_label").style.opacity=1;wfu_fadeout_element(300)}if(txt_header=="fail")if(txt_value=="post_modified"){PageObsolete=true;if(document.getElementById("wfu_update_shortcode"))document.getElementById("wfu_update_shortcode").disabled=true;document.getElementById("wfu_update_rejected_message").style.display="block"}else document.getElementById("wfu_update_failed_message").style.display="block"}}};xhr.send(parameters)}
190
+ function wfu_adjust_opacity(opacity){document.getElementById("wfu_save_label").style.opacity=opacity}function wfu_fadeout_element(interval){var reps=20;var op=0;for(var i=0;i<reps;i++){op=1-i/reps;setTimeout('wfu_adjust_opacity("'+op.toString()+'")',i*interval/reps)}setTimeout('wfu_adjust_opacity("0.0")',i*interval/reps)}
191
+ function wfu_apply_value(attribute,type,value){if(type=="onoff"){document.getElementById("wfu_attribute_"+attribute).className="wfu_onoff_container_"+(value!="true"?"on":"off");wfu_admin_onoff_clicked(attribute)}else if(type=="text"||type=="ltext"||type=="integer"||type=="float"||type=="mtext"||type=="color"){var item=document.getElementById("wfu_attribute_"+attribute);value=value.replace(/\%n\%/gm,"\n");value=value.replace(/\%dq\%/gm,'"');value=value.replace(/\%brl\%/gm,"[");value=value.replace(/\%brr\%/gm,
192
+ "]");if(type=="color"){var rgb=colourNameToHex(value);if(!rgb)rgb=value;jQuery("#wfu_attribute_"+attribute).wpColorPicker("color",rgb)}item.value=value;wfu_update_text_value({target:item})}else if(type=="date"){var item=document.getElementById("wfu_attribute_"+attribute);item.value=value;wfu_update_date_value({target:item})}else if(type=="placements"){wfu_admin_recreate_placements_panel(value);document.getElementById("wfu_attribute_value_placements").value=value;wfu_generate_shortcode()}else if(type==
193
+ "radio"){var radios=document.getElementsByName("wfu_radioattribute_"+attribute);for(var i=0;i<radios.length;i++)radios[i].checked=radios[i].value==value||"*"+radios[i].value==value;wfu_admin_radio_clicked(attribute)}else if(type=="ptext"){value=value.replace(/\%n\%/gm,"\n");value=value.replace(/\%dq\%/gm,'"');value=value.replace(/\%brl\%/gm,"[");value=value.replace(/\%brr\%/gm,"]");var parts=value.split("/");var singular=parts.length<1?"":parts[0];var plural=parts.length<2?singular:parts[1];var item1=
194
+ document.getElementById("wfu_attribute_s_"+attribute);item1.value=singular;var item2=document.getElementById("wfu_attribute_p_"+attribute);item2.value=plural;wfu_update_ptext_value({target:item1});wfu_update_ptext_value({target:item2})}else if(type=="mchecklist"){value=value.toLowerCase();if(value=="all")document.getElementById("wfu_attribute_"+attribute+"_all").checked=true;else{document.getElementById("wfu_attribute_"+attribute+"_all").checked=false;var items=value.split(",");for(var i=0;i<items.length;i++)items[i]=
195
+ items[i].trim();jQuery("#wfu_attribute_"+attribute+" input").each(function(){jQuery(this).prop("checked",items.indexOf(jQuery(this).next().html())>-1)})}wfu_update_mchecklist_value(attribute)}else if(type=="rolelist"){var item=document.getElementById("wfu_attribute_"+attribute);var checkall=document.getElementById("wfu_attribute_"+attribute+"_all");var default_administrator=checkall.className.indexOf("wfu_default_administrator")>-1;var roles=value.split(",");if(roles.indexOf("all")>-1){checkall.checked=
196
+ true;for(var i=0;i<item.options.length;i++)item.options[i].selected=default_administrator&&item.options[i].value=="administrator"}else{checkall.checked=false;for(var i=0;i<roles.length;i++)roles[i]=roles[i].trim();for(var i=0;i<item.options.length;i++)item.options[i].selected=roles.indexOf(item.options[i].value)>-1}document.getElementById("wfu_attribute_"+attribute+"_guests").checked=roles.indexOf("guests")>-1;wfu_update_rolelist_value(attribute)}else if(type=="userlist"){var item=document.getElementById("wfu_attribute_"+
197
+ attribute);var checkall=document.getElementById("wfu_attribute_"+attribute+"_all");var default_0=checkall.className.indexOf("wfu_default_0")>-1;var only_current=document.getElementById("wfu_attribute_"+attribute+"_current");if(only_current&&value=="current"){only_current.checked=true;checkall.checked=false;document.getElementById("wfu_attribute_"+attribute+"_guests").checked=false;for(var i=0;i<item.options.length;i++)item.options[i].selected=default_0&&i<1}else{if(only_current)only_current.checked=
198
+ false;var users=value.split(",");if(users.indexOf("all")>-1){checkall.checked=true;for(var i=0;i<item.options.length;i++)item.options[i].selected=default_0&&i<1}else{checkall.checked=false;for(var i=0;i<users.length;i++)users[i]=users[i].trim();for(var i=0;i<item.options.length;i++)item.options[i].selected=users.indexOf(item.options[i].value)>-1}document.getElementById("wfu_attribute_"+attribute+"_guests").checked=users.indexOf("guests")>-1}wfu_update_userlist_value(attribute)}else if(type=="postlist"){var userlist=
199
+ Array();var checkall=Array();var postlist=document.getElementById("wfu_attribute_"+attribute+"_postlist").value.split(",");for(var i=0;i<postlist.length;i++){userlist.push(document.getElementById("wfu_attribute_"+attribute+"_"+postlist[i]));checkall.push(document.getElementById("wfu_attribute_"+attribute+"_all_"+postlist[i]))}var only_current=document.getElementById("wfu_attribute_"+attribute+"_current");if(only_current&&value=="current"){only_current.checked=true;for(var i=0;i<postlist.length;i++){checkall[i].checked=
200
+ false;for(var j=0;j<userlist[i].options.length;j++)userlist[i].options[j].selected=false}}else{if(only_current)only_current.checked=false;var ids=value.split(",");for(var i=0;i<postlist.length;i++){if(value=="all"||ids.indexOf("all"+postlist[i])>-1)checkall[i].checked=true;for(var j=0;j<userlist[i].options.length;j++)userlist[i].options[j].selected=ids.indexOf(userlist[i].options[j].value)>-1}}wfu_update_postlist_value(attribute)}else if(type=="bloglist"){var only_current=document.getElementById("wfu_attribute_"+
201
+ attribute+"_current");if(only_current&&value=="current"){only_current.checked=true;document.getElementById("wfu_attribute_"+attribute+"_all").checked=false;var item=document.getElementById("wfu_attribute_"+attribute);for(var i=0;i<item.options.length;i++)item.options[i].selected=false}else{if(only_current)only_current.checked=false;var blogs=value.split(",");if(value=="all")document.getElementById("wfu_attribute_"+attribute+"_all").checked=true;else{document.getElementById("wfu_attribute_"+attribute+
202
+ "_all").checked=false;for(var i=0;i<blogs.length;i++)blogs[i]=blogs[i].trim();var item=document.getElementById("wfu_attribute_"+attribute);for(var i=0;i<item.options.length;i++)item.options[i].selected=blogs.indexOf(item.options[i].value)>-1}}wfu_update_bloglist_value(attribute)}else if(type=="stringmatch"){var matchfield="";var matchcriterion="equal to";var matchvalue="";var matches=value.match(/^field:(.*?);\s*criterion:(.*?)\s*;\s*value:(.*)$/);if(matches&&matches.length==4){matchfield=matches[1];
203
+ matchcriterion=matches[2];matchvalue=matches[3]}document.getElementById("wfu_attribute_"+attribute+"_matchfield").value=matchfield;document.getElementById("wfu_attribute_"+attribute+"_matchcriterion").value=matchcriterion;document.getElementById("wfu_attribute_"+attribute+"_matchvalue").value=matchvalue;wfu_update_stringmatch_value(attribute)}else if(type=="columns"){var source=document.getElementById("wfu_attribute_"+attribute+"_sourcelist");var target=document.getElementById("wfu_attribute_"+attribute);
204
+ target.innerHTML="";var columns_flat=value.replace(/(:|\/).*?(,|$)/g,"$2").split(",");for(var i=0;i<source.options.length;i++){var parts=source.options[i].value.match(/(.*?):(.*?)\/(.*)/);var item_name=parts[1];if(source.options[i].className=="wfu_columns_item_required"&&columns_flat.indexOf(item_name)==-1){var sorttype=item_name=="custom"?"+-"+(parts[2]==""?"s":parts[2]):parts[2]!=""?"-+"+parts[2]:"";var title=parts[3];if(item_name=="custom")item_name="custom1";var opt=document.createElement("OPTION");
205
+ opt.value=item_name+":"+sorttype+"/"+source.options[i].innerHTML+"/"+title;opt.innerHTML=source.options[i].innerHTML+(title!=""&&title!=source.options[i].innerHTML?" ("+title+")":"");opt.className=source.options[i].className;opt.onclick=source.options[i].onclick;target.appendChild(opt)}}var columns=value.split(",");for(var i=0;i<columns.length;i++){var item_parts=columns[i].split("/",2);var item_name=item_parts[0];var item_title="";if(item_parts.length>1)item_title=item_parts[1];item_parts=item_name.split(":",
206
+ 2);item_name=item_parts[0];var flat_name=item_name.replace(/custom[0-9]+$/,"custom");var ind=-1;for(var j=0;j<source.options.length;j++){var sou=source.options[j].value.replace(/:.*/,"");if(sou==flat_name){ind=j;break}}var already_exists=false;for(var j=0;j<target.options.length;j++){var tar=target.options[j].value.replace(/:.*/,"");if(tar==item_name){already_exists=true;break}}if(item_name!="custom"&&ind>-1&&!already_exists){var parts=source.options[ind].value.match(/(.*?):(.*?)\/(.*)/);var sortable=
207
+ flat_name=="custom"||parts[2]!="";var sorttype=parts[2];var label=source.options[ind].innerHTML;var title=parts[3];var item_sort="";if(item_parts.length==1)item_sort=flat_name=="custom"?"+-s":sortable?"-+"+sorttype:"";else if(flat_name=="custom")item_sort="+"+(item_parts[1]==""?"-s":"+"+item_parts[1]);else item_sort=sortable?"-"+(item_parts[1]==""?"-":"+")+sorttype:"";if(item_title=="")item_title=title;var opt=document.createElement("OPTION");opt.value=item_name+":"+item_sort+"/"+label+"/"+item_title;
208
+ opt.innerHTML=label+(title!=label?" ("+title+")":"");opt.className=source.options[ind].className;opt.onclick=source.options[i].onclick;target.appendChild(opt)}}wfu_update_column_props(attribute);wfu_update_columns(attribute)}else if(type=="dimensions"){var dims=value.split(",");var details,nam,val,item;var group=document.getElementsByName("wfu_dimension_elements_"+attribute);for(var i=0;i<group.length;i++)group[i].value="";for(var i=0;i<dims.length;i++){details=dims[i].split(":",2);nam=details.length<
209
+ 1?"":details[0];val=details.length<2?nam:details[1];item=document.getElementById("wfu_attribute_"+attribute+"_"+nam.trim());if(item)item.value=val.trim()}item=group[0];wfu_update_dimension_value({target:item})}else if(type=="userfields"){var fields_arr=value.replace(/\//g,"[/]").replace(/\(.*\)/,function(m){return m.replace(/\[\/\]/g,"/")}).split("[/]");var is_req;var fields=Array();for(var i=0;i<fields_arr.length;i++){is_req=fields_arr[i].substr(0,1)=="*";if(is_req)fields_arr[i]=fields_arr[i].substr(1);
210
+ if(fields_arr[i]!="")fields.push({name:fields_arr[i],required:is_req})}var container=document.getElementById("wfu_attribute_"+attribute);var first=null;var remove_array=Array();for(var i=0;i<container.childNodes.length;i++)if(container.childNodes[i].nodeType===1)if(first==null)first=container.childNodes[i];else remove_array.push(container.childNodes[i]);for(var i=0;i<remove_array.length;i++)container.removeChild(remove_array[i]);wfu_userdata_edit_field(first,"",false);var newline;var prevline=first;
211
+ for(var i=0;i<fields.length;i++)if(i==0)wfu_userdata_edit_field(first,fields[i].name,fields[i].required);else{newline=prevline.cloneNode(true);wfu_userdata_edit_field(newline,fields[i].name,fields[i].required);container.insertBefore(newline,prevline.nextSibling);prevline=newline}var item;for(var i=0;i<first.childNodes.length;i++){item=first.childNodes[i];if(item.tagName=="INPUT")break}wfu_update_userfield_value({target:item})}else if(type=="formfields"){var fields=Array();var fielddefs=window["wfu_attribute_"+
212
+ attribute+"_typeprops"];var fielddef_array=fielddefs[0].split(",");var defaults={};for(var i=0;i<fielddef_array.length;i++){var fielddef=fielddefs[fielddef_array[i]];var def={};def.type=fielddef_array[i];def.label="";def.labelposition=fielddef.labelposition.substr(5);def.required=fielddef.required.substr(5)=="true";def.donotautocomplete=fielddef.donotautocomplete.substr(5)=="true";def.validate=fielddef.validate.substr(5)=="true";def.typehook=fielddef.typehook.substr(5)=="true";def.hintposition=fielddef.hintposition.substr(5);
213
+ def["default"]=fielddef["default"].substr(5);def.data=fielddef.data.substr(5);def.group=fielddef.group.substr(5);def.format=fielddef.format.substr(5);defaults[fielddef_array[i]]=def}var fields_arr=value.replace(/\//g,"[/]").replace(/\(.*\)/,function(m){return m.replace(/\[\/\]/g,"/")}).split("[/]");for(var i=0;i<fields_arr.length;i++){var field_raw=fields_arr[i].trim();var fieldprops={};for(prop in defaults["text"])fieldprops[prop]=defaults["text"][prop];if(field_raw.substr(0,1)=="*"){fieldprops.required=
214
+ true;field_raw=field_raw.substr(1)}var field_parts=field_raw.split("|");if(field_parts[0].trim()!=""){var type_key=-1;var new_type="";for(var j=0;j<field_parts.length;j++){var part=field_parts[j].replace(/^\s+/gm,"");var flag=part.substr(0,2);var val=part.substr(2);if(flag=="t:"&&j>0&&fielddef_array.indexOf(val)>-1){new_type=val;type_key=j;break}}if(new_type!=""){for(prop in defaults[new_type])fieldprops[prop]=defaults[new_type][prop];field_parts.splice(type_key,1)}fieldprops.label=field_parts[0].trim();
215
+ field_parts.splice(0,1);for(var j=0;j<field_parts.length;j++){var part=field_parts[j].replace(/^\s+/gm,"");var flag=part.substr(0,2);var val=part.substr(2);if(flag=="s:")fieldprops.labelposition=val;else if(flag=="r:")fieldprops.required=val=="1";else if(flag=="a:")fieldprops.donotautocomplete=val=="1";else if(flag=="v:")fieldprops.validate=val=="1";else if(flag=="d:")fieldprops["default"]=val;else if(flag=="l:")fieldprops.data=val;else if(flag=="g:")fieldprops.group=val;else if(flag=="f:")fieldprops.format=
216
+ val;else if(flag=="p:")fieldprops.hintposition=val;else if(flag=="h:")fieldprops.typehook=val=="1"}fields.push(fieldprops)}}if(fields.length==0)fields.push(fieldprops_default);var container=document.getElementById("wfu_attribute_"+attribute);var containers=document.querySelectorAll("div#wfu_attribute_"+attribute+" .wfu_formdata_line_container");for(var i=1;i<containers.length;i++)container.removeChild(containers[i]);var new_line_container=containers[0];for(var i=0;i<fields.length;i++){var new_key=
217
+ attribute+"_"+wfu_randomString(4);var template=wfu_formdata_prepare_template(attribute,fields[i],new_key);if(i>0)new_line_container=document.createElement("DIV");new_line_container.id="wfu_formfield_"+new_key+"_container";new_line_container.className="wfu_formdata_line_container";if(i>0)container.insertBefore(new_line_container,null);new_line_container.innerHTML=template;wfu_formdata_update_buttons(new_key)}var formfield_elements=document.querySelectorAll("div#wfu_attribute_"+attribute+' input[name="wfu_formfield_elements"]');
218
+ for(var i=0;i<formfield_elements.length;i++)wfu_attach_element_handlers(formfield_elements[i],wfu_update_formfield_value);wfu_update_formfield_value({target:containers[0]})}else if(type=="color-triplet"){var colors=value.split(",");for(var i=0;i<colors.length;i++)colors[i]=colors[i].trim();if(colors.length==2)colors=[colors[0],colors[1],"#000000"];else if(colors.length==1)colors=[colors[0],"#FFFFFF","#000000"];else if(colors.length<3)colors=["#000000","#FFFFFF","#000000"];var rgb=colourNameToHex(colors[0]);
219
+ if(!rgb)rgb=colors[0];jQuery("#wfu_attribute_"+attribute+"_color").wpColorPicker("color",rgb);var item=document.getElementById("wfu_attribute_"+attribute+"_color");item.value=colors[0];rgb=colourNameToHex(colors[1]);if(!rgb)rgb=colors[1];jQuery("#wfu_attribute_"+attribute+"_bgcolor").wpColorPicker("color",rgb);document.getElementById("wfu_attribute_"+attribute+"_bgcolor").value=colors[1];rgb=colourNameToHex(colors[2]);if(!rgb)rgb=colors[2];jQuery("#wfu_attribute_"+attribute+"_borcolor").wpColorPicker("color",
220
+ rgb);document.getElementById("wfu_attribute_"+attribute+"_borcolor").value=colors[2];wfu_update_triplecolor_value({target:item})}else if(type=="folderlist"){var items=wfu_parse_folderlist_js(value);var opts=document.getElementById("wfu_attribute_"+attribute).options;while(opts.length>0)opts.remove(0);var opt,subfolder,subfolder_raw,text,stars,subvalue;for(var i=0;i<items.path.length;i++){subfolder=items.path[i];if(subfolder.substr(subfolder.length,1)=="/")subfolder=subfolder.substr(0,subfolder.length-
221
+ 1);subfolder_raw=subfolder.split("/");subfolder=subfolder_raw[subfolder_raw.length-1];stars=parseInt(items.level[i]);text="";subvalue="";for(var j=0;j<stars;j++){text+="&nbsp;&nbsp;&nbsp;";subvalue+="*"}text+=items.label[i];if(items["default"][i])subvalue+="&";if(subfolder=="")subvalue+="{root}/"+items.label[i];else subvalue+=subfolder+items.label[i];opt=document.createElement("option");if(items["default"][i])opt.className="wfu_select_folders_option_default";else opt.className="";opt.value=wfu_plugin_encode_string(subvalue);
222
+ opt.innerHTML=text;opts.add(opt)}opt=document.createElement("option");opt.value="";opt.innerHTML="";opts.add(opt);var list=document.getElementById("wfu_attribute_"+attribute);list.data=wfu_decode_subfolder_list(attribute);wfu_subfolders_update_toolnav(attribute);item=list;if(value!==item.oldVal){item.oldVal=value;document.getElementById("wfu_attribute_value_"+attribute).value=value;wfu_generate_shortcode()}}}
223
+ function wfu_parse_folderlist_js(list){var ret=Object();ret.path=Array();ret.label=Array();ret.level=Array();ret["default"]=Array();if(list.substr(0,4)=="auto")return ret;var subfolders=list.split(",");if(subfolders.length==0)return ret;if(subfolders.length==1&&subfolders[0].trim()=="")return ret;var dir_levels=["root"];var prev_level=0;var level0_count=0;var _default=-1;var subfolder,star_count,start_spaces,is_default,subfolder_dir,subfolder_label,subfolder_path;for(var i=0;i<subfolders.length;i++){subfolder=
224
+ subfolders[i].trim();star_count=0;start_spaces="";is_default=false;while(star_count<subfolder.length)if(subfolder.substr(star_count,1)=="*"){star_count++;start_spaces+="&nbsp;&nbsp;&nbsp;"}else break;if(star_count-prev_level<=1&&(star_count>0||level0_count==0)){subfolder=subfolder.substr(star_count,subfolder.length-star_count);if(subfolder.substr(0,1)=="&"){subfolder=subfolder.substr(1);is_default=true}subfolder_items=subfolder.split("/");if(subfolder_items.length<2)subfolder_items.push("");if(subfolder_items[1]!=
225
+ ""){subfolder_dir=subfolder_items[0];subfolder_label=subfolder_items[1]}else{subfolder_dir=subfolder;subfolder_label=subfolder}if(subfolder_dir!=""){if(is_default&&_default==-1)_default=ret.path.length;else is_default=false;if(star_count==0)level0_count=1;if(dir_levels.length>star_count)dir_levels[star_count]=subfolder_dir;else dir_levels.push(subfolder_dir);subfolder_path="";for(var i_count=1;i_count<=star_count;i_count++)subfolder_path+=dir_levels[i_count]+"/";ret.path.push(subfolder_path);ret.label.push(subfolder_label);
226
+ ret.level.push(star_count);ret["default"].push(is_default);prev_level=star_count}}}return ret}
227
+ function colourNameToHex(colour){var colours={"aliceblue":"#f0f8ff","antiquewhite":"#faebd7","aqua":"#00ffff","aquamarine":"#7fffd4","azure":"#f0ffff","beige":"#f5f5dc","bisque":"#ffe4c4","black":"#000000","blanchedalmond":"#ffebcd","blue":"#0000ff","blueviolet":"#8a2be2","brown":"#a52a2a","burlywood":"#deb887","cadetblue":"#5f9ea0","chartreuse":"#7fff00","chocolate":"#d2691e","coral":"#ff7f50","cornflowerblue":"#6495ed","cornsilk":"#fff8dc","crimson":"#dc143c","cyan":"#00ffff","darkblue":"#00008b",
228
+ "darkcyan":"#008b8b","darkgoldenrod":"#b8860b","darkgray":"#a9a9a9","darkgreen":"#006400","darkkhaki":"#bdb76b","darkmagenta":"#8b008b","darkolivegreen":"#556b2f","darkorange":"#ff8c00","darkorchid":"#9932cc","darkred":"#8b0000","darksalmon":"#e9967a","darkseagreen":"#8fbc8f","darkslateblue":"#483d8b","darkslategray":"#2f4f4f","darkturquoise":"#00ced1","darkviolet":"#9400d3","deeppink":"#ff1493","deepskyblue":"#00bfff","dimgray":"#696969","dodgerblue":"#1e90ff","firebrick":"#b22222","floralwhite":"#fffaf0",
229
+ "forestgreen":"#228b22","fuchsia":"#ff00ff","gainsboro":"#dcdcdc","ghostwhite":"#f8f8ff","gold":"#ffd700","goldenrod":"#daa520","gray":"#808080","green":"#008000","greenyellow":"#adff2f","honeydew":"#f0fff0","hotpink":"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082","ivory":"#fffff0","khaki":"#f0e68c","lavender":"#e6e6fa","lavenderblush":"#fff0f5","lawngreen":"#7cfc00","lemonchiffon":"#fffacd","lightblue":"#add8e6","lightcoral":"#f08080","lightcyan":"#e0ffff","lightgoldenrodyellow":"#fafad2",
230
+ "lightgrey":"#d3d3d3","lightgreen":"#90ee90","lightpink":"#ffb6c1","lightsalmon":"#ffa07a","lightseagreen":"#20b2aa","lightskyblue":"#87cefa","lightslategray":"#778899","lightsteelblue":"#b0c4de","lightyellow":"#ffffe0","lime":"#00ff00","limegreen":"#32cd32","linen":"#faf0e6","magenta":"#ff00ff","maroon":"#800000","mediumaquamarine":"#66cdaa","mediumblue":"#0000cd","mediumorchid":"#ba55d3","mediumpurple":"#9370d8","mediumseagreen":"#3cb371","mediumslateblue":"#7b68ee","mediumspringgreen":"#00fa9a",
231
+ "mediumturquoise":"#48d1cc","mediumvioletred":"#c71585","midnightblue":"#191970","mintcream":"#f5fffa","mistyrose":"#ffe4e1","moccasin":"#ffe4b5","navajowhite":"#ffdead","navy":"#000080","oldlace":"#fdf5e6","olive":"#808000","olivedrab":"#6b8e23","orange":"#ffa500","orangered":"#ff4500","orchid":"#da70d6","palegoldenrod":"#eee8aa","palegreen":"#98fb98","paleturquoise":"#afeeee","palevioletred":"#d87093","papayawhip":"#ffefd5","peachpuff":"#ffdab9","peru":"#cd853f","pink":"#ffc0cb","plum":"#dda0dd",
232
+ "powderblue":"#b0e0e6","purple":"#800080","red":"#ff0000","rosybrown":"#bc8f8f","royalblue":"#4169e1","saddlebrown":"#8b4513","salmon":"#fa8072","sandybrown":"#f4a460","seagreen":"#2e8b57","seashell":"#fff5ee","sienna":"#a0522d","silver":"#c0c0c0","skyblue":"#87ceeb","slateblue":"#6a5acd","slategray":"#708090","snow":"#fffafa","springgreen":"#00ff7f","steelblue":"#4682b4","tan":"#d2b48c","teal":"#008080","thistle":"#d8bfd8","tomato":"#ff6347","turquoise":"#40e0d0","violet":"#ee82ee","wheat":"#f5deb3",
233
+ "white":"#ffffff","whitesmoke":"#f5f5f5","yellow":"#ffff00","yellowgreen":"#9acd32"};if(typeof colours[colour.toLowerCase()]!="undefined")return colours[colour.toLowerCase()];return false}
234
+ function wfu_download_file(filepath_enc,ii,nonce){var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;var url=AdminParams.wfu_ajax_url;params=new Array(3);params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action_download_file_invoker";params[1]=new Array(2);params[1][0]="file";params[1][1]=filepath_enc;params[2]=new Array(2);params[2][0]="nonce";params[2][1]=nonce;var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);
235
+ xhr.open("POST",url,true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.onreadystatechange=function(){if(xhr.readyState==4)if(xhr.status==200){var start_text="wfu_ajax_action_download_file_invoker:";var pos=xhr.responseText.indexOf(start_text);if(pos==-1)pos=xhr.responseText.length;var messages=xhr.responseText.substr(0,pos);var response=xhr.responseText.substr(pos+start_text.length,xhr.responseText.length-pos-start_text.length);pos=response.indexOf(":");var txt_header=
236
+ response.substr(0,pos);txt_value=response.substr(pos+1,response.length-pos-1);if(txt_header.substr(0,16)=="wfu_download_id;"){var download_id=txt_header.substr(16);var container=document.getElementById("wfu_file_download_container_"+ii);container.innerHTML=txt_value;setTimeout("wfu_download_file_monitor('"+filepath_enc+"', "+ii+", '"+download_id+"')",100)}}};xhr.send(parameters)}
237
+ function wfu_download_file_monitor(filepath_enc,ii,id){var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;var url=AdminParams.wfu_ajax_url;params=new Array(3);params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action_download_file_monitor";params[1]=new Array(2);params[1][0]="file";params[1][1]=filepath_enc;params[2]=new Array(2);params[2][0]="id";params[2][1]=id;var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);
238
+ xhr.open("POST",url,true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.onreadystatechange=function(){if(xhr.readyState==4)if(xhr.status==200){var start_text="wfu_ajax_action_download_file_monitor:";var pos=xhr.responseText.indexOf(start_text);if(pos==-1)pos=xhr.responseText.length;var messages=xhr.responseText.substr(0,pos);var response=xhr.responseText.substr(pos+start_text.length,xhr.responseText.length-pos-start_text.length);pos=response.indexOf(":");var txt_header=
239
+ response.substr(0,pos);txt_value=response.substr(pos+1,response.length-pos-1);if(txt_header!="repeat"){var container=document.getElementById("wfu_file_download_container_"+ii);container.innerHTML=""}else if(txt_header=="repeat")setTimeout("wfu_download_file_monitor('"+filepath_enc+"', "+ii+", '"+txt_value+"')",100)}};xhr.send(parameters)}
240
+ function wfu_filedetails_changed(e){var userdata_elements=document.getElementsByName("wfu_filedetails_userdata");var def,subm;var changed=false,changed2=false;for(var i=0;i<userdata_elements.length;i++){def=document.getElementById(userdata_elements[i].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_default_"));subm=document.getElementById(userdata_elements[i].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_"));subm.value=userdata_elements[i].value;if(userdata_elements[i].value!=
241
+ def.value){changed=true;break}}if(document.getElementById("wfu_filedetails_userid"))changed2=document.getElementById("wfu_filedetails_userid").value!=document.getElementById("wfu_filedetails_userid_default").value;document.getElementById("dp_filedetails_submit_fields").disabled=!changed&&!changed2}
242
+ function wfu_Attach_FileDetails_Admin_Events(){var userdata_elements=document.getElementsByName("wfu_filedetails_userdata");for(var i=0;i<userdata_elements.length;i++)wfu_attach_element_handlers(userdata_elements[i],wfu_filedetails_changed)}
243
+ function wfu_update_browserpermission_option(type,id,immediate){var users=document.getElementById("wfu_fbperm_users");var roles=document.getElementById("wfu_fbperm_roles");var view=document.getElementById("wfu_fbperm_"+type+"_"+id+"_view");var dl=document.getElementById("wfu_fbperm_"+type+"_"+id+"_dl");var edit=document.getElementById("wfu_fbperm_"+type+"_"+id+"_edit");var del=document.getElementById("wfu_fbperm_"+type+"_"+id+"_del");if(type=="role"){if(id=="0"){dl.checked=view.checked&&dl.checked;
244
+ edit.checked=view.checked&&edit.checked;del.checked=view.checked&&del.checked;dl.disabled=!view.checked;edit.disabled=!view.checked;del.disabled=!view.checked;var roles_tr=document.querySelectorAll("tr.wfu_fbperm_role_tr");for(var i=0;i<roles_tr.length;i++){var rolename=roles_tr[i].id.substr(16,roles_tr[i].id.length-20);wfu_update_browserpermission_option("role",rolename,false)}if(immediate){var props=(view.checked?"v":"")+(dl.checked?"d":"")+(edit.checked?"e":"")+(del.checked?"l":"");roles.value=
245
+ roles.value.replace(/^0\[\w*\]/,"0["+props+"]")}}else if(id!="administrator"){var row=document.getElementById("wfu_fbperm_role_"+id+"_row");var def=document.getElementById("wfu_fbperm_role_"+id+"_def");var view_def=document.getElementById("wfu_fbperm_role_0_view");var dl_def=document.getElementById("wfu_fbperm_role_0_dl");var edit_def=document.getElementById("wfu_fbperm_role_0_edit");var del_def=document.getElementById("wfu_fbperm_role_0_del");view.checked=def.checked?view_def.checked:view.checked;
246
+ row.style.fontWeight=def.checked?"":"bold";dl.checked=def.checked?dl_def.checked:view.checked&&dl.checked;edit.checked=def.checked?edit_def.checked:view.checked&&edit.checked;del.checked=def.checked?del_def.checked:view.checked&&del.checked;view.disabled=def.checked;dl.disabled=def.checked||!view.checked;edit.disabled=def.checked||!view.checked;del.disabled=def.checked||!view.checked;if(immediate){var props=def.checked?"":"D"+(view.checked?"v":"")+(dl.checked?"d":"")+(edit.checked?"e":"")+(del.checked?
247
+ "l":"");roles.value=roles.value.replace(new RegExp(","+id+"\\[\\w*\\]"),","+id+"["+props+"]")}}var users_tr=document.querySelectorAll("tr.wfu_fbperm_user_tr");for(var i=0;i<users_tr.length;i++){var username=users_tr[i].id.substr(16,users_tr[i].id.length-20);wfu_update_browserpermission_option("user",username,false)}}else if(type=="user"){var role=document.getElementById("wfu_fbperm_user_"+id+"_role");if(id=="0"){view.checked=role.checked?false:view.checked;dl.checked=role.checked?false:view.checked&&
248
+ dl.checked;edit.checked=role.checked?false:view.checked&&edit.checked;del.checked=role.checked?false:view.checked&&del.checked;view.disabled=role.checked;dl.disabled=role.checked||!view.checked;edit.disabled=role.checked||!view.checked;del.disabled=role.checked||!view.checked;view.indeterminate=role.checked;dl.indeterminate=role.checked;edit.indeterminate=role.checked;del.indeterminate=role.checked;var users_tr=document.querySelectorAll("tr.wfu_fbperm_user_tr");for(var i=0;i<users_tr.length;i++){var username=
249
+ users_tr[i].id.substr(16,users_tr[i].id.length-20);wfu_update_browserpermission_option("user",username,false)}if(immediate){var props=role.checked?"":"R"+(view.checked?"v":"")+(dl.checked?"d":"")+(edit.checked?"e":"")+(del.checked?"l":"");users.value=users.value.replace(/^0\[\w*\],?/,"");users.value="0["+props+"]"+(users.value==""?"":","+users.value)}}else{var user_roles=document.getElementById("wfu_fbperm_user_"+id+"_roles").value.split(",");if(user_roles.length==1&&user_roles[0]=="")user_roles=
250
+ Array();if(user_roles.indexOf("administrator")<0){var row=document.getElementById("wfu_fbperm_user_"+id+"_row");var def=document.getElementById("wfu_fbperm_user_"+id+"_def");var role_def=document.getElementById("wfu_fbperm_user_0_role");var view_def=document.getElementById("wfu_fbperm_user_0_view");var dl_def=document.getElementById("wfu_fbperm_user_0_dl");var edit_def=document.getElementById("wfu_fbperm_user_0_edit");var del_def=document.getElementById("wfu_fbperm_user_0_del");if(user_roles.length>
251
+ 0){var $view_from_roles=false;var $dl_from_roles=false;var $edit_from_roles=false;var $del_from_roles=false;for(var i=0;i<user_roles.length;i++){$view_from_roles=$view_from_roles||document.getElementById("wfu_fbperm_role_"+user_roles[i]+"_view").checked;$dl_from_roles=$view_from_roles&&($dl_from_roles||document.getElementById("wfu_fbperm_role_"+user_roles[i]+"_dl").checked);$edit_from_roles=$view_from_roles&&($edit_from_roles||document.getElementById("wfu_fbperm_role_"+user_roles[i]+"_edit").checked);
252
+ $del_from_roles=$view_from_roles&&($del_from_roles||document.getElementById("wfu_fbperm_role_"+user_roles[i]+"_del").checked)}}else{var $view_from_roles=document.getElementById("wfu_fbperm_role_0_view");var $dl_from_roles=document.getElementById("wfu_fbperm_role_0_dl");var $edit_from_roles=document.getElementById("wfu_fbperm_role_0_edit");var $del_from_roles=document.getElementById("wfu_fbperm_role_0_del")}row.style.fontWeight=def.checked?"":"bold";role.checked=def.checked?role_def.checked:role.checked;
253
+ view.checked=def.checked?role_def.checked?$view_from_roles:view_def.checked:role.checked?$view_from_roles:view.checked;dl.checked=def.checked?role_def.checked?$dl_from_roles:dl_def.checked:role.checked?$dl_from_roles:view.checked&&dl.checked;edit.checked=def.checked?role_def.checked?$edit_from_roles:edit_def.checked:role.checked?$edit_from_roles:view.checked&&edit.checked;del.checked=def.checked?role_def.checked?$del_from_roles:del_def.checked:role.checked?$del_from_roles:view.checked&&del.checked;
254
+ role.disabled=def.checked;view.disabled=def.checked||role.checked;dl.disabled=def.checked||role.checked||!view.checked;edit.disabled=def.checked||role.checked||!view.checked;del.disabled=def.checked||role.checked||!view.checked;if(immediate){var props=def.checked?"":"D"+(role.checked?"":"R"+(view.checked?"v":"")+(dl.checked?"d":"")+(edit.checked?"e":"")+(del.checked?"l":""));users.value=users.value.replace(new RegExp(","+id+"\\[\\w*\\]|"+id+"\\[\\w*\\],|"+id+"\\[\\w*\\]"),"");users.value+=(users.value==
255
+ ""?"":",")+id+"["+props+"]"}}}}}
256
+ function wfu_goto_historylog_page(token,go_to){var sel=document.getElementById("wfu_historylog_pages");var page=sel.selectedIndex+1;var newpage=page;if(go_to=="next")newpage=Math.min(page+1,sel.options.length);else if(go_to=="prev")newpage=Math.max(page-1,1);else if(go_to=="last")newpage=sel.options.length;else if(go_to=="first")newpage=1;else if(go_to=="sel")page=-1;if(newpage==page)return;var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;var url=AdminParams.wfu_ajax_url;params=new Array(3);
257
+ params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action_get_historylog_page";params[1]=new Array(2);params[1][0]="token";params[1][1]=token;params[2]=new Array(2);params[2][0]="page";params[2][1]=newpage;var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);document.getElementById("wfu_historylog_overlay").style.display="block";xhr.open("POST",url,true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");
258
+ xhr.onreadystatechange=function(){if(xhr.readyState==4)if(xhr.status==200){document.getElementById("wfu_historylog_overlay").style.display="none";var start_text="wfu_historylog_page_success:";var pos=xhr.responseText.indexOf(start_text);if(pos==-1)pos=xhr.responseText.length;var messages=xhr.responseText.substr(0,pos);var response=xhr.responseText.substr(pos+start_text.length,xhr.responseText.length-pos-start_text.length);if(response!=""){var t=document.getElementById("wfu_historylog_table");t.tBodies[0].innerHTML=
259
+ wfu_plugin_decode_string(response);sel.selectedIndex=newpage-1;document.getElementById("wfu_historylog_first_disabled").style.display=newpage==1?"inline":"none";document.getElementById("wfu_historylog_prev_disabled").style.display=newpage==1?"inline":"none";document.getElementById("wfu_historylog_first").style.display=newpage==1?"none":"inline";document.getElementById("wfu_historylog_prev").style.display=newpage==1?"none":"inline";document.getElementById("wfu_historylog_last_disabled").style.display=
260
+ newpage==sel.options.length?"inline":"none";document.getElementById("wfu_historylog_next_disabled").style.display=newpage==sel.options.length?"inline":"none";document.getElementById("wfu_historylog_last").style.display=newpage==sel.options.length?"none":"inline";document.getElementById("wfu_historylog_next").style.display=newpage==sel.options.length?"none":"inline"}}};xhr.send(parameters)}
261
+ function wfu_include_file(filepath_enc,ii,nonce){var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;var url=AdminParams.wfu_ajax_url;params=new Array(2);params[0]=new Array(3);params[0][0]="action";params[0][1]="wfu_ajax_action_include_file";params[1]=new Array(2);params[1][0]="file";params[1][1]=filepath_enc;params[2]=new Array(2);params[2][0]="nonce";params[2][1]=nonce;var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);document.getElementById("wfu_include_file_"+
262
+ ii+"_a").href="javascript: void(0)";document.getElementById("wfu_include_file_"+ii+"_img").style.display="inline";xhr.open("POST",url,true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.onreadystatechange=function(){if(xhr.readyState==4){document.getElementById("wfu_include_file_"+ii+"_img").style.display="none";if(xhr.status==200){var start_text="wfu_include_file:";var pos=xhr.responseText.indexOf(start_text);if(pos==-1)pos=xhr.responseText.length;var messages=xhr.responseText.substr(0,
263
+ pos);var response=xhr.responseText.substr(pos+start_text.length,xhr.responseText.length-pos-start_text.length);pos=response.indexOf(":");var txt_header=response.substr(0,pos);txt_value=response.substr(pos+1,response.length-pos-1);if(txt_header=="success"){document.getElementById("wfu_file_flat_"+ii).style.display="none";document.getElementById("wfu_file_link_"+ii).style.display="inline";document.getElementById("wfu_file_can_be_included_actions_"+ii).style.display="none";document.getElementById("wfu_file_is_included_actions_"+
264
+ ii).style.display="block"}else document.getElementById("wfu_include_file_"+ii+"_a").innerHTML=document.getElementById("wfu_include_file_"+ii+"_inpfail").value}}};xhr.send(parameters)}function wfu_adminbrowser_select_all_visible_changed(){var status=document.getElementById("wfu_select_all_visible").checked;var selectors=document.querySelectorAll(".wfu_selectors");for(var i=0;i<selectors.length;i++)selectors[i].checked=status}
265
+ function wfu_adminbrowser_selector_changed(obj){var selectors_count=document.querySelectorAll(".wfu_selectors").length;var selected_count=document.querySelectorAll(".wfu_selectors:checked").length;var all_visible=document.getElementById("wfu_select_all_visible");all_visible.style.webkitAppearance="";all_visible.style.webkitAppearance="checkbox";all_visible.checked=selected_count>0;all_visible.indeterminate=selected_count>0&&selected_count<selectors_count}
266
+ function wfu_apply_adminbrowser_bulkaction(){var actionselector=document.getElementById("wfu_adminbrowser_bulkactions");if(actionselector.selectedIndex<1)return;var action=actionselector.options[actionselector.selectedIndex].value;var selected=document.querySelectorAll(".wfu_selectors:checked");if(selected.length==0)return;var codes=[];var codes_included=0,codes_not_included=0;for(var i=0;i<selected.length;i++){var file_code=selected[i].className.replace(/.*?wfu_selcode_/,"");if(file_code!=""){var included=
267
+ selected[i].className.indexOf("wfu_included")>-1;if(included)codes_included++;else codes_not_included++;if(action=="delete"&&!included||action=="include"&&included)selected[i].checked=false;else codes.push(file_code)}}if(action=="delete"&&codes_not_included>0)alert("Notice! Files that were not uploaded using the plugin cannot be deleted and have been deselected.");else if(action=="include"&&codes_included>0)alert("Notice! Files already included in the plugin have been deselected.");if(codes.length==
268
+ 0)return;var url=document.getElementById("wfu_adminbrowser_action_url").value;var referer=document.getElementById("wfu_adminbrowser_referer").value;if(action=="delete"||action=="include"){var form=document.createElement("FORM");form.method="POST";form.action=url;form.style.display="none";var field1=document.createElement("INPUT");field1.type="hidden";field1.name="action";field1.value=action+"_file";form.appendChild(field1);var field2=document.createElement("INPUT");field2.type="hidden";field2.name=
269
+ "file";field2.value="list:"+codes.join();form.appendChild(field2);var field3=document.createElement("INPUT");field3.type="hidden";field3.name="referer";field3.value=referer;form.appendChild(field3);document.body.appendChild(form);form.submit()}};
js/wordpress_file_upload_functions.js CHANGED
@@ -1,3 +1,194 @@
1
- function wfu_Initialize_Consts(e){if("undefined"==typeof GlobalData.consts){GlobalData.consts=new Object;for(var a=e.split(";"),t=0;t<a.length;t++)const_txt=a[t].split(":"),GlobalData.consts[wfu_plugin_decode_string(const_txt[0])]=wfu_plugin_decode_string(const_txt[1])}}function wfu_Load_Code_Connectors(e){"undefined"==typeof wfu_Code_Objects&&(wfu_Code_Objects={}),wfu_Code_Objects[e]=new wfu_Code_Object(e);for(var a=0;a<Code_Initializators.length;a++)wfu_Code_Objects[e].additem(Code_Initializators[a](e))}function wfu_Code_Object(e){this.sid=e,this.items=[],this._calc_prioritized_list=function(e){for(var a,t,s=[],n=[],i=[],l=0;l<this.items.length;l++)a=this.items[l],a[e]&&(t=-1,a.priority&&(t=a.priority),a[e].priority&&(t=a[e].priority),t>=0?(s.push(t),n.push(l)):i.push(l));for(var l=1;l<s.length;l++)for(var r=l;r<s.length;r++)if(s[r]<s[l-1]){var o=s[r];s[r]=s[l-1],s[l-1]=o;var o=n[r];n[r]=n[l-1],n[l-1]=o}return n.concat(i)},this.additem=function(e){this.items.push(e)},this.apply_filters=function(e,a){if("undefined"==typeof a)return null;var t=this._calc_prioritized_list(e);if(0==t.length)return a;for(var s=0;s<t.length;s++){var n=this.items[t[s]],i=null;"function"==typeof n[e]?i=n[e]:"function"==typeof n[e].func&&(i=n[e].func),null!=i&&(a=i.apply(this,Array.prototype.slice.call(arguments,1)),arguments[1]=a)}return a},this.do_action=function(e){var a=this._calc_prioritized_list(e);if(0!=a.length)for(var t=0;t<a.length;t++){var s=this.items[a[t]],n=null;"function"==typeof s[e]?n=s[e]:"function"==typeof s[e].func&&(n=s[e].func),null!=n&&n.apply(this,Array.prototype.slice.call(arguments,1))}}}function wfu_plugin_load_action(e){wfu_install_unload_hook();var a=document.getElementById("selectsubdiredit_"+e);a&&"none"!=a.style.display&&wfu_attach_element_handlers(a,new Function("wfu_selectsubdiredit_change("+e+");"))}function wfu_install_unload_hook(){window.onbeforeunload=wfu_unload_hook}function wfu_unload_hook(){return""!=GlobalData.UploadInProgressString&&""!=GlobalData.UploadInProgressString.trim()?GlobalData.consts.wfu_pageexit_prompt:void 0}function wfu_Check_Browser_Capabilities(){if("undefined"==typeof wfu_BrowserCaps){wfu_BrowserCaps=new Object;var e=wfu_GetHttpRequestObject();wfu_BrowserCaps.supportsAJAX=null!=e,wfu_BrowserCaps.supportsUploadProgress=!!(e&&"upload"in e&&"onprogress"in e.upload);var a=null;try{var a=new FormData}catch(t){}wfu_BrowserCaps.supportsHTML5=null!=a;var t=document.createElement("iframe");wfu_BrowserCaps.supportsIFRAME=null!=t,wfu_BrowserCaps.supportsDRAGDROP=window.FileReader?!0:!1,wfu_BrowserCaps.supportsAnimation=wfu_check_animation(),wfu_BrowserCaps.isSafari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0}}function wfu_check_animation(){var e=!1,a="animation",t="",s="Webkit Moz O ms Khtml".split(" "),n="",i=document.createElement("DIV");if(i.style.animationName&&(e=!0),e===!1)for(var l=0;l<s.length;l++)if(void 0!==i.style[s[l]+"AnimationName"]){n=s[l],a=n+"Animation",t="-"+n.toLowerCase()+"-",e=!0;break}return e}function wfu_join_strings(e){for(var a=[].slice.call(arguments),t="",s="",n=1;n<a.length;n++)s=""==t||""==a[n]?"":e,t+=s+a[n];return t}function wfu_plugin_decode_string(e){for(var a,t,s=0,n="";s<e.length;)a=parseInt(e.substr(s,2),16),t=128>a?a:224>a?((31&a)<<6)+(63&parseInt(e.substr(s+=2,2),16)):((15&a)<<12)+((63&parseInt(e.substr(s+=2,2),16))<<6)+(63&parseInt(e.substr(s+=2,2),16)),n+=String.fromCharCode(t),s+=2;return n}function wfu_plugin_encode_string(e){var a=0,t="",s="";for(a=0;a<e.length;a++)num=e.charCodeAt(a),num>=2048?num=((16773120&num|917504)<<4)+((4032&num|8192)<<2)+(63&num|128):num>=128&&(num=((65472&num|12288)<<2)+(63&num|128)),s=num.toString(16),(1==s.length||3==s.length||5==s.length)&&(s="0"+s),t+=s;return t}function wfu_randomString(e){for(var a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",t=e,s="",n=0;t>n;n++){var i=Math.floor(Math.random()*a.length);s+=a.substring(i,i+1)}return s}function wfu_addEventHandler(e,a,t){e.addEventListener?e.addEventListener(a,t,!1):e.attachEvent?e.attachEvent("on"+a,t):e["on"+a]=t}function wfu_attach_element_handlers(e,a){for(var t=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"],s=0;s<t.length;s++)wfu_addEventHandler(e,t[s],a)}function wfu_GetHttpRequestObject(){var e=null;try{e=new XMLHttpRequest}catch(a){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}}if(null==e&&window.createRequest)try{xmlhttp=window.createRequest()}catch(a){}return e}function wfu_filedetails_showhide(e,a,t){var s=(document.getElementById("wfu_messageblock_arrow_"+e+"_"+a),document.getElementById("wfu_messageblock_arrow_"+e+"_up_"+a)),n=document.getElementById("wfu_messageblock_arrow_"+e+"_down_"+a),i=document.getElementById("wfu_messageblock_subheader_"+e+"_"+a),l=document.getElementById("wfu_messageblock_header_"+e+"_state_"+a);t?(s.style.display="",n.style.display="none",i.style.display="",l.value=""):(s.style.display="none",n.style.display="",i.style.display="none",l.value="none")}function wfu_get_file_ids(e){for(var a=(document.getElementById("wfu_messageblock_"+e),document.getElementById("wfu_messageblock_subheader_"+e).nextSibling),t="wfu_messageblock_"+e+"_",s=[];null!=a;)1===a.nodeType&&a.id.substr(0,t.length)==t&&s.push(a.id.substr(a.id.lastIndexOf("_")+1)),a=a.nextSibling;return s}function wfu_get_filelist(e,a){a="undefined"!=typeof a?a:!0;var t=document.getElementById("upfile_"+e),s=t.files;return s||(s=t.value?[{name:t.value}]:[]),a&&"undefined"!=typeof t.filearray&&(s=t.filearray),s}function wfu_add_files(e,a){var t=document.getElementById("upfile_"+e);"undefined"==typeof t.filearray&&(t.filearray=Array(),t.filearrayprops=Array()),document.getElementById("uploadform_"+e).reset(),t.filearray.length=t.filearrayprops.length=0;for(var s=0;s<a.length;s++)t.filearray.push(a[s].file),t.filearrayprops.push(a[s].props)}function wfu_filedetails_toggle(e,a){var t=(document.getElementById("wfu_messageblock_arrow_"+e+"_"+a),document.getElementById("wfu_messageblock_arrow_"+e+"_up_"+a));wfu_filedetails_showhide(e,a,"none"==t.style.display)}function wfu_headerdetails_showhide(e,a){var t=(document.getElementById("wfu_messageblock_arrow_"+e),document.getElementById("wfu_messageblock_arrow_"+e+"_up")),s=document.getElementById("wfu_messageblock_arrow_"+e+"_down"),n=document.getElementById("wfu_messageblock_subheader_"+e),i=document.getElementById("wfu_messageblock_subheader_"+e+"_message"),l=document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessage"),r=document.getElementById("wfu_messageblock_header_"+e+"_state"),o=wfu_get_file_ids(e);if(a){t.style.display="",s.style.display="none",("none"!=i.style.display||"none"!=l.style.display)&&(n.style.display=""),r.value="";for(var _=0;_<o.length;_++)document.getElementById("wfu_messageblock_"+e+"_"+o[_]).style.display="",document.getElementById("wfu_messageblock_subheader_"+e+"_"+o[_]).style.display=document.getElementById("wfu_messageblock_header_"+e+"_state_"+o[_]).value}else{t.style.display="none",s.style.display="",n.style.display="none",r.value="none";for(var _=0;_<o.length;_++)document.getElementById("wfu_messageblock_"+e+"_"+o[_]).style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_"+o[_]).style.display="none"}}function wfu_headerdetails_toggle(e){var a=(document.getElementById("wfu_messageblock_arrow_"+e),document.getElementById("wfu_messageblock_arrow_"+e+"_up"));wfu_headerdetails_showhide(e,"none"==a.style.display)}function wfu_attach_cancel_event(e,a,t,s){var n=document.getElementById("fileName_"+e);n&&(n.onkeyup=function(i){if(27==i.keyCode&&GlobalData[e]&&0!=GlobalData[e].xhrs.length){var l=confirm(GlobalData.consts.cancel_upload_prompt);if(1==l){for(var r=wfu_get_filelist(e),o=[],_=[],d=0;d<r.length;d++)o.push(null),_.push(r[d].name);for(var d=0;d<GlobalData[e].xhrs.length;d++){var u=GlobalData[e].xhrs[d].file_id-1;u>=0&&null==o[u]&&(o[u]=GlobalData[e].xhrs[d])}"true"==s.debugmode&&console.log("upload cancelled!");for(var d=0;d<o.length;d++)if(null==o[d]&&(o[d]=wfu_GetHttpRequestObject(),null!=o[d]&&wfu_initialize_fileupload_xhr(o[d],e,a,t,s,d,_[d])),-1!=o[d]){var c={target:{responseText:"force_cancel_code",shortcode_id:e}};wfu_uploadComplete.call(o[d],c)}n.onkeyup=null}}})}function wfu_dettach_cancel_event(e){var a=document.getElementById("fileName_"+e);a&&(a.onkeyup=null)}function wfu_selectbutton_changed(e,a){wfu_BrowserCaps.supportsAJAX&&wfu_BrowserCaps.supportsHTML5||(a=0);var t=document.getElementById("upfile_"+e),s=wfu_get_filelist(e,!1);if(1==a){"undefined"==typeof t.filearray&&(t.filearray=Array());for(var n=0;n<s.length;n++)t.filearray.push(s[n])}else"undefined"!=typeof t.filearray&&delete t.filearray;wfu_update_filename_text(e)}function wfu_selectbutton_clicked(e){var a=document.getElementById("wordpress_file_upload_message_"+e);a&&(a.style.display="none"),wfu_reset_message(e),document.getElementById("upfile_"+e).value="";var t=document.getElementById("fileName_"+e);t&&(t.value="",t.className="file_input_textbox")}function wfu_update_uploadbutton_status(e){var a=document.getElementById("upload_"+e);if(a){var t=wfu_get_filelist(e),s=t.length>0;s=wfu_Code_Objects[e].apply_filters("uploadbutton_status",s),a.disabled=!s}}function wfu_update_filename_text(e){var a=document.getElementById("fileName_"+e);if(a){for(var t=wfu_get_filelist(e),s="",n=0;n<t.length;n++)""!=s&&(s+=", "),s+=t[n].name.replace(/c:\\fakepath\\/i,"");a.value=s}}function wfu_selectsubdir_check(e){var a=document.getElementById("selectsubdir_"+e);if(!a)return!0;var t=document.getElementById("selectsubdiredit_"+e),s="none"!=t.style.display;return s&&a.selectedIndex>0&&(t.value=a.value.replace(/^\s+/,""),t.className="file_item_clean_match subfolder_autoplus_match",wfu_selectsubdiredit_change(e)),s?document.getElementById("hiddeninput_"+e).value=t.value:document.getElementById("hiddeninput_"+e).value=a.selectedIndex,!s&&0==a.selectedIndex||s&&(""==t.value||"file_item_clean_empty subfolder_autoplus_empty"==t.className)?(s?(a.className="subfolder_autoplus_dropdown_prompt",t.value="",GlobalData.FreeChangeHandler=!0,t.className="file_item_clean_prompt subfolder_autoplus_prompt",GlobalData.FreeChangeHandler=!1):a.className="file_item_clean_prompt subfolder_dropdown_prompt",!1):(s?a.className="subfolder_autoplus_dropdown":a.className="file_item_clean subfolder_dropdown",s&&"file_item_clean_prompt subfolder_autoplus_prompt"==t.className&&(t.className="file_item_clean subfolder_autoplus"),a.options[0].style.display="none",!0)}function wfu_selectsubdiredit_enter(e){var a=document.getElementById("selectsubdir_"+e),t=document.getElementById("selectsubdiredit_"+e);"file_item_clean_empty subfolder_autoplus_empty"==t.className&&(t.value=""),a.className="subfolder_autoplus_dropdown",t.className="file_item_clean subfolder_autoplus"}function wfu_selectsubdiredit_exit(e){var a=document.getElementById("selectsubdiredit_"+e);""==a.value&&(a.value=GlobalData.consts.wfu_subdir_typedir,a.className="file_item_clean_empty subfolder_autoplus_empty")}function wfu_selectsubdiredit_change(e){if(!GlobalData.FreeChangeHandler){var a=document.getElementById("selectsubdir_"+e),t=document.getElementById("selectsubdiredit_"+e);if("none"!=t.style.display){if("file_item_clean_empty subfolder_autoplus_empty"==t.className)return a.selectedIndex=0,void(document.getElementById("hiddeninput_"+e).value="");document.getElementById("hiddeninput_"+e).value=t.value;for(var s,n=!1,i=1;i<a.options.length;i++)s=a.options[i].value.replace(/^\s+/,"").toLowerCase(),t.value.length>=3?s.substr(0,t.value.length)==t.value.toLowerCase()?a.options[i].style.display="block":a.options[i].style.display="none":a.options[i].style.display="block",a.options[i].value.replace(/^\s+/,"")==t.value&&(a.selectedIndex=i,t.className="file_item_clean_match subfolder_autoplus_match",n=!0);n||(a.selectedIndex=0,t.className="file_item_clean subfolder_autoplus")}}}function wfu_selectsubdir_disable_onoff(e,a){var t=document.getElementById("selectsubdir_"+e);if(!t)return!0;var s=document.getElementById("selectsubdiredit_"+e),n="none"!=s.style.display;t.disabled=a,n&&(s.disabled=a)}function wfu_userdata_focused(e){var a=document.getElementById(e.id.replace("_field_","_fieldwrapper_"));if("file_userdata_fieldwrapper_required_empty"==a.className){a.className="file_userdata_fieldwrapper_required";var t=document.getElementById(e.id.replace("_field_","_hint_"));t.style.display="none"}}function wfu_Redirect(e){window.location=e}function wfu_loadStart(e){}function wfu_update_upload_metrics(e){for(var a=0,t=0,s=0,n=Array(),i=wfu_get_filelist(e),l=0;l<i.length;l++)n[l]={size:i[l].size,aborted:!1,loaded:0,delta:0};for(var l=0;l<GlobalData[e].xhrs.length;l++){var r=GlobalData[e].xhrs[l].file_id;r>0&&GlobalData[e].xhrs[l].aborted&&(n[r-1].aborted=!0)}for(var l=0;l<GlobalData[e].xhrs.length;l++){var r=GlobalData[e].xhrs[l].file_id;r>0&&!n[r-1].aborted&&(n[r-1].size=Math.max(GlobalData[e].xhrs[l].totalsize,n[r-1].size),n[r-1].loaded+=GlobalData[e].xhrs[l].sizeloaded,n[r-1].delta+=Math.max(GlobalData[e].xhrs[l].deltaloaded,0))}for(var l=0;l<i.length;l++){var o=GlobalData[e].metrics[l];!n[l].aborted&&n[l].size>0?(o.size=n[l].size,"incremental"==GlobalData.consts.wfu_uploadprogress_mode?o.progress_pos=Math.min(o.progress_pos+(1-o.progress_pos)*n[l].delta/(o.size-o.loaded),1):o.progress_pos=n[l].loaded/n[l].size,o.loaded=n[l].loaded,a+=o.size,t+=o.loaded,s+=n[l].delta):(o.size=0,o.progress_pos=0,o.loaded=0)}var o=GlobalData[e].metricstotal;o.size=a,"incremental"==GlobalData.consts.wfu_uploadprogress_mode?o.progress_pos=Math.min(o.progress_pos+(1-o.progress_pos)*s/(o.size-o.loaded),1):o.progress_pos=t/a,o.loaded=t}function wfu_uploadProgress(e,a,t,s){s&&"undefined"==typeof this.xhr&&(console.log("total="+e.total+", loaded="+e.loaded),console.log(e));var n=GlobalData[a].xhrs[t];if(0!=n.file_id){var i=0,l=0,r=document.getElementById("progressbar_"+a+"_animation");if(e.lengthComputable){if(n.deltaloaded=e.loaded-n.sizeloaded,n.sizeloaded=e.loaded,n.size<e.total&&e.total>0){l=e.total-n.size,n.deltasize+=l,n.size+=l;for(var o=0;o<GlobalData[a].xhrs.length;o++)GlobalData[a].xhrs[o].file_id==n.file_id&&(GlobalData[a].xhrs[o].totalsize+=l)}wfu_update_upload_metrics(a),n.deltaloaded=0,r&&(i=Math.round(100*GlobalData[a].metricstotal.progress_pos),r.style.width=i.toString()+"%")}else r&&(r.style.width="0%")}}function wfu_notify_WPFilebase(e,a){var t=wfu_GetHttpRequestObject();if(null==t){var s=document.createElement("iframe");return s.style.display="none",s.src=GlobalData.consts.ajax_url+"?action=wfu_ajax_action_notify_wpfilebase&params_index="+e+"&session_token="+a,void document.body.appendChild(s)}var n=GlobalData.consts.ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_notify_wpfilebase",params[1]=new Array(2),params[1][0]="params_index",params[1][1]=e,params[2]=new Array(2),params[2][0]="session_token",params[2][1]=a;for(var i="",s=0;s<params.length;s++)i+=(s>0?"&":"")+params[s][0]+"="+encodeURI(params[s][1]);t.open("POST",n,!0),t.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t.onreadystatechange=function(){},t.send(i)}function wfu_send_email_notification(e,a,t,s,n,i,l,r,o){var _=wfu_GetHttpRequestObject();if(null!=_){var d=GlobalData.consts.ajax_url,u=wfu_get_userdata_count(e);params=new Array(7+u),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_send_email_notification",params[1]=new Array(2),params[1][0]="params_index",params[1][1]=t,params[2]=new Array(2),params[2][0]="session_token",params[2][1]=s,params[3]=new Array(2),params[3][0]="only_filename_list",params[3][1]=n,params[4]=new Array(2),params[4][0]="target_path_list",params[4][1]=i,params[5]=new Array(2),params[5][0]="attachment_list",params[5][1]=l,params[6]=new Array(2),params[6][0]="uniqueuploadid_"+e,params[6][1]=a;for(var c=0;u>c;c++)params[7+c]=new Array(2),params[7+c][0]="userdata_"+c,params[7+c][1]=wfu_plugin_encode_string(document.getElementById("hiddeninput_"+e+"_userdata_"+c).value);for(var m="",c=0;c<params.length;c++)m+=(c>0?"&":"")+params[c][0]+"="+encodeURI(params[c][1]);wfu_initialize_fileupload_xhr(_,e,s,a,{params_index:t,debugmode:r,is_admin:o,fail_colors:GlobalData.consts.fail_colors,error_header:""},-1,""),_.error_adminmessage_unknown="",_.open("POST",d,!0),_.setRequestHeader("Content-type","application/x-www-form-urlencoded"),_.addEventListener("load",wfu_uploadComplete,!1),_.addEventListener("error",wfu_uploadFailed,!1),_.addEventListener("abort",wfu_uploadCanceled,!1),_.send(m)}}function wfu_format_debug_data(e,a){return output='<label class="file_messageblock_subheader_debugmessage_label">',output+="Debug Data"+a,output+="</label>",output+='<div class="file_messageblock_subheader_debugmessage_container">',output+=e,output+="</div>",output}function wfu_uploadComplete(e){var a=new Date,t=this.shortcode_id,s=(this.file_id,!1),n="",i="",l="",r="unknown",o="",_="",d="wfu_fileupload_success:";this.loading=!1,this.end_time=a.getTime();var u=e.target.responseText,c=u,m="error";if(-1!=u&&(u.indexOf("force_errorabort_code")>-1&&(m="errorabort",u=u.replace("force_errorabort_code","")),u.indexOf("force_cancel_code")>-1&&(m="errorcancel",u=u.replace("force_cancel_code",""))),-1!=u){var f=u.indexOf(d);if(f>-1&&("true"==this.debugmode&&(_=u.substr(0,f)),c=u.substr(f+d.length),f=c.indexOf(":"),n=c.substr(0,f),c=c.substr(f+1),f=c.indexOf(":"),l=c.substr(0,f),i=c.substr(f+1)),""!=_){var p="";"fileupload"==this.requesttype?p=" - File: "+this.file_id:"email"==this.requesttype&&(p=" - Email Notification"),_=wfu_format_debug_data(_,p)}if(""!=l){var w=l.split(";");if(1==parseInt(w[2])){var b=w[3].split(",");r=wfu_plugin_decode_string(b[0]),o=b[4]}}}if(""==i||""==l){var g=this.fail_colors.split(","),y=wfu_Initialize_Params();y.general.shortcode_id=t,y.general.unique_id=this.unique_id,y.general.state=7,y.general.files_count="fileupload"==this.requesttype?1:0,y.general.upload_finish_time=this.finish_time,"errorcancel"!=m?(y.general.fail_message=GlobalData.consts.message_unknown,y.general.fail_admin_message=wfu_join_strings("<br />",this.error_adminmessage_unknown,this.requesttype+":"+c)):(y.general.fail_message=GlobalData.consts.file_cancelled,y.general.fail_admin_message=""),y.general.files_count>0?(y[0]={},y[0].color=g[0],y[0].bgcolor=g[1],y[0].borcolor=g[2],y[0].message_type=m,r=m,y[0].header=this.error_message_header,y[0].message=GlobalData.consts.message_timelimit,y[0].admin_messages="true"==this.is_admin?GlobalData.consts.message_admin_timelimit:""):y.general.admin_messages.other="true"==this.is_admin?GlobalData.consts.message_admin_timelimit:"",y.general.upload_finish_time>0&&a.getTime()<y.general.upload_finish_time&&(y.general.files_count>0?(y[0].message=y.general.fail_message,y[0].admin_messages="true"==this.is_admin?y.general.fail_admin_message:""):y.general.admin_messages.other="true"==this.is_admin?y.general.fail_admin_message:"")}return s=""==i||""==l?wfu_ProcessUploadComplete(t,this.file_id,y,this.unique_id,this.params_index,this.session_token,"",[this.debugmode,_,this.is_admin],this.requesttype,""):wfu_ProcessUploadComplete(t,this.file_id,i,this.unique_id,this.params_index,this.session_token,l,[this.debugmode,_,this.is_admin],this.requesttype,n),s&&(wfu_dettach_cancel_event(t),wfu_unlock_upload(t),wfu_hide_simple_progressbar(t),wfu_clear(t)),e.target.return_status?r:void 0}function wfu_ProcessUploadComplete(sid,file_id,upload_params,unique_id,params_index,session_token,safe_output,debug_data,request_type,js_script_enc){if(sid&&!(0>sid)&&null!=upload_params&&""!=upload_params&&""!=unique_id&&("no-ajax"==unique_id||GlobalData[sid])){var do_redirect=!1;if("string"==typeof upload_params){upload_params=wfu_plugin_decode_string(upload_params.replace(/^\s+|\s+$/g,""));var Params=null;try{Params=JSON.parse(upload_params)}catch(e){}if(null==Params){var safe_parts=safe_output.split(";");Params=wfu_Initialize_Params(),Params.general.shortcode_id=sid,Params.general.unique_id=unique_id,Params.general.state=safe_parts[0],4==Params.general.state&&Params.general.state++;var default_colors=safe_parts[1].split(","),filedata="",error_jsonparse_filemessage=GlobalData.consts.jsonparse_filemessage,error_jsonparse_message=GlobalData.consts.jsonparse_message,error_jsonparse_adminmessage=GlobalData.consts.jsonparse_adminmessage;Params.general.files_count=parseInt(safe_parts[2]);for(var i=0;i<Params.general.files_count;i++)Params[i]={},Params[i].color=default_colors[0],Params[i].bgcolor=default_colors[1],Params[i].borcolor=default_colors[2],filedata=safe_parts[i+3].split(","),Params[i].message_type=wfu_plugin_decode_string(filedata[0]),Params[i].header=wfu_plugin_decode_string(filedata[1]),"success"==Params[i].message_type&&(Params[i].header+=error_jsonparse_filemessage,Params[i].message_type="warning"),Params[i].message=wfu_join_strings("<br />",error_jsonparse_message,wfu_plugin_decode_string(filedata[2])),Params[i].admin_messages=wfu_join_strings("<br />",error_jsonparse_adminmessage,wfu_plugin_decode_string(filedata[3]))}}else{if("object"!=typeof upload_params)return;var Params=upload_params}for(i=0;Params[i];)Params[i].message_type&&"error"==Params[i].message_type.substr(0,5)&&(Params[i].message_type=Params[i].message_type.substr(0,5)),i++;var message_table=document.getElementById("wfu_messageblock_"+sid),UploadStates_Ok=!0;if(!UploadStates[sid]&&message_table){var upload_states=document.getElementById("wfu_messageblock_header_"+sid+"_states").value;upload_states=wfu_plugin_decode_string(upload_states.replace(/^\s+|\s+$/g,"")),UploadStates[sid]=null;try{UploadStates[sid]=JSON.parse(upload_states)}catch(e){}null==UploadStates[sid]&&(UploadStates_Ok=!1)}GlobalData[sid]||(GlobalData[sid]=Object());var G=GlobalData[sid];if("no-ajax"==unique_id)G.last=!1,G.unique_id="",G.files_count=Params.general.files_count,0==Params.general.state&&(Params.general.files_count=0),G.files_processed=Params.general.files_count,UploadStates_Ok?G.upload_state=Params.general.state:G.upload_state=10,G.message=Params.general.message,G.update_wpfilebase=Params.general.update_wpfilebase,G.redirect_link=Params.general.redirect_link,G.notify_only_filename_list="",G.notify_target_path_list="",G.notify_attachment_list="",G.admin_messages={},G.admin_messages.wpfilebase=Params.general.admin_messages.wpfilebase,G.admin_messages.notify=Params.general.admin_messages.notify,G.admin_messages.redirect=Params.general.admin_messages.redirect,G.admin_messages.debug=debug_data[1],G.admin_messages.other=Params.general.admin_messages.other,G.errors={},G.errors.wpfilebase=Params.general.errors.wpfilebase,G.errors.notify=Params.general.errors.notify,G.errors.redirect=Params.general.errors.redirect,G.current_size=0,G.total_size=0;else{if(""==G.unique_id||G.unique_id!=unique_id||G.unique_id!=Params.general.unique_id)return;if(G.last)return;0==Params.general.files_count&&Params[0]&&"error"==Params[0].message_type&&(Params.general.files_count=1);for(var file_status="",i=0;i<Params.general.files_count;i++)file_status="error"==Params[i].message_type&&0==G.files_processed?"error1":"error"==Params[i].message_type&&G.files_processed>0?"error2":Params[i].message_type,G.upload_state=GlobalData.filestatematch[file_status][G.upload_state];UploadStates_Ok||(G.upload_state=10),G.files_processed+=Params.general.files_count,G.message=wfu_join_strings("<br />",G.message,Params.general.message),""==G.update_wpfilebase&&(G.update_wpfilebase=Params.general.update_wpfilebase),(!request_type||request_type&&"email"!=request_type)&&(G.redirect_link=Params.general.redirect_link),G.notify_only_filename_list=wfu_join_strings(", ",G.notify_only_filename_list,Params.general.notify_only_filename_list),G.notify_target_path_list=wfu_join_strings(", ",G.notify_target_path_list,Params.general.notify_target_path_list),G.notify_attachment_list=wfu_join_strings(",",G.notify_attachment_list,Params.general.notify_attachment_list),G.admin_messages.debug=wfu_join_strings("<br />",G.admin_messages.debug,debug_data[1]),G.admin_messages.other=wfu_join_strings("<br />",G.admin_messages.other,Params.general.admin_messages.other),""==G.admin_messages.wpfilebase&&(G.admin_messages.wpfilebase=Params.general.admin_messages.wpfilebase),""==G.admin_messages.notify&&(G.admin_messages.notify=Params.general.admin_messages.notify),""==G.admin_messages.redirect&&(G.admin_messages.redirect=Params.general.admin_messages.redirect),""==G.errors.wpfilebase&&(G.errors.wpfilebase=Params.general.errors.wpfilebase),""==G.errors.notify&&(G.errors.notify=Params.general.errors.notify),""==G.errors.redirect&&(G.errors.redirect=Params.general.errors.redirect)}G.files_processed==G.files_count&&(G.last=!0,""!=G.update_wpfilebase&&(G.admin_messages.wpfilebase="",wfu_notify_WPFilebase(params_index,session_token)),""!=G.notify_only_filename_list&&(G.admin_messages.notify="",wfu_send_email_notification(sid,unique_id,params_index,session_token,G.notify_only_filename_list,G.notify_target_path_list,G.notify_attachment_list,debug_data[0],debug_data[2]),G.last=!1,G.notify_only_filename_list=""),G.last&&("no-ajax"!=unique_id&&wfu_notify_server_upload_ended(sid,unique_id,params_index,session_token),GlobalData.UploadInProgressString=GlobalData.UploadInProgressString.replace(new RegExp("\\["+unique_id+"\\]","g"),"")),""!=G.errors.redirect&&(G.redirect_link=""),""!=G.redirect_link&&G.last&&""==GlobalData.UploadInProgressString.trim()&&(G.upload_state=11,do_redirect=!0));var nonadmin_message=G.message,admin_message=wfu_join_strings("<br />",G.admin_messages.other,G.admin_messages.wpfilebase,G.admin_messages.notify,G.admin_messages.redirect,G.admin_messages.debug);if(!UploadStates_Ok){var error_jsonparse_headermessage=GlobalData.consts.jsonparse_headermessage,error_jsonparse_headeradminmessage=GlobalData.consts.jsonparse_headeradminmessage;nonadmin_message=wfu_join_strings("<br />",error_jsonparse_headermessage,nonadmin_message),admin_message=wfu_join_strings("<br />",error_jsonparse_headeradminmessage,admin_message)}if(G.last){0==G.files_count&&12!=G.upload_state?G.upload_state=8:G.upload_state<4&&(G.upload_state+=4);var admin_messages_exist=""!=G.admin_messages.wpfilebase||""!=G.admin_messages.notify||""!=G.admin_messages.redirect||""!=G.admin_messages.other;4==G.upload_state&&""!=admin_message?G.upload_state++:5==G.upload_state&&""==!admin_message&&""==nonadmin_message&&G.upload_state--}if(message_table){var subheader_state=document.getElementById("wfu_messageblock_header_"+sid+"_state"),single_file_shown=1==G.files_count&&""==nonadmin_message&&""==admin_message&&G.last&&!do_redirect;if(single_file_shown)document.getElementById("wfu_messageblock_header_"+sid).style.display="none";else{document.getElementById("wfu_messageblock_header_"+sid).style.display="";var header_container=document.getElementById("wfu_messageblock_header_"+sid+"_container");if(UploadStates_Ok){var suffix="";1!=G.files_count||5!=G.upload_state&&7!=G.upload_state||(suffix="_singlefile"),header_container.innerHTML=UploadStates[sid]["State"+G.upload_state+suffix]}else{header_container.innerHTML="";var safe_container=document.getElementById("wfu_messageblock_header_"+sid+"_safecontainer");header_container.innerHTML=safe_container.innerHTML.replace(/_safe/g,"")}var subheader_show=!1;""!=nonadmin_message?(document.getElementById("wfu_messageblock_subheader_"+sid+"_message").style.display="",document.getElementById("wfu_messageblock_subheader_"+sid+"_messagelabel").innerHTML=nonadmin_message,subheader_show=!0):document.getElementById("wfu_messageblock_subheader_"+sid+"_message").style.display="none",""!=admin_message?(document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage").style.display="",document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessagelabel").innerHTML=admin_message,subheader_show=!0):document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage").style.display="none",subheader_show?document.getElementById("wfu_messageblock_subheader_"+sid).style.display=subheader_state.value:document.getElementById("wfu_messageblock_subheader_"+sid).style.display="none",subheader_show||G.files_processed>0?(header_container.colSpan=2,document.getElementById("wfu_messageblock_arrow_"+sid).style.display=""):(document.getElementById("wfu_messageblock_arrow_"+sid).style.display="none",header_container.colSpan=3)}for(var next_block=document.getElementById("wfu_messageblock_subheader_"+sid),next_block_id=0,file_block=null,file_template_container=document.getElementById("wfu_messageblock_"+sid+"_filetemplate"),file_contents="",door=document.getElementById("wfu_messageblock_"+sid+"_door"),ii=0,headerspan=1,subheaderspan=2,file_template=wfu_plugin_decode_string(file_template_container.value.replace(/^\s+|\s+$/g,"")),i=0;i<Params.general.files_count;i++){for(ii=i+file_id,file_contents=file_template.replace(/\[file_id\]/g,ii),file_contents=file_contents.replace(/\[filenumber_display\]/g,""),file_contents=file_contents.replace(/\[fileheader_color\]/g,Params[i].color),file_contents=file_contents.replace(/\[fileheader_bgcolor\]/g,Params[i].bgcolor),file_contents=file_contents.replace(/\[fileheader_borcolor\]/g,Params[i].borcolor),file_contents=file_contents.replace(/\[fileheader_message\]/g,Params[i].header),file_contents=file_contents.replace(/\[filesubheadermessage_display\]/g,'style="display:none;"'),file_contents=file_contents.replace(/\[filesubheader_message\]/g,Params[i].message),file_contents=file_contents.replace(/\[filesubheaderadminmessage_display\]/g,'style="display:none;"'),file_contents=file_contents.replace(/\[filesubheader_adminmessage\]/g,Params[i].admin_messages),file_contents="<table><tbody>"+file_contents+"</tbody></table>",door.innerHTML=file_contents,headerspan=1,subheaderspan=2,subheader_show=!1,file_block=document.getElementById("wfu_messageblock_"+sid+"_"+ii),1==G.files_count?(document.getElementById("wfu_messageblock_"+sid+"_filenumber_"+ii).style.display="none",document.getElementById("wfu_messageblock_subheader_"+sid+"_fileempty_"+ii).style.display="none",single_file_shown?file_block.style.display="":file_block.style.display=subheader_state.value,headerspan++,subheaderspan++):file_block.style.display=subheader_state.value,""!=Params[i].message&&(document.getElementById("wfu_messageblock_subheader_"+sid+"_message_"+ii).style.display="",subheader_show=!0),""!=Params[i].admin_messages&&(document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage_"+ii).style.display="",subheader_show=!0),subheader_show||(document.getElementById("wfu_messageblock_arrow_"+sid+"_"+ii).style.display="none",headerspan++),document.getElementById("wfu_messageblock_header_"+sid+"_container_"+ii).colSpan=headerspan,document.getElementById("wfu_messageblock_subheader_"+sid+"_container_"+ii).colSpan=subheaderspan;ii>next_block_id&&(next_block=next_block.nextSibling,null!=next_block);)1===next_block.nodeType&&(next_block_id=next_block.id.substr(next_block.id.lastIndexOf("_")+1));message_table.tBodies[0].insertBefore(file_block,next_block),next_block=file_block.nextSibling,file_block=document.getElementById("wfu_messageblock_subheader_"+sid+"_"+ii),message_table.tBodies[0].insertBefore(file_block,next_block),next_block=file_block,next_block_id=ii}single_file_shown&&(document.getElementById("wfu_messageblock_"+sid+"_1").style.display=""),message_table.style.display="",document.getElementById("wordpress_file_upload_message_"+sid).style.display=""}return js_script_enc&&eval(wfu_plugin_decode_string(js_script_enc)),do_redirect&&wfu_Redirect(G.redirect_link),G.last}}function wfu_uploadFailed(e,a){a&&(console.log("failure report following"),console.log(e));var t=e.target,s={target:{responseText:"",shortcode_id:t.shortcode_id}};wfu_uploadComplete.call(t,s)}function wfu_uploadCanceled(e){}function wfu_notify_server_upload_ended(e,a,t,s){var n=wfu_GetHttpRequestObject();if(null!=n){var i=GlobalData.consts.ajax_url;params=new Array(6),
2
- params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action",params[1]=new Array(2),params[1][0]="wfu_uploader_nonce",params[1][1]=document.getElementById("wfu_uploader_nonce_"+e).value,params[2]=new Array(2),params[2][0]="uniqueuploadid_"+e,params[2][1]=a,params[3]=new Array(2),params[3][0]="params_index",params[3][1]=t,params[4]=new Array(2),params[4][0]="session_token",params[4][1]=s,params[5]=new Array(2),params[5][0]="upload_finished",params[5][1]=1;for(var l="",r=0;r<params.length;r++)l+=(r>0?"&":"")+params[r][0]+"="+encodeURI(params[r][1]);n.open("POST",i,!0),n.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n.onreadystatechange=function(){4==n.readyState&&200==n.status&&wfu_Code_Objects[e].do_action("after_upload",n.responseText)},n.send(l)}}function wfu_Initialize_Params(){var e={};return e.version="full",e.general={},e.general.shortcode_id=0,e.general.unique_id="",e.general.state=0,e.general.files_count=0,e.general.update_wpfilebase="",e.general.redirect_link="",e.general.upload_finish_time=0,e.general.message="",e.general.message_type="",e.general.admin_messages={},e.general.admin_messages.wpfilebase="",e.general.admin_messages.notify="",e.general.admin_messages.redirect="",e.general.admin_messages.other="",e.general.errors={},e.general.errors.wpfilebase="",e.general.errors.notify="",e.general.errors.redirect="",e.general.color="",e.general.bgcolor="",e.general.borcolor="",e.general.notify_only_filename_list="",e.general.notify_target_path_list="",e.general.notify_attachment_list="",e.general.fail_message="",e.general.fail_admin_message="",e}function wfu_redirect_to_classic(e,a,t,s){0!=wfu_filesselected(e)&&wfu_selectsubdir_check(e)&&wfu_check_required_userdata(e,!0)&&wfu_Code_Objects[e].apply_filters("pre_start_check",!0)&&wfu_redirect_to_classic_cont(e,a,t,s)}function wfu_redirect_to_classic_cont(e,a,t,s){var n=function(n){var l="",r="wfu_askserver_success:",o="wfu_askserver_error:",_=n.indexOf(r),d=n.indexOf(o);if(_>-1){l=n.substr(_+r.length),wfu_Code_Objects[e].do_action("askserver_success",l,"no-ajax");var u=wfu_Initialize_Params();if(u.general.shortcode_id=e,u.general.unique_id="",u.general.files_count=wfu_filesselected(e),wfu_ProcessUploadComplete(e,0,u,"no-ajax","",a,"",["false","","false"]),1==t){var c="";document.getElementById("upfile_"+e).name="uploadedfile_"+e+"_redirected"+c}s>0?document.getElementById("adminerrorcodes_"+e).value=s:document.getElementById("adminerrorcodes_"+e).value="",document.getElementById("upfile_"+e).disabled=!1,document.getElementById("uniqueuploadid_"+e).value=i,document.getElementById("uploadform_"+e).submit()}else d>-1&&(l=n.substr(d+o.length),wfu_unlock_upload(e),wfu_Code_Objects[e].do_action("askserver_error",l))},i=wfu_randomString(10);wfu_lock_upload(e),wfu_Code_Objects[e].do_action("pre_start");var l="",r=wfu_Code_Objects[e].apply_filters("askserver_pass_params",{});for(var o in r)r.hasOwnProperty(o)&&(l+="&"+o+"="+r[o]);var _=new Date,d=GlobalData.consts.ajax_url+"?action=wfu_ajax_action_ask_server&wfu_uploader_nonce="+document.getElementById("wfu_uploader_nonce_"+e).value+"&sid="+e+"&unique_id="+i+"&start_time="+_.getTime()+"&session_token="+a+l,u=wfu_GetHttpRequestObject();if(null==u){var c=document.createElement("iframe");return c?(c.style.display="none",c.src=d,document.body.appendChild(c),void(c.onload=function(){n(c.contentDocument.body.innerHTML)})):void wfu_Code_Objects[e].do_action("not_supported")}u.open("GET",d,!0),u.onreadystatechange=function(){4==u.readyState&&(200==u.status?n(u.responseText):(alert(GlobalData.consts.remoteserver_noresult),wfu_Code_Objects[e].do_action("askserver_noresult")))},u.send(null)}function wfu_filesselected(e){var a=document.getElementById("fileName_"+e),t=wfu_get_filelist(e);return 0==t.length&&a&&(a.value=GlobalData.consts.nofilemessage,a.className="file_input_textbox_nofile"),t.length}function wfu_check_required_userdata(e,a){for(var t=wfu_get_userdata_count(e),s=!1,n=0;t>n;n++){var i=document.getElementById("hiddeninput_"+e+"_userdata_"+n),l=document.getElementById("userdata_"+e+"_fieldwrapper_"+n),r=document.getElementById("userdata_"+e+"_field_"+n),o=document.getElementById("userdata_"+e+"_"+n),_=document.getElementById("userdata_"+e+"_hint_"+n);i.value=window["userdata_"+e+"_codes_"+n].value(r);for(var d={hintposition:"none"},u=document.getElementById("userdata_"+e+"_props_"+n).value.split("|"),c=0;c<u.length;c++)"p:"==u[c].substr(0,2)&&(d.hintposition=u[c].substr(2));var m="";if("file_userdata_fieldwrapper_required"==l.className.substr(0,35)&&(m=window["userdata_"+e+"_codes_"+n].empty(i)),""===m&&window["userdata_"+e+"_codes_"+n].validate&&(m=window["userdata_"+e+"_codes_"+n].validate(i)),""!==m){if(a)if("none"==d.hintposition)_.className="file_userdata_hint_none";else{l.className="file_userdata_fieldwrapper_required_empty";var f=o.getBoundingClientRect(),p=l.getBoundingClientRect();"inline"==d.hintposition?(_.className="file_userdata_hint_inline",_.style.left=parseInt(p.left-f.left)+"px",_.style.top=parseInt(p.top-f.top)+"px",_.style.right=parseInt(f.right-p.right)+"px",_.style.bottom=parseInt(f.bottom-p.bottom)+"px"):"top"==d.hintposition?(_.className="file_userdata_hint_top",_.style.left=parseInt(p.left-f.left)+"px",_.style.bottom=parseInt(f.bottom-p.top)+"px"):"right"==d.hintposition?(_.className="file_userdata_hint_right",_.style.left=parseInt(p.right-f.left)+"px",_.style.top=parseInt(p.top-f.top)+"px"):"bottom"==d.hintposition?(_.className="file_userdata_hint_bottom",_.style.left=parseInt(p.left-f.left)+"px",_.style.top=parseInt(p.bottom-f.top)+"px"):"left"==d.hintposition&&(_.className="file_userdata_hint_left",_.style.right=parseInt(f.right-p.left)+"px",_.style.top=parseInt(p.top-f.top)+"px"),_.innerHTML=m,_.style.display="block"}s=!0}}return!s}function wfu_HTML5UploadFile(e,a,t){if(!wfu_BrowserCaps.supportsAJAX)return void wfu_redirect_to_classic(e,t,1,1);if(!wfu_BrowserCaps.supportsHTML5)return void wfu_redirect_to_classic(e,t,1,2);a=wfu_plugin_decode_string(a.replace(/^\s+|\s+$/g,""));var s=null;try{s=JSON.parse(a)}catch(n){}if(null==s)return void wfu_redirect_to_classic(e,t,1,3);var i=wfu_GetHttpRequestObject();if(null!=i){var l=wfu_filesselected(e);if(0!=l){var r=document.getElementById("upload_"+e),o=!r;if(!wfu_selectsubdir_check(e))return void(o&&wfu_clear_files(e));var _=l;if(_+=_,!wfu_check_required_userdata(e,!0))return void(o&&wfu_clear_files(e));if(wfu_Code_Objects[e].apply_filters("pre_start_check",!0)){var d=wfu_randomString(10);if(wfu_lock_upload(e),wfu_Code_Objects[e].do_action("pre_start"),wfu_Code_Objects[e].apply_filters("pre_start_ask_server",!1,s.has_filters)){var u=GlobalData.consts.ajax_url;params=new Array(5),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_ask_server",params[1]=new Array(2),params[1][0]="session_token",params[1][1]=t,params[2]=new Array(2),params[2][0]="sid",params[2][1]=e,params[3]=new Array(2),params[3][0]="unique_id",params[3][1]=d,params[4]=new Array(2),params[4][0]="wfu_uploader_nonce",params[4][1]=document.getElementById("wfu_uploader_nonce_"+e).value;var c=wfu_Code_Objects[e].apply_filters("askserver_pass_params",{});for(var m in c)c.hasOwnProperty(m)&&params.push([m,c[m]]);for(var f="",p=0;p<params.length;p++)f+=(p>0?"&":"")+params[p][0]+"="+encodeURI(params[p][1]);i.open("POST",u,!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status){var a=i.responseText,n="",l="wfu_askserver_success:",r="wfu_askserver_error:",o=a.indexOf(l),_=a.indexOf(r);o>-1?(n=a.substr(o+l.length),wfu_Code_Objects[e].do_action("askserver_success",n,"ajax"),wfu_HTML5UploadFile_cont(e,s,t,d)):_>-1&&(n=a.substr(_+r.length),wfu_unlock_upload(e),wfu_Code_Objects[e].do_action("askserver_error",n))}else alert(GlobalData.consts.remoteserver_noresult),wfu_unlock_upload(e),wfu_Code_Objects[e].do_action("askserver_noresult")},i.send(f)}else wfu_HTML5UploadFile_cont(e,s,t,d)}}}}function wfu_HTML5UploadFile_cont(e,a,t,s){function n(l,r,o,u){m=!0;var f=wfu_GetHttpRequestObject(),p=wfu_GetHttpRequestObject();if(null!=f&&null!=p){var w=null,b=null;try{var w=new FormData,b=new FormData}catch(g){}if(null!=w&&null!=b){w.append("action","wfu_ajax_action"),w.append("wfu_uploader_nonce",document.getElementById("wfu_uploader_nonce_"+e).value),o||w.append("uploadedfile_"+e+d,r),w.append("uploadedfile_"+e+"_index",l),w.append("uploadedfile_"+e+"_name",wfu_plugin_encode_string(_[l].name)),w.append("uploadedfile_"+e+"_size",_[l].size),w.append("uniqueuploadid_"+e,s),w.append("params_index",a.params_index),w.append("subdir_sel_index",i),o?w.append("only_check","1"):w.append("only_check","0"),w.append("session_token",t);var y=wfu_Code_Objects[e].apply_filters("upload_pass_params",{},"ajax");for(var h in y)y.hasOwnProperty(h)&&w.append(h,y[h]);for(var v=wfu_get_userdata_count(e),k=0;v>k;k++)w.append("hiddeninput_"+e+"_userdata_"+k,document.getElementById("hiddeninput_"+e+"_userdata_"+k).value);if(wfu_initialize_fileupload_xhr(f,e,t,s,a,l,_[l].name),f.loading=!0,o||(f.size=r.size,f.totalsize=_[l].size),u){b.append("action","wfu_ajax_action"),b.append("wfu_uploader_nonce",document.getElementById("wfu_uploader_nonce_"+e).value),b.append("params_index",a.params_index),b.append("session_token",t),b.append("force_connection_close","1"),p.open("POST",GlobalData.consts.ajax_url,!1);try{p.send(b)}catch(I){}m=p.responseText.indexOf("success")>-1}if(m)o?(f.addEventListener("load",function(a){a={target:{responseText:a.target.responseText,shortcode_id:e,return_status:!0}};var t=wfu_uploadComplete.call(f,a);f.file_id=0,m="success"==t||"warning"==t,m&&n(l,r,!1,!1)},!1),f.addEventListener("error",function(e){},!1),f.open("POST",GlobalData.consts.ajax_url,!0),f.send(w)):(f.upload.xhr=f,f.upload.dummy=1,f.upload.addEventListener("loadstart",wfu_loadStart,!1),f.upload.addEventListener("progress",new Function("evt","wfu_uploadProgress(evt, "+e+", "+f.xhrid+", "+a.debugmode+");"),!1),f.addEventListener("load",wfu_uploadComplete,!1),f.addEventListener("error",new Function("evt","wfu_uploadFailed(evt, "+a.debugmode+");"),!1),f.addEventListener("abort",wfu_uploadCanceled,!1),f.open("POST",GlobalData.consts.ajax_url,!0),f.send(w));else{var B={target:{responseText:"",shortcode_id:e}};wfu_uploadComplete.call(f,B)}return c++,m}}}var i=-1,l=document.getElementById("selectsubdir_"+e);if(l){var r=document.getElementById("selectsubdiredit_"+e),o="none"!=r.style.display;i=o?r.value:l.selectedIndex}var _=wfu_get_filelist(e),d="";GlobalData.UploadInProgressString+="["+s+"]",GlobalData[e]={},GlobalData[e].unique_id=s,GlobalData[e].last=!1,GlobalData[e].files_count=1,GlobalData[e].files_processed=0,GlobalData[e].upload_state=0,GlobalData[e].message="",GlobalData[e].update_wpfilebase="",GlobalData[e].redirect_link="",GlobalData[e].notify_only_filename_list="",GlobalData[e].notify_target_path_list="",GlobalData[e].notify_attachment_list="",GlobalData[e].admin_messages={},GlobalData[e].admin_messages.wpfilebase="",GlobalData[e].admin_messages.notify="",GlobalData[e].admin_messages.redirect="",GlobalData[e].admin_messages.debug="",GlobalData[e].admin_messages.other="",GlobalData[e].errors={},GlobalData[e].errors.wpfilebase="",GlobalData[e].errors.notify="",GlobalData[e].errors.redirect="",GlobalData[e].xhrs=Array(),GlobalData[e].metricstotal={size:_[0].size,loaded:0,progress_pos:0},GlobalData[e].metrics=[{size:_[0].size,loaded:0,progress_pos:0}],wfu_show_simple_progressbar(a.shortcode_id,"progressive"),wfu_attach_cancel_event(e,t,s,a);var u=wfu_Initialize_Params();u.general.shortcode_id=e,u.general.unique_id=s,wfu_ProcessUploadComplete(e,0,u,s,a.params_index,t,"",["false","","false"]);var c=0,m=!0,f=0;n(f,_[f],!0,!1)}function wfu_initialize_fileupload_xhr(e,a,t,s,n,i,l){var r=i>=0?GlobalData[a].xhrs.push(e)-1:-1,o=new Date;e.xhrid=r,e.shortcode_id=a,e.requesttype=i>=0?"fileupload":"email",e.file_id=i+1,e.size=0,e.totalsize=0,e.loading=!1,e.deltasize=0,e.deltaloaded=0,e.sizeloaded=0,e.aborted=!1,e.unique_id=s,e.params_index=n.params_index,e.session_token=t,e.debugmode=n.debugmode,e.is_admin=n.is_admin,e.start_time=o.getTime(),e.end_time=e.start_time,e.finish_time=e.start_time+1e3*parseInt(GlobalData.consts.max_time_limit),e.fail_colors=n.fail_colors,e.error_message_header=n.error_header.replace(/%username%/g,"no data"),e.error_message_header=e.error_message_header.replace(/%useremail%/g,"no data"),e.error_message_header=e.error_message_header.replace(/%filename%/g,l),e.error_message_header=e.error_message_header.replace(/%filepath%/g,l),e.error_message_failed=GlobalData.consts.message_failed,e.error_message_cancelled=GlobalData.consts.message_cancelled,e.error_adminmessage_unknown=GlobalData.consts.adminmessage_unknown.replace(/%username%/g,"no data"),e.error_adminmessage_unknown=e.error_adminmessage_unknown.replace(/%useremail%/g,"no data"),e.error_adminmessage_unknown=e.error_adminmessage_unknown.replace(/%filename%/g,l),e.error_adminmessage_unknown=e.error_adminmessage_unknown.replace(/%filepath%/g,l)}function wfu_get_userdata_count(e){for(var a=0;document.getElementById("userdata_"+e+"_"+a);)a++;return a}function wfu_lock_upload(e){document.getElementById("fileName_"+e);document.getElementById("input_"+e).disabled=!0,document.getElementById("upfile_"+e).disabled=!0,wfu_selectsubdir_disable_onoff(e,!0);var a=document.getElementById("upload_"+e);a&&(a.disabled=!0);for(var t=wfu_get_userdata_count(e),s=0;t>s;s++)window["userdata_"+e+"_codes_"+s].lock(document.getElementById("userdata_"+e+"_field_"+s));wfu_Code_Objects[e].do_action("lock_upload")}function wfu_unlock_upload(e){document.getElementById("fileName_"+e);document.getElementById("input_"+e).disabled=!1,document.getElementById("upfile_"+e).disabled=!1,wfu_selectsubdir_disable_onoff(e,!1);var a=document.getElementById("upload_"+e);a&&(a.disabled=!1);for(var t=wfu_get_userdata_count(e),s=0;t>s;s++)window["userdata_"+e+"_codes_"+s].unlock(document.getElementById("userdata_"+e+"_field_"+s));wfu_Code_Objects[e].do_action("unlock_upload")}function wfu_clear_files(e){document.getElementById("uploadform_"+e).reset();var a=document.getElementById("upfile_"+e);"undefined"!=typeof a.filearray&&(a.filearray.length=0,a.filearrayprops.length=0);var t=document.getElementById("fileName_"+e);t&&(t.value="",t.className="file_input_textbox")}function wfu_clear(e){wfu_clear_files(e);var a=document.getElementById("selectsubdir_"+e);if(a){var t=document.getElementById("selectsubdiredit_"+e),s="none"!=t.style.display;s?(a.selectedIndex=-1,t.value=""):(a.options[0].style.display="block",a.selectedIndex=parseInt(document.getElementById("selectsubdirdefault_"+e).value),a.selectedIndex<0&&(a.selectedIndex=0))}for(var n=wfu_get_userdata_count(e),i=0;n>i;i++)window["userdata_"+e+"_codes_"+i].reset(document.getElementById("userdata_"+e+"_field_"+i),document.getElementById("hiddeninput_"+e+"_userdata_"+i));wfu_Code_Objects[e].do_action("clear_upload")}function wfu_reset_message(e){var a=document.getElementById("wfu_messageblock_"+e);if(a){document.getElementById("wfu_messageblock_header_"+e).style.display="";var t=document.getElementById("wfu_messageblock_header_"+e+"_container");UploadStates[e]&&(t.innerHTML=UploadStates[e].State0),document.getElementById("wfu_messageblock_header_"+e+"_state").value="none",document.getElementById("wfu_messageblock_arrow_"+e).style.display="none",t.colSpan=3,document.getElementById("wfu_messageblock_subheader_"+e+"_messagelabel").innerHTML="",document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessagelabel").innerHTML="",document.getElementById("wfu_messageblock_subheader_"+e).style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_message").style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessage").style.display="none";for(var s=wfu_get_file_ids(e),n=1;n<=s.length;n++)a.tBodies[0].removeChild(document.getElementById("wfu_messageblock_"+e+"_"+n)),a.tBodies[0].removeChild(document.getElementById("wfu_messageblock_subheader_"+e+"_"+n))}}function wfu_show_simple_progressbar(e,a){var t=document.getElementById("progressbar_"+e+"_animation"),s=document.getElementById("progressbar_"+e+"_imagesafe");t&&("progressive"==a?(t.style.width="0%",t.className="file_progress_progressive",s.style.display="none",t.style.display="block"):wfu_BrowserCaps.supportsAnimation?(t.style.width="25%",t.className="file_progress_shuffle",s.style.display="none",t.style.display="block"):(t.style.width="0%",t.className="file_progress_noanimation",t.style.display="none",s.style.display="block"),document.getElementById("wordpress_file_upload_progressbar_"+e).style.display="block")}function wfu_hide_simple_progressbar(e){var a=document.getElementById("progressbar_"+e+"_animation"),t=document.getElementById("progressbar_"+e+"_imagesafe");a&&(document.getElementById("wordpress_file_upload_progressbar_"+e).style.display="none",a.style.width="0%",a.className="file_progress_noanimation",t.style.display="none",a.style.display="block")}function wfu_invoke_shortcode_editor(e,a,t,s){for(var n=document.getElementsByTagName("BUTTON"),i=0,l=null,r=0;r<n.length;r++)n[r].parentNode&&n[r].parentNode.id==s+"_editor_"+e&&(l=n[r],i++);if(0!=i){if(i>1)return void alert(GlobalData.consts.same_pluginid);var o=wfu_GetHttpRequestObject();if(null!=o){l.parentNode.style.display="none",document.getElementById(s+"_overlay_"+e).style.display="block";var _=GlobalData.consts.ajax_url;params=new Array(6),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_edit_shortcode",params[1]=new Array(2),params[1][0]="upload_id",params[1][1]=e,params[2]=new Array(2),params[2][0]="post_id",params[2][1]=a,params[3]=new Array(2),params[3][0]="post_hash",params[3][1]=t,params[4]=new Array(2),params[4][0]="shortcode_tag",params[4][1]=s,params[5]=new Array(2),params[5][0]="widget_id",params[5][1]=document.getElementById(s+"_"+e+"_widgetid")?document.getElementById(s+"_"+e+"_widgetid").value:"";for(var d="",r=0;r<params.length;r++)d+=(r>0?"&":"")+params[r][0]+"="+encodeURI(params[r][1]);o.open("POST",_,!0),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status){document.getElementById(s+"_overlay_"+e).style.display="none",l.parentNode.removeAttribute("style");var a="wfu_edit_shortcode:",t=o.responseText.indexOf(a);-1==t&&(t=o.responseText.length);var n=(o.responseText.substr(0,t),o.responseText.substr(t+a.length,o.responseText.length-t-a.length));t=n.indexOf(":");var i=n.substr(0,t);if(txt_value=n.substr(t+1,n.length-t-1),"success"==i){var r=window.open(wfu_plugin_decode_string(txt_value),"_blank");r?r.plugin_window=window:alert(GlobalData.consts.enable_popups)}else"check_page_obsolete"==i&&alert(txt_value)}},o.send(d)}}}GlobalData={},UploadStates={},Code_Initializators=[],GlobalData.filestatematch={},GlobalData.filestatematch.success=[0,1,2,2],GlobalData.filestatematch.warning=[1,1,2,2],GlobalData.filestatematch.error1=[3,3,2,3],GlobalData.filestatematch.error2=[2,2,2,3],GlobalData.UploadInProgressString="",GlobalData.FreeChangeHandler=!1,wfu_Check_Browser_Capabilities(),Code_Initializators[Code_Initializators.length]=function(sid){var CBUV_Code_Objects={};return CBUV_Code_Objects.pre_start_ask_server=function(e,a){if(e)return e;this.sid;return"true"==a},CBUV_Code_Objects.askserver_pass_params=function(e){for(var a=this.sid,t=wfu_get_filelist(a),s="",n="",i=0;i<t.length;i++)i>0&&(s+=";",n+=";"),s+=wfu_plugin_encode_string(t[i].name),n+=t[i].size;return e.filenames=s,e.filesizes=n,e},CBUV_Code_Objects.askserver_success=function(response,mode){var sid=this.sid,upload_status="success",txt_match=response.match(/CBUVJS\[(.*?)\]/),txt_header=txt_match&&"undefined"!=typeof txt_match[1]?txt_match[1]:"";""!=txt_header&&eval(txt_header)},CBUV_Code_Objects.askserver_error=function(response,mode){var sid=this.sid,upload_status="error",txt_match=response.match(/CBUVJS\[(.*?)\]/),txt_header=txt_match&&"undefined"!=typeof txt_match[1]?txt_match[1]:"";if(""!=txt_header&&eval(txt_header),txt_match=response.match(/CBUV\[(.*?)\]/),txt_header=txt_match&&"undefined"!=typeof txt_match[1]?txt_match[1]:"",""!=txt_header){var Params=wfu_Initialize_Params();Params.general.shortcode_id=sid,Params.general.message=txt_header,Params.general.state=12,wfu_ProcessUploadComplete(sid,0,Params,"no-ajax","","","",["false","","false"]),wfu_clear(sid)}},CBUV_Code_Objects.after_upload=function(response){var sid=this.sid,txt_match=response.match(/CBUVJS\[(.*?)\]/),txt_header=txt_match&&"undefined"!=typeof txt_match[1]?txt_match[1]:"";""!=txt_header&&eval(txt_header)},CBUV_Code_Objects},wfu_initialize_webcam=function(e,a,t,s,n,i,l,r,o){"undefined"==typeof wfu_parse_video_width&&(wfu_parse_video_width=function(e){var a=parseInt(e);a>0&&(this.empty=!1,this.video.width=a)}),"undefined"==typeof wfu_parse_video_height&&(wfu_parse_video_height=function(e){var a=parseInt(e);a>0&&(this.empty=!1,this.video.height=a)}),"undefined"==typeof wfu_parse_video_aspectratio&&(wfu_parse_video_aspectratio=function(e){var a=parseFloat(e);a>0&&(this.empty=!1,this.video.aspectRatio=a)}),"undefined"==typeof wfu_parse_video_framerate&&(wfu_parse_video_framerate=function(e){var a=parseFloat(e);a>0&&(this.empty=!1,this.video.frameRate=a)}),"undefined"==typeof wfu_parse_video_facingmode&&(wfu_parse_video_facingmode=function(e){var a="front"==e?"user":"back"==e?"environment":"";""!=a&&(this.empty=!1,this.video.facingMode=a)});var _={empty:!0,video:{}};wfu_parse_video_width.call(_,s),wfu_parse_video_height.call(_,n),wfu_parse_video_aspectratio.call(_,i),wfu_parse_video_framerate.call(_,l),wfu_parse_video_facingmode.call(_,r);var d={mode:a,audio:"true"==t,video:_.empty?!0:_.video,maxrecordtime:o};window["wfu_webcam_props_"+e]=d,wfu_reinitialize_webcam(e)},wfu_reinitialize_webcam=function(e){window["wfu_webcam_props_"+e].active=!0,window["wfu_webcam_props_"+e].width=0,window["wfu_webcam_props_"+e].width=0,window["wfu_webcam_props_"+e].timeStart=0,window["wfu_webcam_props_"+e].duration=0,window["wfu_webcam_props_"+e].counting=!1,window["wfu_webcam_props_"+e].stream=null,window["wfu_webcam_props_"+e].media=null,window["wfu_webcam_props_"+e].blobs=null,window["wfu_webcam_props_"+e].playing=!1;var a=window["wfu_webcam_props_"+e],t=document.getElementById("webcam_"+e+"_box"),s=document.getElementById("webcam_"+e+"_webcamoff");s.style.display="none",t.style.display="block";var n={audio:a.audio,video:a.video};"undefined"==typeof Promise&&(Promise=function(e){this.mainCallback=e,this.then=function(e){return this.successCallback=e,this},this["catch"]=function(a){e(this.successCallback,a)}},PromiseRejected=function(e){this.then=function(e){return this},this["catch"]=function(a){a(e)}},Promise.reject=function(e){return new PromiseRejected(e)});var i=function(e,a,t){var s=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;return s&&"undefined"!=typeof MediaRecorder?new Promise(function(a,t){s.call(navigator,e,a,t)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))};void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=i),navigator.mediaDevices.getUserMedia(n).then(function(s){window["wfu_webcam_props_"+e].stream=s,t.autoplay=!0,t.ontimeupdate=null,t.onerror=null,t.onloadeddata=function(a){wfu_webcam_init_callback(e)},t.src=window.URL.createObjectURL(s),wfu_initialize_webcam_nav(e,a.mode)})["catch"](function(a){console.log("Video not supported!",a),document.getElementById("webcam_"+e+"_inner").className="wfu_file_webcam_inner wfu_webcam_notsupported"})},wfu_webcam_init_callback=function(e){var a=document.getElementById("webcam_"+e+"_inner"),t=document.getElementById("webcam_"+e+"_box");window["wfu_webcam_props_"+e].width=t.videoWidth,window["wfu_webcam_props_"+e].height=t.videoHeight;var s='<svg xmlns="http://www.w3.org/2000/svg" width="'+t.videoWidth+'" height="'+t.videoHeight+'"></svg>',n=new Blob([s],{type:"image/svg+xml;charset=utf-8"}),i=document.getElementById("webcam_"+e+"_webcamoff_img");i.src=window.URL.createObjectURL(n),i.style.width=a.clientWidth+"px",i.style.height=a.clientHeight+"px"},wfu_initialize_webcam_nav=function(e,a){"undefined"==typeof SVGInjector&&!function(e,a){"use strict";function t(e){e=e.split(" ");for(var a={},t=e.length,s=[];t--;)a.hasOwnProperty(e[t])||(a[e[t]]=1,s.unshift(e[t]));return s.join(" ")}var s="file:"===e.location.protocol,n=a.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),i=Array.prototype.forEach||function(e,a){if(void 0===this||null===this||"function"!=typeof e)throw new TypeError;var t,s=this.length>>>0;for(t=0;s>t;++t)t in this&&e.call(a,this[t],t,this)},l={},r=0,o=[],_=[],d={},u=function(e){return e.cloneNode(!0)},c=function(e,a){_[e]=_[e]||[],_[e].push(a)},m=function(e){for(var a=0,t=_[e].length;t>a;a++)!function(a){setTimeout(function(){_[e][a](u(l[e]))},0)}(a)},f=function(a,t){if(void 0!==l[a])l[a]instanceof SVGSVGElement?t(u(l[a])):c(a,t);else{if(!e.XMLHttpRequest)return t("Browser does not support XMLHttpRequest"),!1;l[a]={},c(a,t);var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState){if(404===n.status||null===n.responseXML)return t("Unable to load SVG file: "+a),s&&t("Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver."),t(),!1;if(!(200===n.status||s&&0===n.status))return t("There was a problem injecting the SVG: "+n.status+" "+n.statusText),!1;if(n.responseXML instanceof Document)l[a]=n.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var e;try{var i=new DOMParser;e=i.parseFromString(n.responseText,"text/xml")}catch(r){e=void 0}if(!e||e.getElementsByTagName("parsererror").length)return t("Unable to parse SVG file: "+a),!1;l[a]=e.documentElement}m(a)}},n.open("GET",a),n.overrideMimeType&&n.overrideMimeType("text/xml"),n.send()}},p=function(a,s,l,_){var u=a.getAttribute("data-src")||a.getAttribute("src");if(!/\.svg/i.test(u))return void _("Attempted to inject a file with a non-svg extension: "+u);if(!n){var c=a.getAttribute("data-fallback")||a.getAttribute("data-png");return void(c?(a.setAttribute("src",c),_(null)):l?(a.setAttribute("src",l+"/"+u.split("/").pop().replace(".svg",".png")),_(null)):_("This browser does not support SVG and no PNG fallback was defined."))}-1===o.indexOf(a)&&(o.push(a),a.setAttribute("src",""),f(u,function(n){if("undefined"==typeof n||"string"==typeof n)return _(n),!1;var l=a.getAttribute("id");l&&n.setAttribute("id",l);var c=a.getAttribute("title");c&&n.setAttribute("title",c);var m=[].concat(n.getAttribute("class")||[],"injected-svg",a.getAttribute("class")||[]).join(" ");n.setAttribute("class",t(m));var f=a.getAttribute("style");f&&n.setAttribute("style",f);var p=[].filter.call(a.attributes,function(e){return/^data-\w[\w\-]*$/.test(e.name)});i.call(p,function(e){e.name&&e.value&&n.setAttribute(e.name,e.value)});var w,b,g,y,h,v={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(v).forEach(function(e){w=e,g=v[e],b=n.querySelectorAll("defs "+w+"[id]");for(var a=0,t=b.length;t>a;a++){y=b[a].id,h=y+"-"+r;var s;i.call(g,function(e){s=n.querySelectorAll("["+e+'*="'+y+'"]');for(var a=0,t=s.length;t>a;a++)s[a].setAttribute(e,"url(#"+h+")")}),b[a].id=h}}),n.removeAttribute("xmlns:a");for(var k,I,B=n.querySelectorAll("script"),G=[],x=0,E=B.length;E>x;x++)I=B[x].getAttribute("type"),I&&"application/ecmascript"!==I&&"application/javascript"!==I||(k=B[x].innerText||B[x].textContent,G.push(k),n.removeChild(B[x]));if(G.length>0&&("always"===s||"once"===s&&!d[u])){for(var D=0,j=G.length;j>D;D++)new Function(G[D])(e);d[u]=!0}var P=n.querySelectorAll("style");i.call(P,function(e){e.textContent+=""}),a.parentNode.replaceChild(n,a),delete o[o.indexOf(a)],a=null,r++,_(n)}))},w=function(e,a,t){a=a||{};var s=a.evalScripts||"always",n=a.pngFallback||!1,l=a.each;if(void 0!==e.length){var r=0;i.call(e,function(a){p(a,s,n,function(a){l&&"function"==typeof l&&l(a),t&&e.length===++r&&t(r)})})}else e?p(e,s,n,function(a){l&&"function"==typeof l&&l(a),t&&t(1),e=null}):t&&t(0)};"object"==typeof module&&"object"==typeof module.exports?module.exports=exports=w:"function"==typeof define&&define.amd?define(function(){return w}):"object"==typeof e&&(e.SVGInjector=w)}(window,document),"1"!=document.getElementById("webcam_"+e+"_btns_converted").value&&(SVGInjector(document.getElementById("webcam_"+e+"_btns")),document.getElementById("webcam_"+e+"_btns_converted").value="1"),"capture video"==a?wfu_webcam_set_nav_status(e,"idle_only_video"):"take photos"==a?wfu_webcam_set_nav_status(e,"idle_only_pictures"):"both"==a?wfu_webcam_set_nav_status(e,"idle_video_and_pictures"):wfu_webcam_set_nav_status(e,"idle_only_video")},wfu_webcam_set_nav_status=function(e,a){var t=document.getElementById("webcam_"+e+"_btn_onoff"),s=document.getElementById("webcam_"+e+"_nav"),n=document.getElementById("webcam_"+e+"_btn_video"),i=document.getElementById("webcam_"+e+"_btn_record"),l=document.getElementById("webcam_"+e+"_btn_play"),r=document.getElementById("webcam_"+e+"_btn_stop"),o=document.getElementById("webcam_"+e+"_btn_pause"),_=document.getElementById("webcam_"+e+"_btn_pos"),d=document.getElementById("webcam_"+e+"_btn_back"),u=document.getElementById("webcam_"+e+"_btn_fwd"),c=document.getElementById("webcam_"+e+"_btn_time"),m=document.getElementById("webcam_"+e+"_btn_picture"),f=document.getElementById("webcam_"+e+"_screenshot");t.style.display="block","hidden"==a?s.style.display="none":"recording"==a?(s.removeAttribute("style"),s.className="wfu_file_webcam_nav wfu_recording",n.style.display="none",i.style.display="block",i.style.visibility="visible",i.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_record wfu_recording"),r.style.display="block",r.style.visibility="visible",l.style.display="block",l.style.visibility="hidden",o.style.display="block",o.style.visibility="hidden",_.style.display="block",_.style.visibility="hidden",d.style.display="block",d.style.visibility="hidden",u.style.display="block",u.style.visibility="hidden",c.style.display="block",c.style.visibility="visible",m.style.display="none",f.style.display="none"):"after_recording"==a?(s.removeAttribute("style"),s.className="wfu_file_webcam_nav wfu_stream_ready",n.style.display="block",n.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_video"),i.style.display="none",r.style.display="block",r.style.visibility="hidden",l.style.display="block",l.style.visibility="hidden",o.style.display="block",o.style.visibility="hidden",_.style.display="block",_.style.visibility="hidden",d.style.display="block",d.style.visibility="hidden",u.style.display="block",u.style.visibility="hidden",c.style.display="block",c.style.visibility="hidden",m.style.display="none",f.style.display="block"):"ready_playback"==a?(s.removeAttribute("style"),s.className="wfu_file_webcam_nav wfu_stream_ready",n.style.display="block",n.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_video"),i.style.display="none",r.style.display="block",r.style.visibility="hidden",l.style.display="block",l.style.visibility="visible",l.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_play"),o.style.display="block",o.style.visibility="visible",o.setAttribute("class","wfu_file_webcam_btn_disabled wfu_file_webcam_btn_pause_disabled"),_.style.display="block",_.style.visibility="visible",d.style.display="block",d.style.visibility="visible",u.style.display="block",u.style.visibility="visible",c.style.display="block",c.style.visibility="visible",m.style.display="none",f.style.display="none"):"after_screenshot"==a?(s.removeAttribute("style"),
3
- s.className="wfu_file_webcam_nav wfu_stream_ready",n.style.display="block",n.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_video"),i.style.display="none",r.style.display="block",r.style.visibility="hidden",l.style.display="block",l.style.visibility="hidden",o.style.display="block",o.style.visibility="hidden",_.style.display="block",_.style.visibility="hidden",d.style.display="block",d.style.visibility="hidden",u.style.display="block",u.style.visibility="hidden",c.style.display="block",c.style.visibility="hidden",m.style.display="none",f.style.display="block"):"playing"==a?(s.removeAttribute("style"),s.className="wfu_file_webcam_nav wfu_stream_ready",n.style.display="block",n.setAttribute("class","wfu_file_webcam_btn_disabled wfu_file_webcam_btn_video_disabled"),i.style.display="none",r.style.display="block",r.style.visibility="hidden",l.style.display="block",l.style.visibility="visible",l.setAttribute("class","wfu_file_webcam_btn_disabled wfu_file_webcam_btn_play_disabled"),o.style.display="block",o.style.visibility="visible",o.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_pause"),_.style.display="block",_.style.visibility="visible",d.style.display="block",d.style.visibility="visible",u.style.display="block",u.style.visibility="visible",c.style.display="block",c.style.visibility="visible",m.style.display="none",f.style.display="none"):(s.removeAttribute("style"),s.className="wfu_file_webcam_nav wfu_rec_ready",n.style.display="none",i.style.display="none",r.style.display="none",l.style.display="none",o.style.display="none",_.style.display="none",d.style.display="none",u.style.display="none",c.style.display="none",m.style.display="none",f.style.display="none",("idle_only_video"==a||"idle_video_and_pictures"==a)&&(i.style.display="block",i.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_record")),("idle_only_pictures"==a||"idle_video_and_pictures"==a)&&(m.style.display="block"))},wfu_webcam_counter_status=function(e,a){if("start"==a){var t=new Date;window["wfu_webcam_props_"+e].duration=0,window["wfu_webcam_props_"+e].timeStart=t.getTime()/1e3,window["wfu_webcam_props_"+e].counting=!0,wfu_webcam_update_counter(e)}else{var t=new Date;window["wfu_webcam_props_"+e].duration=t.getTime()/1e3-window["wfu_webcam_props_"+e].timeStart,window["wfu_webcam_props_"+e].counting=!1}},wfu_webcam_update_counter=function(e){if(window["wfu_webcam_props_"+e].counting){var a=new Date,t=a.getTime()/1e3-window["wfu_webcam_props_"+e].timeStart;wfu_webcam_update_timer(e,t),setTimeout(function(){wfu_webcam_update_counter(e)},100)}},wfu_webcam_update_timer=function(e,a){var t=Math.floor(a/3600);a-=3600*t;var s=Math.floor(a/60);a-=60*s;var n=Math.floor(a);1e3*(a-Math.floor(a));document.getElementById("webcam_"+e+"_btn_time_label").innerHTML=(t>0?t+":":"")+(10>s?"0":"")+s+":"+(10>n?"0":"")+n},wfu_webcam_onoff=function(e){if(window["wfu_webcam_props_"+e].active){var a=document.getElementById("webcam_"+e+"_inner"),t=document.getElementById("webcam_"+e+"_box"),s=document.getElementById("webcam_"+e+"_webcamoff"),n=document.getElementById("webcam_"+e+"_webcamoff_img");n.style.width=a.clientWidth+"px",n.style.height=a.clientHeight+"px",t.pause(),t.src="",t.load(),window["wfu_webcam_props_"+e].stream&&window["wfu_webcam_props_"+e].stream.stop&&window["wfu_webcam_props_"+e].stream.stop(),window["wfu_webcam_props_"+e].stream=null,window["wfu_webcam_props_"+e].media=null,window["wfu_webcam_props_"+e].blobs=null,wfu_webcam_set_nav_status(e,"hidden"),t.style.display="none",document.getElementById("webcam_"+e+"_screenshot").src="",s.style.display="block",window["wfu_webcam_props_"+e].active=!1}else wfu_reinitialize_webcam(e);wfu_selectbutton_clicked(e)},wfu_webcam_golive=function(e){window["wfu_webcam_props_"+e].playing||(wfu_reinitialize_webcam(e),wfu_add_files(e,[],!1),wfu_selectbutton_clicked(e),wfu_update_uploadbutton_status(e))},wfu_webcam_start_rec=function(e){if(!window["wfu_webcam_props_"+e].media||!window["wfu_webcam_props_"+e].media.state||"recording"!=window["wfu_webcam_props_"+e].media.state){try{window["wfu_webcam_props_"+e].media=new MediaRecorder(window["wfu_webcam_props_"+e].stream)}catch(a){return void alert(document.getElementById("webcam_"+e+"_video_notsupported").value)}window["wfu_webcam_props_"+e].blobs=[],window["wfu_webcam_props_"+e].media.ondataavailable=function(a){var t=new Date,s=t.getTime()/1e3-window["wfu_webcam_props_"+e].timeStart;-1==window["wfu_webcam_props_"+e].maxrecordtime||window["wfu_webcam_props_"+e].maxrecordtime>0&&s<=window["wfu_webcam_props_"+e].maxrecordtime?a.data&&a.data.size>0&&window["wfu_webcam_props_"+e].blobs.push(a.data):wfu_webcam_stop_rec(e)},wfu_webcam_set_nav_status(e,"recording"),wfu_webcam_counter_status(e,"start"),window["wfu_webcam_props_"+e].media.onstop=function(a){wfu_webcam_counter_status(e,"stop"),wfu_webcam_set_nav_status(e,"after_recording"),wfu_webcam_onstop(a,e)},window["wfu_webcam_props_"+e].media.start(10)}},wfu_webcam_stop_rec=function(e){window["wfu_webcam_props_"+e].media.stop()},wfu_webcam_onstop=function(e,a){if(0==window["wfu_webcam_props_"+a].blobs.length)alert(document.getElementById("webcam_"+a+"_video_nothingrecorded").value),wfu_webcam_golive(a);else{var t=document.getElementById("webcam_"+a+"_box"),s=document.getElementById("webcam_"+a+"_canvas"),n=document.getElementById("webcam_"+a+"_screenshot");if(window["wfu_webcam_props_"+a].stream){s.width=t.clientWidth,s.height=t.clientHeight;var i=s.getContext("2d");i.drawImage(t,0,0,t.clientWidth,t.clientHeight),n.src=s.toDataURL("image/webp")}var l=new Blob(window["wfu_webcam_props_"+a].blobs,{type:"video/mp4"});t.autoplay=!1,t.ontimeupdate=function(e){wfu_webcam_update_pos(a)},t.onended=function(e){wfu_webcam_ended(a)},t.onloadeddata=function(e){t.readyState>=2&&wfu_webcam_set_nav_status(a,"ready_playback")},t.onerror=function(e){t.onloadeddata=null,t.src=window.URL.createObjectURL(window["wfu_webcam_props_"+a].stream)},t.src=window.URL.createObjectURL(l),l.name="video.mp4",wfu_add_files(a,[{file:l,props:{}}],!1),wfu_update_uploadbutton_status(a)}},wfu_webcam_play=function(e){if(!window["wfu_webcam_props_"+e].playing){var a=document.getElementById("webcam_"+e+"_box");wfu_webcam_set_nav_status(e,"playing"),window["wfu_webcam_props_"+e].playing=!0,a.play()}},wfu_webcam_ended=function(e){var a=document.getElementById("webcam_"+e+"_box");a.src=a.src,wfu_webcam_set_nav_status(e,"ready_playback"),window["wfu_webcam_props_"+e].playing=!1},wfu_webcam_pause=function(e){var a=document.getElementById("webcam_"+e+"_box");a.pause(),wfu_webcam_set_nav_status(e,"ready_playback"),window["wfu_webcam_props_"+e].playing=!1},wfu_webcam_back=function(e){var a=document.getElementById("webcam_"+e+"_box");a.src=a.src,a.currentTime=0},wfu_webcam_fwd=function(e){var a=document.getElementById("webcam_"+e+"_box");a.currentTime=isFinite(a.duration)?a.duration:2*window["wfu_webcam_props_"+e].duration},wfu_webcam_take_picture=function(e){var a=document.getElementById("webcam_"+e+"_box"),t=document.getElementById("webcam_"+e+"_canvas"),s=document.getElementById("webcam_"+e+"_screenshot");if(window["wfu_webcam_props_"+e].stream){t.width=a.clientWidth,t.height=a.clientHeight;var n=t.getContext("2d");n.drawImage(a,0,0,a.clientWidth,a.clientHeight),s.src=t.toDataURL("image/webp"),wfu_webcam_set_nav_status(e,"after_screenshot"),window.wfu_toBlob_function_initialized||(!function(e){"use strict";var a=e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype,t=e.Blob&&function(){try{return Boolean(new Blob)}catch(e){return!1}}(),s=t&&e.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(e){return!1}}(),n=e.BlobBuilder||e.WebKitBlobBuilder||e.MozBlobBuilder||e.MSBlobBuilder,i=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,l=(t||n)&&e.atob&&e.ArrayBuffer&&e.Uint8Array&&function(e){var a,l,r,o,_,d,u,c,m;if(a=e.match(i),!a)throw new Error("invalid data URI");for(l=a[2]?a[1]:"text/plain"+(a[3]||";charset=US-ASCII"),r=!!a[4],o=e.slice(a[0].length),_=r?atob(o):decodeURIComponent(o),d=new ArrayBuffer(_.length),u=new Uint8Array(d),c=0;c<_.length;c+=1)u[c]=_.charCodeAt(c);return t?new Blob([s?u:d],{type:l}):(m=new n,m.append(d),m.getBlob(l))};e.HTMLCanvasElement&&!a.toBlob&&(a.mozGetAsFile?a.toBlob=function(e,t,s){e(s&&a.toDataURL&&l?l(this.toDataURL(t,s)):this.mozGetAsFile("blob",t))}:a.toDataURL&&l&&(a.toBlob=function(e,a,t){e(l(this.toDataURL(a,t)))})),"function"==typeof define&&define.amd?define(function(){return l}):"object"==typeof module&&module.exports?module.exports=l:e.dataURLtoBlob=l}(window),window.wfu_toBlob_function_initialized=!0),t.toBlob&&t.toBlob(function(a){a.name="image.png",wfu_add_files(e,[{file:a,props:{}}],!1),wfu_update_uploadbutton_status(e)},"image/png")}},wfu_webcam_update_pos=function(e){var a=document.getElementById("webcam_"+e+"_box"),t=document.getElementById("webcam_"+e+"_btn_pointer"),s=isFinite(a.duration)?a.duration:window["wfu_webcam_props_"+e].duration,n=Math.round(a.currentTime/s*100);t.style.left=n+"%",wfu_webcam_update_timer(e,a.currentTime)};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GlobalData={};UploadStates={};Code_Initializators=[];GlobalData.filestatematch={};GlobalData.filestatematch.success=[0,1,2,2];GlobalData.filestatematch.warning=[1,1,2,2];GlobalData.filestatematch.error1=[3,3,2,3];GlobalData.filestatematch.error2=[2,2,2,3];GlobalData.UploadInProgressString="";GlobalData.FreeChangeHandler=false;wfu_Check_Browser_Capabilities();
2
+ function wfu_Initialize_Consts(consts){if(typeof GlobalData.consts!="undefined")return;GlobalData.consts=new Object;var consts_arr=consts.split(";");var const_arr;for(var i=0;i<consts_arr.length;i++){const_txt=consts_arr[i].split(":");GlobalData.consts[wfu_plugin_decode_string(const_txt[0])]=wfu_plugin_decode_string(const_txt[1])}}
3
+ function wfu_Load_Code_Connectors(sid){if(typeof wfu_Code_Objects=="undefined")wfu_Code_Objects={};wfu_Code_Objects[sid]=new wfu_Code_Object(sid);for(var i=0;i<Code_Initializators.length;i++)wfu_Code_Objects[sid].additem(Code_Initializators[i](sid))}
4
+ function wfu_Code_Object(sid){this.sid=sid;this.items=[];this._calc_prioritized_list=function(section){var item,list=[],idlist=[],nolist=[],priority;for(var i=0;i<this.items.length;i++){item=this.items[i];if(item[section]){priority=-1;if(item.priority)priority=item.priority;if(item[section].priority)priority=item[section].priority;if(priority>=0){list.push(priority);idlist.push(i)}else nolist.push(i)}}for(var i=1;i<list.length;i++)for(var j=i;j<list.length;j++)if(list[j]<list[i-1]){var temp=list[j];
5
+ list[j]=list[i-1];list[i-1]=temp;var temp=idlist[j];idlist[j]=idlist[i-1];idlist[i-1]=temp}return idlist.concat(nolist)};this.additem=function(item){this.items.push(item)};this.apply_filters=function(section,val){if(typeof val=="undefined")return null;var idlist=this._calc_prioritized_list(section);if(idlist.length==0)return val;for(var i=0;i<idlist.length;i++){var item=this.items[idlist[i]];var func=null;if(typeof item[section]=="function")func=item[section];else if(typeof item[section].func=="function")func=
6
+ item[section].func;if(func!=null){val=func.apply(this,Array.prototype.slice.call(arguments,1));arguments[1]=val}}return val};this.do_action=function(section){var idlist=this._calc_prioritized_list(section);if(idlist.length==0)return;for(var i=0;i<idlist.length;i++){var item=this.items[idlist[i]];var func=null;if(typeof item[section]=="function")func=item[section];else if(typeof item[section].func=="function")func=item[section].func;if(func!=null)func.apply(this,Array.prototype.slice.call(arguments,
7
+ 1))}}}function wfu_plugin_load_action(sid){wfu_install_unload_hook();var editbox=document.getElementById("selectsubdiredit_"+sid);if(editbox&&editbox.style.display!="none")wfu_attach_element_handlers(editbox,new Function("wfu_selectsubdiredit_change("+sid+");"))}function wfu_install_unload_hook(){window.onbeforeunload=wfu_unload_hook}function wfu_unload_hook(){if(GlobalData.UploadInProgressString!="")if(GlobalData.UploadInProgressString.trim()!="")return GlobalData.consts.wfu_pageexit_prompt}
8
+ function wfu_Check_Browser_Capabilities(){if(typeof wfu_BrowserCaps!="undefined")return;wfu_BrowserCaps=new Object;var xmlhttp=wfu_GetHttpRequestObject();wfu_BrowserCaps.supportsAJAX=xmlhttp!=null;wfu_BrowserCaps.supportsUploadProgress=!!(xmlhttp&&"upload"in xmlhttp&&"onprogress"in xmlhttp.upload);var fd=null;try{var fd=new FormData}catch(e$0){}wfu_BrowserCaps.supportsHTML5=fd!=null;var e=document.createElement("iframe");wfu_BrowserCaps.supportsIFRAME=e!=null;wfu_BrowserCaps.supportsDRAGDROP=window.FileReader?
9
+ true:false;wfu_BrowserCaps.supportsAnimation=wfu_check_animation();wfu_BrowserCaps.isSafari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0}
10
+ function wfu_check_animation(){var animation=false,animationstring="animation",keyframeprefix="",domPrefixes="Webkit Moz O ms Khtml".split(" "),pfx="";var elm=document.createElement("DIV");if(elm.style.animationName)animation=true;if(animation===false)for(var i=0;i<domPrefixes.length;i++)if(elm.style[domPrefixes[i]+"AnimationName"]!==undefined){pfx=domPrefixes[i];animationstring=pfx+"Animation";keyframeprefix="-"+pfx.toLowerCase()+"-";animation=true;break}return animation}
11
+ function wfu_join_strings(delimeter){var args=[].slice.call(arguments);var str="";var delim="";for(var i=1;i<args.length;i++){if(str==""||args[i]=="")delim="";else delim=delimeter;str+=delim+args[i]}return str}
12
+ function wfu_plugin_decode_string(str){var i=0;var newstr="";var num,val;while(i<str.length){num=parseInt(str.substr(i,2),16);if(num<128)val=num;else if(num<224)val=((num&31)<<6)+(parseInt(str.substr(i+=2,2),16)&63);else val=((num&15)<<12)+((parseInt(str.substr(i+=2,2),16)&63)<<6)+(parseInt(str.substr(i+=2,2),16)&63);newstr+=String.fromCharCode(val);i+=2}return newstr}
13
+ function wfu_plugin_encode_string(str){var i=0;var newstr="";var hex="";for(i=0;i<str.length;i++){num=str.charCodeAt(i);if(num>=2048)num=((num&16773120|917504)<<4)+((num&4032|8192)<<2)+(num&63|128);else if(num>=128)num=((num&65472|12288)<<2)+(num&63|128);hex=num.toString(16);if(hex.length==1||hex.length==3||hex.length==5)hex="0"+hex;newstr+=hex}return newstr}
14
+ function wfu_randomString(len){var chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";var string_length=len;var randomstring="";for(var i=0;i<string_length;i++){var rnum=Math.floor(Math.random()*chars.length);randomstring+=chars.substring(rnum,rnum+1)}return randomstring}function wfu_addEventHandler(obj,evt,handler){if(obj.addEventListener)obj.addEventListener(evt,handler,false);else if(obj.attachEvent)obj.attachEvent("on"+evt,handler);else obj["on"+evt]=handler}
15
+ function wfu_attach_element_handlers(item,handler){var elem_events=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"];for(var i=0;i<elem_events.length;i++)wfu_addEventHandler(item,elem_events[i],handler)}
16
+ function wfu_GetHttpRequestObject(){var xhr=null;try{xhr=new XMLHttpRequest}catch(e$1){try{xhr=new ActiveXObject("Msxml2.XMLHTTP")}catch(e2){try{xhr=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}}if(xhr==null&&window.createRequest)try{xmlhttp=window.createRequest()}catch(e$2){}return xhr}
17
+ function wfu_filedetails_showhide(sid,fileid,show){var item1=document.getElementById("wfu_messageblock_arrow_"+sid+"_"+fileid);var item2=document.getElementById("wfu_messageblock_arrow_"+sid+"_up_"+fileid);var item3=document.getElementById("wfu_messageblock_arrow_"+sid+"_down_"+fileid);var item4=document.getElementById("wfu_messageblock_subheader_"+sid+"_"+fileid);var item5=document.getElementById("wfu_messageblock_header_"+sid+"_state_"+fileid);if(show){item2.style.display="";item3.style.display=
18
+ "none";item4.style.display="";item5.value=""}else{item2.style.display="none";item3.style.display="";item4.style.display="none";item5.value="none"}}
19
+ function wfu_get_file_ids(sid){var message_table=document.getElementById("wfu_messageblock_"+sid);var next_block=document.getElementById("wfu_messageblock_subheader_"+sid).nextSibling;var prefix="wfu_messageblock_"+sid+"_";var file_ids=[];while(next_block!=null){if(next_block.nodeType===1&&next_block.id.substr(0,prefix.length)==prefix)file_ids.push(next_block.id.substr(next_block.id.lastIndexOf("_")+1));next_block=next_block.nextSibling}return file_ids}
20
+ function wfu_get_filelist(sid,include_filearray){include_filearray=typeof include_filearray!=="undefined"?include_filearray:true;var inputfile=document.getElementById("upfile_"+sid);var farr=inputfile.files;if(!farr)if(inputfile.value)farr=[{name:inputfile.value}];else farr=[];if(include_filearray&&typeof inputfile.filearray!=="undefined")farr=inputfile.filearray;return farr}
21
+ function wfu_add_files(sid,files){var inputfile=document.getElementById("upfile_"+sid);if(typeof inputfile.filearray=="undefined"){inputfile.filearray=Array();inputfile.filearrayprops=Array()}document.getElementById("uploadform_"+sid).reset();inputfile.filearray.length=inputfile.filearrayprops.length=0;for(var i=0;i<files.length;i++){inputfile.filearray.push(files[i].file);inputfile.filearrayprops.push(files[i].props)}}
22
+ function wfu_filedetails_toggle(sid,fileid){var item1=document.getElementById("wfu_messageblock_arrow_"+sid+"_"+fileid);var item2=document.getElementById("wfu_messageblock_arrow_"+sid+"_up_"+fileid);wfu_filedetails_showhide(sid,fileid,item2.style.display=="none")}
23
+ function wfu_headerdetails_showhide(sid,show){var item1=document.getElementById("wfu_messageblock_arrow_"+sid);var item2=document.getElementById("wfu_messageblock_arrow_"+sid+"_up");var item3=document.getElementById("wfu_messageblock_arrow_"+sid+"_down");var item4=document.getElementById("wfu_messageblock_subheader_"+sid);var item5=document.getElementById("wfu_messageblock_subheader_"+sid+"_message");var item6=document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage");var item7=document.getElementById("wfu_messageblock_header_"+
24
+ sid+"_state");var file_ids=wfu_get_file_ids(sid);if(show){item2.style.display="";item3.style.display="none";if(item5.style.display!="none"||item6.style.display!="none")item4.style.display="";item7.value="";for(var i=0;i<file_ids.length;i++){document.getElementById("wfu_messageblock_"+sid+"_"+file_ids[i]).style.display="";document.getElementById("wfu_messageblock_subheader_"+sid+"_"+file_ids[i]).style.display=document.getElementById("wfu_messageblock_header_"+sid+"_state_"+file_ids[i]).value}}else{item2.style.display=
25
+ "none";item3.style.display="";item4.style.display="none";item7.value="none";for(var i=0;i<file_ids.length;i++){document.getElementById("wfu_messageblock_"+sid+"_"+file_ids[i]).style.display="none";document.getElementById("wfu_messageblock_subheader_"+sid+"_"+file_ids[i]).style.display="none"}}}
26
+ function wfu_headerdetails_toggle(sid){var item1=document.getElementById("wfu_messageblock_arrow_"+sid);var item2=document.getElementById("wfu_messageblock_arrow_"+sid+"_up");wfu_headerdetails_showhide(sid,item2.style.display=="none")}
27
+ function wfu_attach_cancel_event(sid,session_token,unique_upload_id,JSONobj){var textbox=document.getElementById("fileName_"+sid);if(!textbox)return;textbox.onkeyup=function(e){if(e.keyCode!=27||!GlobalData[sid]||GlobalData[sid].xhrs.length==0)return;var answer=confirm(GlobalData.consts.cancel_upload_prompt);if(answer==true){var farr=wfu_get_filelist(sid);var firstxhr=[];var filename=[];for(var i=0;i<farr.length;i++){firstxhr.push(null);filename.push(farr[i].name)}for(var i=0;i<GlobalData[sid].xhrs.length;i++){var file_ind=
28
+ GlobalData[sid].xhrs[i].file_id-1;if(file_ind>=0&&firstxhr[file_ind]==null)firstxhr[file_ind]=GlobalData[sid].xhrs[i]}if(JSONobj.debugmode=="true")console.log("upload cancelled!");for(var i=0;i<firstxhr.length;i++){if(firstxhr[i]==null){firstxhr[i]=wfu_GetHttpRequestObject();if(firstxhr[i]!=null)wfu_initialize_fileupload_xhr(firstxhr[i],sid,session_token,unique_upload_id,JSONobj,i,filename[i])}if(firstxhr[i]!=-1){var evt={target:{responseText:"force_cancel_code",shortcode_id:sid}};wfu_uploadComplete.call(firstxhr[i],
29
+ evt)}}textbox.onkeyup=null}}}function wfu_dettach_cancel_event(sid){var textbox=document.getElementById("fileName_"+sid);if(textbox)textbox.onkeyup=null}
30
+ function wfu_selectbutton_changed(sid,usefilearray){if(!wfu_BrowserCaps.supportsAJAX||!wfu_BrowserCaps.supportsHTML5)usefilearray=0;var inputfile=document.getElementById("upfile_"+sid);var farr=wfu_get_filelist(sid,false);if(usefilearray==1){if(typeof inputfile.filearray=="undefined")inputfile.filearray=Array();for(var i=0;i<farr.length;i++)inputfile.filearray.push(farr[i])}else if(typeof inputfile.filearray!="undefined")delete inputfile.filearray;wfu_update_filename_text(sid)}
31
+ function wfu_selectbutton_clicked(sid){var message_container=document.getElementById("wordpress_file_upload_message_"+sid);if(message_container)message_container.style.display="none";wfu_reset_message(sid);document.getElementById("upfile_"+sid).value="";var ftext=document.getElementById("fileName_"+sid);if(ftext){ftext.value="";ftext.className="file_input_textbox"}}
32
+ function wfu_update_uploadbutton_status(sid){var uploadbutton=document.getElementById("upload_"+sid);if(uploadbutton){var farr=wfu_get_filelist(sid);var status=farr.length>0;status=wfu_Code_Objects[sid].apply_filters("uploadbutton_status",status);uploadbutton.disabled=!status}}
33
+ function wfu_update_filename_text(sid){var ftext=document.getElementById("fileName_"+sid);if(ftext){var farr=wfu_get_filelist(sid);var txt="";for(var i=0;i<farr.length;i++){if(txt!="")txt+=", ";txt+=farr[i].name.replace(/c:\\fakepath\\/i,"")}ftext.value=txt}}
34
+ function wfu_selectsubdir_check(sid){var sel=document.getElementById("selectsubdir_"+sid);if(!sel)return true;var editbox=document.getElementById("selectsubdiredit_"+sid);var editable=editbox.style.display!="none";if(editable&&sel.selectedIndex>0){editbox.value=sel.value.replace(/^\s+/,"");editbox.className="file_item_clean_match subfolder_autoplus_match";wfu_selectsubdiredit_change(sid)}if(editable)document.getElementById("hiddeninput_"+sid).value=editbox.value;else document.getElementById("hiddeninput_"+
35
+ sid).value=sel.selectedIndex;if(!editable&&sel.selectedIndex==0||editable&&(editbox.value==""||editbox.className=="file_item_clean_empty subfolder_autoplus_empty")){if(editable){sel.className="subfolder_autoplus_dropdown_prompt";editbox.value="";GlobalData.FreeChangeHandler=true;editbox.className="file_item_clean_prompt subfolder_autoplus_prompt";GlobalData.FreeChangeHandler=false}else sel.className="file_item_clean_prompt subfolder_dropdown_prompt";return false}else{if(editable)sel.className="subfolder_autoplus_dropdown";
36
+ else sel.className="file_item_clean subfolder_dropdown";if(editable&&editbox.className=="file_item_clean_prompt subfolder_autoplus_prompt")editbox.className="file_item_clean subfolder_autoplus";sel.options[0].style.display="none";return true}}
37
+ function wfu_selectsubdiredit_enter(sid){var sel=document.getElementById("selectsubdir_"+sid);var editbox=document.getElementById("selectsubdiredit_"+sid);if(editbox.className=="file_item_clean_empty subfolder_autoplus_empty")editbox.value="";sel.className="subfolder_autoplus_dropdown";editbox.className="file_item_clean subfolder_autoplus"}
38
+ function wfu_selectsubdiredit_exit(sid){var editbox=document.getElementById("selectsubdiredit_"+sid);if(editbox.value==""){editbox.value=GlobalData.consts.wfu_subdir_typedir;editbox.className="file_item_clean_empty subfolder_autoplus_empty"}}
39
+ function wfu_selectsubdiredit_change(sid){if(GlobalData.FreeChangeHandler)return;var sel=document.getElementById("selectsubdir_"+sid);var editbox=document.getElementById("selectsubdiredit_"+sid);if(editbox.style.display=="none")return;if(editbox.className=="file_item_clean_empty subfolder_autoplus_empty"){sel.selectedIndex=0;document.getElementById("hiddeninput_"+sid).value="";return}document.getElementById("hiddeninput_"+sid).value=editbox.value;var found=false,opt;for(var i=1;i<sel.options.length;i++){opt=
40
+ sel.options[i].value.replace(/^\s+/,"").toLowerCase();if(editbox.value.length>=3)if(opt.substr(0,editbox.value.length)==editbox.value.toLowerCase())sel.options[i].style.display="block";else sel.options[i].style.display="none";else sel.options[i].style.display="block";if(sel.options[i].value.replace(/^\s+/,"")==editbox.value){sel.selectedIndex=i;editbox.className="file_item_clean_match subfolder_autoplus_match";found=true}}if(!found){sel.selectedIndex=0;editbox.className="file_item_clean subfolder_autoplus"}}
41
+ function wfu_selectsubdir_disable_onoff(sid,status){var sel=document.getElementById("selectsubdir_"+sid);if(!sel)return true;var editbox=document.getElementById("selectsubdiredit_"+sid);var editable=editbox.style.display!="none";sel.disabled=status;if(editable)editbox.disabled=status}
42
+ function wfu_userdata_focused(obj){var wrapper=document.getElementById(obj.id.replace("_field_","_fieldwrapper_"));if(wrapper.className=="file_userdata_fieldwrapper_required_empty"){wrapper.className="file_userdata_fieldwrapper_required";var msg_hint=document.getElementById(obj.id.replace("_field_","_hint_"));msg_hint.style.display="none"}}function wfu_Redirect(link){window.location=link}function wfu_loadStart(evt){}
43
+ function wfu_update_upload_metrics(sid){var totalsize=0;var totalloaded=0;var totaldelta=0;var metrics=Array();var farr=wfu_get_filelist(sid);for(var i=0;i<farr.length;i++)metrics[i]={size:farr[i].size,aborted:false,loaded:0,delta:0};for(var i=0;i<GlobalData[sid].xhrs.length;i++){var file_id=GlobalData[sid].xhrs[i].file_id;if(file_id>0&&GlobalData[sid].xhrs[i].aborted)metrics[file_id-1].aborted=true}for(var i=0;i<GlobalData[sid].xhrs.length;i++){var file_id=GlobalData[sid].xhrs[i].file_id;if(file_id>
44
+ 0&&!metrics[file_id-1].aborted){metrics[file_id-1].size=Math.max(GlobalData[sid].xhrs[i].totalsize,metrics[file_id-1].size);metrics[file_id-1].loaded+=GlobalData[sid].xhrs[i].sizeloaded;metrics[file_id-1].delta+=Math.max(GlobalData[sid].xhrs[i].deltaloaded,0)}}for(var i=0;i<farr.length;i++){var Gm=GlobalData[sid].metrics[i];if(!metrics[i].aborted&&metrics[i].size>0){Gm.size=metrics[i].size;if(GlobalData.consts.wfu_uploadprogress_mode=="incremental")Gm.progress_pos=Math.min(Gm.progress_pos+(1-Gm.progress_pos)*
45
+ metrics[i].delta/(Gm.size-Gm.loaded),1);else Gm.progress_pos=metrics[i].loaded/metrics[i].size;Gm.loaded=metrics[i].loaded;totalsize+=Gm.size;totalloaded+=Gm.loaded;totaldelta+=metrics[i].delta}else{Gm.size=0;Gm.progress_pos=0;Gm.loaded=0}}var Gm=GlobalData[sid].metricstotal;Gm.size=totalsize;if(GlobalData.consts.wfu_uploadprogress_mode=="incremental")Gm.progress_pos=Math.min(Gm.progress_pos+(1-Gm.progress_pos)*totaldelta/(Gm.size-Gm.loaded),1);else Gm.progress_pos=totalloaded/totalsize;Gm.loaded=
46
+ totalloaded}
47
+ function wfu_uploadProgress(evt,sid,xhrid,debugmode){if(debugmode&&typeof this.xhr=="undefined"){console.log("total="+evt.total+", loaded="+evt.loaded);console.log(evt)}var this_xhr=GlobalData[sid].xhrs[xhrid];if(this_xhr.file_id==0)return;var percentComplete=0;var delta=0;var simplebar=document.getElementById("progressbar_"+sid+"_animation");if(evt.lengthComputable){this_xhr.deltaloaded=evt.loaded-this_xhr.sizeloaded;this_xhr.sizeloaded=evt.loaded;if(this_xhr.size<evt.total&&evt.total>0){delta=evt.total-
48
+ this_xhr.size;this_xhr.deltasize+=delta;this_xhr.size+=delta;for(var i=0;i<GlobalData[sid].xhrs.length;i++)if(GlobalData[sid].xhrs[i].file_id==this_xhr.file_id)GlobalData[sid].xhrs[i].totalsize+=delta}wfu_update_upload_metrics(sid);this_xhr.deltaloaded=0;if(simplebar){percentComplete=Math.round(GlobalData[sid].metricstotal.progress_pos*100);simplebar.style.width=percentComplete.toString()+"%"}}else if(simplebar)simplebar.style.width="0%"}
49
+ function wfu_notify_WPFilebase(params_index,session_token){var xhr=wfu_GetHttpRequestObject();if(xhr==null){var i=document.createElement("iframe");i.style.display="none";i.src=GlobalData.consts.ajax_url+"?action=wfu_ajax_action_notify_wpfilebase&params_index="+params_index+"&session_token="+session_token;document.body.appendChild(i);return}var url=GlobalData.consts.ajax_url;params=new Array(3);params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action_notify_wpfilebase";params[1]=
50
+ new Array(2);params[1][0]="params_index";params[1][1]=params_index;params[2]=new Array(2);params[2][0]="session_token";params[2][1]=session_token;var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);xhr.open("POST",url,true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.onreadystatechange=function(){};xhr.send(parameters)}
51
+ function wfu_send_email_notification(sid,unique_id,params_index,session_token,notify_only_filename_list,notify_target_path_list,notify_attachment_list,debugmode,is_admin){var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;var url=GlobalData.consts.ajax_url;var userdata_count=wfu_get_userdata_count(sid);params=new Array(7+userdata_count);params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action_send_email_notification";params[1]=new Array(2);params[1][0]="params_index";params[1][1]=
52
+ params_index;params[2]=new Array(2);params[2][0]="session_token";params[2][1]=session_token;params[3]=new Array(2);params[3][0]="only_filename_list";params[3][1]=notify_only_filename_list;params[4]=new Array(2);params[4][0]="target_path_list";params[4][1]=notify_target_path_list;params[5]=new Array(2);params[5][0]="attachment_list";params[5][1]=notify_attachment_list;params[6]=new Array(2);params[6][0]="uniqueuploadid_"+sid;params[6][1]=unique_id;for(var i=0;i<userdata_count;i++){params[7+i]=new Array(2);
53
+ params[7+i][0]="userdata_"+i;params[7+i][1]=wfu_plugin_encode_string(document.getElementById("hiddeninput_"+sid+"_userdata_"+i).value)}var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);wfu_initialize_fileupload_xhr(xhr,sid,session_token,unique_id,{params_index:params_index,debugmode:debugmode,is_admin:is_admin,fail_colors:GlobalData.consts.fail_colors,error_header:""},-1,"");xhr.error_adminmessage_unknown="";xhr.open("POST",url,true);
54
+ xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.addEventListener("load",wfu_uploadComplete,false);xhr.addEventListener("error",wfu_uploadFailed,false);xhr.addEventListener("abort",wfu_uploadCanceled,false);xhr.send(parameters)}
55
+ function wfu_format_debug_data(data,title){output='<label class="file_messageblock_subheader_debugmessage_label">';output+="Debug Data"+title;output+="</label>";output+='<div class="file_messageblock_subheader_debugmessage_container">';output+=data;output+="</div>";return output}
56
+ function wfu_uploadComplete(evt){var d=new Date;var sid=this.shortcode_id;var i=this.file_id;var last=false;var js_script_enc="";var upload_params="";var safe_params="";var file_status="unknown";var uploaded_file_props="";var debug_data="";var success_txt="wfu_fileupload_success:";this.loading=false;this.end_time=d.getTime();var txt=evt.target.responseText;var result_data=txt;var error_code="error";if(txt!=-1){if(txt.indexOf("force_errorabort_code")>-1){error_code="errorabort";txt=txt.replace("force_errorabort_code",
57
+ "")}if(txt.indexOf("force_cancel_code")>-1){error_code="errorcancel";txt=txt.replace("force_cancel_code","")}}if(txt!=-1){var pos=txt.indexOf(success_txt);if(pos>-1){if(this.debugmode=="true")debug_data=txt.substr(0,pos);result_data=txt.substr(pos+success_txt.length);pos=result_data.indexOf(":");js_script_enc=result_data.substr(0,pos);result_data=result_data.substr(pos+1);pos=result_data.indexOf(":");safe_params=result_data.substr(0,pos);upload_params=result_data.substr(pos+1)}if(debug_data!=""){var title=
58
+ "";if(this.requesttype=="fileupload")title=" - File: "+this.file_id;else if(this.requesttype=="email")title=" - Email Notification";debug_data=wfu_format_debug_data(debug_data,title)}if(safe_params!=""){var safe_parts=safe_params.split(";");if(parseInt(safe_parts[2])==1){var filedata=safe_parts[3].split(",");file_status=wfu_plugin_decode_string(filedata[0]);uploaded_file_props=filedata[4]}}}if(upload_params==""||safe_params==""){var error_colors=this.fail_colors.split(",");var Params=wfu_Initialize_Params();
59
+ Params.general.shortcode_id=sid;Params.general.unique_id=this.unique_id;Params.general.state=7;Params.general.files_count=this.requesttype=="fileupload"?1:0;Params.general.upload_finish_time=this.finish_time;if(error_code!="errorcancel"){Params.general.fail_message=GlobalData.consts.message_unknown;Params.general.fail_admin_message=wfu_join_strings("<br />",this.error_adminmessage_unknown,this.requesttype+":"+result_data)}else{Params.general.fail_message=GlobalData.consts.file_cancelled;Params.general.fail_admin_message=
60
+ ""}if(Params.general.files_count>0){Params[0]={};Params[0]["color"]=error_colors[0];Params[0]["bgcolor"]=error_colors[1];Params[0]["borcolor"]=error_colors[2];Params[0]["message_type"]=error_code;file_status=error_code;Params[0]["header"]=this.error_message_header;Params[0]["message"]=GlobalData.consts.message_timelimit;Params[0]["admin_messages"]=this.is_admin=="true"?GlobalData.consts.message_admin_timelimit:""}else Params.general.admin_messages.other=this.is_admin=="true"?GlobalData.consts.message_admin_timelimit:
61
+ "";if(Params.general.upload_finish_time>0)if(d.getTime()<Params.general.upload_finish_time)if(Params.general.files_count>0){Params[0]["message"]=Params.general.fail_message;Params[0]["admin_messages"]=this.is_admin=="true"?Params.general.fail_admin_message:""}else Params.general.admin_messages.other=this.is_admin=="true"?Params.general.fail_admin_message:""}if(upload_params==""||safe_params=="")last=wfu_ProcessUploadComplete(sid,this.file_id,Params,this.unique_id,this.params_index,this.session_token,
62
+ "",[this.debugmode,debug_data,this.is_admin],this.requesttype,"");else last=wfu_ProcessUploadComplete(sid,this.file_id,upload_params,this.unique_id,this.params_index,this.session_token,safe_params,[this.debugmode,debug_data,this.is_admin],this.requesttype,js_script_enc);if(last){wfu_dettach_cancel_event(sid);wfu_unlock_upload(sid);wfu_hide_simple_progressbar(sid);wfu_clear(sid)}if(evt.target.return_status)return file_status}
63
+ function wfu_ProcessUploadComplete(sid,file_id,upload_params,unique_id,params_index,session_token,safe_output,debug_data,request_type,js_script_enc){if(!sid||sid<0)return;if(upload_params==null||upload_params=="")return;if(unique_id=="")return;if(unique_id!="no-ajax"&&!GlobalData[sid])return;var do_redirect=false;if(typeof upload_params==="string"){upload_params=wfu_plugin_decode_string(upload_params.replace(/^\s+|\s+$/g,""));var Params=null;try{Params=JSON.parse(upload_params)}catch(e){}if(Params==
64
+ null){var safe_parts=safe_output.split(";");Params=wfu_Initialize_Params();Params.general.shortcode_id=sid;Params.general.unique_id=unique_id;Params.general.state=safe_parts[0];if(Params.general.state==4)Params.general.state++;var default_colors=safe_parts[1].split(",");var filedata="";var error_jsonparse_filemessage=GlobalData.consts.jsonparse_filemessage;var error_jsonparse_message=GlobalData.consts.jsonparse_message;var error_jsonparse_adminmessage=GlobalData.consts.jsonparse_adminmessage;Params.general.files_count=
65
+ parseInt(safe_parts[2]);for(var i=0;i<Params.general.files_count;i++){Params[i]={};Params[i]["color"]=default_colors[0];Params[i]["bgcolor"]=default_colors[1];Params[i]["borcolor"]=default_colors[2];filedata=safe_parts[i+3].split(",");Params[i]["message_type"]=wfu_plugin_decode_string(filedata[0]);Params[i]["header"]=wfu_plugin_decode_string(filedata[1]);if(Params[i]["message_type"]=="success"){Params[i]["header"]+=error_jsonparse_filemessage;Params[i]["message_type"]="warning"}Params[i]["message"]=
66
+ wfu_join_strings("<br />",error_jsonparse_message,wfu_plugin_decode_string(filedata[2]));Params[i]["admin_messages"]=wfu_join_strings("<br />",error_jsonparse_adminmessage,wfu_plugin_decode_string(filedata[3]))}}}else if(typeof upload_params==="object")var Params=upload_params;else return;i=0;while(Params[i]){if(Params[i].message_type)if(Params[i].message_type.substr(0,5)=="error")Params[i].message_type=Params[i].message_type.substr(0,5);i++}var message_table=document.getElementById("wfu_messageblock_"+
67
+ sid);var UploadStates_Ok=true;if(!UploadStates[sid]&&message_table){var upload_states=document.getElementById("wfu_messageblock_header_"+sid+"_states").value;upload_states=wfu_plugin_decode_string(upload_states.replace(/^\s+|\s+$/g,""));UploadStates[sid]=null;try{UploadStates[sid]=JSON.parse(upload_states)}catch(e$3){}if(UploadStates[sid]==null)UploadStates_Ok=false}if(!GlobalData[sid])GlobalData[sid]=Object();var G=GlobalData[sid];if(unique_id=="no-ajax"){G.last=false;G.unique_id="";G.files_count=
68
+ Params.general.files_count;if(Params.general.state==0)Params.general.files_count=0;G.files_processed=Params.general.files_count;if(UploadStates_Ok)G.upload_state=Params.general.state;else G.upload_state=10;G.message=Params.general.message;G.update_wpfilebase=Params.general.update_wpfilebase;G.redirect_link=Params.general.redirect_link;G.notify_only_filename_list="";G.notify_target_path_list="";G.notify_attachment_list="";G.admin_messages={};G.admin_messages.wpfilebase=Params.general.admin_messages.wpfilebase;
69
+ G.admin_messages.notify=Params.general.admin_messages.notify;G.admin_messages.redirect=Params.general.admin_messages.redirect;G.admin_messages.debug=debug_data[1];G.admin_messages.other=Params.general.admin_messages.other;G.errors={};G.errors.wpfilebase=Params.general.errors.wpfilebase;G.errors.notify=Params.general.errors.notify;G.errors.redirect=Params.general.errors.redirect;G.current_size=0;G.total_size=0}else{if(G.unique_id==""||G.unique_id!=unique_id||G.unique_id!=Params.general.unique_id)return;
70
+ if(G.last)return;if(Params.general.files_count==0&&Params[0])if(Params[0].message_type=="error")Params.general.files_count=1;var file_status="";for(var i=0;i<Params.general.files_count;i++){if(Params[i].message_type=="error"&&G.files_processed==0)file_status="error1";else if(Params[i].message_type=="error"&&G.files_processed>0)file_status="error2";else file_status=Params[i].message_type;G.upload_state=GlobalData.filestatematch[file_status][G.upload_state]}if(!UploadStates_Ok)G.upload_state=10;G.files_processed+=
71
+ Params.general.files_count;G.message=wfu_join_strings("<br />",G.message,Params.general.message);if(G.update_wpfilebase=="")G.update_wpfilebase=Params.general.update_wpfilebase;if(!request_type||request_type&&request_type!="email")G.redirect_link=Params.general.redirect_link;G.notify_only_filename_list=wfu_join_strings(", ",G.notify_only_filename_list,Params.general.notify_only_filename_list);G.notify_target_path_list=wfu_join_strings(", ",G.notify_target_path_list,Params.general.notify_target_path_list);
72
+ G.notify_attachment_list=wfu_join_strings(",",G.notify_attachment_list,Params.general.notify_attachment_list);G.admin_messages.debug=wfu_join_strings("<br />",G.admin_messages.debug,debug_data[1]);G.admin_messages.other=wfu_join_strings("<br />",G.admin_messages.other,Params.general.admin_messages.other);if(G.admin_messages.wpfilebase=="")G.admin_messages.wpfilebase=Params.general.admin_messages.wpfilebase;if(G.admin_messages.notify=="")G.admin_messages.notify=Params.general.admin_messages.notify;
73
+ if(G.admin_messages.redirect=="")G.admin_messages.redirect=Params.general.admin_messages.redirect;if(G.errors.wpfilebase=="")G.errors.wpfilebase=Params.general.errors.wpfilebase;if(G.errors.notify=="")G.errors.notify=Params.general.errors.notify;if(G.errors.redirect=="")G.errors.redirect=Params.general.errors.redirect}if(G.files_processed==G.files_count){G.last=true;if(G.update_wpfilebase!=""){G.admin_messages.wpfilebase="";wfu_notify_WPFilebase(params_index,session_token)}if(G.notify_only_filename_list!=
74
+ ""){G.admin_messages.notify="";wfu_send_email_notification(sid,unique_id,params_index,session_token,G.notify_only_filename_list,G.notify_target_path_list,G.notify_attachment_list,debug_data[0],debug_data[2]);G.last=false;G.notify_only_filename_list=""}if(G.last){if(unique_id!="no-ajax")wfu_notify_server_upload_ended(sid,unique_id,params_index,session_token);GlobalData.UploadInProgressString=GlobalData.UploadInProgressString.replace(new RegExp("\\["+unique_id+"\\]","g"),"")}if(G.errors.redirect!="")G.redirect_link=
75
+ "";if(G.redirect_link!=""&&G.last&&GlobalData.UploadInProgressString.trim()==""){G.upload_state=11;do_redirect=true}}var nonadmin_message=G.message;var admin_message=wfu_join_strings("<br />",G.admin_messages.other,G.admin_messages.wpfilebase,G.admin_messages.notify,G.admin_messages.redirect,G.admin_messages.debug);if(!UploadStates_Ok){var error_jsonparse_headermessage=GlobalData.consts.jsonparse_headermessage;var error_jsonparse_headeradminmessage=GlobalData.consts.jsonparse_headeradminmessage;nonadmin_message=
76
+ wfu_join_strings("<br />",error_jsonparse_headermessage,nonadmin_message);admin_message=wfu_join_strings("<br />",error_jsonparse_headeradminmessage,admin_message)}if(G.last){if(G.files_count==0&&G.upload_state!=12)G.upload_state=8;else if(G.upload_state<4)G.upload_state+=4;var admin_messages_exist=G.admin_messages.wpfilebase!=""||G.admin_messages.notify!=""||G.admin_messages.redirect!=""||G.admin_messages.other!="";if(G.upload_state==4&&admin_message!="")G.upload_state++;else if(G.upload_state==
77
+ 5&&!admin_message==""&&nonadmin_message=="")G.upload_state--}if(message_table){var subheader_state=document.getElementById("wfu_messageblock_header_"+sid+"_state");var single_file_shown=G.files_count==1&&nonadmin_message==""&&admin_message==""&&G.last&&!do_redirect;if(single_file_shown)document.getElementById("wfu_messageblock_header_"+sid).style.display="none";else{document.getElementById("wfu_messageblock_header_"+sid).style.display="";var header_container=document.getElementById("wfu_messageblock_header_"+
78
+ sid+"_container");if(UploadStates_Ok){var suffix="";if(G.files_count==1&&(G.upload_state==5||G.upload_state==7))suffix="_singlefile";header_container.innerHTML=UploadStates[sid]["State"+G.upload_state+suffix]}else{header_container.innerHTML="";var safe_container=document.getElementById("wfu_messageblock_header_"+sid+"_safecontainer");header_container.innerHTML=safe_container.innerHTML.replace(/_safe/g,"")}var subheader_show=false;if(nonadmin_message!=""){document.getElementById("wfu_messageblock_subheader_"+
79
+ sid+"_message").style.display="";document.getElementById("wfu_messageblock_subheader_"+sid+"_messagelabel").innerHTML=nonadmin_message;subheader_show=true}else document.getElementById("wfu_messageblock_subheader_"+sid+"_message").style.display="none";if(admin_message!=""){document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage").style.display="";document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessagelabel").innerHTML=admin_message;subheader_show=true}else document.getElementById("wfu_messageblock_subheader_"+
80
+ sid+"_adminmessage").style.display="none";if(subheader_show)document.getElementById("wfu_messageblock_subheader_"+sid).style.display=subheader_state.value;else document.getElementById("wfu_messageblock_subheader_"+sid).style.display="none";if(subheader_show||G.files_processed>0){header_container.colSpan=2;document.getElementById("wfu_messageblock_arrow_"+sid).style.display=""}else{document.getElementById("wfu_messageblock_arrow_"+sid).style.display="none";header_container.colSpan=3}}var next_block=
81
+ document.getElementById("wfu_messageblock_subheader_"+sid);var next_block_id=0;var file_block=null;var file_template_container=document.getElementById("wfu_messageblock_"+sid+"_filetemplate");var file_contents="";var door=document.getElementById("wfu_messageblock_"+sid+"_door");var ii=0;var headerspan=1;var subheaderspan=2;var file_template=wfu_plugin_decode_string(file_template_container.value.replace(/^\s+|\s+$/g,""));for(var i=0;i<Params.general.files_count;i++){ii=i+file_id;file_contents=file_template.replace(/\[file_id\]/g,
82
+ ii);file_contents=file_contents.replace(/\[filenumber_display\]/g,"");file_contents=file_contents.replace(/\[fileheader_color\]/g,Params[i].color);file_contents=file_contents.replace(/\[fileheader_bgcolor\]/g,Params[i].bgcolor);file_contents=file_contents.replace(/\[fileheader_borcolor\]/g,Params[i].borcolor);file_contents=file_contents.replace(/\[fileheader_message\]/g,Params[i].header);file_contents=file_contents.replace(/\[filesubheadermessage_display\]/g,'style="display:none;"');file_contents=
83
+ file_contents.replace(/\[filesubheader_message\]/g,Params[i].message);file_contents=file_contents.replace(/\[filesubheaderadminmessage_display\]/g,'style="display:none;"');file_contents=file_contents.replace(/\[filesubheader_adminmessage\]/g,Params[i].admin_messages);file_contents="<table><tbody>"+file_contents+"</tbody></table>";door.innerHTML=file_contents;headerspan=1;subheaderspan=2;subheader_show=false;file_block=document.getElementById("wfu_messageblock_"+sid+"_"+ii);if(G.files_count==1){document.getElementById("wfu_messageblock_"+
84
+ sid+"_filenumber_"+ii).style.display="none";document.getElementById("wfu_messageblock_subheader_"+sid+"_fileempty_"+ii).style.display="none";if(single_file_shown)file_block.style.display="";else file_block.style.display=subheader_state.value;headerspan++;subheaderspan++}else file_block.style.display=subheader_state.value;if(Params[i].message!=""){document.getElementById("wfu_messageblock_subheader_"+sid+"_message_"+ii).style.display="";subheader_show=true}if(Params[i].admin_messages!=""){document.getElementById("wfu_messageblock_subheader_"+
85
+ sid+"_adminmessage_"+ii).style.display="";subheader_show=true}if(!subheader_show){document.getElementById("wfu_messageblock_arrow_"+sid+"_"+ii).style.display="none";headerspan++}document.getElementById("wfu_messageblock_header_"+sid+"_container_"+ii).colSpan=headerspan;document.getElementById("wfu_messageblock_subheader_"+sid+"_container_"+ii).colSpan=subheaderspan;while(next_block_id<ii){next_block=next_block.nextSibling;if(next_block==null)break;if(next_block.nodeType===1)next_block_id=next_block.id.substr(next_block.id.lastIndexOf("_")+
86
+ 1)}message_table.tBodies[0].insertBefore(file_block,next_block);next_block=file_block.nextSibling;file_block=document.getElementById("wfu_messageblock_subheader_"+sid+"_"+ii);message_table.tBodies[0].insertBefore(file_block,next_block);next_block=file_block;next_block_id=ii}if(single_file_shown)document.getElementById("wfu_messageblock_"+sid+"_1").style.display="";message_table.style.display="";document.getElementById("wordpress_file_upload_message_"+sid).style.display=""}if(js_script_enc)eval(wfu_plugin_decode_string(js_script_enc));
87
+ if(do_redirect)wfu_Redirect(G.redirect_link);return G.last}function wfu_uploadFailed(evt,debugmode){if(debugmode){console.log("failure report following");console.log(evt)}var xhr=evt.target;var new_evt={target:{responseText:"",shortcode_id:xhr.shortcode_id}};wfu_uploadComplete.call(xhr,new_evt)}function wfu_uploadCanceled(evt){}
88
+ function wfu_notify_server_upload_ended(sid,unique_id,params_index,session_token){var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;var url=GlobalData.consts.ajax_url;params=new Array(6);params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action";params[1]=new Array(2);params[1][0]="wfu_uploader_nonce";params[1][1]=document.getElementById("wfu_uploader_nonce_"+sid).value;params[2]=new Array(2);params[2][0]="uniqueuploadid_"+sid;params[2][1]=unique_id;params[3]=new Array(2);params[3][0]=
89
+ "params_index";params[3][1]=params_index;params[4]=new Array(2);params[4][0]="session_token";params[4][1]=session_token;params[5]=new Array(2);params[5][0]="upload_finished";params[5][1]=1;var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);xhr.open("POST",url,true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.onreadystatechange=function(){if(xhr.readyState==4)if(xhr.status==200)wfu_Code_Objects[sid].do_action("after_upload",
90
+ xhr.responseText)};xhr.send(parameters)}
91
+ function wfu_Initialize_Params(){var params={};params.version="full";params.general={};params.general.shortcode_id=0;params.general.unique_id="";params.general.state=0;params.general.files_count=0;params.general.update_wpfilebase="";params.general.redirect_link="";params.general.upload_finish_time=0;params.general.message="";params.general.message_type="";params.general.admin_messages={};params.general.admin_messages.wpfilebase="";params.general.admin_messages.notify="";params.general.admin_messages.redirect=
92
+ "";params.general.admin_messages.other="";params.general.errors={};params.general.errors.wpfilebase="";params.general.errors.notify="";params.general.errors.redirect="";params.general.color="";params.general.bgcolor="";params.general.borcolor="";params.general.notify_only_filename_list="";params.general.notify_target_path_list="";params.general.notify_attachment_list="";params.general.fail_message="";params.general.fail_admin_message="";return params}
93
+ function wfu_redirect_to_classic(sid,session_token,flag,adminerrorcode){if(wfu_filesselected(sid)==0)return;if(!wfu_selectsubdir_check(sid))return;if(!wfu_check_required_userdata(sid,true))return;if(!wfu_Code_Objects[sid].apply_filters("pre_start_check",true))return;wfu_redirect_to_classic_cont(sid,session_token,flag,adminerrorcode)}
94
+ function wfu_redirect_to_classic_cont(sid,session_token,flag,adminerrorcode){var process_function=function(responseText){var txt_value="";var success_txt="wfu_askserver_success:";var error_txt="wfu_askserver_error:";var pos_success=responseText.indexOf(success_txt);var pos_error=responseText.indexOf(error_txt);if(pos_success>-1){txt_value=responseText.substr(pos_success+success_txt.length);wfu_Code_Objects[sid].do_action("askserver_success",txt_value,"no-ajax");var Params=wfu_Initialize_Params();
95
+ Params.general.shortcode_id=sid;Params.general.unique_id="";Params.general.files_count=wfu_filesselected(sid);wfu_ProcessUploadComplete(sid,0,Params,"no-ajax","",session_token,"",["false","","false"]);if(flag==1){var suffice="";document.getElementById("upfile_"+sid).name="uploadedfile_"+sid+"_redirected"+suffice}if(adminerrorcode>0)document.getElementById("adminerrorcodes_"+sid).value=adminerrorcode;else document.getElementById("adminerrorcodes_"+sid).value="";document.getElementById("upfile_"+sid).disabled=
96
+ false;document.getElementById("uniqueuploadid_"+sid).value=unique_id;document.getElementById("uploadform_"+sid).submit()}else if(pos_error>-1){txt_value=responseText.substr(pos_error+error_txt.length);wfu_unlock_upload(sid);wfu_Code_Objects[sid].do_action("askserver_error",txt_value)}};var unique_id=wfu_randomString(10);wfu_lock_upload(sid);wfu_Code_Objects[sid].do_action("pre_start");var pass_params="";var params_obj=wfu_Code_Objects[sid].apply_filters("askserver_pass_params",{});for(var prop in params_obj)if(params_obj.hasOwnProperty(prop))pass_params+=
97
+ "&"+prop+"="+params_obj[prop];var d=new Date;var url=GlobalData.consts.ajax_url+"?action=wfu_ajax_action_ask_server&wfu_uploader_nonce="+document.getElementById("wfu_uploader_nonce_"+sid).value+"&sid="+sid+"&unique_id="+unique_id+"&start_time="+d.getTime()+"&session_token="+session_token+pass_params;var xmlhttp=wfu_GetHttpRequestObject();if(xmlhttp==null){var i=document.createElement("iframe");if(i){i.style.display="none";i.src=url;document.body.appendChild(i);i.onload=function(){process_function(i.contentDocument.body.innerHTML)};
98
+ return}else{wfu_Code_Objects[sid].do_action("not_supported");return}}xmlhttp.open("GET",url,true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4)if(xmlhttp.status==200)process_function(xmlhttp.responseText);else{alert(GlobalData.consts.remoteserver_noresult);wfu_Code_Objects[sid].do_action("askserver_noresult")}};xmlhttp.send(null)}
99
+ Code_Initializators[Code_Initializators.length]=function(sid){var CBUV_Code_Objects={};CBUV_Code_Objects.pre_start_ask_server=function(attr,has_filters){if(attr)return attr;var sid=this.sid;return has_filters=="true"};CBUV_Code_Objects.askserver_pass_params=function(params){var sid=this.sid;var farr=wfu_get_filelist(sid);var filenames="";var filesizes="";for(var i=0;i<farr.length;i++){if(i>0){filenames+=";";filesizes+=";"}filenames+=wfu_plugin_encode_string(farr[i].name);filesizes+=farr[i].size}params.filenames=
100
+ filenames;params.filesizes=filesizes;return params};CBUV_Code_Objects.askserver_success=function(response,mode){var sid=this.sid;var upload_status="success";var txt_match=response.match(/CBUVJS\[(.*?)\]/);var txt_header=txt_match?typeof txt_match[1]!="undefined"?txt_match[1]:"":"";if(txt_header!="")eval(txt_header)};CBUV_Code_Objects.askserver_error=function(response,mode){var sid=this.sid;var upload_status="error";var txt_match=response.match(/CBUVJS\[(.*?)\]/);var txt_header=txt_match?typeof txt_match[1]!=
101
+ "undefined"?txt_match[1]:"":"";if(txt_header!="")eval(txt_header);txt_match=response.match(/CBUV\[(.*?)\]/);txt_header=txt_match?typeof txt_match[1]!="undefined"?txt_match[1]:"":"";if(txt_header!=""){var Params=wfu_Initialize_Params();Params.general.shortcode_id=sid;Params.general.message=txt_header;Params.general.state=12;wfu_ProcessUploadComplete(sid,0,Params,"no-ajax","","","",["false","","false"]);wfu_clear(sid)}};CBUV_Code_Objects.after_upload=function(response){var sid=this.sid;var txt_match=
102
+ response.match(/CBUVJS\[(.*?)\]/);var txt_header=txt_match?typeof txt_match[1]!="undefined"?txt_match[1]:"":"";if(txt_header!="")eval(txt_header)};return CBUV_Code_Objects};function wfu_filesselected(sid){var ftext=document.getElementById("fileName_"+sid);var farr=wfu_get_filelist(sid);if(farr.length==0)if(ftext){ftext.value=GlobalData.consts.nofilemessage;ftext.className="file_input_textbox_nofile"}return farr.length}
103
+ function wfu_check_required_userdata(sid,prompt){var userdata_count=wfu_get_userdata_count(sid);var req_empty=false;for(var i=0;i<userdata_count;i++){var msg_hid=document.getElementById("hiddeninput_"+sid+"_userdata_"+i);var wrapper=document.getElementById("userdata_"+sid+"_fieldwrapper_"+i);var field=document.getElementById("userdata_"+sid+"_field_"+i);var msg_cont=document.getElementById("userdata_"+sid+"_"+i);var msg_hint=document.getElementById("userdata_"+sid+"_hint_"+i);msg_hid.value=window["userdata_"+
104
+ sid+"_codes_"+i].value(field);var props={hintposition:"none"};var props_raw=document.getElementById("userdata_"+sid+"_props_"+i).value.split("|");for(var j=0;j<props_raw.length;j++)if(props_raw[j].substr(0,2)=="p:")props.hintposition=props_raw[j].substr(2);var res="";if(wrapper.className.substr(0,35)=="file_userdata_fieldwrapper_required")res=window["userdata_"+sid+"_codes_"+i].empty(msg_hid);if(res===""&&window["userdata_"+sid+"_codes_"+i].validate)res=window["userdata_"+sid+"_codes_"+i].validate(msg_hid);
105
+ if(res!==""){if(prompt)if(props.hintposition=="none")msg_hint.className="file_userdata_hint_none";else{wrapper.className="file_userdata_fieldwrapper_required_empty";var cont_rect=msg_cont.getBoundingClientRect();var msg_rect=wrapper.getBoundingClientRect();if(props.hintposition=="inline"){msg_hint.className="file_userdata_hint_inline";msg_hint.style.left=parseInt(msg_rect.left-cont_rect.left)+"px";msg_hint.style.top=parseInt(msg_rect.top-cont_rect.top)+"px";msg_hint.style.right=parseInt(cont_rect.right-
106
+ msg_rect.right)+"px";msg_hint.style.bottom=parseInt(cont_rect.bottom-msg_rect.bottom)+"px"}else if(props.hintposition=="top"){msg_hint.className="file_userdata_hint_top";msg_hint.style.left=parseInt(msg_rect.left-cont_rect.left)+"px";msg_hint.style.bottom=parseInt(cont_rect.bottom-msg_rect.top)+"px"}else if(props.hintposition=="right"){msg_hint.className="file_userdata_hint_right";msg_hint.style.left=parseInt(msg_rect.right-cont_rect.left)+"px";msg_hint.style.top=parseInt(msg_rect.top-cont_rect.top)+
107
+ "px"}else if(props.hintposition=="bottom"){msg_hint.className="file_userdata_hint_bottom";msg_hint.style.left=parseInt(msg_rect.left-cont_rect.left)+"px";msg_hint.style.top=parseInt(msg_rect.bottom-cont_rect.top)+"px"}else if(props.hintposition=="left"){msg_hint.className="file_userdata_hint_left";msg_hint.style.right=parseInt(cont_rect.right-msg_rect.left)+"px";msg_hint.style.top=parseInt(msg_rect.top-cont_rect.top)+"px"}msg_hint.innerHTML=res;msg_hint.style.display="block"}req_empty=true}}return!req_empty}
108
+ function wfu_HTML5UploadFile(sid,JSONtext,session_token){if(!wfu_BrowserCaps.supportsAJAX){wfu_redirect_to_classic(sid,session_token,1,1);return}if(!wfu_BrowserCaps.supportsHTML5){wfu_redirect_to_classic(sid,session_token,1,2);return}JSONtext=wfu_plugin_decode_string(JSONtext.replace(/^\s+|\s+$/g,""));var JSONobj=null;try{JSONobj=JSON.parse(JSONtext)}catch(e){}if(JSONobj==null){wfu_redirect_to_classic(sid,session_token,1,3);return}var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;var numfiles=
109
+ wfu_filesselected(sid);if(numfiles==0)return;var uploadbutton=document.getElementById("upload_"+sid);var single_file_operation=!uploadbutton;if(!wfu_selectsubdir_check(sid)){if(single_file_operation)wfu_clear_files(sid);return}var numpasses=numfiles;numpasses+=numpasses;if(!wfu_check_required_userdata(sid,true)){if(single_file_operation)wfu_clear_files(sid);return}if(!wfu_Code_Objects[sid].apply_filters("pre_start_check",true))return;var unique_upload_id=wfu_randomString(10);wfu_lock_upload(sid);
110
+ wfu_Code_Objects[sid].do_action("pre_start");if(!wfu_Code_Objects[sid].apply_filters("pre_start_ask_server",false,JSONobj.has_filters))wfu_HTML5UploadFile_cont(sid,JSONobj,session_token,unique_upload_id);else{var url=GlobalData.consts.ajax_url;params=new Array(5);params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action_ask_server";params[1]=new Array(2);params[1][0]="session_token";params[1][1]=session_token;params[2]=new Array(2);params[2][0]="sid";params[2][1]=sid;params[3]=new Array(2);
111
+ params[3][0]="unique_id";params[3][1]=unique_upload_id;params[4]=new Array(2);params[4][0]="wfu_uploader_nonce";params[4][1]=document.getElementById("wfu_uploader_nonce_"+sid).value;var params_obj=wfu_Code_Objects[sid].apply_filters("askserver_pass_params",{});for(var prop in params_obj)if(params_obj.hasOwnProperty(prop))params.push([prop,params_obj[prop]]);var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);xhr.open("POST",url,true);
112
+ xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.onreadystatechange=function(){if(xhr.readyState==4)if(xhr.status==200){var txt=xhr.responseText;var txt_value="";var success_txt="wfu_askserver_success:";var error_txt="wfu_askserver_error:";var pos_success=txt.indexOf(success_txt);var pos_error=txt.indexOf(error_txt);var pos=-1;if(pos_success>-1){txt_value=txt.substr(pos_success+success_txt.length);wfu_Code_Objects[sid].do_action("askserver_success",txt_value,"ajax");wfu_HTML5UploadFile_cont(sid,
113
+ JSONobj,session_token,unique_upload_id)}else if(pos_error>-1){txt_value=txt.substr(pos_error+error_txt.length);wfu_unlock_upload(sid);wfu_Code_Objects[sid].do_action("askserver_error",txt_value)}}else{alert(GlobalData.consts.remoteserver_noresult);wfu_unlock_upload(sid);wfu_Code_Objects[sid].do_action("askserver_noresult")}};xhr.send(parameters)}}
114
+ function wfu_HTML5UploadFile_cont(sid,JSONobj,session_token,unique_upload_id){function sendfile(ind,file,only_check,force_close_connection){ret_status=true;var xhr=wfu_GetHttpRequestObject();var xhr_close_connection=wfu_GetHttpRequestObject();if(xhr==null||xhr_close_connection==null)return;var fd=null;var fd_close_connection=null;try{var fd=new FormData;var fd_close_connection=new FormData}catch(e){}if(fd==null||fd_close_connection==null)return;fd.append("action","wfu_ajax_action");fd.append("wfu_uploader_nonce",
115
+ document.getElementById("wfu_uploader_nonce_"+sid).value);if(!only_check)fd.append("uploadedfile_"+sid+suffice,file);fd.append("uploadedfile_"+sid+"_index",ind);fd.append("uploadedfile_"+sid+"_name",wfu_plugin_encode_string(farr[ind].name));fd.append("uploadedfile_"+sid+"_size",farr[ind].size);fd.append("uniqueuploadid_"+sid,unique_upload_id);fd.append("params_index",JSONobj.params_index);fd.append("subdir_sel_index",subdir_sel_index);if(only_check)fd.append("only_check","1");else fd.append("only_check",
116
+ "0");fd.append("session_token",session_token);var other_params=wfu_Code_Objects[sid].apply_filters("upload_pass_params",{},"ajax");for(var prop in other_params)if(other_params.hasOwnProperty(prop))fd.append(prop,other_params[prop]);var userdata_count=wfu_get_userdata_count(sid);for(var ii=0;ii<userdata_count;ii++)fd.append("hiddeninput_"+sid+"_userdata_"+ii,document.getElementById("hiddeninput_"+sid+"_userdata_"+ii).value);wfu_initialize_fileupload_xhr(xhr,sid,session_token,unique_upload_id,JSONobj,
117
+ ind,farr[ind].name);xhr.loading=true;if(!only_check){xhr.size=file.size;xhr.totalsize=farr[ind].size}if(force_close_connection){fd_close_connection.append("action","wfu_ajax_action");fd_close_connection.append("wfu_uploader_nonce",document.getElementById("wfu_uploader_nonce_"+sid).value);fd_close_connection.append("params_index",JSONobj.params_index);fd_close_connection.append("session_token",session_token);fd_close_connection.append("force_connection_close","1");xhr_close_connection.open("POST",
118
+ GlobalData.consts.ajax_url,false);try{xhr_close_connection.send(fd_close_connection)}catch(err){}ret_status=xhr_close_connection.responseText.indexOf("success")>-1}if(ret_status)if(!only_check){xhr.upload.xhr=xhr;xhr.upload.dummy=1;xhr.upload.addEventListener("loadstart",wfu_loadStart,false);xhr.upload.addEventListener("progress",new Function("evt","wfu_uploadProgress(evt, "+sid+", "+xhr.xhrid+", "+JSONobj.debugmode+");"),false);xhr.addEventListener("load",wfu_uploadComplete,false);xhr.addEventListener("error",
119
+ new Function("evt","wfu_uploadFailed(evt, "+JSONobj.debugmode+");"),false);xhr.addEventListener("abort",wfu_uploadCanceled,false);xhr.open("POST",GlobalData.consts.ajax_url,true);xhr.send(fd)}else{xhr.addEventListener("load",function(evt){evt={target:{responseText:evt.target.responseText,shortcode_id:sid,return_status:true}};var file_status=wfu_uploadComplete.call(xhr,evt);xhr.file_id=0;ret_status=file_status=="success"||file_status=="warning";if(ret_status)sendfile(ind,file,false,false)},false);
120
+ xhr.addEventListener("error",function(evt){return},false);xhr.open("POST",GlobalData.consts.ajax_url,true);xhr.send(fd)}else{var evt={target:{responseText:"",shortcode_id:sid}};wfu_uploadComplete.call(xhr,evt)}inc++;return ret_status}var subdir_sel_index=-1;var sel=document.getElementById("selectsubdir_"+sid);if(sel){var editbox=document.getElementById("selectsubdiredit_"+sid);var editable=editbox.style.display!="none";if(editable)subdir_sel_index=editbox.value;else subdir_sel_index=sel.selectedIndex}var farr=
121
+ wfu_get_filelist(sid);var suffice="";GlobalData.UploadInProgressString+="["+unique_upload_id+"]";GlobalData[sid]={};GlobalData[sid].unique_id=unique_upload_id;GlobalData[sid].last=false;GlobalData[sid].files_count=1;GlobalData[sid].files_processed=0;GlobalData[sid].upload_state=0;GlobalData[sid].message="";GlobalData[sid].update_wpfilebase="";GlobalData[sid].redirect_link="";GlobalData[sid].notify_only_filename_list="";GlobalData[sid].notify_target_path_list="";GlobalData[sid].notify_attachment_list=
122
+ "";GlobalData[sid].admin_messages={};GlobalData[sid].admin_messages.wpfilebase="";GlobalData[sid].admin_messages.notify="";GlobalData[sid].admin_messages.redirect="";GlobalData[sid].admin_messages.debug="";GlobalData[sid].admin_messages.other="";GlobalData[sid].errors={};GlobalData[sid].errors.wpfilebase="";GlobalData[sid].errors.notify="";GlobalData[sid].errors.redirect="";GlobalData[sid].xhrs=Array();GlobalData[sid].metricstotal={size:farr[0].size,loaded:0,progress_pos:0};GlobalData[sid].metrics=
123
+ [{size:farr[0].size,loaded:0,progress_pos:0}];wfu_show_simple_progressbar(JSONobj.shortcode_id,"progressive");wfu_attach_cancel_event(sid,session_token,unique_upload_id,JSONobj);var Params=wfu_Initialize_Params();Params.general.shortcode_id=sid;Params.general.unique_id=unique_upload_id;wfu_ProcessUploadComplete(sid,0,Params,unique_upload_id,JSONobj.params_index,session_token,"",["false","","false"]);var inc=0;var ret_status=true;var i=0;var fprops=[];sendfile(i,farr[i],true,false)}
124
+ function wfu_initialize_fileupload_xhr(xhr,sid,session_token,unique_upload_id,JSONobj,file_ind,filename){var xhrid=file_ind>=0?GlobalData[sid].xhrs.push(xhr)-1:-1;var d=new Date;xhr.xhrid=xhrid;xhr.shortcode_id=sid;xhr.requesttype=file_ind>=0?"fileupload":"email";xhr.file_id=file_ind+1;xhr.size=0;xhr.totalsize=0;xhr.loading=false;xhr.deltasize=0;xhr.deltaloaded=0;xhr.sizeloaded=0;xhr.aborted=false;xhr.unique_id=unique_upload_id;xhr.params_index=JSONobj.params_index;xhr.session_token=session_token;
125
+ xhr.debugmode=JSONobj.debugmode;xhr.is_admin=JSONobj.is_admin;xhr.start_time=d.getTime();xhr.end_time=xhr.start_time;xhr.finish_time=xhr.start_time+parseInt(GlobalData.consts.max_time_limit)*1E3;xhr.fail_colors=JSONobj.fail_colors;xhr.error_message_header=JSONobj.error_header.replace(/%username%/g,"no data");xhr.error_message_header=xhr.error_message_header.replace(/%useremail%/g,"no data");xhr.error_message_header=xhr.error_message_header.replace(/%filename%/g,filename);xhr.error_message_header=
126
+ xhr.error_message_header.replace(/%filepath%/g,filename);xhr.error_message_failed=GlobalData.consts.message_failed;xhr.error_message_cancelled=GlobalData.consts.message_cancelled;xhr.error_adminmessage_unknown=GlobalData.consts.adminmessage_unknown.replace(/%username%/g,"no data");xhr.error_adminmessage_unknown=xhr.error_adminmessage_unknown.replace(/%useremail%/g,"no data");xhr.error_adminmessage_unknown=xhr.error_adminmessage_unknown.replace(/%filename%/g,filename);xhr.error_adminmessage_unknown=
127
+ xhr.error_adminmessage_unknown.replace(/%filepath%/g,filename)}function wfu_get_userdata_count(sid){var fields_count=0;while(document.getElementById("userdata_"+sid+"_"+fields_count))fields_count++;return fields_count}
128
+ function wfu_lock_upload(sid){var textbox=document.getElementById("fileName_"+sid);document.getElementById("input_"+sid).disabled=true;document.getElementById("upfile_"+sid).disabled=true;wfu_selectsubdir_disable_onoff(sid,true);var upload=document.getElementById("upload_"+sid);if(upload)upload.disabled=true;var userdata_count=wfu_get_userdata_count(sid);for(var i=0;i<userdata_count;i++)window["userdata_"+sid+"_codes_"+i].lock(document.getElementById("userdata_"+sid+"_field_"+i));wfu_Code_Objects[sid].do_action("lock_upload")}
129
+ function wfu_unlock_upload(sid){var textbox=document.getElementById("fileName_"+sid);document.getElementById("input_"+sid).disabled=false;document.getElementById("upfile_"+sid).disabled=false;wfu_selectsubdir_disable_onoff(sid,false);var upload=document.getElementById("upload_"+sid);if(upload)upload.disabled=false;var userdata_count=wfu_get_userdata_count(sid);for(var i=0;i<userdata_count;i++)window["userdata_"+sid+"_codes_"+i].unlock(document.getElementById("userdata_"+sid+"_field_"+i));wfu_Code_Objects[sid].do_action("unlock_upload")}
130
+ function wfu_clear_files(sid){document.getElementById("uploadform_"+sid).reset();var inputfile=document.getElementById("upfile_"+sid);if(typeof inputfile.filearray!="undefined"){inputfile.filearray.length=0;inputfile.filearrayprops.length=0}var textbox=document.getElementById("fileName_"+sid);if(textbox){textbox.value="";textbox.className="file_input_textbox"}}
131
+ function wfu_clear(sid){wfu_clear_files(sid);var subdir=document.getElementById("selectsubdir_"+sid);if(subdir){var editbox=document.getElementById("selectsubdiredit_"+sid);var editable=editbox.style.display!="none";if(!editable){subdir.options[0].style.display="block";subdir.selectedIndex=parseInt(document.getElementById("selectsubdirdefault_"+sid).value);if(subdir.selectedIndex<0)subdir.selectedIndex=0}else{subdir.selectedIndex=-1;editbox.value=""}}var userdata_count=wfu_get_userdata_count(sid);
132
+ for(var i=0;i<userdata_count;i++)window["userdata_"+sid+"_codes_"+i].reset(document.getElementById("userdata_"+sid+"_field_"+i),document.getElementById("hiddeninput_"+sid+"_userdata_"+i));wfu_Code_Objects[sid].do_action("clear_upload")}
133
+ function wfu_reset_message(sid){var message_table=document.getElementById("wfu_messageblock_"+sid);if(message_table){document.getElementById("wfu_messageblock_header_"+sid).style.display="";var header_container=document.getElementById("wfu_messageblock_header_"+sid+"_container");if(UploadStates[sid])header_container.innerHTML=UploadStates[sid]["State0"];document.getElementById("wfu_messageblock_header_"+sid+"_state").value="none";document.getElementById("wfu_messageblock_arrow_"+sid).style.display=
134
+ "none";header_container.colSpan=3;document.getElementById("wfu_messageblock_subheader_"+sid+"_messagelabel").innerHTML="";document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessagelabel").innerHTML="";document.getElementById("wfu_messageblock_subheader_"+sid).style.display="none";document.getElementById("wfu_messageblock_subheader_"+sid+"_message").style.display="none";document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage").style.display="none";var file_array=wfu_get_file_ids(sid);
135
+ for(var i=1;i<=file_array.length;i++){message_table.tBodies[0].removeChild(document.getElementById("wfu_messageblock_"+sid+"_"+i));message_table.tBodies[0].removeChild(document.getElementById("wfu_messageblock_subheader_"+sid+"_"+i))}}}
136
+ function wfu_show_simple_progressbar(sid,effect){var bar=document.getElementById("progressbar_"+sid+"_animation");var barsafe=document.getElementById("progressbar_"+sid+"_imagesafe");if(bar){if(effect=="progressive"){bar.style.width="0%";bar.className="file_progress_progressive";barsafe.style.display="none";bar.style.display="block"}else if(wfu_BrowserCaps.supportsAnimation){bar.style.width="25%";bar.className="file_progress_shuffle";barsafe.style.display="none";bar.style.display="block"}else{bar.style.width=
137
+ "0%";bar.className="file_progress_noanimation";bar.style.display="none";barsafe.style.display="block"}document.getElementById("wordpress_file_upload_progressbar_"+sid).style.display="block"}}
138
+ function wfu_hide_simple_progressbar(sid){var bar=document.getElementById("progressbar_"+sid+"_animation");var barsafe=document.getElementById("progressbar_"+sid+"_imagesafe");if(bar){document.getElementById("wordpress_file_upload_progressbar_"+sid).style.display="none";bar.style.width="0%";bar.className="file_progress_noanimation";barsafe.style.display="none";bar.style.display="block"}}
139
+ function wfu_invoke_shortcode_editor(sid,postid,posthash,tag){var buttons=document.getElementsByTagName("BUTTON");var same=0;var obj=null;for(var i=0;i<buttons.length;i++)if(buttons[i].parentNode)if(buttons[i].parentNode.id==tag+"_editor_"+sid){obj=buttons[i];same++}if(same==0)return;if(same>1){alert(GlobalData.consts.same_pluginid);return}var xhr=wfu_GetHttpRequestObject();if(xhr==null)return;obj.parentNode.style.display="none";document.getElementById(tag+"_overlay_"+sid).style.display="block";var url=
140
+ GlobalData.consts.ajax_url;params=new Array(6);params[0]=new Array(2);params[0][0]="action";params[0][1]="wfu_ajax_action_edit_shortcode";params[1]=new Array(2);params[1][0]="upload_id";params[1][1]=sid;params[2]=new Array(2);params[2][0]="post_id";params[2][1]=postid;params[3]=new Array(2);params[3][0]="post_hash";params[3][1]=posthash;params[4]=new Array(2);params[4][0]="shortcode_tag";params[4][1]=tag;params[5]=new Array(2);params[5][0]="widget_id";params[5][1]=document.getElementById(tag+"_"+
141
+ sid+"_widgetid")?document.getElementById(tag+"_"+sid+"_widgetid").value:"";var parameters="";for(var i=0;i<params.length;i++)parameters+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);xhr.open("POST",url,true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.onreadystatechange=function(){if(xhr.readyState==4)if(xhr.status==200){document.getElementById(tag+"_overlay_"+sid).style.display="none";obj.parentNode.removeAttribute("style");var start_text="wfu_edit_shortcode:";
142
+ var pos=xhr.responseText.indexOf(start_text);if(pos==-1)pos=xhr.responseText.length;var messages=xhr.responseText.substr(0,pos);var response=xhr.responseText.substr(pos+start_text.length,xhr.responseText.length-pos-start_text.length);pos=response.indexOf(":");var txt_header=response.substr(0,pos);txt_value=response.substr(pos+1,response.length-pos-1);if(txt_header=="success"){var editor_window=window.open(wfu_plugin_decode_string(txt_value),"_blank");if(editor_window)editor_window.plugin_window=window;
143
+ else alert(GlobalData.consts.enable_popups)}else if(txt_header=="check_page_obsolete")alert(txt_value)}};xhr.send(parameters)}
144
+ wfu_initialize_webcam=function(sid,mode,audiocapture,videowidth,videoheight,videoaspectratio,videoframerate,camerafacing,maxrecordtime){if(typeof wfu_parse_video_width=="undefined")wfu_parse_video_width=function(videowidth){var vw=parseInt(videowidth);if(vw>0){this.empty=false;this.video.width=vw}};if(typeof wfu_parse_video_height=="undefined")wfu_parse_video_height=function(videoheight){var vh=parseInt(videoheight);if(vh>0){this.empty=false;this.video.height=vh}};if(typeof wfu_parse_video_aspectratio==
145
+ "undefined")wfu_parse_video_aspectratio=function(videoaspectratio){var ar=parseFloat(videoaspectratio);if(ar>0){this.empty=false;this.video.aspectRatio=ar}};if(typeof wfu_parse_video_framerate=="undefined")wfu_parse_video_framerate=function(videoframerate){var fr=parseFloat(videoframerate);if(fr>0){this.empty=false;this.video.frameRate=fr}};if(typeof wfu_parse_video_facingmode=="undefined")wfu_parse_video_facingmode=function(camerafacing){var cf=camerafacing=="front"?"user":camerafacing=="back"?"environment":
146
+ "";if(cf!=""){this.empty=false;this.video.facingMode=cf}};var video_settings={empty:true,video:{}};wfu_parse_video_width.call(video_settings,videowidth);wfu_parse_video_height.call(video_settings,videoheight);wfu_parse_video_aspectratio.call(video_settings,videoaspectratio);wfu_parse_video_framerate.call(video_settings,videoframerate);wfu_parse_video_facingmode.call(video_settings,camerafacing);var WebcamProps={mode:mode,audio:audiocapture=="true",video:video_settings.empty?true:video_settings.video,
147
+ maxrecordtime:maxrecordtime};window["wfu_webcam_props_"+sid]=WebcamProps;wfu_reinitialize_webcam(sid)};
148
+ wfu_reinitialize_webcam=function(sid){window["wfu_webcam_props_"+sid].active=true;window["wfu_webcam_props_"+sid].width=0;window["wfu_webcam_props_"+sid].width=0;window["wfu_webcam_props_"+sid].timeStart=0;window["wfu_webcam_props_"+sid].duration=0;window["wfu_webcam_props_"+sid].counting=false;window["wfu_webcam_props_"+sid].stream=null;window["wfu_webcam_props_"+sid].media=null;window["wfu_webcam_props_"+sid].blobs=null;window["wfu_webcam_props_"+sid].playing=false;var WebcamProps=window["wfu_webcam_props_"+
149
+ sid];var video=document.getElementById("webcam_"+sid+"_box");var webcamoff=document.getElementById("webcam_"+sid+"_webcamoff");webcamoff.style.display="none";video.style.display="block";var constraints={audio:WebcamProps.audio,video:WebcamProps.video};if(typeof Promise=="undefined"){Promise=function(mainCallback){this.mainCallback=mainCallback;this.then=function(successCallback){this.successCallback=successCallback;return this};this["catch"]=function(errorCallback){mainCallback(this.successCallback,
150
+ errorCallback)}};PromiseRejected=function(error){this.then=function(successCallback){return this};this["catch"]=function(errorCallback){errorCallback(error)}};Promise.reject=function(error){return new PromiseRejected(error)}}var promisifiedOldGUM=function(constraints,successCallback,errorCallback){var getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;if(!getUserMedia||typeof MediaRecorder=="undefined")return Promise.reject(new Error("getUserMedia is not implemented in this browser"));
151
+ return new Promise(function(successCallback,errorCallback){getUserMedia.call(navigator,constraints,successCallback,errorCallback)})};if(navigator.mediaDevices===undefined)navigator.mediaDevices={};if(navigator.mediaDevices.getUserMedia===undefined)navigator.mediaDevices.getUserMedia=promisifiedOldGUM;navigator.mediaDevices.getUserMedia(constraints).then(function(stream){window["wfu_webcam_props_"+sid].stream=stream;video.autoplay=true;video.ontimeupdate=null;video.onerror=null;video.onloadeddata=
152
+ function(e){wfu_webcam_init_callback(sid)};video.src=window.URL.createObjectURL(stream);wfu_initialize_webcam_nav(sid,WebcamProps.mode)})["catch"](function(e){console.log("Video not supported!",e);document.getElementById("webcam_"+sid+"_inner").className="wfu_file_webcam_inner wfu_webcam_notsupported"})};
153
+ wfu_webcam_init_callback=function(sid){var container=document.getElementById("webcam_"+sid+"_inner");var video=document.getElementById("webcam_"+sid+"_box");window["wfu_webcam_props_"+sid].width=video.videoWidth;window["wfu_webcam_props_"+sid].height=video.videoHeight;var imgdata='<svg xmlns="http://www.w3.org/2000/svg" width="'+video.videoWidth+'" height="'+video.videoHeight+'"></svg>';var imgblob=new Blob([imgdata],{type:"image/svg+xml;charset=utf-8"});var img=document.getElementById("webcam_"+
154
+ sid+"_webcamoff_img");img.src=window.URL.createObjectURL(imgblob);img.style.width=container.clientWidth+"px";img.style.height=container.clientHeight+"px"};
155
+ wfu_initialize_webcam_nav=function(sid,mode){if(typeof SVGInjector=="undefined")!function(t,e){function r(t){t=t.split(" ");for(var e={},r=t.length,n=[];r--;)e.hasOwnProperty(t[r])||(e[t[r]]=1,n.unshift(t[r]));return n.join(" ")}var n="file:"===t.location.protocol,i=e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),o=Array.prototype.forEach||function(t,e){if(void 0===this||null===this||"function"!=typeof t)throw new TypeError;var r,n=this.length>>>0;for(r=0;n>
156
+ r;++r)r in this&&t.call(e,this[r],r,this)},a={},l=0,s=[],u=[],c={},f=function(t){return t.cloneNode(!0)},p=function(t,e){u[t]=u[t]||[],u[t].push(e)},d=function(t){for(var e=0,r=u[t].length;r>e;e++)!function(e){setTimeout(function(){u[t][e](f(a[t]))},0)}(e)},v=function(e,r){if(void 0!==a[e])a[e]instanceof SVGSVGElement?r(f(a[e])):p(e,r);else{if(!t.XMLHttpRequest)return r("Browser does not support XMLHttpRequest"),!1;a[e]={},p(e,r);var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===i.readyState){if(404===
157
+ i.status||null===i.responseXML)return r("Unable to load SVG file: "+e),n&&r("Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver."),r(),!1;if(!(200===i.status||n&&0===i.status))return r("There was a problem injecting the SVG: "+i.status+" "+i.statusText),!1;if(i.responseXML instanceof Document)a[e]=i.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var t;try{var o=new DOMParser;t=o.parseFromString(i.responseText,
158
+ "text/xml")}catch(l$4){t=void 0}if(!t||t.getElementsByTagName("parsererror").length)return r("Unable to parse SVG file: "+e),!1;a[e]=t.documentElement}d(e)}},i.open("GET",e),i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()}},h=function(e,n,a,u){var f=e.getAttribute("data-src")||e.getAttribute("src");if(!/\.svg/i.test(f))return void u("Attempted to inject a file with a non-svg extension: "+f);if(!i){var p=e.getAttribute("data-fallback")||e.getAttribute("data-png");return void(p?(e.setAttribute("src",
159
+ p),u(null)):a?(e.setAttribute("src",a+"/"+f.split("/").pop().replace(".svg",".png")),u(null)):u("This browser does not support SVG and no PNG fallback was defined."))}-1===s.indexOf(e)&&(s.push(e),e.setAttribute("src",""),v(f,function(i){if("undefined"==typeof i||"string"==typeof i)return u(i),!1;var a=e.getAttribute("id");a&&i.setAttribute("id",a);var p=e.getAttribute("title");p&&i.setAttribute("title",p);var d=[].concat(i.getAttribute("class")||[],"injected-svg",e.getAttribute("class")||[]).join(" ");
160
+ i.setAttribute("class",r(d));var v=e.getAttribute("style");v&&i.setAttribute("style",v);var h=[].filter.call(e.attributes,function(t){return/^data-\w[\w\-]*$/.test(t.name)});o.call(h,function(t){t.name&&t.value&&i.setAttribute(t.name,t.value)});var g,m,b,y,A,w={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],pattern:["fill","stroke"],radialGradient:["fill",
161
+ "stroke"]};Object.keys(w).forEach(function(t){g=t,b=w[t],m=i.querySelectorAll("defs "+g+"[id]");for(var e=0,r=m.length;r>e;e++){y=m[e].id,A=y+"-"+l;var n;o.call(b,function(t){n=i.querySelectorAll("["+t+'*="'+y+'"]');for(var e=0,r=n.length;r>e;e++)n[e].setAttribute(t,"url(#"+A+")")}),m[e].id=A}}),i.removeAttribute("xmlns:a");for(var x,S,k=i.querySelectorAll("script"),j=[],G=0,T=k.length;T>G;G++)S=k[G].getAttribute("type"),S&&"application/ecmascript"!==S&&"application/javascript"!==S||(x=k[G].innerText||
162
+ k[G].textContent,j.push(x),i.removeChild(k[G]));if(j.length>0&&("always"===n||"once"===n&&!c[f])){for(var M=0,V=j.length;V>M;M++)(new Function(j[M]))(t);c[f]=!0}var E=i.querySelectorAll("style");o.call(E,function(t){t.textContent+=""}),e.parentNode.replaceChild(i,e),delete s[s.indexOf(e)],e=null,l++,u(i)}))},g=function(t,e,r){e=e||{};var n=e.evalScripts||"always",i=e.pngFallback||!1,a=e.each;if(void 0!==t.length){var l=0;o.call(t,function(e){h(e,n,i,function(e){a&&"function"==typeof a&&a(e),r&&t.length===
163
+ ++l&&r(l)})})}else t?h(t,n,i,function(e){a&&"function"==typeof a&&a(e),r&&r(1),t=null}):r&&r(0)};"object"==typeof module&&"object"==typeof module.exports?module.exports=exports=g:"function"==typeof define&&define.amd?define(function(){return g}):"object"==typeof t&&(t.SVGInjector=g)}(window,document);if(document.getElementById("webcam_"+sid+"_btns_converted").value!="1"){SVGInjector(document.getElementById("webcam_"+sid+"_btns"));document.getElementById("webcam_"+sid+"_btns_converted").value="1"}if(mode==
164
+ "capture video")wfu_webcam_set_nav_status(sid,"idle_only_video");else if(mode=="take photos")wfu_webcam_set_nav_status(sid,"idle_only_pictures");else if(mode=="both")wfu_webcam_set_nav_status(sid,"idle_video_and_pictures");else wfu_webcam_set_nav_status(sid,"idle_only_video")};
165
+ wfu_webcam_set_nav_status=function(sid,status){var onoff=document.getElementById("webcam_"+sid+"_btn_onoff");var nav=document.getElementById("webcam_"+sid+"_nav");var vid=document.getElementById("webcam_"+sid+"_btn_video");var rec=document.getElementById("webcam_"+sid+"_btn_record");var play=document.getElementById("webcam_"+sid+"_btn_play");var stop=document.getElementById("webcam_"+sid+"_btn_stop");var pause=document.getElementById("webcam_"+sid+"_btn_pause");var pos=document.getElementById("webcam_"+
166
+ sid+"_btn_pos");var back=document.getElementById("webcam_"+sid+"_btn_back");var fwd=document.getElementById("webcam_"+sid+"_btn_fwd");var tim=document.getElementById("webcam_"+sid+"_btn_time");var pic=document.getElementById("webcam_"+sid+"_btn_picture");var screenshot=document.getElementById("webcam_"+sid+"_screenshot");onoff.style.display="block";if(status=="hidden")nav.style.display="none";else if(status=="recording"){nav.removeAttribute("style");nav.className="wfu_file_webcam_nav wfu_recording";
167
+ vid.style.display="none";rec.style.display="block";rec.style.visibility="visible";rec.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_record wfu_recording");stop.style.display="block";stop.style.visibility="visible";play.style.display="block";play.style.visibility="hidden";pause.style.display="block";pause.style.visibility="hidden";pos.style.display="block";pos.style.visibility="hidden";back.style.display="block";back.style.visibility="hidden";fwd.style.display="block";fwd.style.visibility=
168
+ "hidden";tim.style.display="block";tim.style.visibility="visible";pic.style.display="none";screenshot.style.display="none"}else if(status=="after_recording"){nav.removeAttribute("style");nav.className="wfu_file_webcam_nav wfu_stream_ready";vid.style.display="block";vid.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_video");rec.style.display="none";stop.style.display="block";stop.style.visibility="hidden";play.style.display="block";play.style.visibility="hidden";pause.style.display=
169
+ "block";pause.style.visibility="hidden";pos.style.display="block";pos.style.visibility="hidden";back.style.display="block";back.style.visibility="hidden";fwd.style.display="block";fwd.style.visibility="hidden";tim.style.display="block";tim.style.visibility="hidden";pic.style.display="none";screenshot.style.display="block"}else if(status=="ready_playback"){nav.removeAttribute("style");nav.className="wfu_file_webcam_nav wfu_stream_ready";vid.style.display="block";vid.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_video");
170
+ rec.style.display="none";stop.style.display="block";stop.style.visibility="hidden";play.style.display="block";play.style.visibility="visible";play.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_play");pause.style.display="block";pause.style.visibility="visible";pause.setAttribute("class","wfu_file_webcam_btn_disabled wfu_file_webcam_btn_pause_disabled");pos.style.display="block";pos.style.visibility="visible";back.style.display="block";back.style.visibility="visible";fwd.style.display=
171
+ "block";fwd.style.visibility="visible";tim.style.display="block";tim.style.visibility="visible";pic.style.display="none";screenshot.style.display="none"}else if(status=="after_screenshot"){nav.removeAttribute("style");nav.className="wfu_file_webcam_nav wfu_stream_ready";vid.style.display="block";vid.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_video");rec.style.display="none";stop.style.display="block";stop.style.visibility="hidden";play.style.display="block";play.style.visibility=
172
+ "hidden";pause.style.display="block";pause.style.visibility="hidden";pos.style.display="block";pos.style.visibility="hidden";back.style.display="block";back.style.visibility="hidden";fwd.style.display="block";fwd.style.visibility="hidden";tim.style.display="block";tim.style.visibility="hidden";pic.style.display="none";screenshot.style.display="block"}else if(status=="playing"){nav.removeAttribute("style");nav.className="wfu_file_webcam_nav wfu_stream_ready";vid.style.display="block";vid.setAttribute("class",
173
+ "wfu_file_webcam_btn_disabled wfu_file_webcam_btn_video_disabled");rec.style.display="none";stop.style.display="block";stop.style.visibility="hidden";play.style.display="block";play.style.visibility="visible";play.setAttribute("class","wfu_file_webcam_btn_disabled wfu_file_webcam_btn_play_disabled");pause.style.display="block";pause.style.visibility="visible";pause.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_pause");pos.style.display="block";pos.style.visibility="visible";back.style.display=
174
+ "block";back.style.visibility="visible";fwd.style.display="block";fwd.style.visibility="visible";tim.style.display="block";tim.style.visibility="visible";pic.style.display="none";screenshot.style.display="none"}else{nav.removeAttribute("style");nav.className="wfu_file_webcam_nav wfu_rec_ready";vid.style.display="none";rec.style.display="none";stop.style.display="none";play.style.display="none";pause.style.display="none";pos.style.display="none";back.style.display="none";fwd.style.display="none";tim.style.display=
175
+ "none";pic.style.display="none";screenshot.style.display="none";if(status=="idle_only_video"||status=="idle_video_and_pictures"){rec.style.display="block";rec.setAttribute("class","wfu_file_webcam_btn wfu_file_webcam_btn_record")}if(status=="idle_only_pictures"||status=="idle_video_and_pictures")pic.style.display="block"}};
176
+ wfu_webcam_counter_status=function(sid,action){if(action=="start"){var d=new Date;window["wfu_webcam_props_"+sid].duration=0;window["wfu_webcam_props_"+sid].timeStart=d.getTime()/1E3;window["wfu_webcam_props_"+sid].counting=true;wfu_webcam_update_counter(sid)}else{var d=new Date;window["wfu_webcam_props_"+sid].duration=d.getTime()/1E3-window["wfu_webcam_props_"+sid].timeStart;window["wfu_webcam_props_"+sid].counting=false}};
177
+ wfu_webcam_update_counter=function(sid){if(window["wfu_webcam_props_"+sid].counting){var d=new Date;var dif=d.getTime()/1E3-window["wfu_webcam_props_"+sid].timeStart;wfu_webcam_update_timer(sid,dif);setTimeout(function(){wfu_webcam_update_counter(sid)},100)}};
178
+ wfu_webcam_update_timer=function(sid,time){var hours=Math.floor(time/3600);time-=hours*3600;var minutes=Math.floor(time/60);time-=minutes*60;var secs=Math.floor(time);var msecs=(time-Math.floor(time))*1E3;document.getElementById("webcam_"+sid+"_btn_time_label").innerHTML=(hours>0?hours+":":"")+(minutes<10?"0":"")+minutes+":"+(secs<10?"0":"")+secs};
179
+ wfu_webcam_onoff=function(sid){if(window["wfu_webcam_props_"+sid].active){var container=document.getElementById("webcam_"+sid+"_inner");var video=document.getElementById("webcam_"+sid+"_box");var webcamoff=document.getElementById("webcam_"+sid+"_webcamoff");var img=document.getElementById("webcam_"+sid+"_webcamoff_img");img.style.width=container.clientWidth+"px";img.style.height=container.clientHeight+"px";video.pause();video.src="";video.load();if(window["wfu_webcam_props_"+sid].stream&&window["wfu_webcam_props_"+
180
+ sid].stream.stop)window["wfu_webcam_props_"+sid].stream.stop();window["wfu_webcam_props_"+sid].stream=null;window["wfu_webcam_props_"+sid].media=null;window["wfu_webcam_props_"+sid].blobs=null;wfu_webcam_set_nav_status(sid,"hidden");video.style.display="none";document.getElementById("webcam_"+sid+"_screenshot").src="";webcamoff.style.display="block";window["wfu_webcam_props_"+sid].active=false}else wfu_reinitialize_webcam(sid);wfu_selectbutton_clicked(sid)};
181
+ wfu_webcam_golive=function(sid){if(window["wfu_webcam_props_"+sid].playing)return;wfu_reinitialize_webcam(sid);wfu_add_files(sid,[],false);wfu_selectbutton_clicked(sid);wfu_update_uploadbutton_status(sid)};
182
+ wfu_webcam_start_rec=function(sid){if(window["wfu_webcam_props_"+sid].media&&window["wfu_webcam_props_"+sid].media.state&&window["wfu_webcam_props_"+sid].media.state=="recording")return;try{window["wfu_webcam_props_"+sid].media=new MediaRecorder(window["wfu_webcam_props_"+sid].stream)}catch(err){alert(document.getElementById("webcam_"+sid+"_video_notsupported").value);return}window["wfu_webcam_props_"+sid].blobs=[];window["wfu_webcam_props_"+sid].media.ondataavailable=function(e){var d=new Date;var dif=
183
+ d.getTime()/1E3-window["wfu_webcam_props_"+sid].timeStart;if(window["wfu_webcam_props_"+sid].maxrecordtime==-1||window["wfu_webcam_props_"+sid].maxrecordtime>0&&dif<=window["wfu_webcam_props_"+sid].maxrecordtime){if(e.data&&e.data.size>0)window["wfu_webcam_props_"+sid].blobs.push(e.data)}else wfu_webcam_stop_rec(sid)};wfu_webcam_set_nav_status(sid,"recording");wfu_webcam_counter_status(sid,"start");window["wfu_webcam_props_"+sid].media.onstop=function(e){wfu_webcam_counter_status(sid,"stop");wfu_webcam_set_nav_status(sid,
184
+ "after_recording");wfu_webcam_onstop(e,sid)};window["wfu_webcam_props_"+sid].media.start(10)};wfu_webcam_stop_rec=function(sid){window["wfu_webcam_props_"+sid].media.stop()};
185
+ wfu_webcam_onstop=function(e,sid){if(window["wfu_webcam_props_"+sid].blobs.length==0){alert(document.getElementById("webcam_"+sid+"_video_nothingrecorded").value);wfu_webcam_golive(sid)}else{var video=document.getElementById("webcam_"+sid+"_box");var canvas=document.getElementById("webcam_"+sid+"_canvas");var screenshot=document.getElementById("webcam_"+sid+"_screenshot");if(window["wfu_webcam_props_"+sid].stream){canvas.width=video.clientWidth;canvas.height=video.clientHeight;var ctx=canvas.getContext("2d");
186
+ ctx.drawImage(video,0,0,video.clientWidth,video.clientHeight);screenshot.src=canvas.toDataURL("image/webp")}var superBuffer=new Blob(window["wfu_webcam_props_"+sid].blobs,{type:"video/mp4"});video.autoplay=false;video.ontimeupdate=function(e){wfu_webcam_update_pos(sid)};video.onended=function(e){wfu_webcam_ended(sid)};video.onloadeddata=function(e){if(video.readyState>=2)wfu_webcam_set_nav_status(sid,"ready_playback")};video.onerror=function(e){video.onloadeddata=null;video.src=window.URL.createObjectURL(window["wfu_webcam_props_"+
187
+ sid].stream)};video.src=window.URL.createObjectURL(superBuffer);superBuffer.name="video.mp4";wfu_add_files(sid,[{file:superBuffer,props:{}}],false);wfu_update_uploadbutton_status(sid)}};wfu_webcam_play=function(sid){if(window["wfu_webcam_props_"+sid].playing)return;var video=document.getElementById("webcam_"+sid+"_box");wfu_webcam_set_nav_status(sid,"playing");window["wfu_webcam_props_"+sid].playing=true;video.play()};
188
+ wfu_webcam_ended=function(sid){var video=document.getElementById("webcam_"+sid+"_box");video.src=video.src;wfu_webcam_set_nav_status(sid,"ready_playback");window["wfu_webcam_props_"+sid].playing=false};wfu_webcam_pause=function(sid){var video=document.getElementById("webcam_"+sid+"_box");video.pause();wfu_webcam_set_nav_status(sid,"ready_playback");window["wfu_webcam_props_"+sid].playing=false};
189
+ wfu_webcam_back=function(sid){var video=document.getElementById("webcam_"+sid+"_box");video.src=video.src;video.currentTime=0};wfu_webcam_fwd=function(sid){var video=document.getElementById("webcam_"+sid+"_box");video.currentTime=isFinite(video.duration)?video.duration:window["wfu_webcam_props_"+sid].duration*2};
190
+ wfu_webcam_take_picture=function(sid){var video=document.getElementById("webcam_"+sid+"_box");var canvas=document.getElementById("webcam_"+sid+"_canvas");var screenshot=document.getElementById("webcam_"+sid+"_screenshot");if(window["wfu_webcam_props_"+sid].stream){canvas.width=video.clientWidth;canvas.height=video.clientHeight;var ctx=canvas.getContext("2d");ctx.drawImage(video,0,0,video.clientWidth,video.clientHeight);screenshot.src=canvas.toDataURL("image/webp");wfu_webcam_set_nav_status(sid,"after_screenshot");
191
+ if(!window["wfu_toBlob_function_initialized"]){!function(t){var e=t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype,o=t.Blob&&function(){try{return Boolean(new Blob)}catch(t$5){return!1}}(),n=o&&t.Uint8Array&&function(){try{return 100===(new Blob([new Uint8Array(100)])).size}catch(t$6){return!1}}(),r=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder,a=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,i=(o||r)&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&function(t){var e,i,l,u,b,c,d,B,f;if(e=
192
+ t.match(a),!e)throw new Error("invalid data URI");for(i=e[2]?e[1]:"text/plain"+(e[3]||";charset=US-ASCII"),l=!!e[4],u=t.slice(e[0].length),b=l?atob(u):decodeURIComponent(u),c=new ArrayBuffer(b.length),d=new Uint8Array(c),B=0;B<b.length;B+=1)d[B]=b.charCodeAt(B);return o?new Blob([n?d:c],{type:i}):(f=new r,f.append(c),f.getBlob(i))};t.HTMLCanvasElement&&!e.toBlob&&(e.mozGetAsFile?e.toBlob=function(t,o,n){t(n&&e.toDataURL&&i?i(this.toDataURL(o,n)):this.mozGetAsFile("blob",o))}:e.toDataURL&&i&&(e.toBlob=
193
+ function(t,e,o){t(i(this.toDataURL(e,o)))})),"function"==typeof define&&define.amd?define(function(){return i}):"object"==typeof module&&module.exports?module.exports=i:t.dataURLtoBlob=i}(window);window["wfu_toBlob_function_initialized"]=true}if(canvas.toBlob)canvas.toBlob(function(blob){blob.name="image.png";wfu_add_files(sid,[{file:blob,props:{}}],false);wfu_update_uploadbutton_status(sid)},"image/png")}};
194
+ wfu_webcam_update_pos=function(sid){var video=document.getElementById("webcam_"+sid+"_box");var pointer=document.getElementById("webcam_"+sid+"_btn_pointer");var duration=isFinite(video.duration)?video.duration:window["wfu_webcam_props_"+sid].duration;var pos=Math.round(video.currentTime/duration*100);pointer.style.left=pos+"%";wfu_webcam_update_timer(sid,video.currentTime)};
languages/wp-file-upload-de_DE.mo CHANGED
Binary file
languages/wp-file-upload-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:20+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:20+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: de_DE\n"
@@ -317,7 +317,7 @@ msgstr ""
317
  "Hochladen fehlgeschlagen! Es sind Fehler beim Versuch, die Datei hochzuladen "
318
  "aufgetreten."
319
 
320
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
321
  msgid "Upload failed!"
322
  msgstr "Hochladen fehlgeschlagen!"
323
 
@@ -700,8 +700,20 @@ msgid ""
700
  "Thanks"
701
  msgstr ""
702
 
 
 
 
 
 
 
703
  #: lib/wfu_constants.php:148
704
  msgid ""
 
 
 
 
 
 
705
  "Failed to add the shortcode to the page/post. Please try again. If the "
706
  "message persists, contact administrator."
707
  msgstr ""
@@ -709,7 +721,7 @@ msgstr ""
709
  "versuche es erneut. Wenn die Meldung weiterhin, wenden Sie sich "
710
  "Administrator."
711
 
712
- #: lib/wfu_constants.php:149
713
  msgid ""
714
  "Failed to edit the shortcode because the contents of the page changed. Try "
715
  "again to edit the shortcode."
@@ -717,7 +729,7 @@ msgstr ""
717
  "Der Shortcode konnte nicht bearbeitet, da sich der Inhalt der Seite geändert "
718
  "hat. Versuchen Sie erneut den Shortcode zu bearbeiten."
719
 
720
- #: lib/wfu_constants.php:150
721
  msgid ""
722
  "Failed to delete the shortcode because the contents of the page changed. Try "
723
  "again to delete it."
@@ -725,7 +737,7 @@ msgstr ""
725
  "Der Shortcode konnte nicht gelöscht werden, da sich der Inhalt der Seite "
726
  "geändert hat. Versuchen Sie erneut den Shortcode zu löschen."
727
 
728
- #: lib/wfu_constants.php:151
729
  msgid ""
730
  "The page containing the shortcode has been modified and it is no longer "
731
  "valid. Please go back to reload the shortcode."
@@ -733,7 +745,7 @@ msgstr ""
733
  "Die Seite mit dem Shortcode wurde modifiziert und ist nicht mehr gültig. "
734
  "Bitte gehen Sie zurück um zu den Shortcode zu laden."
735
 
736
- #: lib/wfu_constants.php:152
737
  msgid ""
738
  "Failed to update the shortcode because the contents of the page changed. Go "
739
  "back to reload the shortcode."
@@ -741,7 +753,7 @@ msgstr ""
741
  "Der Shortcode konnte nicht aktualisiert werden, da sich der Inhalt der Seite "
742
  "geändert geändert hat. Gehen Sie zurück um zu den Shortcode neu zu laden."
743
 
744
- #: lib/wfu_constants.php:153
745
  msgid ""
746
  "Failed to update the shortcode. Please try again. If the problem persists, "
747
  "go back and reload the shortcode."
@@ -750,39 +762,39 @@ msgstr ""
750
  "Wenn das Problem weiterhin besteht, gehen Sie zurück und laden Sie den "
751
  "Shortcode neu."
752
 
753
- #: lib/wfu_constants.php:155
754
  msgid "This is a test message"
755
  msgstr "This is a test message"
756
 
757
- #: lib/wfu_constants.php:156
758
  msgid "This is a test administrator message"
759
  msgstr "Dies ist eine Test-Admin-Nachricht"
760
 
761
- #: lib/wfu_constants.php:157
762
  msgid "File testfile 1 under test"
763
  msgstr "Datei testfile 1 wird getestet"
764
 
765
- #: lib/wfu_constants.php:158
766
  msgid "File testfile 1 message"
767
  msgstr "Datei testfile 1 Nachricht"
768
 
769
- #: lib/wfu_constants.php:159
770
  msgid "File testfile 1 administrator message"
771
  msgstr "Datei testfile 1 Admin-Nachricht"
772
 
773
- #: lib/wfu_constants.php:160
774
  msgid "File testfile 2 under test"
775
  msgstr "File testfile 2 wird getestet"
776
 
777
- #: lib/wfu_constants.php:161
778
  msgid "File testfile 2 message"
779
  msgstr "Datei testfile 2 Nachricht"
780
 
781
- #: lib/wfu_constants.php:162
782
  msgid "File testfile 2 administrator message"
783
  msgstr "Datei testfile 2 Admin-Nachricht"
784
 
785
- #: lib/wfu_constants.php:164
786
  msgid ""
787
  "Insert variable %userid% inside text. It will be replaced by the id of the "
788
  "current user."
@@ -790,7 +802,7 @@ msgstr ""
790
  "Fügen Sie die Variable %userid% in den Text ein. Sie wird durch die ID des "
791
  "aktuellen Benutzers ersetzt."
792
 
793
- #: lib/wfu_constants.php:165
794
  msgid ""
795
  "Insert variable %username% inside text. It will be replaced by the username "
796
  "of the current user."
@@ -798,7 +810,7 @@ msgstr ""
798
  "Fügen Sie die Variable %username% in den Text ein. Sie wird durch den "
799
  "Benutzernamen des aktuellen Benutzers ersetzt."
800
 
801
- #: lib/wfu_constants.php:166
802
  msgid ""
803
  "Insert variable %useremail% inside text. It will be replaced by the email of "
804
  "the current user."
@@ -806,7 +818,7 @@ msgstr ""
806
  "Fügen Sie die Variable %useremail% in den Text ein. Sie wird durch die E-"
807
  "Mail-Adresse des aktuellen Benutzers ersetzt."
808
 
809
- #: lib/wfu_constants.php:167
810
  msgid ""
811
  "Insert variable %filename% inside text. It will be replaced by the filename "
812
  "of the uploaded file."
@@ -814,7 +826,7 @@ msgstr ""
814
  "Fügen Sie die Variable %filename% in den Text. Sie wird durch den Dateinamen "
815
  "der hochgeladenen Dateien ersetzt."
816
 
817
- #: lib/wfu_constants.php:168
818
  msgid ""
819
  "Insert variable %filepath% inside text. It will be replaced by the full "
820
  "filepath of the uploaded file."
@@ -822,7 +834,7 @@ msgstr ""
822
  "Fügen Sie die Variable %filepath% in den Text ein. Sie wird durch die "
823
  "vollständige Dateipfad der hochgeladenen Dateien ersetzt."
824
 
825
- #: lib/wfu_constants.php:169
826
  msgid ""
827
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
828
  "the website."
@@ -830,7 +842,7 @@ msgstr ""
830
  "Fügen Sie die Variable %blogid% in den Text ein. Sie wird durch die Blog-ID "
831
  "der Website ersetzt werden."
832
 
833
- #: lib/wfu_constants.php:170
834
  msgid ""
835
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
836
  "current page."
@@ -838,7 +850,7 @@ msgstr ""
838
  "Fügen Sie die Variable %pageid% in den Text ein. Sie wird durch die ID der "
839
  "aktuellen Seite ersetzt."
840
 
841
- #: lib/wfu_constants.php:171
842
  msgid ""
843
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
844
  "the current page."
@@ -846,7 +858,7 @@ msgstr ""
846
  "Fügen Sie die Variable %pagetitle% in den Text ein. Sie wird durch dden "
847
  "Title des aktuellen Benutzers ersetzt."
848
 
849
- #: lib/wfu_constants.php:172
850
  msgid ""
851
  "Insert variable %userdataXXX% inside text. Select the user field from the "
852
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -856,199 +868,199 @@ msgstr ""
856
  "Feld \"Benutzer\" aus der Dropdown Liste. Die Variable wird durch den Wert "
857
  "ersetzt, die der Benutzer in dieses Feld eingetragen hat."
858
 
859
- #: lib/wfu_constants.php:173
860
  msgid "Insert variable %n% inside text to denote a line change."
861
  msgstr ""
862
  "Fügen Sie die Variable %n% in den Text ein, um eine Änderung der Zeile zu "
863
  "kennzeichnen."
864
 
865
- #: lib/wfu_constants.php:175
866
  msgid "Test Mode"
867
  msgstr "Test Modus"
868
 
869
- #: lib/wfu_constants.php:176
870
  msgid "select dir..."
871
  msgstr "Wählen Sie das Verzeichnis ..."
872
 
873
- #: lib/wfu_constants.php:177
874
  msgid "type dir"
875
  msgstr "Geben Sie das Verzeichnis ein"
876
 
877
- #: lib/wfu_constants.php:178
878
  msgid "Upload path: %filepath%"
879
  msgstr "Upload-Pfad: %filepath%"
880
 
881
- #: lib/wfu_constants.php:179
882
  msgid "Failed upload path: %filepath%"
883
  msgstr "Fehlerhafter Upload-Pfad: %filepath%"
884
 
885
- #: lib/wfu_constants.php:180
886
  msgid " (required)"
887
  msgstr "(erforderlich)"
888
 
889
- #: lib/wfu_constants.php:181
890
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
891
  msgstr ""
892
  "Dateien werden hochgeladen wird. Sind Sie sicher, dass Sie die Seite "
893
  "verlassen wollen?"
894
 
895
- #: lib/wfu_constants.php:182
896
  msgid "checking captcha..."
897
  msgstr "Prüfung captcha..."
898
 
899
- #: lib/wfu_constants.php:183
900
  msgid "refreshing..."
901
  msgstr "erfrischend..."
902
 
903
- #: lib/wfu_constants.php:184
904
  msgid "correct captcha"
905
  msgstr "korrekte captcha"
906
 
907
- #: lib/wfu_constants.php:185
908
  msgid "click to continue the upload"
909
  msgstr "Klicken Sie, um das Hochladen fortsetzen"
910
 
911
- #: lib/wfu_constants.php:186
912
  msgid "Are you sure you want to delete this file?"
913
  msgstr "Sind sie sicher, das sie diese datei löschen wollen?"
914
 
915
- #: lib/wfu_constants.php:187
916
  msgid "Are you sure you want to delete these files?"
917
  msgstr ""
918
 
919
- #: lib/wfu_constants.php:188
920
  msgid "Bulk Actions"
921
  msgstr ""
922
 
923
- #: lib/wfu_constants.php:189
924
  msgid "Apply"
925
  msgstr ""
926
 
927
- #: lib/wfu_constants.php:190
928
  msgid "Are you sure that you want to cancel the upload?"
929
  msgstr ""
930
 
931
- #: lib/wfu_constants.php:191
932
  msgid "cancel upload of this file"
933
  msgstr ""
934
 
935
- #: lib/wfu_constants.php:192
936
  msgid "Upload in progress"
937
  msgstr "Upload läuft"
938
 
939
- #: lib/wfu_constants.php:193
940
  msgid "Upload in progress with warnings!"
941
  msgstr "Upload läuft mit Warnhinweisen!"
942
 
943
- #: lib/wfu_constants.php:194
944
  msgid "Upload in progress but some files already failed!"
945
  msgstr "Upload läuft, aber einige Dateien bereits gescheitert!"
946
 
947
- #: lib/wfu_constants.php:195
948
  msgid "Upload in progress but no files uploaded so far!"
949
  msgstr "Upload läuft aber keine Dateien hochgeladen bis jetzt!"
950
 
951
- #: lib/wfu_constants.php:196
952
  msgid "All files uploaded successfully"
953
  msgstr "Alle Dateien erfolgreich hochgeladen"
954
 
955
- #: lib/wfu_constants.php:197
956
  msgid "All files uploaded successfully but there are warnings!"
957
  msgstr "Alle Dateien erfolgreich hochgeladen, aber es gibt Warnhinweise!"
958
 
959
- #: lib/wfu_constants.php:198
960
  msgid "File uploaded successfully but there are warnings!"
961
  msgstr "Datei erfolgreich hochgeladen, aber es gibt Warnhinweise!"
962
 
963
- #: lib/wfu_constants.php:199
964
  msgid "Some files failed to upload!"
965
  msgstr "Einige Dateien konnten nicht hochgeladen werden!"
966
 
967
- #: lib/wfu_constants.php:200
968
  msgid "All files failed to upload"
969
  msgstr "Alle Dateien konnten nicht hochgeladen werden"
970
 
971
- #: lib/wfu_constants.php:201
972
  msgid "File failed to upload"
973
  msgstr "Datei konnte nicht hochgeladen werden"
974
 
975
- #: lib/wfu_constants.php:202
976
  msgid "There are no files to upload!"
977
  msgstr "Es gibt keine Dateien zum Hochladen!"
978
 
979
- #: lib/wfu_constants.php:203
980
  msgid "Test upload message"
981
  msgstr "Test-Upload-Nachricht"
982
 
983
- #: lib/wfu_constants.php:204
984
  msgid "JSON parse warning!"
985
  msgstr "JSON parse Warnung!"
986
 
987
- #: lib/wfu_constants.php:205
988
  msgid "please wait while redirecting..."
989
  msgstr "Bitte warten Sie, Sie werden umgeleitet ..."
990
 
991
- #: lib/wfu_constants.php:207
992
  msgid "Open visual shortcode editor in new window"
993
  msgstr "Offenen des visuellen Shortcode-Editor in neuem Fenster"
994
 
995
- #: lib/wfu_constants.php:208
996
  msgid "loading visual editor"
997
  msgstr "visueller Editor laden"
998
 
999
- #: lib/wfu_constants.php:209
1000
  msgid "Clear file list?"
1001
  msgstr "Klar Dateiliste?"
1002
 
1003
- #: lib/wfu_constants.php:210
1004
  msgid "DROP HERE"
1005
  msgstr "HIER ABLEGEN"
1006
 
1007
- #: lib/wfu_constants.php:212
1008
  msgid "record video"
1009
  msgstr ""
1010
 
1011
- #: lib/wfu_constants.php:213
1012
  msgid "take a picture"
1013
  msgstr ""
1014
 
1015
- #: lib/wfu_constants.php:214
1016
  msgid "turn webcam on/off"
1017
  msgstr ""
1018
 
1019
- #: lib/wfu_constants.php:215
1020
  msgid "go live again"
1021
  msgstr ""
1022
 
1023
- #: lib/wfu_constants.php:216
1024
  msgid "end recording"
1025
  msgstr ""
1026
 
1027
- #: lib/wfu_constants.php:217
1028
  msgid "play"
1029
  msgstr ""
1030
 
1031
- #: lib/wfu_constants.php:218
1032
  msgid "pause"
1033
  msgstr ""
1034
 
1035
- #: lib/wfu_constants.php:219
1036
  msgid "go to the beginning"
1037
  msgstr ""
1038
 
1039
- #: lib/wfu_constants.php:220
1040
  msgid "go to the end"
1041
  msgstr ""
1042
 
1043
- #: lib/wfu_constants.php:222
1044
  msgid "Wordpress File Upload Form"
1045
  msgstr "Wordpress Datei Upload Formular"
1046
 
1047
- #: lib/wfu_constants.php:223
1048
  msgid "Wordpress File Upload plugin uploader for sidebars"
1049
  msgstr "Wordpress Datei Upload Plugin Uploader für Seitenleisten"
1050
 
1051
- #: lib/wfu_constants.php:224
1052
  msgid "Upload Files"
1053
  msgstr "Dateien hochladen"
1054
 
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:46+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:46+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: de_DE\n"
317
  "Hochladen fehlgeschlagen! Es sind Fehler beim Versuch, die Datei hochzuladen "
318
  "aufgetreten."
319
 
320
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
321
  msgid "Upload failed!"
322
  msgstr "Hochladen fehlgeschlagen!"
323
 
700
  "Thanks"
701
  msgstr ""
702
 
703
+ #: lib/wfu_constants.php:147
704
+ msgid ""
705
+ "You have activated an alternative insecure Iptanus Services Server. For "
706
+ "details please contact info@iptanus.com."
707
+ msgstr ""
708
+
709
  #: lib/wfu_constants.php:148
710
  msgid ""
711
+ "Iptanus Services Server is unreachable. This may cause problems in some "
712
+ "plugin functions. Please contact info@iptanus.com for details."
713
+ msgstr ""
714
+
715
+ #: lib/wfu_constants.php:150
716
+ msgid ""
717
  "Failed to add the shortcode to the page/post. Please try again. If the "
718
  "message persists, contact administrator."
719
  msgstr ""
721
  "versuche es erneut. Wenn die Meldung weiterhin, wenden Sie sich "
722
  "Administrator."
723
 
724
+ #: lib/wfu_constants.php:151
725
  msgid ""
726
  "Failed to edit the shortcode because the contents of the page changed. Try "
727
  "again to edit the shortcode."
729
  "Der Shortcode konnte nicht bearbeitet, da sich der Inhalt der Seite geändert "
730
  "hat. Versuchen Sie erneut den Shortcode zu bearbeiten."
731
 
732
+ #: lib/wfu_constants.php:152
733
  msgid ""
734
  "Failed to delete the shortcode because the contents of the page changed. Try "
735
  "again to delete it."
737
  "Der Shortcode konnte nicht gelöscht werden, da sich der Inhalt der Seite "
738
  "geändert hat. Versuchen Sie erneut den Shortcode zu löschen."
739
 
740
+ #: lib/wfu_constants.php:153
741
  msgid ""
742
  "The page containing the shortcode has been modified and it is no longer "
743
  "valid. Please go back to reload the shortcode."
745
  "Die Seite mit dem Shortcode wurde modifiziert und ist nicht mehr gültig. "
746
  "Bitte gehen Sie zurück um zu den Shortcode zu laden."
747
 
748
+ #: lib/wfu_constants.php:154
749
  msgid ""
750
  "Failed to update the shortcode because the contents of the page changed. Go "
751
  "back to reload the shortcode."
753
  "Der Shortcode konnte nicht aktualisiert werden, da sich der Inhalt der Seite "
754
  "geändert geändert hat. Gehen Sie zurück um zu den Shortcode neu zu laden."
755
 
756
+ #: lib/wfu_constants.php:155
757
  msgid ""
758
  "Failed to update the shortcode. Please try again. If the problem persists, "
759
  "go back and reload the shortcode."
762
  "Wenn das Problem weiterhin besteht, gehen Sie zurück und laden Sie den "
763
  "Shortcode neu."
764
 
765
+ #: lib/wfu_constants.php:157
766
  msgid "This is a test message"
767
  msgstr "This is a test message"
768
 
769
+ #: lib/wfu_constants.php:158
770
  msgid "This is a test administrator message"
771
  msgstr "Dies ist eine Test-Admin-Nachricht"
772
 
773
+ #: lib/wfu_constants.php:159
774
  msgid "File testfile 1 under test"
775
  msgstr "Datei testfile 1 wird getestet"
776
 
777
+ #: lib/wfu_constants.php:160
778
  msgid "File testfile 1 message"
779
  msgstr "Datei testfile 1 Nachricht"
780
 
781
+ #: lib/wfu_constants.php:161
782
  msgid "File testfile 1 administrator message"
783
  msgstr "Datei testfile 1 Admin-Nachricht"
784
 
785
+ #: lib/wfu_constants.php:162
786
  msgid "File testfile 2 under test"
787
  msgstr "File testfile 2 wird getestet"
788
 
789
+ #: lib/wfu_constants.php:163
790
  msgid "File testfile 2 message"
791
  msgstr "Datei testfile 2 Nachricht"
792
 
793
+ #: lib/wfu_constants.php:164
794
  msgid "File testfile 2 administrator message"
795
  msgstr "Datei testfile 2 Admin-Nachricht"
796
 
797
+ #: lib/wfu_constants.php:166
798
  msgid ""
799
  "Insert variable %userid% inside text. It will be replaced by the id of the "
800
  "current user."
802
  "Fügen Sie die Variable %userid% in den Text ein. Sie wird durch die ID des "
803
  "aktuellen Benutzers ersetzt."
804
 
805
+ #: lib/wfu_constants.php:167
806
  msgid ""
807
  "Insert variable %username% inside text. It will be replaced by the username "
808
  "of the current user."
810
  "Fügen Sie die Variable %username% in den Text ein. Sie wird durch den "
811
  "Benutzernamen des aktuellen Benutzers ersetzt."
812
 
813
+ #: lib/wfu_constants.php:168
814
  msgid ""
815
  "Insert variable %useremail% inside text. It will be replaced by the email of "
816
  "the current user."
818
  "Fügen Sie die Variable %useremail% in den Text ein. Sie wird durch die E-"
819
  "Mail-Adresse des aktuellen Benutzers ersetzt."
820
 
821
+ #: lib/wfu_constants.php:169
822
  msgid ""
823
  "Insert variable %filename% inside text. It will be replaced by the filename "
824
  "of the uploaded file."
826
  "Fügen Sie die Variable %filename% in den Text. Sie wird durch den Dateinamen "
827
  "der hochgeladenen Dateien ersetzt."
828
 
829
+ #: lib/wfu_constants.php:170
830
  msgid ""
831
  "Insert variable %filepath% inside text. It will be replaced by the full "
832
  "filepath of the uploaded file."
834
  "Fügen Sie die Variable %filepath% in den Text ein. Sie wird durch die "
835
  "vollständige Dateipfad der hochgeladenen Dateien ersetzt."
836
 
837
+ #: lib/wfu_constants.php:171
838
  msgid ""
839
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
840
  "the website."
842
  "Fügen Sie die Variable %blogid% in den Text ein. Sie wird durch die Blog-ID "
843
  "der Website ersetzt werden."
844
 
845
+ #: lib/wfu_constants.php:172
846
  msgid ""
847
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
848
  "current page."
850
  "Fügen Sie die Variable %pageid% in den Text ein. Sie wird durch die ID der "
851
  "aktuellen Seite ersetzt."
852
 
853
+ #: lib/wfu_constants.php:173
854
  msgid ""
855
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
856
  "the current page."
858
  "Fügen Sie die Variable %pagetitle% in den Text ein. Sie wird durch dden "
859
  "Title des aktuellen Benutzers ersetzt."
860
 
861
+ #: lib/wfu_constants.php:174
862
  msgid ""
863
  "Insert variable %userdataXXX% inside text. Select the user field from the "
864
  "drop-down list. It will be replaced by the value that the user entered in "
868
  "Feld \"Benutzer\" aus der Dropdown Liste. Die Variable wird durch den Wert "
869
  "ersetzt, die der Benutzer in dieses Feld eingetragen hat."
870
 
871
+ #: lib/wfu_constants.php:175
872
  msgid "Insert variable %n% inside text to denote a line change."
873
  msgstr ""
874
  "Fügen Sie die Variable %n% in den Text ein, um eine Änderung der Zeile zu "
875
  "kennzeichnen."
876
 
877
+ #: lib/wfu_constants.php:177
878
  msgid "Test Mode"
879
  msgstr "Test Modus"
880
 
881
+ #: lib/wfu_constants.php:178
882
  msgid "select dir..."
883
  msgstr "Wählen Sie das Verzeichnis ..."
884
 
885
+ #: lib/wfu_constants.php:179
886
  msgid "type dir"
887
  msgstr "Geben Sie das Verzeichnis ein"
888
 
889
+ #: lib/wfu_constants.php:180
890
  msgid "Upload path: %filepath%"
891
  msgstr "Upload-Pfad: %filepath%"
892
 
893
+ #: lib/wfu_constants.php:181
894
  msgid "Failed upload path: %filepath%"
895
  msgstr "Fehlerhafter Upload-Pfad: %filepath%"
896
 
897
+ #: lib/wfu_constants.php:182
898
  msgid " (required)"
899
  msgstr "(erforderlich)"
900
 
901
+ #: lib/wfu_constants.php:183
902
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
903
  msgstr ""
904
  "Dateien werden hochgeladen wird. Sind Sie sicher, dass Sie die Seite "
905
  "verlassen wollen?"
906
 
907
+ #: lib/wfu_constants.php:184
908
  msgid "checking captcha..."
909
  msgstr "Prüfung captcha..."
910
 
911
+ #: lib/wfu_constants.php:185
912
  msgid "refreshing..."
913
  msgstr "erfrischend..."
914
 
915
+ #: lib/wfu_constants.php:186
916
  msgid "correct captcha"
917
  msgstr "korrekte captcha"
918
 
919
+ #: lib/wfu_constants.php:187
920
  msgid "click to continue the upload"
921
  msgstr "Klicken Sie, um das Hochladen fortsetzen"
922
 
923
+ #: lib/wfu_constants.php:188
924
  msgid "Are you sure you want to delete this file?"
925
  msgstr "Sind sie sicher, das sie diese datei löschen wollen?"
926
 
927
+ #: lib/wfu_constants.php:189
928
  msgid "Are you sure you want to delete these files?"
929
  msgstr ""
930
 
931
+ #: lib/wfu_constants.php:190
932
  msgid "Bulk Actions"
933
  msgstr ""
934
 
935
+ #: lib/wfu_constants.php:191
936
  msgid "Apply"
937
  msgstr ""
938
 
939
+ #: lib/wfu_constants.php:192
940
  msgid "Are you sure that you want to cancel the upload?"
941
  msgstr ""
942
 
943
+ #: lib/wfu_constants.php:193
944
  msgid "cancel upload of this file"
945
  msgstr ""
946
 
947
+ #: lib/wfu_constants.php:194
948
  msgid "Upload in progress"
949
  msgstr "Upload läuft"
950
 
951
+ #: lib/wfu_constants.php:195
952
  msgid "Upload in progress with warnings!"
953
  msgstr "Upload läuft mit Warnhinweisen!"
954
 
955
+ #: lib/wfu_constants.php:196
956
  msgid "Upload in progress but some files already failed!"
957
  msgstr "Upload läuft, aber einige Dateien bereits gescheitert!"
958
 
959
+ #: lib/wfu_constants.php:197
960
  msgid "Upload in progress but no files uploaded so far!"
961
  msgstr "Upload läuft aber keine Dateien hochgeladen bis jetzt!"
962
 
963
+ #: lib/wfu_constants.php:198
964
  msgid "All files uploaded successfully"
965
  msgstr "Alle Dateien erfolgreich hochgeladen"
966
 
967
+ #: lib/wfu_constants.php:199
968
  msgid "All files uploaded successfully but there are warnings!"
969
  msgstr "Alle Dateien erfolgreich hochgeladen, aber es gibt Warnhinweise!"
970
 
971
+ #: lib/wfu_constants.php:200
972
  msgid "File uploaded successfully but there are warnings!"
973
  msgstr "Datei erfolgreich hochgeladen, aber es gibt Warnhinweise!"
974
 
975
+ #: lib/wfu_constants.php:201
976
  msgid "Some files failed to upload!"
977
  msgstr "Einige Dateien konnten nicht hochgeladen werden!"
978
 
979
+ #: lib/wfu_constants.php:202
980
  msgid "All files failed to upload"
981
  msgstr "Alle Dateien konnten nicht hochgeladen werden"
982
 
983
+ #: lib/wfu_constants.php:203
984
  msgid "File failed to upload"
985
  msgstr "Datei konnte nicht hochgeladen werden"
986
 
987
+ #: lib/wfu_constants.php:204
988
  msgid "There are no files to upload!"
989
  msgstr "Es gibt keine Dateien zum Hochladen!"
990
 
991
+ #: lib/wfu_constants.php:205
992
  msgid "Test upload message"
993
  msgstr "Test-Upload-Nachricht"
994
 
995
+ #: lib/wfu_constants.php:206
996
  msgid "JSON parse warning!"
997
  msgstr "JSON parse Warnung!"
998
 
999
+ #: lib/wfu_constants.php:207
1000
  msgid "please wait while redirecting..."
1001
  msgstr "Bitte warten Sie, Sie werden umgeleitet ..."
1002
 
1003
+ #: lib/wfu_constants.php:209
1004
  msgid "Open visual shortcode editor in new window"
1005
  msgstr "Offenen des visuellen Shortcode-Editor in neuem Fenster"
1006
 
1007
+ #: lib/wfu_constants.php:210
1008
  msgid "loading visual editor"
1009
  msgstr "visueller Editor laden"
1010
 
1011
+ #: lib/wfu_constants.php:211
1012
  msgid "Clear file list?"
1013
  msgstr "Klar Dateiliste?"
1014
 
1015
+ #: lib/wfu_constants.php:212
1016
  msgid "DROP HERE"
1017
  msgstr "HIER ABLEGEN"
1018
 
1019
+ #: lib/wfu_constants.php:214
1020
  msgid "record video"
1021
  msgstr ""
1022
 
1023
+ #: lib/wfu_constants.php:215
1024
  msgid "take a picture"
1025
  msgstr ""
1026
 
1027
+ #: lib/wfu_constants.php:216
1028
  msgid "turn webcam on/off"
1029
  msgstr ""
1030
 
1031
+ #: lib/wfu_constants.php:217
1032
  msgid "go live again"
1033
  msgstr ""
1034
 
1035
+ #: lib/wfu_constants.php:218
1036
  msgid "end recording"
1037
  msgstr ""
1038
 
1039
+ #: lib/wfu_constants.php:219
1040
  msgid "play"
1041
  msgstr ""
1042
 
1043
+ #: lib/wfu_constants.php:220
1044
  msgid "pause"
1045
  msgstr ""
1046
 
1047
+ #: lib/wfu_constants.php:221
1048
  msgid "go to the beginning"
1049
  msgstr ""
1050
 
1051
+ #: lib/wfu_constants.php:222
1052
  msgid "go to the end"
1053
  msgstr ""
1054
 
1055
+ #: lib/wfu_constants.php:224
1056
  msgid "Wordpress File Upload Form"
1057
  msgstr "Wordpress Datei Upload Formular"
1058
 
1059
+ #: lib/wfu_constants.php:225
1060
  msgid "Wordpress File Upload plugin uploader for sidebars"
1061
  msgstr "Wordpress Datei Upload Plugin Uploader für Seitenleisten"
1062
 
1063
+ #: lib/wfu_constants.php:226
1064
  msgid "Upload Files"
1065
  msgstr "Dateien hochladen"
1066
 
languages/wp-file-upload-el_GR.mo CHANGED
Binary file
languages/wp-file-upload-el_GR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:20+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:31+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: el\n"
@@ -318,7 +318,7 @@ msgid "Upload failed! Error occured while attemting to upload the file."
318
  msgstr ""
319
  "Η αποστολή απέτυχε! Συνέβη κάποιο σφάλμα κατά την αποστολή του αρχείου."
320
 
321
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
322
  msgid "Upload failed!"
323
  msgstr "Η αποστολή απέτυχε!"
324
 
@@ -722,15 +722,32 @@ msgstr ""
722
  "\n"
723
  "Ευχαριστώ"
724
 
 
 
 
 
 
 
 
 
725
  #: lib/wfu_constants.php:148
726
  msgid ""
 
 
 
 
 
 
 
 
 
727
  "Failed to add the shortcode to the page/post. Please try again. If the "
728
  "message persists, contact administrator."
729
  msgstr ""
730
  "Δεν κατέστη δυνατή η προσθήκη του shortcode στη σελίδα / άρθρο. Παρακαλώ "
731
  "προσπάθησε ξανά. Αν το μήνυμα συνεχίζει, επικοινωνήστε με το διαχειριστή."
732
 
733
- #: lib/wfu_constants.php:149
734
  msgid ""
735
  "Failed to edit the shortcode because the contents of the page changed. Try "
736
  "again to edit the shortcode."
@@ -738,7 +755,7 @@ msgstr ""
738
  "Δεν ήταν δυνατή η επεξεργασία του shortcode διότι τα περιεχόμενα της σελίδας "
739
  "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να επεξεργαστείτε το shortcode."
740
 
741
- #: lib/wfu_constants.php:150
742
  msgid ""
743
  "Failed to delete the shortcode because the contents of the page changed. Try "
744
  "again to delete it."
@@ -746,7 +763,7 @@ msgstr ""
746
  "Δεν ήταν δυνατή η διαγραφή του shortcode διότι τα περιεχόμενα της σελίδας "
747
  "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να διαγράψετε το shortcode."
748
 
749
- #: lib/wfu_constants.php:151
750
  msgid ""
751
  "The page containing the shortcode has been modified and it is no longer "
752
  "valid. Please go back to reload the shortcode."
@@ -754,7 +771,7 @@ msgstr ""
754
  "Η σελίδα που περιέχει το shortcode τροποποιήθηκε και δεν είναι πλέον σε "
755
  "ισχύ. Παρακαλούμε πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
756
 
757
- #: lib/wfu_constants.php:152
758
  msgid ""
759
  "Failed to update the shortcode because the contents of the page changed. Go "
760
  "back to reload the shortcode."
@@ -762,7 +779,7 @@ msgstr ""
762
  "Δεν ήταν δυνατή η ενημέρωση του shortcode διότι τα περιεχόμενα της σελίδας "
763
  "άλλαξαν. Πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
764
 
765
- #: lib/wfu_constants.php:153
766
  msgid ""
767
  "Failed to update the shortcode. Please try again. If the problem persists, "
768
  "go back and reload the shortcode."
@@ -770,39 +787,39 @@ msgstr ""
770
  "Δεν ήταν δυνατή η ενημέρωση του shortcode. Παρακαλούμε ξαναδοκιμάστε. Αν το "
771
  "πρόβλημα παραμείνει, πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
772
 
773
- #: lib/wfu_constants.php:155
774
  msgid "This is a test message"
775
  msgstr "Αυτό είναι ένα μήνυμα ελέγχου"
776
 
777
- #: lib/wfu_constants.php:156
778
  msgid "This is a test administrator message"
779
  msgstr "Αυτό είναι ένα μήνυμα διαχειριστή ελέγχου"
780
 
781
- #: lib/wfu_constants.php:157
782
  msgid "File testfile 1 under test"
783
  msgstr "Αρχείο testfile 1 υπό έλεγχο"
784
 
785
- #: lib/wfu_constants.php:158
786
  msgid "File testfile 1 message"
787
  msgstr "Μήνυμα αρχείου testfile 1"
788
 
789
- #: lib/wfu_constants.php:159
790
  msgid "File testfile 1 administrator message"
791
  msgstr "Μήνυμα διαχειριστή αρχείου testfile 1"
792
 
793
- #: lib/wfu_constants.php:160
794
  msgid "File testfile 2 under test"
795
  msgstr "Αρχείο testfile 2 υπό έλεγχο"
796
 
797
- #: lib/wfu_constants.php:161
798
  msgid "File testfile 2 message"
799
  msgstr "Μήνυμα αρχείου testfile 2"
800
 
801
- #: lib/wfu_constants.php:162
802
  msgid "File testfile 2 administrator message"
803
  msgstr "Μήνυμα διαχειριστή αρχείου testfile 2"
804
 
805
- #: lib/wfu_constants.php:164
806
  msgid ""
807
  "Insert variable %userid% inside text. It will be replaced by the id of the "
808
  "current user."
@@ -810,7 +827,7 @@ msgstr ""
810
  "Εισάγετε τη μεταβλητή %userid% στο κείμενο. Θα αντικατασταθεί από το id του "
811
  "τρέχοντος χρήστη."
812
 
813
- #: lib/wfu_constants.php:165
814
  msgid ""
815
  "Insert variable %username% inside text. It will be replaced by the username "
816
  "of the current user."
@@ -818,7 +835,7 @@ msgstr ""
818
  "Εισάγετε τη μεταβλητή %username% στο κείμενο. Θα αντικατασταθεί από το όνομα "
819
  "του τρέχοντος χρήστη."
820
 
821
- #: lib/wfu_constants.php:166
822
  msgid ""
823
  "Insert variable %useremail% inside text. It will be replaced by the email of "
824
  "the current user."
@@ -826,7 +843,7 @@ msgstr ""
826
  "Εισάγετε τη μεταβλητή %useremail% στο κείμενο. Θα αντικατασταθεί από το "
827
  "email του τρέχοντος χρήστη."
828
 
829
- #: lib/wfu_constants.php:167
830
  msgid ""
831
  "Insert variable %filename% inside text. It will be replaced by the filename "
832
  "of the uploaded file."
@@ -834,7 +851,7 @@ msgstr ""
834
  "Εισάγετε τη μεταβλητή %filename% στο κείμενο. Θα αντικατασταθεί από το όνομα "
835
  "του αποστελλομένου αρχείου."
836
 
837
- #: lib/wfu_constants.php:168
838
  msgid ""
839
  "Insert variable %filepath% inside text. It will be replaced by the full "
840
  "filepath of the uploaded file."
@@ -842,7 +859,7 @@ msgstr ""
842
  "Εισάγετε τη μεταβλητή %filepath% στο κείμενο. Θα αντικατασταθεί από την "
843
  "πλήρη διαδρομή του αποστελλομένου αρχείου."
844
 
845
- #: lib/wfu_constants.php:169
846
  msgid ""
847
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
848
  "the website."
@@ -850,7 +867,7 @@ msgstr ""
850
  "Εισάγετε τη μεταβλητή %blogid% στο κείμενο. Θα αντικατασταθεί από το blog id "
851
  "της ιστοσελίδας."
852
 
853
- #: lib/wfu_constants.php:170
854
  msgid ""
855
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
856
  "current page."
@@ -858,7 +875,7 @@ msgstr ""
858
  "Εισάγετε τη μεταβλητή %pageid% στο κείμενο. Θα αντικατασταθεί από το id της "
859
  "τρέχουσας σελίδας."
860
 
861
- #: lib/wfu_constants.php:171
862
  msgid ""
863
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
864
  "the current page."
@@ -866,7 +883,7 @@ msgstr ""
866
  "Εισάγετε τη μεταβλητή %pagetitle% στο κείμενο. Θα αντικατασταθεί από τον "
867
  "τίτλο της τρέχουσας σελίδας."
868
 
869
- #: lib/wfu_constants.php:172
870
  msgid ""
871
  "Insert variable %userdataXXX% inside text. Select the user field from the "
872
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -876,197 +893,197 @@ msgstr ""
876
  "από την εμφανιζόμενη dropdown λίστα. Θα αντικατασταθεί από την τιμή που "
877
  "εισήγαγε ο χρήστης σε αυτό το πεδίο."
878
 
879
- #: lib/wfu_constants.php:173
880
  msgid "Insert variable %n% inside text to denote a line change."
881
  msgstr ""
882
  "Εισάγετε τη μεταβλητή %n% στο κείμενο για να υποδείξετε αλλαγή γραμμής."
883
 
884
- #: lib/wfu_constants.php:175
885
  msgid "Test Mode"
886
  msgstr "Κατάσταση Ελέγχου"
887
 
888
- #: lib/wfu_constants.php:176
889
  msgid "select dir..."
890
  msgstr "επιλογή καταλόγου..."
891
 
892
- #: lib/wfu_constants.php:177
893
  msgid "type dir"
894
  msgstr "εισάγετε κατάλογο"
895
 
896
- #: lib/wfu_constants.php:178
897
  msgid "Upload path: %filepath%"
898
  msgstr "Διαδρομή προορισμού: %filepath%"
899
 
900
- #: lib/wfu_constants.php:179
901
  msgid "Failed upload path: %filepath%"
902
  msgstr "Εσφαλμένη διαδρομή προορισμού: %filepath%"
903
 
904
- #: lib/wfu_constants.php:180
905
  msgid " (required)"
906
  msgstr " (απαραίτητο)"
907
 
908
- #: lib/wfu_constants.php:181
909
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
910
  msgstr ""
911
  "Υπάρχουν αρχεία που αποστέλλονται. Σίγουρα θέλετε να φύγετε από τη σελίδα;"
912
 
913
- #: lib/wfu_constants.php:182
914
  msgid "checking captcha..."
915
  msgstr "έλεγχος captcha..."
916
 
917
- #: lib/wfu_constants.php:183
918
  msgid "refreshing..."
919
  msgstr "ανανέωση..."
920
 
921
- #: lib/wfu_constants.php:184
922
  msgid "correct captcha"
923
  msgstr "σωστό captcha"
924
 
925
- #: lib/wfu_constants.php:185
926
  msgid "click to continue the upload"
927
  msgstr "πατήστε click για να συνεχίσει η αποστολή"
928
 
929
- #: lib/wfu_constants.php:186
930
  msgid "Are you sure you want to delete this file?"
931
  msgstr "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το αρχείο;"
932
 
933
- #: lib/wfu_constants.php:187
934
  msgid "Are you sure you want to delete these files?"
935
  msgstr "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτά τα αρχεία;"
936
 
937
- #: lib/wfu_constants.php:188
938
  msgid "Bulk Actions"
939
  msgstr "Μαζικές Ενέργειες"
940
 
941
- #: lib/wfu_constants.php:189
942
  msgid "Apply"
943
  msgstr "Εκτέλεση"
944
 
945
- #: lib/wfu_constants.php:190
946
  msgid "Are you sure that you want to cancel the upload?"
947
  msgstr "Είστε βέβαιοι ότι θέλετε να ακυρώσετε την αποστολή;"
948
 
949
- #: lib/wfu_constants.php:191
950
  msgid "cancel upload of this file"
951
  msgstr "ακυρώστε την αποστολή αυτού του αρχείου"
952
 
953
- #: lib/wfu_constants.php:192
954
  msgid "Upload in progress"
955
  msgstr "Αποστολή σε εξέλιξη"
956
 
957
- #: lib/wfu_constants.php:193
958
  msgid "Upload in progress with warnings!"
959
  msgstr "Αποστολή σε εξέλιξη με προειδοποιήσεις!"
960
 
961
- #: lib/wfu_constants.php:194
962
  msgid "Upload in progress but some files already failed!"
963
  msgstr "Αποστολή σε εξέλιξη αλλά κάποια αρχεία ήδη απέτυχαν!"
964
 
965
- #: lib/wfu_constants.php:195
966
  msgid "Upload in progress but no files uploaded so far!"
967
  msgstr "Αποστολή σε εξέλιξη αλλά δεν απεστάλη κανένα αρχείο μέχρι τώρα!"
968
 
969
- #: lib/wfu_constants.php:196
970
  msgid "All files uploaded successfully"
971
  msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς"
972
 
973
- #: lib/wfu_constants.php:197
974
  msgid "All files uploaded successfully but there are warnings!"
975
  msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
976
 
977
- #: lib/wfu_constants.php:198
978
  msgid "File uploaded successfully but there are warnings!"
979
  msgstr "Το αρχείο απεστάλη επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
980
 
981
- #: lib/wfu_constants.php:199
982
  msgid "Some files failed to upload!"
983
  msgstr "Μερικά αρχεία απέτυχαν να αποσταλούν!"
984
 
985
- #: lib/wfu_constants.php:200
986
  msgid "All files failed to upload"
987
  msgstr "Όλα τα αρχεία απέτυχαν να αποσταλούν"
988
 
989
- #: lib/wfu_constants.php:201
990
  msgid "File failed to upload"
991
  msgstr "Το αρχείο απέτυχε να αποσταλεί"
992
 
993
- #: lib/wfu_constants.php:202
994
  msgid "There are no files to upload!"
995
  msgstr "Δεν υπάρχουν αρχεία για αποστολή!"
996
 
997
- #: lib/wfu_constants.php:203
998
  msgid "Test upload message"
999
  msgstr "Μήνυμα αποστολής ελέγχου"
1000
 
1001
- #: lib/wfu_constants.php:204
1002
  msgid "JSON parse warning!"
1003
  msgstr "Προειδοποίηση μετατροπής JSON!"
1004
 
1005
- #: lib/wfu_constants.php:205
1006
  msgid "please wait while redirecting..."
1007
  msgstr "παρακαλούμε περιμένετε ενώ γίνεται αναδρομολόγηση..."
1008
 
1009
- #: lib/wfu_constants.php:207
1010
  msgid "Open visual shortcode editor in new window"
1011
  msgstr "Ανοίξτε τη γραφική επεξεργασία του shortcode σε νέο παράθυρο"
1012
 
1013
- #: lib/wfu_constants.php:208
1014
  msgid "loading visual editor"
1015
  msgstr "φόρτωση του γραφικού επεξεργαστή"
1016
 
1017
- #: lib/wfu_constants.php:209
1018
  msgid "Clear file list?"
1019
  msgstr "Να γίνει καθαρισμός της λίστας αρχείων;"
1020
 
1021
- #: lib/wfu_constants.php:210
1022
  msgid "DROP HERE"
1023
  msgstr "ΑΦΗΣΤΕ ΕΔΩ"
1024
 
1025
- #: lib/wfu_constants.php:212
1026
  msgid "record video"
1027
  msgstr "εγγραφή video"
1028
 
1029
- #: lib/wfu_constants.php:213
1030
  msgid "take a picture"
1031
  msgstr "φωτογραφία"
1032
 
1033
- #: lib/wfu_constants.php:214
1034
  msgid "turn webcam on/off"
1035
  msgstr "ενεργοποίηση/απενεργοποίηση κάμερας"
1036
 
1037
- #: lib/wfu_constants.php:215
1038
  msgid "go live again"
1039
  msgstr "επιστροφή σε ζωντανή λήψη"
1040
 
1041
- #: lib/wfu_constants.php:216
1042
  msgid "end recording"
1043
  msgstr "τέλος εγγραφής"
1044
 
1045
- #: lib/wfu_constants.php:217
1046
  msgid "play"
1047
  msgstr "αναπαραγωγή"
1048
 
1049
- #: lib/wfu_constants.php:218
1050
  msgid "pause"
1051
  msgstr "παύση"
1052
 
1053
- #: lib/wfu_constants.php:219
1054
  msgid "go to the beginning"
1055
  msgstr "μετάβαση στην αρχή"
1056
 
1057
- #: lib/wfu_constants.php:220
1058
  msgid "go to the end"
1059
  msgstr "μετάβαση στο τέλος"
1060
 
1061
- #: lib/wfu_constants.php:222
1062
  msgid "Wordpress File Upload Form"
1063
  msgstr "Φόρμα του Wordpress File Upload"
1064
 
1065
- #: lib/wfu_constants.php:223
1066
  msgid "Wordpress File Upload plugin uploader for sidebars"
1067
  msgstr "Αποστολή αρχείων με το Wordpress File Upload plugin για sidebars"
1068
 
1069
- #: lib/wfu_constants.php:224
1070
  msgid "Upload Files"
1071
  msgstr "Αποστολή αρχείων"
1072
 
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:46+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:49+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: el\n"
318
  msgstr ""
319
  "Η αποστολή απέτυχε! Συνέβη κάποιο σφάλμα κατά την αποστολή του αρχείου."
320
 
321
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
322
  msgid "Upload failed!"
323
  msgstr "Η αποστολή απέτυχε!"
324
 
722
  "\n"
723
  "Ευχαριστώ"
724
 
725
+ #: lib/wfu_constants.php:147
726
+ msgid ""
727
+ "You have activated an alternative insecure Iptanus Services Server. For "
728
+ "details please contact info@iptanus.com."
729
+ msgstr ""
730
+ "Έχετε ενεργοποιήσει έναν εναλλακτικό μη ασφαλή Iptanus Services Server. Για "
731
+ "λεπτομέρειες παρακαλούμε επικοινωνήστε με το info@iptanus.com."
732
+
733
  #: lib/wfu_constants.php:148
734
  msgid ""
735
+ "Iptanus Services Server is unreachable. This may cause problems in some "
736
+ "plugin functions. Please contact info@iptanus.com for details."
737
+ msgstr ""
738
+ "Δεν είναι δυνατή η επικοινωνία με τον Iptanus Services Server. Αυτό μπορεί "
739
+ "να προκαλέσει προβλήματα σε κάποιες λειτουργίες του plugin. Παρακαλούμε "
740
+ "επικοινωνήστε με το info@iptanus.com για λεπτομέρειες."
741
+
742
+ #: lib/wfu_constants.php:150
743
+ msgid ""
744
  "Failed to add the shortcode to the page/post. Please try again. If the "
745
  "message persists, contact administrator."
746
  msgstr ""
747
  "Δεν κατέστη δυνατή η προσθήκη του shortcode στη σελίδα / άρθρο. Παρακαλώ "
748
  "προσπάθησε ξανά. Αν το μήνυμα συνεχίζει, επικοινωνήστε με το διαχειριστή."
749
 
750
+ #: lib/wfu_constants.php:151
751
  msgid ""
752
  "Failed to edit the shortcode because the contents of the page changed. Try "
753
  "again to edit the shortcode."
755
  "Δεν ήταν δυνατή η επεξεργασία του shortcode διότι τα περιεχόμενα της σελίδας "
756
  "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να επεξεργαστείτε το shortcode."
757
 
758
+ #: lib/wfu_constants.php:152
759
  msgid ""
760
  "Failed to delete the shortcode because the contents of the page changed. Try "
761
  "again to delete it."
763
  "Δεν ήταν δυνατή η διαγραφή του shortcode διότι τα περιεχόμενα της σελίδας "
764
  "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να διαγράψετε το shortcode."
765
 
766
+ #: lib/wfu_constants.php:153
767
  msgid ""
768
  "The page containing the shortcode has been modified and it is no longer "
769
  "valid. Please go back to reload the shortcode."
771
  "Η σελίδα που περιέχει το shortcode τροποποιήθηκε και δεν είναι πλέον σε "
772
  "ισχύ. Παρακαλούμε πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
773
 
774
+ #: lib/wfu_constants.php:154
775
  msgid ""
776
  "Failed to update the shortcode because the contents of the page changed. Go "
777
  "back to reload the shortcode."
779
  "Δεν ήταν δυνατή η ενημέρωση του shortcode διότι τα περιεχόμενα της σελίδας "
780
  "άλλαξαν. Πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
781
 
782
+ #: lib/wfu_constants.php:155
783
  msgid ""
784
  "Failed to update the shortcode. Please try again. If the problem persists, "
785
  "go back and reload the shortcode."
787
  "Δεν ήταν δυνατή η ενημέρωση του shortcode. Παρακαλούμε ξαναδοκιμάστε. Αν το "
788
  "πρόβλημα παραμείνει, πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
789
 
790
+ #: lib/wfu_constants.php:157
791
  msgid "This is a test message"
792
  msgstr "Αυτό είναι ένα μήνυμα ελέγχου"
793
 
794
+ #: lib/wfu_constants.php:158
795
  msgid "This is a test administrator message"
796
  msgstr "Αυτό είναι ένα μήνυμα διαχειριστή ελέγχου"
797
 
798
+ #: lib/wfu_constants.php:159
799
  msgid "File testfile 1 under test"
800
  msgstr "Αρχείο testfile 1 υπό έλεγχο"
801
 
802
+ #: lib/wfu_constants.php:160
803
  msgid "File testfile 1 message"
804
  msgstr "Μήνυμα αρχείου testfile 1"
805
 
806
+ #: lib/wfu_constants.php:161
807
  msgid "File testfile 1 administrator message"
808
  msgstr "Μήνυμα διαχειριστή αρχείου testfile 1"
809
 
810
+ #: lib/wfu_constants.php:162
811
  msgid "File testfile 2 under test"
812
  msgstr "Αρχείο testfile 2 υπό έλεγχο"
813
 
814
+ #: lib/wfu_constants.php:163
815
  msgid "File testfile 2 message"
816
  msgstr "Μήνυμα αρχείου testfile 2"
817
 
818
+ #: lib/wfu_constants.php:164
819
  msgid "File testfile 2 administrator message"
820
  msgstr "Μήνυμα διαχειριστή αρχείου testfile 2"
821
 
822
+ #: lib/wfu_constants.php:166
823
  msgid ""
824
  "Insert variable %userid% inside text. It will be replaced by the id of the "
825
  "current user."
827
  "Εισάγετε τη μεταβλητή %userid% στο κείμενο. Θα αντικατασταθεί από το id του "
828
  "τρέχοντος χρήστη."
829
 
830
+ #: lib/wfu_constants.php:167
831
  msgid ""
832
  "Insert variable %username% inside text. It will be replaced by the username "
833
  "of the current user."
835
  "Εισάγετε τη μεταβλητή %username% στο κείμενο. Θα αντικατασταθεί από το όνομα "
836
  "του τρέχοντος χρήστη."
837
 
838
+ #: lib/wfu_constants.php:168
839
  msgid ""
840
  "Insert variable %useremail% inside text. It will be replaced by the email of "
841
  "the current user."
843
  "Εισάγετε τη μεταβλητή %useremail% στο κείμενο. Θα αντικατασταθεί από το "
844
  "email του τρέχοντος χρήστη."
845
 
846
+ #: lib/wfu_constants.php:169
847
  msgid ""
848
  "Insert variable %filename% inside text. It will be replaced by the filename "
849
  "of the uploaded file."
851
  "Εισάγετε τη μεταβλητή %filename% στο κείμενο. Θα αντικατασταθεί από το όνομα "
852
  "του αποστελλομένου αρχείου."
853
 
854
+ #: lib/wfu_constants.php:170
855
  msgid ""
856
  "Insert variable %filepath% inside text. It will be replaced by the full "
857
  "filepath of the uploaded file."
859
  "Εισάγετε τη μεταβλητή %filepath% στο κείμενο. Θα αντικατασταθεί από την "
860
  "πλήρη διαδρομή του αποστελλομένου αρχείου."
861
 
862
+ #: lib/wfu_constants.php:171
863
  msgid ""
864
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
865
  "the website."
867
  "Εισάγετε τη μεταβλητή %blogid% στο κείμενο. Θα αντικατασταθεί από το blog id "
868
  "της ιστοσελίδας."
869
 
870
+ #: lib/wfu_constants.php:172
871
  msgid ""
872
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
873
  "current page."
875
  "Εισάγετε τη μεταβλητή %pageid% στο κείμενο. Θα αντικατασταθεί από το id της "
876
  "τρέχουσας σελίδας."
877
 
878
+ #: lib/wfu_constants.php:173
879
  msgid ""
880
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
881
  "the current page."
883
  "Εισάγετε τη μεταβλητή %pagetitle% στο κείμενο. Θα αντικατασταθεί από τον "
884
  "τίτλο της τρέχουσας σελίδας."
885
 
886
+ #: lib/wfu_constants.php:174
887
  msgid ""
888
  "Insert variable %userdataXXX% inside text. Select the user field from the "
889
  "drop-down list. It will be replaced by the value that the user entered in "
893
  "από την εμφανιζόμενη dropdown λίστα. Θα αντικατασταθεί από την τιμή που "
894
  "εισήγαγε ο χρήστης σε αυτό το πεδίο."
895
 
896
+ #: lib/wfu_constants.php:175
897
  msgid "Insert variable %n% inside text to denote a line change."
898
  msgstr ""
899
  "Εισάγετε τη μεταβλητή %n% στο κείμενο για να υποδείξετε αλλαγή γραμμής."
900
 
901
+ #: lib/wfu_constants.php:177
902
  msgid "Test Mode"
903
  msgstr "Κατάσταση Ελέγχου"
904
 
905
+ #: lib/wfu_constants.php:178
906
  msgid "select dir..."
907
  msgstr "επιλογή καταλόγου..."
908
 
909
+ #: lib/wfu_constants.php:179
910
  msgid "type dir"
911
  msgstr "εισάγετε κατάλογο"
912
 
913
+ #: lib/wfu_constants.php:180
914
  msgid "Upload path: %filepath%"
915
  msgstr "Διαδρομή προορισμού: %filepath%"
916
 
917
+ #: lib/wfu_constants.php:181
918
  msgid "Failed upload path: %filepath%"
919
  msgstr "Εσφαλμένη διαδρομή προορισμού: %filepath%"
920
 
921
+ #: lib/wfu_constants.php:182
922
  msgid " (required)"
923
  msgstr " (απαραίτητο)"
924
 
925
+ #: lib/wfu_constants.php:183
926
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
927
  msgstr ""
928
  "Υπάρχουν αρχεία που αποστέλλονται. Σίγουρα θέλετε να φύγετε από τη σελίδα;"
929
 
930
+ #: lib/wfu_constants.php:184
931
  msgid "checking captcha..."
932
  msgstr "έλεγχος captcha..."
933
 
934
+ #: lib/wfu_constants.php:185
935
  msgid "refreshing..."
936
  msgstr "ανανέωση..."
937
 
938
+ #: lib/wfu_constants.php:186
939
  msgid "correct captcha"
940
  msgstr "σωστό captcha"
941
 
942
+ #: lib/wfu_constants.php:187
943
  msgid "click to continue the upload"
944
  msgstr "πατήστε click για να συνεχίσει η αποστολή"
945
 
946
+ #: lib/wfu_constants.php:188
947
  msgid "Are you sure you want to delete this file?"
948
  msgstr "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το αρχείο;"
949
 
950
+ #: lib/wfu_constants.php:189
951
  msgid "Are you sure you want to delete these files?"
952
  msgstr "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτά τα αρχεία;"
953
 
954
+ #: lib/wfu_constants.php:190
955
  msgid "Bulk Actions"
956
  msgstr "Μαζικές Ενέργειες"
957
 
958
+ #: lib/wfu_constants.php:191
959
  msgid "Apply"
960
  msgstr "Εκτέλεση"
961
 
962
+ #: lib/wfu_constants.php:192
963
  msgid "Are you sure that you want to cancel the upload?"
964
  msgstr "Είστε βέβαιοι ότι θέλετε να ακυρώσετε την αποστολή;"
965
 
966
+ #: lib/wfu_constants.php:193
967
  msgid "cancel upload of this file"
968
  msgstr "ακυρώστε την αποστολή αυτού του αρχείου"
969
 
970
+ #: lib/wfu_constants.php:194
971
  msgid "Upload in progress"
972
  msgstr "Αποστολή σε εξέλιξη"
973
 
974
+ #: lib/wfu_constants.php:195
975
  msgid "Upload in progress with warnings!"
976
  msgstr "Αποστολή σε εξέλιξη με προειδοποιήσεις!"
977
 
978
+ #: lib/wfu_constants.php:196
979
  msgid "Upload in progress but some files already failed!"
980
  msgstr "Αποστολή σε εξέλιξη αλλά κάποια αρχεία ήδη απέτυχαν!"
981
 
982
+ #: lib/wfu_constants.php:197
983
  msgid "Upload in progress but no files uploaded so far!"
984
  msgstr "Αποστολή σε εξέλιξη αλλά δεν απεστάλη κανένα αρχείο μέχρι τώρα!"
985
 
986
+ #: lib/wfu_constants.php:198
987
  msgid "All files uploaded successfully"
988
  msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς"
989
 
990
+ #: lib/wfu_constants.php:199
991
  msgid "All files uploaded successfully but there are warnings!"
992
  msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
993
 
994
+ #: lib/wfu_constants.php:200
995
  msgid "File uploaded successfully but there are warnings!"
996
  msgstr "Το αρχείο απεστάλη επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
997
 
998
+ #: lib/wfu_constants.php:201
999
  msgid "Some files failed to upload!"
1000
  msgstr "Μερικά αρχεία απέτυχαν να αποσταλούν!"
1001
 
1002
+ #: lib/wfu_constants.php:202
1003
  msgid "All files failed to upload"
1004
  msgstr "Όλα τα αρχεία απέτυχαν να αποσταλούν"
1005
 
1006
+ #: lib/wfu_constants.php:203
1007
  msgid "File failed to upload"
1008
  msgstr "Το αρχείο απέτυχε να αποσταλεί"
1009
 
1010
+ #: lib/wfu_constants.php:204
1011
  msgid "There are no files to upload!"
1012
  msgstr "Δεν υπάρχουν αρχεία για αποστολή!"
1013
 
1014
+ #: lib/wfu_constants.php:205
1015
  msgid "Test upload message"
1016
  msgstr "Μήνυμα αποστολής ελέγχου"
1017
 
1018
+ #: lib/wfu_constants.php:206
1019
  msgid "JSON parse warning!"
1020
  msgstr "Προειδοποίηση μετατροπής JSON!"
1021
 
1022
+ #: lib/wfu_constants.php:207
1023
  msgid "please wait while redirecting..."
1024
  msgstr "παρακαλούμε περιμένετε ενώ γίνεται αναδρομολόγηση..."
1025
 
1026
+ #: lib/wfu_constants.php:209
1027
  msgid "Open visual shortcode editor in new window"
1028
  msgstr "Ανοίξτε τη γραφική επεξεργασία του shortcode σε νέο παράθυρο"
1029
 
1030
+ #: lib/wfu_constants.php:210
1031
  msgid "loading visual editor"
1032
  msgstr "φόρτωση του γραφικού επεξεργαστή"
1033
 
1034
+ #: lib/wfu_constants.php:211
1035
  msgid "Clear file list?"
1036
  msgstr "Να γίνει καθαρισμός της λίστας αρχείων;"
1037
 
1038
+ #: lib/wfu_constants.php:212
1039
  msgid "DROP HERE"
1040
  msgstr "ΑΦΗΣΤΕ ΕΔΩ"
1041
 
1042
+ #: lib/wfu_constants.php:214
1043
  msgid "record video"
1044
  msgstr "εγγραφή video"
1045
 
1046
+ #: lib/wfu_constants.php:215
1047
  msgid "take a picture"
1048
  msgstr "φωτογραφία"
1049
 
1050
+ #: lib/wfu_constants.php:216
1051
  msgid "turn webcam on/off"
1052
  msgstr "ενεργοποίηση/απενεργοποίηση κάμερας"
1053
 
1054
+ #: lib/wfu_constants.php:217
1055
  msgid "go live again"
1056
  msgstr "επιστροφή σε ζωντανή λήψη"
1057
 
1058
+ #: lib/wfu_constants.php:218
1059
  msgid "end recording"
1060
  msgstr "τέλος εγγραφής"
1061
 
1062
+ #: lib/wfu_constants.php:219
1063
  msgid "play"
1064
  msgstr "αναπαραγωγή"
1065
 
1066
+ #: lib/wfu_constants.php:220
1067
  msgid "pause"
1068
  msgstr "παύση"
1069
 
1070
+ #: lib/wfu_constants.php:221
1071
  msgid "go to the beginning"
1072
  msgstr "μετάβαση στην αρχή"
1073
 
1074
+ #: lib/wfu_constants.php:222
1075
  msgid "go to the end"
1076
  msgstr "μετάβαση στο τέλος"
1077
 
1078
+ #: lib/wfu_constants.php:224
1079
  msgid "Wordpress File Upload Form"
1080
  msgstr "Φόρμα του Wordpress File Upload"
1081
 
1082
+ #: lib/wfu_constants.php:225
1083
  msgid "Wordpress File Upload plugin uploader for sidebars"
1084
  msgstr "Αποστολή αρχείων με το Wordpress File Upload plugin για sidebars"
1085
 
1086
+ #: lib/wfu_constants.php:226
1087
  msgid "Upload Files"
1088
  msgstr "Αποστολή αρχείων"
1089
 
languages/wp-file-upload-en_US.mo CHANGED
Binary file
languages/wp-file-upload-en_US.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:31+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:31+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: en\n"
@@ -279,7 +279,7 @@ msgstr ""
279
  msgid "Upload failed! Error occured while attemting to upload the file."
280
  msgstr ""
281
 
282
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
283
  msgid "Upload failed!"
284
  msgstr ""
285
 
@@ -623,317 +623,329 @@ msgid ""
623
  "Thanks"
624
  msgstr ""
625
 
 
 
 
 
 
 
626
  #: lib/wfu_constants.php:148
627
  msgid ""
 
 
 
 
 
 
628
  "Failed to add the shortcode to the page/post. Please try again. If the "
629
  "message persists, contact administrator."
630
  msgstr ""
631
 
632
- #: lib/wfu_constants.php:149
633
  msgid ""
634
  "Failed to edit the shortcode because the contents of the page changed. Try "
635
  "again to edit the shortcode."
636
  msgstr ""
637
 
638
- #: lib/wfu_constants.php:150
639
  msgid ""
640
  "Failed to delete the shortcode because the contents of the page changed. Try "
641
  "again to delete it."
642
  msgstr ""
643
 
644
- #: lib/wfu_constants.php:151
645
  msgid ""
646
  "The page containing the shortcode has been modified and it is no longer "
647
  "valid. Please go back to reload the shortcode."
648
  msgstr ""
649
 
650
- #: lib/wfu_constants.php:152
651
  msgid ""
652
  "Failed to update the shortcode because the contents of the page changed. Go "
653
  "back to reload the shortcode."
654
  msgstr ""
655
 
656
- #: lib/wfu_constants.php:153
657
  msgid ""
658
  "Failed to update the shortcode. Please try again. If the problem persists, "
659
  "go back and reload the shortcode."
660
  msgstr ""
661
 
662
- #: lib/wfu_constants.php:155
663
  msgid "This is a test message"
664
  msgstr ""
665
 
666
- #: lib/wfu_constants.php:156
667
  msgid "This is a test administrator message"
668
  msgstr ""
669
 
670
- #: lib/wfu_constants.php:157
671
  msgid "File testfile 1 under test"
672
  msgstr ""
673
 
674
- #: lib/wfu_constants.php:158
675
  msgid "File testfile 1 message"
676
  msgstr ""
677
 
678
- #: lib/wfu_constants.php:159
679
  msgid "File testfile 1 administrator message"
680
  msgstr ""
681
 
682
- #: lib/wfu_constants.php:160
683
  msgid "File testfile 2 under test"
684
  msgstr ""
685
 
686
- #: lib/wfu_constants.php:161
687
  msgid "File testfile 2 message"
688
  msgstr ""
689
 
690
- #: lib/wfu_constants.php:162
691
  msgid "File testfile 2 administrator message"
692
  msgstr ""
693
 
694
- #: lib/wfu_constants.php:164
695
  msgid ""
696
  "Insert variable %userid% inside text. It will be replaced by the id of the "
697
  "current user."
698
  msgstr ""
699
 
700
- #: lib/wfu_constants.php:165
701
  msgid ""
702
  "Insert variable %username% inside text. It will be replaced by the username "
703
  "of the current user."
704
  msgstr ""
705
 
706
- #: lib/wfu_constants.php:166
707
  msgid ""
708
  "Insert variable %useremail% inside text. It will be replaced by the email of "
709
  "the current user."
710
  msgstr ""
711
 
712
- #: lib/wfu_constants.php:167
713
  msgid ""
714
  "Insert variable %filename% inside text. It will be replaced by the filename "
715
  "of the uploaded file."
716
  msgstr ""
717
 
718
- #: lib/wfu_constants.php:168
719
  msgid ""
720
  "Insert variable %filepath% inside text. It will be replaced by the full "
721
  "filepath of the uploaded file."
722
  msgstr ""
723
 
724
- #: lib/wfu_constants.php:169
725
  msgid ""
726
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
727
  "the website."
728
  msgstr ""
729
 
730
- #: lib/wfu_constants.php:170
731
  msgid ""
732
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
733
  "current page."
734
  msgstr ""
735
 
736
- #: lib/wfu_constants.php:171
737
  msgid ""
738
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
739
  "the current page."
740
  msgstr ""
741
 
742
- #: lib/wfu_constants.php:172
743
  msgid ""
744
  "Insert variable %userdataXXX% inside text. Select the user field from the "
745
  "drop-down list. It will be replaced by the value that the user entered in "
746
  "this field."
747
  msgstr ""
748
 
749
- #: lib/wfu_constants.php:173
750
  msgid "Insert variable %n% inside text to denote a line change."
751
  msgstr ""
752
 
753
- #: lib/wfu_constants.php:175
754
  msgid "Test Mode"
755
  msgstr ""
756
 
757
- #: lib/wfu_constants.php:176
758
  msgid "select dir..."
759
  msgstr ""
760
 
761
- #: lib/wfu_constants.php:177
762
  msgid "type dir"
763
  msgstr ""
764
 
765
- #: lib/wfu_constants.php:178
766
  msgid "Upload path: %filepath%"
767
  msgstr ""
768
 
769
- #: lib/wfu_constants.php:179
770
  msgid "Failed upload path: %filepath%"
771
  msgstr ""
772
 
773
- #: lib/wfu_constants.php:180
774
  msgid " (required)"
775
  msgstr ""
776
 
777
- #: lib/wfu_constants.php:181
778
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
779
  msgstr ""
780
 
781
- #: lib/wfu_constants.php:182
782
  msgid "checking captcha..."
783
  msgstr ""
784
 
785
- #: lib/wfu_constants.php:183
786
  msgid "refreshing..."
787
  msgstr ""
788
 
789
- #: lib/wfu_constants.php:184
790
  msgid "correct captcha"
791
  msgstr ""
792
 
793
- #: lib/wfu_constants.php:185
794
  msgid "click to continue the upload"
795
  msgstr ""
796
 
797
- #: lib/wfu_constants.php:186
798
  msgid "Are you sure you want to delete this file?"
799
  msgstr ""
800
 
801
- #: lib/wfu_constants.php:187
802
  msgid "Are you sure you want to delete these files?"
803
  msgstr ""
804
 
805
- #: lib/wfu_constants.php:188
806
  msgid "Bulk Actions"
807
  msgstr ""
808
 
809
- #: lib/wfu_constants.php:189
810
  msgid "Apply"
811
  msgstr ""
812
 
813
- #: lib/wfu_constants.php:190
814
  msgid "Are you sure that you want to cancel the upload?"
815
  msgstr ""
816
 
817
- #: lib/wfu_constants.php:191
818
  msgid "cancel upload of this file"
819
  msgstr ""
820
 
821
- #: lib/wfu_constants.php:192
822
  msgid "Upload in progress"
823
  msgstr "Uploading..."
824
 
825
- #: lib/wfu_constants.php:193
826
  msgid "Upload in progress with warnings!"
827
  msgstr ""
828
 
829
- #: lib/wfu_constants.php:194
830
  msgid "Upload in progress but some files already failed!"
831
  msgstr ""
832
 
833
- #: lib/wfu_constants.php:195
834
  msgid "Upload in progress but no files uploaded so far!"
835
  msgstr ""
836
 
837
- #: lib/wfu_constants.php:196
838
  msgid "All files uploaded successfully"
839
  msgstr ""
840
 
841
- #: lib/wfu_constants.php:197
842
  msgid "All files uploaded successfully but there are warnings!"
843
  msgstr ""
844
 
845
- #: lib/wfu_constants.php:198
846
  msgid "File uploaded successfully but there are warnings!"
847
  msgstr ""
848
 
849
- #: lib/wfu_constants.php:199
850
  msgid "Some files failed to upload!"
851
  msgstr ""
852
 
853
- #: lib/wfu_constants.php:200
854
  msgid "All files failed to upload"
855
  msgstr ""
856
 
857
- #: lib/wfu_constants.php:201
858
  msgid "File failed to upload"
859
  msgstr ""
860
 
861
- #: lib/wfu_constants.php:202
862
  msgid "There are no files to upload!"
863
  msgstr ""
864
 
865
- #: lib/wfu_constants.php:203
866
  msgid "Test upload message"
867
  msgstr ""
868
 
869
- #: lib/wfu_constants.php:204
870
  msgid "JSON parse warning!"
871
  msgstr ""
872
 
873
- #: lib/wfu_constants.php:205
874
  msgid "please wait while redirecting..."
875
  msgstr ""
876
 
877
- #: lib/wfu_constants.php:207
878
  msgid "Open visual shortcode editor in new window"
879
  msgstr ""
880
 
881
- #: lib/wfu_constants.php:208
882
  msgid "loading visual editor"
883
  msgstr ""
884
 
885
- #: lib/wfu_constants.php:209
886
  msgid "Clear file list?"
887
  msgstr ""
888
 
889
- #: lib/wfu_constants.php:210
890
  msgid "DROP HERE"
891
  msgstr ""
892
 
893
- #: lib/wfu_constants.php:212
894
  msgid "record video"
895
  msgstr ""
896
 
897
- #: lib/wfu_constants.php:213
898
  msgid "take a picture"
899
  msgstr ""
900
 
901
- #: lib/wfu_constants.php:214
902
  msgid "turn webcam on/off"
903
  msgstr ""
904
 
905
- #: lib/wfu_constants.php:215
906
  msgid "go live again"
907
  msgstr ""
908
 
909
- #: lib/wfu_constants.php:216
910
  msgid "end recording"
911
  msgstr ""
912
 
913
- #: lib/wfu_constants.php:217
914
  msgid "play"
915
  msgstr ""
916
 
917
- #: lib/wfu_constants.php:218
918
  msgid "pause"
919
  msgstr ""
920
 
921
- #: lib/wfu_constants.php:219
922
  msgid "go to the beginning"
923
  msgstr ""
924
 
925
- #: lib/wfu_constants.php:220
926
  msgid "go to the end"
927
  msgstr ""
928
 
929
- #: lib/wfu_constants.php:222
930
  msgid "Wordpress File Upload Form"
931
  msgstr ""
932
 
933
- #: lib/wfu_constants.php:223
934
  msgid "Wordpress File Upload plugin uploader for sidebars"
935
  msgstr ""
936
 
937
- #: lib/wfu_constants.php:224
938
  msgid "Upload Files"
939
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:50+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:50+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: en\n"
279
  msgid "Upload failed! Error occured while attemting to upload the file."
280
  msgstr ""
281
 
282
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
283
  msgid "Upload failed!"
284
  msgstr ""
285
 
623
  "Thanks"
624
  msgstr ""
625
 
626
+ #: lib/wfu_constants.php:147
627
+ msgid ""
628
+ "You have activated an alternative insecure Iptanus Services Server. For "
629
+ "details please contact info@iptanus.com."
630
+ msgstr ""
631
+
632
  #: lib/wfu_constants.php:148
633
  msgid ""
634
+ "Iptanus Services Server is unreachable. This may cause problems in some "
635
+ "plugin functions. Please contact info@iptanus.com for details."
636
+ msgstr ""
637
+
638
+ #: lib/wfu_constants.php:150
639
+ msgid ""
640
  "Failed to add the shortcode to the page/post. Please try again. If the "
641
  "message persists, contact administrator."
642
  msgstr ""
643
 
644
+ #: lib/wfu_constants.php:151
645
  msgid ""
646
  "Failed to edit the shortcode because the contents of the page changed. Try "
647
  "again to edit the shortcode."
648
  msgstr ""
649
 
650
+ #: lib/wfu_constants.php:152
651
  msgid ""
652
  "Failed to delete the shortcode because the contents of the page changed. Try "
653
  "again to delete it."
654
  msgstr ""
655
 
656
+ #: lib/wfu_constants.php:153
657
  msgid ""
658
  "The page containing the shortcode has been modified and it is no longer "
659
  "valid. Please go back to reload the shortcode."
660
  msgstr ""
661
 
662
+ #: lib/wfu_constants.php:154
663
  msgid ""
664
  "Failed to update the shortcode because the contents of the page changed. Go "
665
  "back to reload the shortcode."
666
  msgstr ""
667
 
668
+ #: lib/wfu_constants.php:155
669
  msgid ""
670
  "Failed to update the shortcode. Please try again. If the problem persists, "
671
  "go back and reload the shortcode."
672
  msgstr ""
673
 
674
+ #: lib/wfu_constants.php:157
675
  msgid "This is a test message"
676
  msgstr ""
677
 
678
+ #: lib/wfu_constants.php:158
679
  msgid "This is a test administrator message"
680
  msgstr ""
681
 
682
+ #: lib/wfu_constants.php:159
683
  msgid "File testfile 1 under test"
684
  msgstr ""
685
 
686
+ #: lib/wfu_constants.php:160
687
  msgid "File testfile 1 message"
688
  msgstr ""
689
 
690
+ #: lib/wfu_constants.php:161
691
  msgid "File testfile 1 administrator message"
692
  msgstr ""
693
 
694
+ #: lib/wfu_constants.php:162
695
  msgid "File testfile 2 under test"
696
  msgstr ""
697
 
698
+ #: lib/wfu_constants.php:163
699
  msgid "File testfile 2 message"
700
  msgstr ""
701
 
702
+ #: lib/wfu_constants.php:164
703
  msgid "File testfile 2 administrator message"
704
  msgstr ""
705
 
706
+ #: lib/wfu_constants.php:166
707
  msgid ""
708
  "Insert variable %userid% inside text. It will be replaced by the id of the "
709
  "current user."
710
  msgstr ""
711
 
712
+ #: lib/wfu_constants.php:167
713
  msgid ""
714
  "Insert variable %username% inside text. It will be replaced by the username "
715
  "of the current user."
716
  msgstr ""
717
 
718
+ #: lib/wfu_constants.php:168
719
  msgid ""
720
  "Insert variable %useremail% inside text. It will be replaced by the email of "
721
  "the current user."
722
  msgstr ""
723
 
724
+ #: lib/wfu_constants.php:169
725
  msgid ""
726
  "Insert variable %filename% inside text. It will be replaced by the filename "
727
  "of the uploaded file."
728
  msgstr ""
729
 
730
+ #: lib/wfu_constants.php:170
731
  msgid ""
732
  "Insert variable %filepath% inside text. It will be replaced by the full "
733
  "filepath of the uploaded file."
734
  msgstr ""
735
 
736
+ #: lib/wfu_constants.php:171
737
  msgid ""
738
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
739
  "the website."
740
  msgstr ""
741
 
742
+ #: lib/wfu_constants.php:172
743
  msgid ""
744
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
745
  "current page."
746
  msgstr ""
747
 
748
+ #: lib/wfu_constants.php:173
749
  msgid ""
750
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
751
  "the current page."
752
  msgstr ""
753
 
754
+ #: lib/wfu_constants.php:174
755
  msgid ""
756
  "Insert variable %userdataXXX% inside text. Select the user field from the "
757
  "drop-down list. It will be replaced by the value that the user entered in "
758
  "this field."
759
  msgstr ""
760
 
761
+ #: lib/wfu_constants.php:175
762
  msgid "Insert variable %n% inside text to denote a line change."
763
  msgstr ""
764
 
765
+ #: lib/wfu_constants.php:177
766
  msgid "Test Mode"
767
  msgstr ""
768
 
769
+ #: lib/wfu_constants.php:178
770
  msgid "select dir..."
771
  msgstr ""
772
 
773
+ #: lib/wfu_constants.php:179
774
  msgid "type dir"
775
  msgstr ""
776
 
777
+ #: lib/wfu_constants.php:180
778
  msgid "Upload path: %filepath%"
779
  msgstr ""
780
 
781
+ #: lib/wfu_constants.php:181
782
  msgid "Failed upload path: %filepath%"
783
  msgstr ""
784
 
785
+ #: lib/wfu_constants.php:182
786
  msgid " (required)"
787
  msgstr ""
788
 
789
+ #: lib/wfu_constants.php:183
790
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
791
  msgstr ""
792
 
793
+ #: lib/wfu_constants.php:184
794
  msgid "checking captcha..."
795
  msgstr ""
796
 
797
+ #: lib/wfu_constants.php:185
798
  msgid "refreshing..."
799
  msgstr ""
800
 
801
+ #: lib/wfu_constants.php:186
802
  msgid "correct captcha"
803
  msgstr ""
804
 
805
+ #: lib/wfu_constants.php:187
806
  msgid "click to continue the upload"
807
  msgstr ""
808
 
809
+ #: lib/wfu_constants.php:188
810
  msgid "Are you sure you want to delete this file?"
811
  msgstr ""
812
 
813
+ #: lib/wfu_constants.php:189
814
  msgid "Are you sure you want to delete these files?"
815
  msgstr ""
816
 
817
+ #: lib/wfu_constants.php:190
818
  msgid "Bulk Actions"
819
  msgstr ""
820
 
821
+ #: lib/wfu_constants.php:191
822
  msgid "Apply"
823
  msgstr ""
824
 
825
+ #: lib/wfu_constants.php:192
826
  msgid "Are you sure that you want to cancel the upload?"
827
  msgstr ""
828
 
829
+ #: lib/wfu_constants.php:193
830
  msgid "cancel upload of this file"
831
  msgstr ""
832
 
833
+ #: lib/wfu_constants.php:194
834
  msgid "Upload in progress"
835
  msgstr "Uploading..."
836
 
837
+ #: lib/wfu_constants.php:195
838
  msgid "Upload in progress with warnings!"
839
  msgstr ""
840
 
841
+ #: lib/wfu_constants.php:196
842
  msgid "Upload in progress but some files already failed!"
843
  msgstr ""
844
 
845
+ #: lib/wfu_constants.php:197
846
  msgid "Upload in progress but no files uploaded so far!"
847
  msgstr ""
848
 
849
+ #: lib/wfu_constants.php:198
850
  msgid "All files uploaded successfully"
851
  msgstr ""
852
 
853
+ #: lib/wfu_constants.php:199
854
  msgid "All files uploaded successfully but there are warnings!"
855
  msgstr ""
856
 
857
+ #: lib/wfu_constants.php:200
858
  msgid "File uploaded successfully but there are warnings!"
859
  msgstr ""
860
 
861
+ #: lib/wfu_constants.php:201
862
  msgid "Some files failed to upload!"
863
  msgstr ""
864
 
865
+ #: lib/wfu_constants.php:202
866
  msgid "All files failed to upload"
867
  msgstr ""
868
 
869
+ #: lib/wfu_constants.php:203
870
  msgid "File failed to upload"
871
  msgstr ""
872
 
873
+ #: lib/wfu_constants.php:204
874
  msgid "There are no files to upload!"
875
  msgstr ""
876
 
877
+ #: lib/wfu_constants.php:205
878
  msgid "Test upload message"
879
  msgstr ""
880
 
881
+ #: lib/wfu_constants.php:206
882
  msgid "JSON parse warning!"
883
  msgstr ""
884
 
885
+ #: lib/wfu_constants.php:207
886
  msgid "please wait while redirecting..."
887
  msgstr ""
888
 
889
+ #: lib/wfu_constants.php:209
890
  msgid "Open visual shortcode editor in new window"
891
  msgstr ""
892
 
893
+ #: lib/wfu_constants.php:210
894
  msgid "loading visual editor"
895
  msgstr ""
896
 
897
+ #: lib/wfu_constants.php:211
898
  msgid "Clear file list?"
899
  msgstr ""
900
 
901
+ #: lib/wfu_constants.php:212
902
  msgid "DROP HERE"
903
  msgstr ""
904
 
905
+ #: lib/wfu_constants.php:214
906
  msgid "record video"
907
  msgstr ""
908
 
909
+ #: lib/wfu_constants.php:215
910
  msgid "take a picture"
911
  msgstr ""
912
 
913
+ #: lib/wfu_constants.php:216
914
  msgid "turn webcam on/off"
915
  msgstr ""
916
 
917
+ #: lib/wfu_constants.php:217
918
  msgid "go live again"
919
  msgstr ""
920
 
921
+ #: lib/wfu_constants.php:218
922
  msgid "end recording"
923
  msgstr ""
924
 
925
+ #: lib/wfu_constants.php:219
926
  msgid "play"
927
  msgstr ""
928
 
929
+ #: lib/wfu_constants.php:220
930
  msgid "pause"
931
  msgstr ""
932
 
933
+ #: lib/wfu_constants.php:221
934
  msgid "go to the beginning"
935
  msgstr ""
936
 
937
+ #: lib/wfu_constants.php:222
938
  msgid "go to the end"
939
  msgstr ""
940
 
941
+ #: lib/wfu_constants.php:224
942
  msgid "Wordpress File Upload Form"
943
  msgstr ""
944
 
945
+ #: lib/wfu_constants.php:225
946
  msgid "Wordpress File Upload plugin uploader for sidebars"
947
  msgstr ""
948
 
949
+ #: lib/wfu_constants.php:226
950
  msgid "Upload Files"
951
  msgstr ""
languages/wp-file-upload-es_ES.mo CHANGED
Binary file
languages/wp-file-upload-es_ES.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:31+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:32+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: es\n"
@@ -317,7 +317,7 @@ msgstr ""
317
  msgid "Upload failed! Error occured while attemting to upload the file."
318
  msgstr "Fallo en la carga! Ocurrió un error al intentar cargar el archivo."
319
 
320
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
321
  msgid "Upload failed!"
322
  msgstr "Fallo en la carga!"
323
 
@@ -716,15 +716,27 @@ msgstr ""
716
  "\n"
717
  "Gracias"
718
 
 
 
 
 
 
 
719
  #: lib/wfu_constants.php:148
720
  msgid ""
 
 
 
 
 
 
721
  "Failed to add the shortcode to the page/post. Please try again. If the "
722
  "message persists, contact administrator."
723
  msgstr ""
724
  "Fallo al agregar el shortcode a la página/entrada. Por favor intente "
725
  "nuevamente. Si el mensaje persiste, contacte al administrador."
726
 
727
- #: lib/wfu_constants.php:149
728
  msgid ""
729
  "Failed to edit the shortcode because the contents of the page changed. Try "
730
  "again to edit the shortcode."
@@ -732,7 +744,7 @@ msgstr ""
732
  "Fallo al editar el shortcode porque el contenido de la página cambió. "
733
  "Intente editar el shortcode nuevamente."
734
 
735
- #: lib/wfu_constants.php:150
736
  msgid ""
737
  "Failed to delete the shortcode because the contents of the page changed. Try "
738
  "again to delete it."
@@ -740,7 +752,7 @@ msgstr ""
740
  "Fallo al eliminar el shortcode porque el contenido de la página cambió. "
741
  "Intente eliminarlo nuevamente."
742
 
743
- #: lib/wfu_constants.php:151
744
  msgid ""
745
  "The page containing the shortcode has been modified and it is no longer "
746
  "valid. Please go back to reload the shortcode."
@@ -748,7 +760,7 @@ msgstr ""
748
  "La página que contiene el shortcode fue modificada y ya no es válida. Por "
749
  "favor vuelva a cargar el shortcode."
750
 
751
- #: lib/wfu_constants.php:152
752
  msgid ""
753
  "Failed to update the shortcode because the contents of the page changed. Go "
754
  "back to reload the shortcode."
@@ -756,7 +768,7 @@ msgstr ""
756
  "Fallo al actualizar el shortcode porque el contenido de la página cambió. "
757
  "Vuelva a cargar el shortcode."
758
 
759
- #: lib/wfu_constants.php:153
760
  msgid ""
761
  "Failed to update the shortcode. Please try again. If the problem persists, "
762
  "go back and reload the shortcode."
@@ -764,39 +776,39 @@ msgstr ""
764
  "Fallo al actualizar el shortcode. Por favor intente nuevamente. Si el "
765
  "problema persiste, vuelva a cargar el shortcode."
766
 
767
- #: lib/wfu_constants.php:155
768
  msgid "This is a test message"
769
  msgstr "Este es un mensaje de prueba"
770
 
771
- #: lib/wfu_constants.php:156
772
  msgid "This is a test administrator message"
773
  msgstr "Este es un mensaje de prueba del administrador"
774
 
775
- #: lib/wfu_constants.php:157
776
  msgid "File testfile 1 under test"
777
  msgstr "Archivo testfile 1 en prueba"
778
 
779
- #: lib/wfu_constants.php:158
780
  msgid "File testfile 1 message"
781
  msgstr "Archivo testfile 1 mensaje"
782
 
783
- #: lib/wfu_constants.php:159
784
  msgid "File testfile 1 administrator message"
785
  msgstr "Archivo testfile 1 mensaje de administrador"
786
 
787
- #: lib/wfu_constants.php:160
788
  msgid "File testfile 2 under test"
789
  msgstr "Archivo testfile 2 en prueba"
790
 
791
- #: lib/wfu_constants.php:161
792
  msgid "File testfile 2 message"
793
  msgstr "Archivo testfile 2 mensaje"
794
 
795
- #: lib/wfu_constants.php:162
796
  msgid "File testfile 2 administrator message"
797
  msgstr "Archivo testfile 2 mensaje de administrador"
798
 
799
- #: lib/wfu_constants.php:164
800
  msgid ""
801
  "Insert variable %userid% inside text. It will be replaced by the id of the "
802
  "current user."
@@ -804,7 +816,7 @@ msgstr ""
804
  "Insertar la variable %userid% dentro del texto. Será reemplazada por el id "
805
  "del usuario actual."
806
 
807
- #: lib/wfu_constants.php:165
808
  msgid ""
809
  "Insert variable %username% inside text. It will be replaced by the username "
810
  "of the current user."
@@ -812,7 +824,7 @@ msgstr ""
812
  "Insertar la variable %username% dentro del texto. Será reemplazada por el "
813
  "nombre del usuario actual."
814
 
815
- #: lib/wfu_constants.php:166
816
  msgid ""
817
  "Insert variable %useremail% inside text. It will be replaced by the email of "
818
  "the current user."
@@ -820,7 +832,7 @@ msgstr ""
820
  "Insertar la variable %useremail% dentro del texto. Será reemplazada por el "
821
  "email del usuario actual."
822
 
823
- #: lib/wfu_constants.php:167
824
  msgid ""
825
  "Insert variable %filename% inside text. It will be replaced by the filename "
826
  "of the uploaded file."
@@ -828,7 +840,7 @@ msgstr ""
828
  "Insertar la variable %filename% dentro del texto. Será reemplazada por el "
829
  "nombre del archivo cargado."
830
 
831
- #: lib/wfu_constants.php:168
832
  msgid ""
833
  "Insert variable %filepath% inside text. It will be replaced by the full "
834
  "filepath of the uploaded file."
@@ -836,7 +848,7 @@ msgstr ""
836
  "Insertar la variable %filepath% dentro del texto. Será reemplazada por la "
837
  "ruta completa al archivo cargado."
838
 
839
- #: lib/wfu_constants.php:169
840
  msgid ""
841
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
842
  "the website."
@@ -844,7 +856,7 @@ msgstr ""
844
  "Insertar la variable %blogid% dentro del texto. Será reemplazada por la blog "
845
  "id del sitio web."
846
 
847
- #: lib/wfu_constants.php:170
848
  msgid ""
849
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
850
  "current page."
@@ -852,7 +864,7 @@ msgstr ""
852
  "Insertar la variable %pageid% dentro del texto. Será reemplazada por el id "
853
  "de la página actual."
854
 
855
- #: lib/wfu_constants.php:171
856
  msgid ""
857
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
858
  "the current page."
@@ -860,7 +872,7 @@ msgstr ""
860
  "Insertar variable %pagetitle% dentro del texto. Será reemplazada por el "
861
  "título de la página actual."
862
 
863
- #: lib/wfu_constants.php:172
864
  msgid ""
865
  "Insert variable %userdataXXX% inside text. Select the user field from the "
866
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -870,196 +882,196 @@ msgstr ""
870
  "usuario de la lista desplegable. Será reemplazada por el valor que el "
871
  "usuario ingresó en este campo."
872
 
873
- #: lib/wfu_constants.php:173
874
  msgid "Insert variable %n% inside text to denote a line change."
875
  msgstr ""
876
  "Insertar la variable %n% dentro del texto para denotar un cambio de línea."
877
 
878
- #: lib/wfu_constants.php:175
879
  msgid "Test Mode"
880
  msgstr "Modo de Prueba"
881
 
882
- #: lib/wfu_constants.php:176
883
  msgid "select dir..."
884
  msgstr "elegir carpeta..."
885
 
886
- #: lib/wfu_constants.php:177
887
  msgid "type dir"
888
  msgstr "ingresar carpeta"
889
 
890
- #: lib/wfu_constants.php:178
891
  msgid "Upload path: %filepath%"
892
  msgstr "Ruta de carga: %filepath%"
893
 
894
- #: lib/wfu_constants.php:179
895
  msgid "Failed upload path: %filepath%"
896
  msgstr "Falló la ruta de carga: %filepath%"
897
 
898
- #: lib/wfu_constants.php:180
899
  msgid " (required)"
900
  msgstr "(requerido)"
901
 
902
- #: lib/wfu_constants.php:181
903
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
904
  msgstr "Los archivos están siendo cargados. ¿Desea salir de la página?"
905
 
906
- #: lib/wfu_constants.php:182
907
  msgid "checking captcha..."
908
  msgstr "verificando captcha..."
909
 
910
- #: lib/wfu_constants.php:183
911
  msgid "refreshing..."
912
  msgstr "recargando..."
913
 
914
- #: lib/wfu_constants.php:184
915
  msgid "correct captcha"
916
  msgstr "captcha correcto"
917
 
918
- #: lib/wfu_constants.php:185
919
  msgid "click to continue the upload"
920
  msgstr "click para continuar la carga"
921
 
922
- #: lib/wfu_constants.php:186
923
  msgid "Are you sure you want to delete this file?"
924
  msgstr "¿Desea eliminar este archivo?"
925
 
926
- #: lib/wfu_constants.php:187
927
  msgid "Are you sure you want to delete these files?"
928
  msgstr "¿Desea eliminar estos archivos?"
929
 
930
- #: lib/wfu_constants.php:188
931
  msgid "Bulk Actions"
932
  msgstr "Acciones en conjunto"
933
 
934
- #: lib/wfu_constants.php:189
935
  msgid "Apply"
936
  msgstr "Aplicar"
937
 
938
- #: lib/wfu_constants.php:190
939
  msgid "Are you sure that you want to cancel the upload?"
940
  msgstr "¿Desea cancelar la carga?"
941
 
942
- #: lib/wfu_constants.php:191
943
  msgid "cancel upload of this file"
944
  msgstr "cancelar carga de este archivo"
945
 
946
- #: lib/wfu_constants.php:192
947
  msgid "Upload in progress"
948
  msgstr "Carga en progreso"
949
 
950
- #: lib/wfu_constants.php:193
951
  msgid "Upload in progress with warnings!"
952
  msgstr "Carga en progreso con advertencias!"
953
 
954
- #: lib/wfu_constants.php:194
955
  msgid "Upload in progress but some files already failed!"
956
  msgstr "Carga en progreso pero algunos archivos ya fallaron!"
957
 
958
- #: lib/wfu_constants.php:195
959
  msgid "Upload in progress but no files uploaded so far!"
960
  msgstr "Carga en progreso pero ningún archivo fue cargado aún!"
961
 
962
- #: lib/wfu_constants.php:196
963
  msgid "All files uploaded successfully"
964
  msgstr "Todos los archivos fueron cargados satisfactoriamente"
965
 
966
- #: lib/wfu_constants.php:197
967
  msgid "All files uploaded successfully but there are warnings!"
968
  msgstr ""
969
  "Todos los archivos fueron cargados satisfactoriamente pero hay advertencias!"
970
 
971
- #: lib/wfu_constants.php:198
972
  msgid "File uploaded successfully but there are warnings!"
973
  msgstr "El archivo fue cargado satisfactoriamente pero hubo advertencias!"
974
 
975
- #: lib/wfu_constants.php:199
976
  msgid "Some files failed to upload!"
977
  msgstr "Falló la carga de algunos archivos!"
978
 
979
- #: lib/wfu_constants.php:200
980
  msgid "All files failed to upload"
981
  msgstr "Falló la carga de todos los archivos"
982
 
983
- #: lib/wfu_constants.php:201
984
  msgid "File failed to upload"
985
  msgstr "Falló la carga del archivo"
986
 
987
- #: lib/wfu_constants.php:202
988
  msgid "There are no files to upload!"
989
  msgstr "No hay archivos para cargar!"
990
 
991
- #: lib/wfu_constants.php:203
992
  msgid "Test upload message"
993
  msgstr "Mensaje de prueba de carga."
994
 
995
- #: lib/wfu_constants.php:204
996
  msgid "JSON parse warning!"
997
  msgstr "Advertencia de procesamiento JSON!"
998
 
999
- #: lib/wfu_constants.php:205
1000
  msgid "please wait while redirecting..."
1001
  msgstr "por favor espere mientras se redirecciona..."
1002
 
1003
- #: lib/wfu_constants.php:207
1004
  msgid "Open visual shortcode editor in new window"
1005
  msgstr "Abrir el editor visual de shortcode en una nueva ventana"
1006
 
1007
- #: lib/wfu_constants.php:208
1008
  msgid "loading visual editor"
1009
  msgstr "cargando editor visual"
1010
 
1011
- #: lib/wfu_constants.php:209
1012
  msgid "Clear file list?"
1013
  msgstr "Limpiar lista de archivos?"
1014
 
1015
- #: lib/wfu_constants.php:210
1016
  msgid "DROP HERE"
1017
  msgstr "SOLTAR AQUÍ"
1018
 
1019
- #: lib/wfu_constants.php:212
1020
  msgid "record video"
1021
  msgstr "grabar video"
1022
 
1023
- #: lib/wfu_constants.php:213
1024
  msgid "take a picture"
1025
  msgstr "tomar fotografía"
1026
 
1027
- #: lib/wfu_constants.php:214
1028
  msgid "turn webcam on/off"
1029
  msgstr "encender/apagar webcam"
1030
 
1031
- #: lib/wfu_constants.php:215
1032
  msgid "go live again"
1033
  msgstr "salir en vivo otra vez"
1034
 
1035
- #: lib/wfu_constants.php:216
1036
  msgid "end recording"
1037
  msgstr "finalizar grabación"
1038
 
1039
- #: lib/wfu_constants.php:217
1040
  msgid "play"
1041
  msgstr "reproducir"
1042
 
1043
- #: lib/wfu_constants.php:218
1044
  msgid "pause"
1045
  msgstr "pausa"
1046
 
1047
- #: lib/wfu_constants.php:219
1048
  msgid "go to the beginning"
1049
  msgstr "ir al principio"
1050
 
1051
- #: lib/wfu_constants.php:220
1052
  msgid "go to the end"
1053
  msgstr "ir al final"
1054
 
1055
- #: lib/wfu_constants.php:222
1056
  msgid "Wordpress File Upload Form"
1057
  msgstr "Formulario Wordpress File Upload"
1058
 
1059
- #: lib/wfu_constants.php:223
1060
  msgid "Wordpress File Upload plugin uploader for sidebars"
1061
  msgstr "Cargador de complemento Wordpress File Uploader para sidebars"
1062
 
1063
- #: lib/wfu_constants.php:224
1064
  msgid "Upload Files"
1065
  msgstr "Cargar Archivos"
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:50+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:50+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: es\n"
317
  msgid "Upload failed! Error occured while attemting to upload the file."
318
  msgstr "Fallo en la carga! Ocurrió un error al intentar cargar el archivo."
319
 
320
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
321
  msgid "Upload failed!"
322
  msgstr "Fallo en la carga!"
323
 
716
  "\n"
717
  "Gracias"
718
 
719
+ #: lib/wfu_constants.php:147
720
+ msgid ""
721
+ "You have activated an alternative insecure Iptanus Services Server. For "
722
+ "details please contact info@iptanus.com."
723
+ msgstr ""
724
+
725
  #: lib/wfu_constants.php:148
726
  msgid ""
727
+ "Iptanus Services Server is unreachable. This may cause problems in some "
728
+ "plugin functions. Please contact info@iptanus.com for details."
729
+ msgstr ""
730
+
731
+ #: lib/wfu_constants.php:150
732
+ msgid ""
733
  "Failed to add the shortcode to the page/post. Please try again. If the "
734
  "message persists, contact administrator."
735
  msgstr ""
736
  "Fallo al agregar el shortcode a la página/entrada. Por favor intente "
737
  "nuevamente. Si el mensaje persiste, contacte al administrador."
738
 
739
+ #: lib/wfu_constants.php:151
740
  msgid ""
741
  "Failed to edit the shortcode because the contents of the page changed. Try "
742
  "again to edit the shortcode."
744
  "Fallo al editar el shortcode porque el contenido de la página cambió. "
745
  "Intente editar el shortcode nuevamente."
746
 
747
+ #: lib/wfu_constants.php:152
748
  msgid ""
749
  "Failed to delete the shortcode because the contents of the page changed. Try "
750
  "again to delete it."
752
  "Fallo al eliminar el shortcode porque el contenido de la página cambió. "
753
  "Intente eliminarlo nuevamente."
754
 
755
+ #: lib/wfu_constants.php:153
756
  msgid ""
757
  "The page containing the shortcode has been modified and it is no longer "
758
  "valid. Please go back to reload the shortcode."
760
  "La página que contiene el shortcode fue modificada y ya no es válida. Por "
761
  "favor vuelva a cargar el shortcode."
762
 
763
+ #: lib/wfu_constants.php:154
764
  msgid ""
765
  "Failed to update the shortcode because the contents of the page changed. Go "
766
  "back to reload the shortcode."
768
  "Fallo al actualizar el shortcode porque el contenido de la página cambió. "
769
  "Vuelva a cargar el shortcode."
770
 
771
+ #: lib/wfu_constants.php:155
772
  msgid ""
773
  "Failed to update the shortcode. Please try again. If the problem persists, "
774
  "go back and reload the shortcode."
776
  "Fallo al actualizar el shortcode. Por favor intente nuevamente. Si el "
777
  "problema persiste, vuelva a cargar el shortcode."
778
 
779
+ #: lib/wfu_constants.php:157
780
  msgid "This is a test message"
781
  msgstr "Este es un mensaje de prueba"
782
 
783
+ #: lib/wfu_constants.php:158
784
  msgid "This is a test administrator message"
785
  msgstr "Este es un mensaje de prueba del administrador"
786
 
787
+ #: lib/wfu_constants.php:159
788
  msgid "File testfile 1 under test"
789
  msgstr "Archivo testfile 1 en prueba"
790
 
791
+ #: lib/wfu_constants.php:160
792
  msgid "File testfile 1 message"
793
  msgstr "Archivo testfile 1 mensaje"
794
 
795
+ #: lib/wfu_constants.php:161
796
  msgid "File testfile 1 administrator message"
797
  msgstr "Archivo testfile 1 mensaje de administrador"
798
 
799
+ #: lib/wfu_constants.php:162
800
  msgid "File testfile 2 under test"
801
  msgstr "Archivo testfile 2 en prueba"
802
 
803
+ #: lib/wfu_constants.php:163
804
  msgid "File testfile 2 message"
805
  msgstr "Archivo testfile 2 mensaje"
806
 
807
+ #: lib/wfu_constants.php:164
808
  msgid "File testfile 2 administrator message"
809
  msgstr "Archivo testfile 2 mensaje de administrador"
810
 
811
+ #: lib/wfu_constants.php:166
812
  msgid ""
813
  "Insert variable %userid% inside text. It will be replaced by the id of the "
814
  "current user."
816
  "Insertar la variable %userid% dentro del texto. Será reemplazada por el id "
817
  "del usuario actual."
818
 
819
+ #: lib/wfu_constants.php:167
820
  msgid ""
821
  "Insert variable %username% inside text. It will be replaced by the username "
822
  "of the current user."
824
  "Insertar la variable %username% dentro del texto. Será reemplazada por el "
825
  "nombre del usuario actual."
826
 
827
+ #: lib/wfu_constants.php:168
828
  msgid ""
829
  "Insert variable %useremail% inside text. It will be replaced by the email of "
830
  "the current user."
832
  "Insertar la variable %useremail% dentro del texto. Será reemplazada por el "
833
  "email del usuario actual."
834
 
835
+ #: lib/wfu_constants.php:169
836
  msgid ""
837
  "Insert variable %filename% inside text. It will be replaced by the filename "
838
  "of the uploaded file."
840
  "Insertar la variable %filename% dentro del texto. Será reemplazada por el "
841
  "nombre del archivo cargado."
842
 
843
+ #: lib/wfu_constants.php:170
844
  msgid ""
845
  "Insert variable %filepath% inside text. It will be replaced by the full "
846
  "filepath of the uploaded file."
848
  "Insertar la variable %filepath% dentro del texto. Será reemplazada por la "
849
  "ruta completa al archivo cargado."
850
 
851
+ #: lib/wfu_constants.php:171
852
  msgid ""
853
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
854
  "the website."
856
  "Insertar la variable %blogid% dentro del texto. Será reemplazada por la blog "
857
  "id del sitio web."
858
 
859
+ #: lib/wfu_constants.php:172
860
  msgid ""
861
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
862
  "current page."
864
  "Insertar la variable %pageid% dentro del texto. Será reemplazada por el id "
865
  "de la página actual."
866
 
867
+ #: lib/wfu_constants.php:173
868
  msgid ""
869
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
870
  "the current page."
872
  "Insertar variable %pagetitle% dentro del texto. Será reemplazada por el "
873
  "título de la página actual."
874
 
875
+ #: lib/wfu_constants.php:174
876
  msgid ""
877
  "Insert variable %userdataXXX% inside text. Select the user field from the "
878
  "drop-down list. It will be replaced by the value that the user entered in "
882
  "usuario de la lista desplegable. Será reemplazada por el valor que el "
883
  "usuario ingresó en este campo."
884
 
885
+ #: lib/wfu_constants.php:175
886
  msgid "Insert variable %n% inside text to denote a line change."
887
  msgstr ""
888
  "Insertar la variable %n% dentro del texto para denotar un cambio de línea."
889
 
890
+ #: lib/wfu_constants.php:177
891
  msgid "Test Mode"
892
  msgstr "Modo de Prueba"
893
 
894
+ #: lib/wfu_constants.php:178
895
  msgid "select dir..."
896
  msgstr "elegir carpeta..."
897
 
898
+ #: lib/wfu_constants.php:179
899
  msgid "type dir"
900
  msgstr "ingresar carpeta"
901
 
902
+ #: lib/wfu_constants.php:180
903
  msgid "Upload path: %filepath%"
904
  msgstr "Ruta de carga: %filepath%"
905
 
906
+ #: lib/wfu_constants.php:181
907
  msgid "Failed upload path: %filepath%"
908
  msgstr "Falló la ruta de carga: %filepath%"
909
 
910
+ #: lib/wfu_constants.php:182
911
  msgid " (required)"
912
  msgstr "(requerido)"
913
 
914
+ #: lib/wfu_constants.php:183
915
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
916
  msgstr "Los archivos están siendo cargados. ¿Desea salir de la página?"
917
 
918
+ #: lib/wfu_constants.php:184
919
  msgid "checking captcha..."
920
  msgstr "verificando captcha..."
921
 
922
+ #: lib/wfu_constants.php:185
923
  msgid "refreshing..."
924
  msgstr "recargando..."
925
 
926
+ #: lib/wfu_constants.php:186
927
  msgid "correct captcha"
928
  msgstr "captcha correcto"
929
 
930
+ #: lib/wfu_constants.php:187
931
  msgid "click to continue the upload"
932
  msgstr "click para continuar la carga"
933
 
934
+ #: lib/wfu_constants.php:188
935
  msgid "Are you sure you want to delete this file?"
936
  msgstr "¿Desea eliminar este archivo?"
937
 
938
+ #: lib/wfu_constants.php:189
939
  msgid "Are you sure you want to delete these files?"
940
  msgstr "¿Desea eliminar estos archivos?"
941
 
942
+ #: lib/wfu_constants.php:190
943
  msgid "Bulk Actions"
944
  msgstr "Acciones en conjunto"
945
 
946
+ #: lib/wfu_constants.php:191
947
  msgid "Apply"
948
  msgstr "Aplicar"
949
 
950
+ #: lib/wfu_constants.php:192
951
  msgid "Are you sure that you want to cancel the upload?"
952
  msgstr "¿Desea cancelar la carga?"
953
 
954
+ #: lib/wfu_constants.php:193
955
  msgid "cancel upload of this file"
956
  msgstr "cancelar carga de este archivo"
957
 
958
+ #: lib/wfu_constants.php:194
959
  msgid "Upload in progress"
960
  msgstr "Carga en progreso"
961
 
962
+ #: lib/wfu_constants.php:195
963
  msgid "Upload in progress with warnings!"
964
  msgstr "Carga en progreso con advertencias!"
965
 
966
+ #: lib/wfu_constants.php:196
967
  msgid "Upload in progress but some files already failed!"
968
  msgstr "Carga en progreso pero algunos archivos ya fallaron!"
969
 
970
+ #: lib/wfu_constants.php:197
971
  msgid "Upload in progress but no files uploaded so far!"
972
  msgstr "Carga en progreso pero ningún archivo fue cargado aún!"
973
 
974
+ #: lib/wfu_constants.php:198
975
  msgid "All files uploaded successfully"
976
  msgstr "Todos los archivos fueron cargados satisfactoriamente"
977
 
978
+ #: lib/wfu_constants.php:199
979
  msgid "All files uploaded successfully but there are warnings!"
980
  msgstr ""
981
  "Todos los archivos fueron cargados satisfactoriamente pero hay advertencias!"
982
 
983
+ #: lib/wfu_constants.php:200
984
  msgid "File uploaded successfully but there are warnings!"
985
  msgstr "El archivo fue cargado satisfactoriamente pero hubo advertencias!"
986
 
987
+ #: lib/wfu_constants.php:201
988
  msgid "Some files failed to upload!"
989
  msgstr "Falló la carga de algunos archivos!"
990
 
991
+ #: lib/wfu_constants.php:202
992
  msgid "All files failed to upload"
993
  msgstr "Falló la carga de todos los archivos"
994
 
995
+ #: lib/wfu_constants.php:203
996
  msgid "File failed to upload"
997
  msgstr "Falló la carga del archivo"
998
 
999
+ #: lib/wfu_constants.php:204
1000
  msgid "There are no files to upload!"
1001
  msgstr "No hay archivos para cargar!"
1002
 
1003
+ #: lib/wfu_constants.php:205
1004
  msgid "Test upload message"
1005
  msgstr "Mensaje de prueba de carga."
1006
 
1007
+ #: lib/wfu_constants.php:206
1008
  msgid "JSON parse warning!"
1009
  msgstr "Advertencia de procesamiento JSON!"
1010
 
1011
+ #: lib/wfu_constants.php:207
1012
  msgid "please wait while redirecting..."
1013
  msgstr "por favor espere mientras se redirecciona..."
1014
 
1015
+ #: lib/wfu_constants.php:209
1016
  msgid "Open visual shortcode editor in new window"
1017
  msgstr "Abrir el editor visual de shortcode en una nueva ventana"
1018
 
1019
+ #: lib/wfu_constants.php:210
1020
  msgid "loading visual editor"
1021
  msgstr "cargando editor visual"
1022
 
1023
+ #: lib/wfu_constants.php:211
1024
  msgid "Clear file list?"
1025
  msgstr "Limpiar lista de archivos?"
1026
 
1027
+ #: lib/wfu_constants.php:212
1028
  msgid "DROP HERE"
1029
  msgstr "SOLTAR AQUÍ"
1030
 
1031
+ #: lib/wfu_constants.php:214
1032
  msgid "record video"
1033
  msgstr "grabar video"
1034
 
1035
+ #: lib/wfu_constants.php:215
1036
  msgid "take a picture"
1037
  msgstr "tomar fotografía"
1038
 
1039
+ #: lib/wfu_constants.php:216
1040
  msgid "turn webcam on/off"
1041
  msgstr "encender/apagar webcam"
1042
 
1043
+ #: lib/wfu_constants.php:217
1044
  msgid "go live again"
1045
  msgstr "salir en vivo otra vez"
1046
 
1047
+ #: lib/wfu_constants.php:218
1048
  msgid "end recording"
1049
  msgstr "finalizar grabación"
1050
 
1051
+ #: lib/wfu_constants.php:219
1052
  msgid "play"
1053
  msgstr "reproducir"
1054
 
1055
+ #: lib/wfu_constants.php:220
1056
  msgid "pause"
1057
  msgstr "pausa"
1058
 
1059
+ #: lib/wfu_constants.php:221
1060
  msgid "go to the beginning"
1061
  msgstr "ir al principio"
1062
 
1063
+ #: lib/wfu_constants.php:222
1064
  msgid "go to the end"
1065
  msgstr "ir al final"
1066
 
1067
+ #: lib/wfu_constants.php:224
1068
  msgid "Wordpress File Upload Form"
1069
  msgstr "Formulario Wordpress File Upload"
1070
 
1071
+ #: lib/wfu_constants.php:225
1072
  msgid "Wordpress File Upload plugin uploader for sidebars"
1073
  msgstr "Cargador de complemento Wordpress File Uploader para sidebars"
1074
 
1075
+ #: lib/wfu_constants.php:226
1076
  msgid "Upload Files"
1077
  msgstr "Cargar Archivos"
languages/wp-file-upload-fr_FR.mo CHANGED
Binary file
languages/wp-file-upload-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:32+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:32+0200\n"
7
  "Last-Translator: Eric D. Valachs <ericduval@laposte.net>\n"
8
  "Language-Team: \n"
9
  "Language: fr_FR\n"
@@ -315,7 +315,7 @@ msgstr ""
315
  "Envoi impossible ! Une erreur est survenue pendant la tentative d'envoi du "
316
  "fichier."
317
 
318
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
319
  msgid "Upload failed!"
320
  msgstr "Envoi impossible !"
321
 
@@ -696,15 +696,27 @@ msgid ""
696
  "Thanks"
697
  msgstr ""
698
 
 
 
 
 
 
 
699
  #: lib/wfu_constants.php:148
700
  msgid ""
 
 
 
 
 
 
701
  "Failed to add the shortcode to the page/post. Please try again. If the "
702
  "message persists, contact administrator."
703
  msgstr ""
704
  "Impossible d' ajouter le shortcode à la page / poste. Essayez à nouveau. Si "
705
  "le message persiste, contactez l' administrateur."
706
 
707
- #: lib/wfu_constants.php:149
708
  msgid ""
709
  "Failed to edit the shortcode because the contents of the page changed. Try "
710
  "again to edit the shortcode."
@@ -712,7 +724,7 @@ msgstr ""
712
  "Impossible de modifier le shortcode parce que le contenu de la page a "
713
  "changé. Essayez à nouveau de modifier le shortcode."
714
 
715
- #: lib/wfu_constants.php:150
716
  msgid ""
717
  "Failed to delete the shortcode because the contents of the page changed. Try "
718
  "again to delete it."
@@ -720,7 +732,7 @@ msgstr ""
720
  "Impossible de supprimer le shortcode parce que le contenu de la page a "
721
  "changé. Essayez à nouveau de le supprimer."
722
 
723
- #: lib/wfu_constants.php:151
724
  msgid ""
725
  "The page containing the shortcode has been modified and it is no longer "
726
  "valid. Please go back to reload the shortcode."
@@ -728,7 +740,7 @@ msgstr ""
728
  "La page contenant le shortcode a été modifié et il n'est plus valide. "
729
  "Rechargez le shortcode."
730
 
731
- #: lib/wfu_constants.php:152
732
  msgid ""
733
  "Failed to update the shortcode because the contents of the page changed. Go "
734
  "back to reload the shortcode."
@@ -736,7 +748,7 @@ msgstr ""
736
  "Impossible de mettre à jour le shortcode parce que le contenu de la page a "
737
  "changé. Rechargez le shortcode."
738
 
739
- #: lib/wfu_constants.php:153
740
  msgid ""
741
  "Failed to update the shortcode. Please try again. If the problem persists, "
742
  "go back and reload the shortcode."
@@ -744,39 +756,39 @@ msgstr ""
744
  "Impossible de mettre à jour le shortcode. Essayez à nouveau. Si le problème "
745
  "persiste, rechargez le shortcode."
746
 
747
- #: lib/wfu_constants.php:155
748
  msgid "This is a test message"
749
  msgstr "Ceci est un message de test"
750
 
751
- #: lib/wfu_constants.php:156
752
  msgid "This is a test administrator message"
753
  msgstr "Ceci est un message administrateur de test"
754
 
755
- #: lib/wfu_constants.php:157
756
  msgid "File testfile 1 under test"
757
  msgstr "File testfile 1 under test"
758
 
759
- #: lib/wfu_constants.php:158
760
  msgid "File testfile 1 message"
761
  msgstr "File testfile 1 message"
762
 
763
- #: lib/wfu_constants.php:159
764
  msgid "File testfile 1 administrator message"
765
  msgstr "Message administrateur File testfile"
766
 
767
- #: lib/wfu_constants.php:160
768
  msgid "File testfile 2 under test"
769
  msgstr "En test File testfile"
770
 
771
- #: lib/wfu_constants.php:161
772
  msgid "File testfile 2 message"
773
  msgstr "Message File testfile 2"
774
 
775
- #: lib/wfu_constants.php:162
776
  msgid "File testfile 2 administrator message"
777
  msgstr "Message administrateur File testfile 2"
778
 
779
- #: lib/wfu_constants.php:164
780
  msgid ""
781
  "Insert variable %userid% inside text. It will be replaced by the id of the "
782
  "current user."
@@ -784,7 +796,7 @@ msgstr ""
784
  "Insérez %userid% variable dans le texte. Il sera remplacé par l'id de "
785
  "l'utilisateur courant."
786
 
787
- #: lib/wfu_constants.php:165
788
  msgid ""
789
  "Insert variable %username% inside text. It will be replaced by the username "
790
  "of the current user."
@@ -792,7 +804,7 @@ msgstr ""
792
  "Insérez la variable %username% dans le texte. Il sera remplacé par le "
793
  "username de l'utilisateur courant."
794
 
795
- #: lib/wfu_constants.php:166
796
  msgid ""
797
  "Insert variable %useremail% inside text. It will be replaced by the email of "
798
  "the current user."
@@ -800,7 +812,7 @@ msgstr ""
800
  "Insérez la variable %useremail% dans le texte. Il sera remplacé par l'email "
801
  "de l'utilisateur courant."
802
 
803
- #: lib/wfu_constants.php:167
804
  msgid ""
805
  "Insert variable %filename% inside text. It will be replaced by the filename "
806
  "of the uploaded file."
@@ -808,7 +820,7 @@ msgstr ""
808
  "Insérez la variable %filename% dans le texte. Il sera remplacé par le nom du "
809
  "fichier à envoyer."
810
 
811
- #: lib/wfu_constants.php:168
812
  msgid ""
813
  "Insert variable %filepath% inside text. It will be replaced by the full "
814
  "filepath of the uploaded file."
@@ -816,7 +828,7 @@ msgstr ""
816
  "Insérez la variable %filepath% dans le texte. Il sera remplacé par le chemin "
817
  "complet du fichier envoyé."
818
 
819
- #: lib/wfu_constants.php:169
820
  msgid ""
821
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
822
  "the website."
@@ -824,7 +836,7 @@ msgstr ""
824
  "Insérez la variable %blogid% dans le texte. Il sera remplacé par l'id du "
825
  "blog du site web."
826
 
827
- #: lib/wfu_constants.php:170
828
  msgid ""
829
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
830
  "current page."
@@ -832,7 +844,7 @@ msgstr ""
832
  "Insérez %pageid% variable dans le texte. Il sera remplacé par l'id de la "
833
  "page en cours."
834
 
835
- #: lib/wfu_constants.php:171
836
  msgid ""
837
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
838
  "the current page."
@@ -840,7 +852,7 @@ msgstr ""
840
  "Insérez %pagetitle% variable dans le texte. Il sera remplacé par le titre de "
841
  "la page courante."
842
 
843
- #: lib/wfu_constants.php:172
844
  msgid ""
845
  "Insert variable %userdataXXX% inside text. Select the user field from the "
846
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -850,198 +862,198 @@ msgstr ""
850
  "l'utilisateur dans la liste déroulante. Il sera remplacé par la valeur que "
851
  "l'utilisateur aura entré dans ce champ."
852
 
853
- #: lib/wfu_constants.php:173
854
  msgid "Insert variable %n% inside text to denote a line change."
855
  msgstr ""
856
  "Insérez la variable %n% à l'intérieur du texte pour indiquer un changement "
857
  "de ligne."
858
 
859
- #: lib/wfu_constants.php:175
860
  msgid "Test Mode"
861
  msgstr "Mode de test"
862
 
863
- #: lib/wfu_constants.php:176
864
  msgid "select dir..."
865
  msgstr "Sélectionnez dir"
866
 
867
- #: lib/wfu_constants.php:177
868
  msgid "type dir"
869
  msgstr "Saisir dir"
870
 
871
- #: lib/wfu_constants.php:178
872
  msgid "Upload path: %filepath%"
873
  msgstr "Chemin d'upload : %filepath%"
874
 
875
- #: lib/wfu_constants.php:179
876
  msgid "Failed upload path: %filepath%"
877
  msgstr "Mauvais répertoire d'envoi : %filepath%"
878
 
879
- #: lib/wfu_constants.php:180
880
  msgid " (required)"
881
  msgstr " (*)"
882
 
883
- #: lib/wfu_constants.php:181
884
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
885
  msgstr "Les fichiers sont envoyés. Êtes-vous sûr de vouloir quitter la page ?"
886
 
887
- #: lib/wfu_constants.php:182
888
  msgid "checking captcha..."
889
  msgstr "Vérifiez captcha..."
890
 
891
- #: lib/wfu_constants.php:183
892
  msgid "refreshing..."
893
  msgstr "Mise à jour..."
894
 
895
- #: lib/wfu_constants.php:184
896
  msgid "correct captcha"
897
  msgstr "Captcha correctement saisi"
898
 
899
- #: lib/wfu_constants.php:185
900
  msgid "click to continue the upload"
901
  msgstr "Cliquer pour continuer l'envoi"
902
 
903
- #: lib/wfu_constants.php:186
904
  msgid "Are you sure you want to delete this file?"
905
  msgstr "Êtes-vous sûr de vouloir supprimer ce fichier?"
906
 
907
- #: lib/wfu_constants.php:187
908
  msgid "Are you sure you want to delete these files?"
909
  msgstr ""
910
 
911
- #: lib/wfu_constants.php:188
912
  msgid "Bulk Actions"
913
  msgstr ""
914
 
915
- #: lib/wfu_constants.php:189
916
  msgid "Apply"
917
  msgstr ""
918
 
919
- #: lib/wfu_constants.php:190
920
  msgid "Are you sure that you want to cancel the upload?"
921
  msgstr ""
922
 
923
- #: lib/wfu_constants.php:191
924
  msgid "cancel upload of this file"
925
  msgstr ""
926
 
927
- #: lib/wfu_constants.php:192
928
  msgid "Upload in progress"
929
  msgstr "Envoi en cours"
930
 
931
- #: lib/wfu_constants.php:193
932
  msgid "Upload in progress with warnings!"
933
  msgstr "Envoi en cours mais avec des avertissements!"
934
 
935
- #: lib/wfu_constants.php:194
936
  msgid "Upload in progress but some files already failed!"
937
  msgstr "Envoi en cours mais certains fichiers ont échoués!"
938
 
939
- #: lib/wfu_constants.php:195
940
  msgid "Upload in progress but no files uploaded so far!"
941
  msgstr "Envoi en cours mais aucun fichier n'a été envoyé pour le moment!"
942
 
943
- #: lib/wfu_constants.php:196
944
  msgid "All files uploaded successfully"
945
  msgstr "Tous les fichiers ont été envoyés avec succès"
946
 
947
- #: lib/wfu_constants.php:197
948
  msgid "All files uploaded successfully but there are warnings!"
949
  msgstr ""
950
  "Tous les fichiers ont été envoyés avec succès mais avec des avertissements!"
951
 
952
- #: lib/wfu_constants.php:198
953
  msgid "File uploaded successfully but there are warnings!"
954
  msgstr "Fichiers envoyés avec succès mais certain avec un avertissement."
955
 
956
- #: lib/wfu_constants.php:199
957
  msgid "Some files failed to upload!"
958
  msgstr "Certains fichiers n'ont pas été envoyé"
959
 
960
- #: lib/wfu_constants.php:200
961
  msgid "All files failed to upload"
962
  msgstr "Impossible d'envoyer les fichiers"
963
 
964
- #: lib/wfu_constants.php:201
965
  msgid "File failed to upload"
966
  msgstr "Impossible d'envoyer le fichier"
967
 
968
- #: lib/wfu_constants.php:202
969
  msgid "There are no files to upload!"
970
  msgstr "Il n'y a pas de fichiers à envoyer"
971
 
972
- #: lib/wfu_constants.php:203
973
  msgid "Test upload message"
974
  msgstr "Message de test d'upload"
975
 
976
- #: lib/wfu_constants.php:204
977
  msgid "JSON parse warning!"
978
  msgstr "Avertissements d'analyse JSON."
979
 
980
- #: lib/wfu_constants.php:205
981
  msgid "please wait while redirecting..."
982
  msgstr "Merci de patienter pendant la redirection..."
983
 
984
- #: lib/wfu_constants.php:207
985
  msgid "Open visual shortcode editor in new window"
986
  msgstr "Ouvrez l'éditeur de shortcode visuel dans une nouvelle fenêtre"
987
 
988
- #: lib/wfu_constants.php:208
989
  msgid "loading visual editor"
990
  msgstr "Chargement de l'éditeur visuel"
991
 
992
- #: lib/wfu_constants.php:209
993
  msgid "Clear file list?"
994
  msgstr "Effacer la liste des fichiers ?"
995
 
996
- #: lib/wfu_constants.php:210
997
  msgid "DROP HERE"
998
  msgstr "Déposer ici"
999
 
1000
- #: lib/wfu_constants.php:212
1001
  msgid "record video"
1002
  msgstr ""
1003
 
1004
- #: lib/wfu_constants.php:213
1005
  msgid "take a picture"
1006
  msgstr ""
1007
 
1008
- #: lib/wfu_constants.php:214
1009
  msgid "turn webcam on/off"
1010
  msgstr ""
1011
 
1012
- #: lib/wfu_constants.php:215
1013
  msgid "go live again"
1014
  msgstr ""
1015
 
1016
- #: lib/wfu_constants.php:216
1017
  msgid "end recording"
1018
  msgstr ""
1019
 
1020
- #: lib/wfu_constants.php:217
1021
  msgid "play"
1022
  msgstr ""
1023
 
1024
- #: lib/wfu_constants.php:218
1025
  msgid "pause"
1026
  msgstr ""
1027
 
1028
- #: lib/wfu_constants.php:219
1029
  msgid "go to the beginning"
1030
  msgstr ""
1031
 
1032
- #: lib/wfu_constants.php:220
1033
  msgid "go to the end"
1034
  msgstr ""
1035
 
1036
- #: lib/wfu_constants.php:222
1037
  msgid "Wordpress File Upload Form"
1038
  msgstr "Wordpress File Upload Formulaire"
1039
 
1040
- #: lib/wfu_constants.php:223
1041
  msgid "Wordpress File Upload plugin uploader for sidebars"
1042
  msgstr "Wordpress File Upload extension d'upload pour sidebar."
1043
 
1044
- #: lib/wfu_constants.php:224
1045
  msgid "Upload Files"
1046
  msgstr "Envoyer des fichiers"
1047
 
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:50+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:50+0200\n"
7
  "Last-Translator: Eric D. Valachs <ericduval@laposte.net>\n"
8
  "Language-Team: \n"
9
  "Language: fr_FR\n"
315
  "Envoi impossible ! Une erreur est survenue pendant la tentative d'envoi du "
316
  "fichier."
317
 
318
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
319
  msgid "Upload failed!"
320
  msgstr "Envoi impossible !"
321
 
696
  "Thanks"
697
  msgstr ""
698
 
699
+ #: lib/wfu_constants.php:147
700
+ msgid ""
701
+ "You have activated an alternative insecure Iptanus Services Server. For "
702
+ "details please contact info@iptanus.com."
703
+ msgstr ""
704
+
705
  #: lib/wfu_constants.php:148
706
  msgid ""
707
+ "Iptanus Services Server is unreachable. This may cause problems in some "
708
+ "plugin functions. Please contact info@iptanus.com for details."
709
+ msgstr ""
710
+
711
+ #: lib/wfu_constants.php:150
712
+ msgid ""
713
  "Failed to add the shortcode to the page/post. Please try again. If the "
714
  "message persists, contact administrator."
715
  msgstr ""
716
  "Impossible d' ajouter le shortcode à la page / poste. Essayez à nouveau. Si "
717
  "le message persiste, contactez l' administrateur."
718
 
719
+ #: lib/wfu_constants.php:151
720
  msgid ""
721
  "Failed to edit the shortcode because the contents of the page changed. Try "
722
  "again to edit the shortcode."
724
  "Impossible de modifier le shortcode parce que le contenu de la page a "
725
  "changé. Essayez à nouveau de modifier le shortcode."
726
 
727
+ #: lib/wfu_constants.php:152
728
  msgid ""
729
  "Failed to delete the shortcode because the contents of the page changed. Try "
730
  "again to delete it."
732
  "Impossible de supprimer le shortcode parce que le contenu de la page a "
733
  "changé. Essayez à nouveau de le supprimer."
734
 
735
+ #: lib/wfu_constants.php:153
736
  msgid ""
737
  "The page containing the shortcode has been modified and it is no longer "
738
  "valid. Please go back to reload the shortcode."
740
  "La page contenant le shortcode a été modifié et il n'est plus valide. "
741
  "Rechargez le shortcode."
742
 
743
+ #: lib/wfu_constants.php:154
744
  msgid ""
745
  "Failed to update the shortcode because the contents of the page changed. Go "
746
  "back to reload the shortcode."
748
  "Impossible de mettre à jour le shortcode parce que le contenu de la page a "
749
  "changé. Rechargez le shortcode."
750
 
751
+ #: lib/wfu_constants.php:155
752
  msgid ""
753
  "Failed to update the shortcode. Please try again. If the problem persists, "
754
  "go back and reload the shortcode."
756
  "Impossible de mettre à jour le shortcode. Essayez à nouveau. Si le problème "
757
  "persiste, rechargez le shortcode."
758
 
759
+ #: lib/wfu_constants.php:157
760
  msgid "This is a test message"
761
  msgstr "Ceci est un message de test"
762
 
763
+ #: lib/wfu_constants.php:158
764
  msgid "This is a test administrator message"
765
  msgstr "Ceci est un message administrateur de test"
766
 
767
+ #: lib/wfu_constants.php:159
768
  msgid "File testfile 1 under test"
769
  msgstr "File testfile 1 under test"
770
 
771
+ #: lib/wfu_constants.php:160
772
  msgid "File testfile 1 message"
773
  msgstr "File testfile 1 message"
774
 
775
+ #: lib/wfu_constants.php:161
776
  msgid "File testfile 1 administrator message"
777
  msgstr "Message administrateur File testfile"
778
 
779
+ #: lib/wfu_constants.php:162
780
  msgid "File testfile 2 under test"
781
  msgstr "En test File testfile"
782
 
783
+ #: lib/wfu_constants.php:163
784
  msgid "File testfile 2 message"
785
  msgstr "Message File testfile 2"
786
 
787
+ #: lib/wfu_constants.php:164
788
  msgid "File testfile 2 administrator message"
789
  msgstr "Message administrateur File testfile 2"
790
 
791
+ #: lib/wfu_constants.php:166
792
  msgid ""
793
  "Insert variable %userid% inside text. It will be replaced by the id of the "
794
  "current user."
796
  "Insérez %userid% variable dans le texte. Il sera remplacé par l'id de "
797
  "l'utilisateur courant."
798
 
799
+ #: lib/wfu_constants.php:167
800
  msgid ""
801
  "Insert variable %username% inside text. It will be replaced by the username "
802
  "of the current user."
804
  "Insérez la variable %username% dans le texte. Il sera remplacé par le "
805
  "username de l'utilisateur courant."
806
 
807
+ #: lib/wfu_constants.php:168
808
  msgid ""
809
  "Insert variable %useremail% inside text. It will be replaced by the email of "
810
  "the current user."
812
  "Insérez la variable %useremail% dans le texte. Il sera remplacé par l'email "
813
  "de l'utilisateur courant."
814
 
815
+ #: lib/wfu_constants.php:169
816
  msgid ""
817
  "Insert variable %filename% inside text. It will be replaced by the filename "
818
  "of the uploaded file."
820
  "Insérez la variable %filename% dans le texte. Il sera remplacé par le nom du "
821
  "fichier à envoyer."
822
 
823
+ #: lib/wfu_constants.php:170
824
  msgid ""
825
  "Insert variable %filepath% inside text. It will be replaced by the full "
826
  "filepath of the uploaded file."
828
  "Insérez la variable %filepath% dans le texte. Il sera remplacé par le chemin "
829
  "complet du fichier envoyé."
830
 
831
+ #: lib/wfu_constants.php:171
832
  msgid ""
833
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
834
  "the website."
836
  "Insérez la variable %blogid% dans le texte. Il sera remplacé par l'id du "
837
  "blog du site web."
838
 
839
+ #: lib/wfu_constants.php:172
840
  msgid ""
841
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
842
  "current page."
844
  "Insérez %pageid% variable dans le texte. Il sera remplacé par l'id de la "
845
  "page en cours."
846
 
847
+ #: lib/wfu_constants.php:173
848
  msgid ""
849
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
850
  "the current page."
852
  "Insérez %pagetitle% variable dans le texte. Il sera remplacé par le titre de "
853
  "la page courante."
854
 
855
+ #: lib/wfu_constants.php:174
856
  msgid ""
857
  "Insert variable %userdataXXX% inside text. Select the user field from the "
858
  "drop-down list. It will be replaced by the value that the user entered in "
862
  "l'utilisateur dans la liste déroulante. Il sera remplacé par la valeur que "
863
  "l'utilisateur aura entré dans ce champ."
864
 
865
+ #: lib/wfu_constants.php:175
866
  msgid "Insert variable %n% inside text to denote a line change."
867
  msgstr ""
868
  "Insérez la variable %n% à l'intérieur du texte pour indiquer un changement "
869
  "de ligne."
870
 
871
+ #: lib/wfu_constants.php:177
872
  msgid "Test Mode"
873
  msgstr "Mode de test"
874
 
875
+ #: lib/wfu_constants.php:178
876
  msgid "select dir..."
877
  msgstr "Sélectionnez dir"
878
 
879
+ #: lib/wfu_constants.php:179
880
  msgid "type dir"
881
  msgstr "Saisir dir"
882
 
883
+ #: lib/wfu_constants.php:180
884
  msgid "Upload path: %filepath%"
885
  msgstr "Chemin d'upload : %filepath%"
886
 
887
+ #: lib/wfu_constants.php:181
888
  msgid "Failed upload path: %filepath%"
889
  msgstr "Mauvais répertoire d'envoi : %filepath%"
890
 
891
+ #: lib/wfu_constants.php:182
892
  msgid " (required)"
893
  msgstr " (*)"
894
 
895
+ #: lib/wfu_constants.php:183
896
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
897
  msgstr "Les fichiers sont envoyés. Êtes-vous sûr de vouloir quitter la page ?"
898
 
899
+ #: lib/wfu_constants.php:184
900
  msgid "checking captcha..."
901
  msgstr "Vérifiez captcha..."
902
 
903
+ #: lib/wfu_constants.php:185
904
  msgid "refreshing..."
905
  msgstr "Mise à jour..."
906
 
907
+ #: lib/wfu_constants.php:186
908
  msgid "correct captcha"
909
  msgstr "Captcha correctement saisi"
910
 
911
+ #: lib/wfu_constants.php:187
912
  msgid "click to continue the upload"
913
  msgstr "Cliquer pour continuer l'envoi"
914
 
915
+ #: lib/wfu_constants.php:188
916
  msgid "Are you sure you want to delete this file?"
917
  msgstr "Êtes-vous sûr de vouloir supprimer ce fichier?"
918
 
919
+ #: lib/wfu_constants.php:189
920
  msgid "Are you sure you want to delete these files?"
921
  msgstr ""
922
 
923
+ #: lib/wfu_constants.php:190
924
  msgid "Bulk Actions"
925
  msgstr ""
926
 
927
+ #: lib/wfu_constants.php:191
928
  msgid "Apply"
929
  msgstr ""
930
 
931
+ #: lib/wfu_constants.php:192
932
  msgid "Are you sure that you want to cancel the upload?"
933
  msgstr ""
934
 
935
+ #: lib/wfu_constants.php:193
936
  msgid "cancel upload of this file"
937
  msgstr ""
938
 
939
+ #: lib/wfu_constants.php:194
940
  msgid "Upload in progress"
941
  msgstr "Envoi en cours"
942
 
943
+ #: lib/wfu_constants.php:195
944
  msgid "Upload in progress with warnings!"
945
  msgstr "Envoi en cours mais avec des avertissements!"
946
 
947
+ #: lib/wfu_constants.php:196
948
  msgid "Upload in progress but some files already failed!"
949
  msgstr "Envoi en cours mais certains fichiers ont échoués!"
950
 
951
+ #: lib/wfu_constants.php:197
952
  msgid "Upload in progress but no files uploaded so far!"
953
  msgstr "Envoi en cours mais aucun fichier n'a été envoyé pour le moment!"
954
 
955
+ #: lib/wfu_constants.php:198
956
  msgid "All files uploaded successfully"
957
  msgstr "Tous les fichiers ont été envoyés avec succès"
958
 
959
+ #: lib/wfu_constants.php:199
960
  msgid "All files uploaded successfully but there are warnings!"
961
  msgstr ""
962
  "Tous les fichiers ont été envoyés avec succès mais avec des avertissements!"
963
 
964
+ #: lib/wfu_constants.php:200
965
  msgid "File uploaded successfully but there are warnings!"
966
  msgstr "Fichiers envoyés avec succès mais certain avec un avertissement."
967
 
968
+ #: lib/wfu_constants.php:201
969
  msgid "Some files failed to upload!"
970
  msgstr "Certains fichiers n'ont pas été envoyé"
971
 
972
+ #: lib/wfu_constants.php:202
973
  msgid "All files failed to upload"
974
  msgstr "Impossible d'envoyer les fichiers"
975
 
976
+ #: lib/wfu_constants.php:203
977
  msgid "File failed to upload"
978
  msgstr "Impossible d'envoyer le fichier"
979
 
980
+ #: lib/wfu_constants.php:204
981
  msgid "There are no files to upload!"
982
  msgstr "Il n'y a pas de fichiers à envoyer"
983
 
984
+ #: lib/wfu_constants.php:205
985
  msgid "Test upload message"
986
  msgstr "Message de test d'upload"
987
 
988
+ #: lib/wfu_constants.php:206
989
  msgid "JSON parse warning!"
990
  msgstr "Avertissements d'analyse JSON."
991
 
992
+ #: lib/wfu_constants.php:207
993
  msgid "please wait while redirecting..."
994
  msgstr "Merci de patienter pendant la redirection..."
995
 
996
+ #: lib/wfu_constants.php:209
997
  msgid "Open visual shortcode editor in new window"
998
  msgstr "Ouvrez l'éditeur de shortcode visuel dans une nouvelle fenêtre"
999
 
1000
+ #: lib/wfu_constants.php:210
1001
  msgid "loading visual editor"
1002
  msgstr "Chargement de l'éditeur visuel"
1003
 
1004
+ #: lib/wfu_constants.php:211
1005
  msgid "Clear file list?"
1006
  msgstr "Effacer la liste des fichiers ?"
1007
 
1008
+ #: lib/wfu_constants.php:212
1009
  msgid "DROP HERE"
1010
  msgstr "Déposer ici"
1011
 
1012
+ #: lib/wfu_constants.php:214
1013
  msgid "record video"
1014
  msgstr ""
1015
 
1016
+ #: lib/wfu_constants.php:215
1017
  msgid "take a picture"
1018
  msgstr ""
1019
 
1020
+ #: lib/wfu_constants.php:216
1021
  msgid "turn webcam on/off"
1022
  msgstr ""
1023
 
1024
+ #: lib/wfu_constants.php:217
1025
  msgid "go live again"
1026
  msgstr ""
1027
 
1028
+ #: lib/wfu_constants.php:218
1029
  msgid "end recording"
1030
  msgstr ""
1031
 
1032
+ #: lib/wfu_constants.php:219
1033
  msgid "play"
1034
  msgstr ""
1035
 
1036
+ #: lib/wfu_constants.php:220
1037
  msgid "pause"
1038
  msgstr ""
1039
 
1040
+ #: lib/wfu_constants.php:221
1041
  msgid "go to the beginning"
1042
  msgstr ""
1043
 
1044
+ #: lib/wfu_constants.php:222
1045
  msgid "go to the end"
1046
  msgstr ""
1047
 
1048
+ #: lib/wfu_constants.php:224
1049
  msgid "Wordpress File Upload Form"
1050
  msgstr "Wordpress File Upload Formulaire"
1051
 
1052
+ #: lib/wfu_constants.php:225
1053
  msgid "Wordpress File Upload plugin uploader for sidebars"
1054
  msgstr "Wordpress File Upload extension d'upload pour sidebar."
1055
 
1056
+ #: lib/wfu_constants.php:226
1057
  msgid "Upload Files"
1058
  msgstr "Envoyer des fichiers"
1059
 
languages/wp-file-upload-it_IT.mo CHANGED
Binary file
languages/wp-file-upload-it_IT.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:33+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:33+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: it\n"
@@ -321,7 +321,7 @@ msgstr ""
321
  "Caricamento fallito! Un errore è stato generato durante il caricamento del "
322
  "file."
323
 
324
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
325
  msgid "Upload failed!"
326
  msgstr "Caricamento fallito! "
327
 
@@ -723,15 +723,27 @@ msgstr ""
723
  "\n"
724
  "Grazie"
725
 
 
 
 
 
 
 
726
  #: lib/wfu_constants.php:148
727
  msgid ""
 
 
 
 
 
 
728
  "Failed to add the shortcode to the page/post. Please try again. If the "
729
  "message persists, contact administrator."
730
  msgstr ""
731
  "Aggiuta del codice breve nella pagina/post fallita. Prova ancora. Se il "
732
  "messaggio persiste contatta l'amministratore."
733
 
734
- #: lib/wfu_constants.php:149
735
  msgid ""
736
  "Failed to edit the shortcode because the contents of the page changed. Try "
737
  "again to edit the shortcode."
@@ -739,7 +751,7 @@ msgstr ""
739
  "Modifica del codice breve fallita perchè il contenuto della pagina è "
740
  "cambiato. Prova a modificare ancora il codice breve."
741
 
742
- #: lib/wfu_constants.php:150
743
  msgid ""
744
  "Failed to delete the shortcode because the contents of the page changed. Try "
745
  "again to delete it."
@@ -747,7 +759,7 @@ msgstr ""
747
  "Eliminazione del codice breve fallita perchè il contenuto della pagina è "
748
  "cambiato. Prova ad eliminare ancora il codice breve."
749
 
750
- #: lib/wfu_constants.php:151
751
  msgid ""
752
  "The page containing the shortcode has been modified and it is no longer "
753
  "valid. Please go back to reload the shortcode."
@@ -755,7 +767,7 @@ msgstr ""
755
  "La pagina contenente il codice breve è stata modificata e non è più valida. "
756
  "Cortesemente torna indietro e ricarica il codice breve."
757
 
758
- #: lib/wfu_constants.php:152
759
  msgid ""
760
  "Failed to update the shortcode because the contents of the page changed. Go "
761
  "back to reload the shortcode."
@@ -763,7 +775,7 @@ msgstr ""
763
  "Ricaricamento del codice breve fallita perchè il contenuto della pagina è "
764
  "cambiato. Prova a ricaricare ancora il codice breve."
765
 
766
- #: lib/wfu_constants.php:153
767
  msgid ""
768
  "Failed to update the shortcode. Please try again. If the problem persists, "
769
  "go back and reload the shortcode."
@@ -771,39 +783,39 @@ msgstr ""
771
  "Ricaricamento del codice breve fallita. Prova ancora. Se il problema "
772
  "persiste, prova a ricaricare ancora il codice breve."
773
 
774
- #: lib/wfu_constants.php:155
775
  msgid "This is a test message"
776
  msgstr "Questo è un messaggio di prova"
777
 
778
- #: lib/wfu_constants.php:156
779
  msgid "This is a test administrator message"
780
  msgstr "Questo è un messaggio di prova dell'amministratore"
781
 
782
- #: lib/wfu_constants.php:157
783
  msgid "File testfile 1 under test"
784
  msgstr "File testfile1 in fase di test"
785
 
786
- #: lib/wfu_constants.php:158
787
  msgid "File testfile 1 message"
788
  msgstr "File testfile 1 messaggio"
789
 
790
- #: lib/wfu_constants.php:159
791
  msgid "File testfile 1 administrator message"
792
  msgstr "File testfile 1 messaggio amministratore"
793
 
794
- #: lib/wfu_constants.php:160
795
  msgid "File testfile 2 under test"
796
  msgstr "File testfile 2 in fase di test"
797
 
798
- #: lib/wfu_constants.php:161
799
  msgid "File testfile 2 message"
800
  msgstr "File testfile 2 messaggio"
801
 
802
- #: lib/wfu_constants.php:162
803
  msgid "File testfile 2 administrator message"
804
  msgstr "File testfile 2 messaggio amministratore"
805
 
806
- #: lib/wfu_constants.php:164
807
  msgid ""
808
  "Insert variable %userid% inside text. It will be replaced by the id of the "
809
  "current user."
@@ -811,7 +823,7 @@ msgstr ""
811
  "Inserisci la variabile %userid% nel testo. Verrà sostituita dall'id "
812
  "dell'utente corrente."
813
 
814
- #: lib/wfu_constants.php:165
815
  msgid ""
816
  "Insert variable %username% inside text. It will be replaced by the username "
817
  "of the current user."
@@ -819,7 +831,7 @@ msgstr ""
819
  "Inserisci la variabile %username% nel testo. Verrà sostituita dal nome "
820
  "utente dell'utente corrente."
821
 
822
- #: lib/wfu_constants.php:166
823
  msgid ""
824
  "Insert variable %useremail% inside text. It will be replaced by the email of "
825
  "the current user."
@@ -827,7 +839,7 @@ msgstr ""
827
  "Inserisci la variabile %useremail% nel testo. Verrà sostituita dall'email "
828
  "dell'utente corrente."
829
 
830
- #: lib/wfu_constants.php:167
831
  msgid ""
832
  "Insert variable %filename% inside text. It will be replaced by the filename "
833
  "of the uploaded file."
@@ -835,7 +847,7 @@ msgstr ""
835
  "Inserisci la variabile %filename% nel testo. Verrà sostituita dal nome del "
836
  "file caricato."
837
 
838
- #: lib/wfu_constants.php:168
839
  msgid ""
840
  "Insert variable %filepath% inside text. It will be replaced by the full "
841
  "filepath of the uploaded file."
@@ -843,7 +855,7 @@ msgstr ""
843
  "Inserisci la variabile %filepath% nel testo. Verrà sostituita dal percorso "
844
  "completo del file caricato."
845
 
846
- #: lib/wfu_constants.php:169
847
  msgid ""
848
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
849
  "the website."
@@ -851,7 +863,7 @@ msgstr ""
851
  "Inserisci la variabile %blogid% nel testo. Verrà sostituita dall'id "
852
  "dell'articolo del sito."
853
 
854
- #: lib/wfu_constants.php:170
855
  msgid ""
856
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
857
  "current page."
@@ -859,7 +871,7 @@ msgstr ""
859
  "Inserisci la variabile %pageid% nel testo. Verrà sostituita dall'id della "
860
  "pagina corrente."
861
 
862
- #: lib/wfu_constants.php:171
863
  msgid ""
864
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
865
  "the current page."
@@ -867,7 +879,7 @@ msgstr ""
867
  "Inserisci la variabile %pagetitle% nel testo. Verrà sostituita dall titolo "
868
  "della pagina corrente."
869
 
870
- #: lib/wfu_constants.php:172
871
  msgid ""
872
  "Insert variable %userdataXXX% inside text. Select the user field from the "
873
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -876,198 +888,198 @@ msgstr ""
876
  "Inserisci la variabile %userdataXXX% nel testo. Scegli il campo utente dal "
877
  "menu a tendina. Verrà sostituita dal valore inserito dalll'utente nel campo."
878
 
879
- #: lib/wfu_constants.php:173
880
  msgid "Insert variable %n% inside text to denote a line change."
881
  msgstr ""
882
  "Inserisci la varibaile %n% nel testo per avere una nuova linea (newline)"
883
 
884
- #: lib/wfu_constants.php:175
885
  msgid "Test Mode"
886
  msgstr "Modalità di test"
887
 
888
- #: lib/wfu_constants.php:176
889
  msgid "select dir..."
890
  msgstr "scegli cartella..."
891
 
892
- #: lib/wfu_constants.php:177
893
  msgid "type dir"
894
  msgstr "digita cartella..."
895
 
896
- #: lib/wfu_constants.php:178
897
  msgid "Upload path: %filepath%"
898
  msgstr "Percorso di caricamento: %filepath%"
899
 
900
- #: lib/wfu_constants.php:179
901
  msgid "Failed upload path: %filepath%"
902
  msgstr "Fallimento nel percorso di caricamento: %filepath%"
903
 
904
- #: lib/wfu_constants.php:180
905
  msgid " (required)"
906
  msgstr " (richiesto)"
907
 
908
- #: lib/wfu_constants.php:181
909
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
910
  msgstr ""
911
  "I file sono in fase di caricamento. Sei sicuro di volere uscire da questa "
912
  "pagina?"
913
 
914
- #: lib/wfu_constants.php:182
915
  msgid "checking captcha..."
916
  msgstr "controllo il captcha..."
917
 
918
- #: lib/wfu_constants.php:183
919
  msgid "refreshing..."
920
  msgstr "aggiornamento..."
921
 
922
- #: lib/wfu_constants.php:184
923
  msgid "correct captcha"
924
  msgstr "captcha corretto"
925
 
926
- #: lib/wfu_constants.php:185
927
  msgid "click to continue the upload"
928
  msgstr "clicca per continuare il caricamento"
929
 
930
- #: lib/wfu_constants.php:186
931
  msgid "Are you sure you want to delete this file?"
932
  msgstr "Sei sicuro che vuoi cancellare questo file?"
933
 
934
- #: lib/wfu_constants.php:187
935
  msgid "Are you sure you want to delete these files?"
936
  msgstr "Sei sicuro che vuoi cancellare questi file?"
937
 
938
- #: lib/wfu_constants.php:188
939
  msgid "Bulk Actions"
940
  msgstr "Azioni in massa (bulk)"
941
 
942
- #: lib/wfu_constants.php:189
943
  msgid "Apply"
944
  msgstr "Applica"
945
 
946
- #: lib/wfu_constants.php:190
947
  msgid "Are you sure that you want to cancel the upload?"
948
  msgstr "Sei sicuro di voler cancellare il caricamento?"
949
 
950
- #: lib/wfu_constants.php:191
951
  msgid "cancel upload of this file"
952
  msgstr "cancella il caricamento di questo file"
953
 
954
- #: lib/wfu_constants.php:192
955
  msgid "Upload in progress"
956
  msgstr "Caricamento in corso"
957
 
958
- #: lib/wfu_constants.php:193
959
  msgid "Upload in progress with warnings!"
960
  msgstr "Caricamento in corso con avvertimenti!"
961
 
962
- #: lib/wfu_constants.php:194
963
  msgid "Upload in progress but some files already failed!"
964
  msgstr "Caricamento in corso ma alcuni file hanno già fallito!"
965
 
966
- #: lib/wfu_constants.php:195
967
  msgid "Upload in progress but no files uploaded so far!"
968
  msgstr "Caricamento in corso ma nessun file è stato caricato per ora!"
969
 
970
- #: lib/wfu_constants.php:196
971
  msgid "All files uploaded successfully"
972
  msgstr "Tutti i file sono stati caricati correttamente"
973
 
974
- #: lib/wfu_constants.php:197
975
  msgid "All files uploaded successfully but there are warnings!"
976
  msgstr ""
977
  "Tutti i file sono stati caricati correttamente ma ci sono degli avvertimenti"
978
 
979
- #: lib/wfu_constants.php:198
980
  msgid "File uploaded successfully but there are warnings!"
981
  msgstr "File caricato correttamente ma con degli avvertimenti!"
982
 
983
- #: lib/wfu_constants.php:199
984
  msgid "Some files failed to upload!"
985
  msgstr "Alcuni file non sono stati caricati!"
986
 
987
- #: lib/wfu_constants.php:200
988
  msgid "All files failed to upload"
989
  msgstr "Tutti i file hanno fallito il caricamento"
990
 
991
- #: lib/wfu_constants.php:201
992
  msgid "File failed to upload"
993
  msgstr "Il file ha fallito il caricamento"
994
 
995
- #: lib/wfu_constants.php:202
996
  msgid "There are no files to upload!"
997
  msgstr "Non ci sono file da caricare!"
998
 
999
- #: lib/wfu_constants.php:203
1000
  msgid "Test upload message"
1001
  msgstr "Prova il messaggio di caricamento"
1002
 
1003
- #: lib/wfu_constants.php:204
1004
  msgid "JSON parse warning!"
1005
  msgstr "Avvertimento nell'analisi del JSON!"
1006
 
1007
- #: lib/wfu_constants.php:205
1008
  msgid "please wait while redirecting..."
1009
  msgstr "Un attimo ancora, grazie..."
1010
 
1011
- #: lib/wfu_constants.php:207
1012
  msgid "Open visual shortcode editor in new window"
1013
  msgstr "Apri l'editor visuale per i codici brevi in una nuova finestra"
1014
 
1015
- #: lib/wfu_constants.php:208
1016
  msgid "loading visual editor"
1017
  msgstr "Caricamento dell'editor visuale"
1018
 
1019
- #: lib/wfu_constants.php:209
1020
  msgid "Clear file list?"
1021
  msgstr "Pulire la lista dei file?"
1022
 
1023
- #: lib/wfu_constants.php:210
1024
  msgid "DROP HERE"
1025
  msgstr "TRASCINA QUI"
1026
 
1027
- #: lib/wfu_constants.php:212
1028
  msgid "record video"
1029
  msgstr "registra video"
1030
 
1031
- #: lib/wfu_constants.php:213
1032
  msgid "take a picture"
1033
  msgstr "scatta una foto"
1034
 
1035
- #: lib/wfu_constants.php:214
1036
  msgid "turn webcam on/off"
1037
  msgstr "accendi o spegni la webcam"
1038
 
1039
- #: lib/wfu_constants.php:215
1040
  msgid "go live again"
1041
  msgstr "torna in diretta"
1042
 
1043
- #: lib/wfu_constants.php:216
1044
  msgid "end recording"
1045
  msgstr "termina registrazione"
1046
 
1047
- #: lib/wfu_constants.php:217
1048
  msgid "play"
1049
  msgstr "riproduci"
1050
 
1051
- #: lib/wfu_constants.php:218
1052
  msgid "pause"
1053
  msgstr "pausa"
1054
 
1055
- #: lib/wfu_constants.php:219
1056
  msgid "go to the beginning"
1057
  msgstr "vai all'inizio"
1058
 
1059
- #: lib/wfu_constants.php:220
1060
  msgid "go to the end"
1061
  msgstr "vai alla fine"
1062
 
1063
- #: lib/wfu_constants.php:222
1064
  msgid "Wordpress File Upload Form"
1065
  msgstr "Wordpress File Upload Form"
1066
 
1067
- #: lib/wfu_constants.php:223
1068
  msgid "Wordpress File Upload plugin uploader for sidebars"
1069
  msgstr "Wordpress File Upload plugin per barre laterali"
1070
 
1071
- #: lib/wfu_constants.php:224
1072
  msgid "Upload Files"
1073
  msgstr "Carica Files"
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:50+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:50+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: it\n"
321
  "Caricamento fallito! Un errore è stato generato durante il caricamento del "
322
  "file."
323
 
324
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
325
  msgid "Upload failed!"
326
  msgstr "Caricamento fallito! "
327
 
723
  "\n"
724
  "Grazie"
725
 
726
+ #: lib/wfu_constants.php:147
727
+ msgid ""
728
+ "You have activated an alternative insecure Iptanus Services Server. For "
729
+ "details please contact info@iptanus.com."
730
+ msgstr ""
731
+
732
  #: lib/wfu_constants.php:148
733
  msgid ""
734
+ "Iptanus Services Server is unreachable. This may cause problems in some "
735
+ "plugin functions. Please contact info@iptanus.com for details."
736
+ msgstr ""
737
+
738
+ #: lib/wfu_constants.php:150
739
+ msgid ""
740
  "Failed to add the shortcode to the page/post. Please try again. If the "
741
  "message persists, contact administrator."
742
  msgstr ""
743
  "Aggiuta del codice breve nella pagina/post fallita. Prova ancora. Se il "
744
  "messaggio persiste contatta l'amministratore."
745
 
746
+ #: lib/wfu_constants.php:151
747
  msgid ""
748
  "Failed to edit the shortcode because the contents of the page changed. Try "
749
  "again to edit the shortcode."
751
  "Modifica del codice breve fallita perchè il contenuto della pagina è "
752
  "cambiato. Prova a modificare ancora il codice breve."
753
 
754
+ #: lib/wfu_constants.php:152
755
  msgid ""
756
  "Failed to delete the shortcode because the contents of the page changed. Try "
757
  "again to delete it."
759
  "Eliminazione del codice breve fallita perchè il contenuto della pagina è "
760
  "cambiato. Prova ad eliminare ancora il codice breve."
761
 
762
+ #: lib/wfu_constants.php:153
763
  msgid ""
764
  "The page containing the shortcode has been modified and it is no longer "
765
  "valid. Please go back to reload the shortcode."
767
  "La pagina contenente il codice breve è stata modificata e non è più valida. "
768
  "Cortesemente torna indietro e ricarica il codice breve."
769
 
770
+ #: lib/wfu_constants.php:154
771
  msgid ""
772
  "Failed to update the shortcode because the contents of the page changed. Go "
773
  "back to reload the shortcode."
775
  "Ricaricamento del codice breve fallita perchè il contenuto della pagina è "
776
  "cambiato. Prova a ricaricare ancora il codice breve."
777
 
778
+ #: lib/wfu_constants.php:155
779
  msgid ""
780
  "Failed to update the shortcode. Please try again. If the problem persists, "
781
  "go back and reload the shortcode."
783
  "Ricaricamento del codice breve fallita. Prova ancora. Se il problema "
784
  "persiste, prova a ricaricare ancora il codice breve."
785
 
786
+ #: lib/wfu_constants.php:157
787
  msgid "This is a test message"
788
  msgstr "Questo è un messaggio di prova"
789
 
790
+ #: lib/wfu_constants.php:158
791
  msgid "This is a test administrator message"
792
  msgstr "Questo è un messaggio di prova dell'amministratore"
793
 
794
+ #: lib/wfu_constants.php:159
795
  msgid "File testfile 1 under test"
796
  msgstr "File testfile1 in fase di test"
797
 
798
+ #: lib/wfu_constants.php:160
799
  msgid "File testfile 1 message"
800
  msgstr "File testfile 1 messaggio"
801
 
802
+ #: lib/wfu_constants.php:161
803
  msgid "File testfile 1 administrator message"
804
  msgstr "File testfile 1 messaggio amministratore"
805
 
806
+ #: lib/wfu_constants.php:162
807
  msgid "File testfile 2 under test"
808
  msgstr "File testfile 2 in fase di test"
809
 
810
+ #: lib/wfu_constants.php:163
811
  msgid "File testfile 2 message"
812
  msgstr "File testfile 2 messaggio"
813
 
814
+ #: lib/wfu_constants.php:164
815
  msgid "File testfile 2 administrator message"
816
  msgstr "File testfile 2 messaggio amministratore"
817
 
818
+ #: lib/wfu_constants.php:166
819
  msgid ""
820
  "Insert variable %userid% inside text. It will be replaced by the id of the "
821
  "current user."
823
  "Inserisci la variabile %userid% nel testo. Verrà sostituita dall'id "
824
  "dell'utente corrente."
825
 
826
+ #: lib/wfu_constants.php:167
827
  msgid ""
828
  "Insert variable %username% inside text. It will be replaced by the username "
829
  "of the current user."
831
  "Inserisci la variabile %username% nel testo. Verrà sostituita dal nome "
832
  "utente dell'utente corrente."
833
 
834
+ #: lib/wfu_constants.php:168
835
  msgid ""
836
  "Insert variable %useremail% inside text. It will be replaced by the email of "
837
  "the current user."
839
  "Inserisci la variabile %useremail% nel testo. Verrà sostituita dall'email "
840
  "dell'utente corrente."
841
 
842
+ #: lib/wfu_constants.php:169
843
  msgid ""
844
  "Insert variable %filename% inside text. It will be replaced by the filename "
845
  "of the uploaded file."
847
  "Inserisci la variabile %filename% nel testo. Verrà sostituita dal nome del "
848
  "file caricato."
849
 
850
+ #: lib/wfu_constants.php:170
851
  msgid ""
852
  "Insert variable %filepath% inside text. It will be replaced by the full "
853
  "filepath of the uploaded file."
855
  "Inserisci la variabile %filepath% nel testo. Verrà sostituita dal percorso "
856
  "completo del file caricato."
857
 
858
+ #: lib/wfu_constants.php:171
859
  msgid ""
860
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
861
  "the website."
863
  "Inserisci la variabile %blogid% nel testo. Verrà sostituita dall'id "
864
  "dell'articolo del sito."
865
 
866
+ #: lib/wfu_constants.php:172
867
  msgid ""
868
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
869
  "current page."
871
  "Inserisci la variabile %pageid% nel testo. Verrà sostituita dall'id della "
872
  "pagina corrente."
873
 
874
+ #: lib/wfu_constants.php:173
875
  msgid ""
876
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
877
  "the current page."
879
  "Inserisci la variabile %pagetitle% nel testo. Verrà sostituita dall titolo "
880
  "della pagina corrente."
881
 
882
+ #: lib/wfu_constants.php:174
883
  msgid ""
884
  "Insert variable %userdataXXX% inside text. Select the user field from the "
885
  "drop-down list. It will be replaced by the value that the user entered in "
888
  "Inserisci la variabile %userdataXXX% nel testo. Scegli il campo utente dal "
889
  "menu a tendina. Verrà sostituita dal valore inserito dalll'utente nel campo."
890
 
891
+ #: lib/wfu_constants.php:175
892
  msgid "Insert variable %n% inside text to denote a line change."
893
  msgstr ""
894
  "Inserisci la varibaile %n% nel testo per avere una nuova linea (newline)"
895
 
896
+ #: lib/wfu_constants.php:177
897
  msgid "Test Mode"
898
  msgstr "Modalità di test"
899
 
900
+ #: lib/wfu_constants.php:178
901
  msgid "select dir..."
902
  msgstr "scegli cartella..."
903
 
904
+ #: lib/wfu_constants.php:179
905
  msgid "type dir"
906
  msgstr "digita cartella..."
907
 
908
+ #: lib/wfu_constants.php:180
909
  msgid "Upload path: %filepath%"
910
  msgstr "Percorso di caricamento: %filepath%"
911
 
912
+ #: lib/wfu_constants.php:181
913
  msgid "Failed upload path: %filepath%"
914
  msgstr "Fallimento nel percorso di caricamento: %filepath%"
915
 
916
+ #: lib/wfu_constants.php:182
917
  msgid " (required)"
918
  msgstr " (richiesto)"
919
 
920
+ #: lib/wfu_constants.php:183
921
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
922
  msgstr ""
923
  "I file sono in fase di caricamento. Sei sicuro di volere uscire da questa "
924
  "pagina?"
925
 
926
+ #: lib/wfu_constants.php:184
927
  msgid "checking captcha..."
928
  msgstr "controllo il captcha..."
929
 
930
+ #: lib/wfu_constants.php:185
931
  msgid "refreshing..."
932
  msgstr "aggiornamento..."
933
 
934
+ #: lib/wfu_constants.php:186
935
  msgid "correct captcha"
936
  msgstr "captcha corretto"
937
 
938
+ #: lib/wfu_constants.php:187
939
  msgid "click to continue the upload"
940
  msgstr "clicca per continuare il caricamento"
941
 
942
+ #: lib/wfu_constants.php:188
943
  msgid "Are you sure you want to delete this file?"
944
  msgstr "Sei sicuro che vuoi cancellare questo file?"
945
 
946
+ #: lib/wfu_constants.php:189
947
  msgid "Are you sure you want to delete these files?"
948
  msgstr "Sei sicuro che vuoi cancellare questi file?"
949
 
950
+ #: lib/wfu_constants.php:190
951
  msgid "Bulk Actions"
952
  msgstr "Azioni in massa (bulk)"
953
 
954
+ #: lib/wfu_constants.php:191
955
  msgid "Apply"
956
  msgstr "Applica"
957
 
958
+ #: lib/wfu_constants.php:192
959
  msgid "Are you sure that you want to cancel the upload?"
960
  msgstr "Sei sicuro di voler cancellare il caricamento?"
961
 
962
+ #: lib/wfu_constants.php:193
963
  msgid "cancel upload of this file"
964
  msgstr "cancella il caricamento di questo file"
965
 
966
+ #: lib/wfu_constants.php:194
967
  msgid "Upload in progress"
968
  msgstr "Caricamento in corso"
969
 
970
+ #: lib/wfu_constants.php:195
971
  msgid "Upload in progress with warnings!"
972
  msgstr "Caricamento in corso con avvertimenti!"
973
 
974
+ #: lib/wfu_constants.php:196
975
  msgid "Upload in progress but some files already failed!"
976
  msgstr "Caricamento in corso ma alcuni file hanno già fallito!"
977
 
978
+ #: lib/wfu_constants.php:197
979
  msgid "Upload in progress but no files uploaded so far!"
980
  msgstr "Caricamento in corso ma nessun file è stato caricato per ora!"
981
 
982
+ #: lib/wfu_constants.php:198
983
  msgid "All files uploaded successfully"
984
  msgstr "Tutti i file sono stati caricati correttamente"
985
 
986
+ #: lib/wfu_constants.php:199
987
  msgid "All files uploaded successfully but there are warnings!"
988
  msgstr ""
989
  "Tutti i file sono stati caricati correttamente ma ci sono degli avvertimenti"
990
 
991
+ #: lib/wfu_constants.php:200
992
  msgid "File uploaded successfully but there are warnings!"
993
  msgstr "File caricato correttamente ma con degli avvertimenti!"
994
 
995
+ #: lib/wfu_constants.php:201
996
  msgid "Some files failed to upload!"
997
  msgstr "Alcuni file non sono stati caricati!"
998
 
999
+ #: lib/wfu_constants.php:202
1000
  msgid "All files failed to upload"
1001
  msgstr "Tutti i file hanno fallito il caricamento"
1002
 
1003
+ #: lib/wfu_constants.php:203
1004
  msgid "File failed to upload"
1005
  msgstr "Il file ha fallito il caricamento"
1006
 
1007
+ #: lib/wfu_constants.php:204
1008
  msgid "There are no files to upload!"
1009
  msgstr "Non ci sono file da caricare!"
1010
 
1011
+ #: lib/wfu_constants.php:205
1012
  msgid "Test upload message"
1013
  msgstr "Prova il messaggio di caricamento"
1014
 
1015
+ #: lib/wfu_constants.php:206
1016
  msgid "JSON parse warning!"
1017
  msgstr "Avvertimento nell'analisi del JSON!"
1018
 
1019
+ #: lib/wfu_constants.php:207
1020
  msgid "please wait while redirecting..."
1021
  msgstr "Un attimo ancora, grazie..."
1022
 
1023
+ #: lib/wfu_constants.php:209
1024
  msgid "Open visual shortcode editor in new window"
1025
  msgstr "Apri l'editor visuale per i codici brevi in una nuova finestra"
1026
 
1027
+ #: lib/wfu_constants.php:210
1028
  msgid "loading visual editor"
1029
  msgstr "Caricamento dell'editor visuale"
1030
 
1031
+ #: lib/wfu_constants.php:211
1032
  msgid "Clear file list?"
1033
  msgstr "Pulire la lista dei file?"
1034
 
1035
+ #: lib/wfu_constants.php:212
1036
  msgid "DROP HERE"
1037
  msgstr "TRASCINA QUI"
1038
 
1039
+ #: lib/wfu_constants.php:214
1040
  msgid "record video"
1041
  msgstr "registra video"
1042
 
1043
+ #: lib/wfu_constants.php:215
1044
  msgid "take a picture"
1045
  msgstr "scatta una foto"
1046
 
1047
+ #: lib/wfu_constants.php:216
1048
  msgid "turn webcam on/off"
1049
  msgstr "accendi o spegni la webcam"
1050
 
1051
+ #: lib/wfu_constants.php:217
1052
  msgid "go live again"
1053
  msgstr "torna in diretta"
1054
 
1055
+ #: lib/wfu_constants.php:218
1056
  msgid "end recording"
1057
  msgstr "termina registrazione"
1058
 
1059
+ #: lib/wfu_constants.php:219
1060
  msgid "play"
1061
  msgstr "riproduci"
1062
 
1063
+ #: lib/wfu_constants.php:220
1064
  msgid "pause"
1065
  msgstr "pausa"
1066
 
1067
+ #: lib/wfu_constants.php:221
1068
  msgid "go to the beginning"
1069
  msgstr "vai all'inizio"
1070
 
1071
+ #: lib/wfu_constants.php:222
1072
  msgid "go to the end"
1073
  msgstr "vai alla fine"
1074
 
1075
+ #: lib/wfu_constants.php:224
1076
  msgid "Wordpress File Upload Form"
1077
  msgstr "Wordpress File Upload Form"
1078
 
1079
+ #: lib/wfu_constants.php:225
1080
  msgid "Wordpress File Upload plugin uploader for sidebars"
1081
  msgstr "Wordpress File Upload plugin per barre laterali"
1082
 
1083
+ #: lib/wfu_constants.php:226
1084
  msgid "Upload Files"
1085
  msgstr "Carica Files"
languages/wp-file-upload-nl_NL.mo CHANGED
Binary file
languages/wp-file-upload-nl_NL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:33+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:33+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: nl_NL\n"
@@ -311,7 +311,7 @@ msgstr ""
311
  msgid "Upload failed! Error occured while attemting to upload the file."
312
  msgstr "Upload mislukt! Een fout is opgetreden tijdens het uploaden."
313
 
314
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
315
  msgid "Upload failed!"
316
  msgstr "Upload mislukt!"
317
 
@@ -692,15 +692,27 @@ msgid ""
692
  "Thanks"
693
  msgstr ""
694
 
 
 
 
 
 
 
695
  #: lib/wfu_constants.php:148
696
  msgid ""
 
 
 
 
 
 
697
  "Failed to add the shortcode to the page/post. Please try again. If the "
698
  "message persists, contact administrator."
699
  msgstr ""
700
  "De shortcode toevoegen aan de pagina/post is mislukt. Probeer opnieuw. "
701
  "Contacteer de beheerder wanneer dit bericht blijft verschijnen."
702
 
703
- #: lib/wfu_constants.php:149
704
  msgid ""
705
  "Failed to edit the shortcode because the contents of the page changed. Try "
706
  "again to edit the shortcode."
@@ -708,7 +720,7 @@ msgstr ""
708
  "De shortcode aanpassen is mislukt omdat de inhoud van de pagina is "
709
  "veranderd. Probeer de shortcode opnieuw aan te passen."
710
 
711
- #: lib/wfu_constants.php:150
712
  msgid ""
713
  "Failed to delete the shortcode because the contents of the page changed. Try "
714
  "again to delete it."
@@ -716,7 +728,7 @@ msgstr ""
716
  "De shortcode aanpassen is mislukt omdat de inhoud van de pagina is "
717
  "veranderd. Probeer opnieuw te verwijderen."
718
 
719
- #: lib/wfu_constants.php:151
720
  msgid ""
721
  "The page containing the shortcode has been modified and it is no longer "
722
  "valid. Please go back to reload the shortcode."
@@ -724,7 +736,7 @@ msgstr ""
724
  "De pagina die de shortcode bevat werd aangepast en is daardoor niet langer "
725
  "geldig. Ga terug om de shortcode te herladen."
726
 
727
- #: lib/wfu_constants.php:152
728
  msgid ""
729
  "Failed to update the shortcode because the contents of the page changed. Go "
730
  "back to reload the shortcode."
@@ -732,7 +744,7 @@ msgstr ""
732
  "Het updaten van de shortcode is mislukt omdat de inhoud van de pagina werd "
733
  "gewijzigd. Ga terug om de shortcode te herladen."
734
 
735
- #: lib/wfu_constants.php:153
736
  msgid ""
737
  "Failed to update the shortcode. Please try again. If the problem persists, "
738
  "go back and reload the shortcode."
@@ -740,39 +752,39 @@ msgstr ""
740
  "Updaten van de shortcode is mislukt. Probeer opnieuw. Als het probleem zich "
741
  "blijft voordoen, ga dan terug en herlaadt de shortcode."
742
 
743
- #: lib/wfu_constants.php:155
744
  msgid "This is a test message"
745
  msgstr "Dit is een testbericht"
746
 
747
- #: lib/wfu_constants.php:156
748
  msgid "This is a test administrator message"
749
  msgstr "Dit is een test beheerdersbericht"
750
 
751
- #: lib/wfu_constants.php:157
752
  msgid "File testfile 1 under test"
753
  msgstr "Bestand testfile 1 onder test"
754
 
755
- #: lib/wfu_constants.php:158
756
  msgid "File testfile 1 message"
757
  msgstr "Bestand testfile 1 bericht"
758
 
759
- #: lib/wfu_constants.php:159
760
  msgid "File testfile 1 administrator message"
761
  msgstr "Bestand testfile 1 beheerdersbericht"
762
 
763
- #: lib/wfu_constants.php:160
764
  msgid "File testfile 2 under test"
765
  msgstr "Bestand tesfile 2 onder test"
766
 
767
- #: lib/wfu_constants.php:161
768
  msgid "File testfile 2 message"
769
  msgstr "Bestand testfile 2 bericht"
770
 
771
- #: lib/wfu_constants.php:162
772
  msgid "File testfile 2 administrator message"
773
  msgstr "Bestand testfile 2 beheerdersbericht"
774
 
775
- #: lib/wfu_constants.php:164
776
  msgid ""
777
  "Insert variable %userid% inside text. It will be replaced by the id of the "
778
  "current user."
@@ -780,7 +792,7 @@ msgstr ""
780
  "Plaats de variabele %userid% in de tekst. Het zal worden vervangen door de "
781
  "id van de huidige gebruiker."
782
 
783
- #: lib/wfu_constants.php:165
784
  msgid ""
785
  "Insert variable %username% inside text. It will be replaced by the username "
786
  "of the current user."
@@ -788,7 +800,7 @@ msgstr ""
788
  "Plaats de variabele %username% in de tekst. Het zal worden vervangen door de "
789
  "gebruikersnaam van de huidige gebruiker."
790
 
791
- #: lib/wfu_constants.php:166
792
  msgid ""
793
  "Insert variable %useremail% inside text. It will be replaced by the email of "
794
  "the current user."
@@ -796,7 +808,7 @@ msgstr ""
796
  "Plaats de variabele %usermail% in de tekst. Het zal worden vervangen door "
797
  "het e-mailadres van de huidige gebruiker."
798
 
799
- #: lib/wfu_constants.php:167
800
  msgid ""
801
  "Insert variable %filename% inside text. It will be replaced by the filename "
802
  "of the uploaded file."
@@ -804,7 +816,7 @@ msgstr ""
804
  "Plaats de variabele %filename% in de tekst. Het zal worden vervangen door de "
805
  "bestandsnaam van het geüploade bestand."
806
 
807
- #: lib/wfu_constants.php:168
808
  msgid ""
809
  "Insert variable %filepath% inside text. It will be replaced by the full "
810
  "filepath of the uploaded file."
@@ -812,7 +824,7 @@ msgstr ""
812
  "Plaats de variabele %filepath% in de tekst. Het zal worden vervangen door "
813
  "het volledige bestandspad van het geüploade bestand."
814
 
815
- #: lib/wfu_constants.php:169
816
  msgid ""
817
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
818
  "the website."
@@ -820,7 +832,7 @@ msgstr ""
820
  "Plaats de variabele %blogid% in de tekst. Het zal worden vervangen door de "
821
  "blog id van de website."
822
 
823
- #: lib/wfu_constants.php:170
824
  msgid ""
825
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
826
  "current page."
@@ -828,7 +840,7 @@ msgstr ""
828
  "Plaats de variabele %pageid% in de tekst. Het zal worden vervangen door de "
829
  "id van de huidige pagina."
830
 
831
- #: lib/wfu_constants.php:171
832
  msgid ""
833
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
834
  "the current page."
@@ -836,7 +848,7 @@ msgstr ""
836
  "Plaats de variabele %pagetitle% in de tekst. Het zal worden vervangen door "
837
  "de titel van de huidige pagina."
838
 
839
- #: lib/wfu_constants.php:172
840
  msgid ""
841
  "Insert variable %userdataXXX% inside text. Select the user field from the "
842
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -846,196 +858,196 @@ msgstr ""
846
  "via het uitklaplijst. Het zal worden vervangen door de data die de gebruiker "
847
  "in dit veld heeft ingevuld."
848
 
849
- #: lib/wfu_constants.php:173
850
  msgid "Insert variable %n% inside text to denote a line change."
851
  msgstr ""
852
  "Plaats de variabele %n% in de tekst om verder te gaan naar de volgende regel."
853
 
854
- #: lib/wfu_constants.php:175
855
  msgid "Test Mode"
856
  msgstr "Test Modus"
857
 
858
- #: lib/wfu_constants.php:176
859
  msgid "select dir..."
860
  msgstr "selecteer dir..."
861
 
862
- #: lib/wfu_constants.php:177
863
  msgid "type dir"
864
  msgstr "type dir"
865
 
866
- #: lib/wfu_constants.php:178
867
  msgid "Upload path: %filepath%"
868
  msgstr "Uploadpad: %filepath%"
869
 
870
- #: lib/wfu_constants.php:179
871
  msgid "Failed upload path: %filepath%"
872
  msgstr "Foutief uploadpad: %filepath%"
873
 
874
- #: lib/wfu_constants.php:180
875
  msgid " (required)"
876
  msgstr "(verplicht)"
877
 
878
- #: lib/wfu_constants.php:181
879
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
880
  msgstr ""
881
  "Bestanden worden geüpload. Ben je zeker dat je de pagina wilt verlaten?"
882
 
883
- #: lib/wfu_constants.php:182
884
  msgid "checking captcha..."
885
  msgstr "captcha controleren..."
886
 
887
- #: lib/wfu_constants.php:183
888
  msgid "refreshing..."
889
  msgstr "verversen..."
890
 
891
- #: lib/wfu_constants.php:184
892
  msgid "correct captcha"
893
  msgstr "correcte captcha"
894
 
895
- #: lib/wfu_constants.php:185
896
  msgid "click to continue the upload"
897
  msgstr "Klik om door te gaan met uploaden"
898
 
899
- #: lib/wfu_constants.php:186
900
  msgid "Are you sure you want to delete this file?"
901
  msgstr "Ben je zeker dat je dit bestand wilt verwijderen?"
902
 
903
- #: lib/wfu_constants.php:187
904
  msgid "Are you sure you want to delete these files?"
905
  msgstr ""
906
 
907
- #: lib/wfu_constants.php:188
908
  msgid "Bulk Actions"
909
  msgstr ""
910
 
911
- #: lib/wfu_constants.php:189
912
  msgid "Apply"
913
  msgstr ""
914
 
915
- #: lib/wfu_constants.php:190
916
  msgid "Are you sure that you want to cancel the upload?"
917
  msgstr ""
918
 
919
- #: lib/wfu_constants.php:191
920
  msgid "cancel upload of this file"
921
  msgstr "uploaden van dit bestand annuleren"
922
 
923
- #: lib/wfu_constants.php:192
924
  msgid "Upload in progress"
925
  msgstr "Upload is bezig"
926
 
927
- #: lib/wfu_constants.php:193
928
  msgid "Upload in progress with warnings!"
929
  msgstr "Upload is bezig met waarschuwingen!"
930
 
931
- #: lib/wfu_constants.php:194
932
  msgid "Upload in progress but some files already failed!"
933
  msgstr "Upload is bezig maar sommige bestanden zijn reeds mislukt!"
934
 
935
- #: lib/wfu_constants.php:195
936
  msgid "Upload in progress but no files uploaded so far!"
937
  msgstr "Upload is bezig maar er werden tot nu toe nog geen bestanden geüpload!"
938
 
939
- #: lib/wfu_constants.php:196
940
  msgid "All files uploaded successfully"
941
  msgstr "Alle bestanden met succes geüpload"
942
 
943
- #: lib/wfu_constants.php:197
944
  msgid "All files uploaded successfully but there are warnings!"
945
  msgstr "Alle bestanden zijn succesvol geüpload maar er zijn waarschuwingen!"
946
 
947
- #: lib/wfu_constants.php:198
948
  msgid "File uploaded successfully but there are warnings!"
949
  msgstr "Bestand werd succesvol geüpload maar er zijn waarschuwingen!"
950
 
951
- #: lib/wfu_constants.php:199
952
  msgid "Some files failed to upload!"
953
  msgstr "Sommige bestanden werden niet geüpload!"
954
 
955
- #: lib/wfu_constants.php:200
956
  msgid "All files failed to upload"
957
  msgstr "Upload mislukt voor alle bestanden"
958
 
959
- #: lib/wfu_constants.php:201
960
  msgid "File failed to upload"
961
  msgstr "Upload mislukt voor bestand"
962
 
963
- #: lib/wfu_constants.php:202
964
  msgid "There are no files to upload!"
965
  msgstr "Er zijn geen bestanden om te uploaden!"
966
 
967
- #: lib/wfu_constants.php:203
968
  msgid "Test upload message"
969
  msgstr "Test upload berciht"
970
 
971
- #: lib/wfu_constants.php:204
972
  msgid "JSON parse warning!"
973
  msgstr "JSON parseer waarschuwing!"
974
 
975
- #: lib/wfu_constants.php:205
976
  msgid "please wait while redirecting..."
977
  msgstr "wacht a.u.b. terwijl je wordt doorverwezen..."
978
 
979
- #: lib/wfu_constants.php:207
980
  msgid "Open visual shortcode editor in new window"
981
  msgstr "Open de visuele shortcode editor in een nieuw venster"
982
 
983
- #: lib/wfu_constants.php:208
984
  msgid "loading visual editor"
985
  msgstr "laden visuele editor"
986
 
987
- #: lib/wfu_constants.php:209
988
  msgid "Clear file list?"
989
  msgstr "Bestandenlijst wissen?"
990
 
991
- #: lib/wfu_constants.php:210
992
  msgid "DROP HERE"
993
  msgstr "PLAATS HIER"
994
 
995
- #: lib/wfu_constants.php:212
996
  msgid "record video"
997
  msgstr ""
998
 
999
- #: lib/wfu_constants.php:213
1000
  msgid "take a picture"
1001
  msgstr ""
1002
 
1003
- #: lib/wfu_constants.php:214
1004
  msgid "turn webcam on/off"
1005
  msgstr ""
1006
 
1007
- #: lib/wfu_constants.php:215
1008
  msgid "go live again"
1009
  msgstr ""
1010
 
1011
- #: lib/wfu_constants.php:216
1012
  msgid "end recording"
1013
  msgstr ""
1014
 
1015
- #: lib/wfu_constants.php:217
1016
  msgid "play"
1017
  msgstr ""
1018
 
1019
- #: lib/wfu_constants.php:218
1020
  msgid "pause"
1021
  msgstr ""
1022
 
1023
- #: lib/wfu_constants.php:219
1024
  msgid "go to the beginning"
1025
  msgstr ""
1026
 
1027
- #: lib/wfu_constants.php:220
1028
  msgid "go to the end"
1029
  msgstr ""
1030
 
1031
- #: lib/wfu_constants.php:222
1032
  msgid "Wordpress File Upload Form"
1033
  msgstr "Wordpress File Upload Formulier"
1034
 
1035
- #: lib/wfu_constants.php:223
1036
  msgid "Wordpress File Upload plugin uploader for sidebars"
1037
  msgstr "Wordpress File Upload plugin uploader voor zijbalken"
1038
 
1039
- #: lib/wfu_constants.php:224
1040
  msgid "Upload Files"
1041
  msgstr "Upload Bestanden"
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:50+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:50+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: nl_NL\n"
311
  msgid "Upload failed! Error occured while attemting to upload the file."
312
  msgstr "Upload mislukt! Een fout is opgetreden tijdens het uploaden."
313
 
314
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
315
  msgid "Upload failed!"
316
  msgstr "Upload mislukt!"
317
 
692
  "Thanks"
693
  msgstr ""
694
 
695
+ #: lib/wfu_constants.php:147
696
+ msgid ""
697
+ "You have activated an alternative insecure Iptanus Services Server. For "
698
+ "details please contact info@iptanus.com."
699
+ msgstr ""
700
+
701
  #: lib/wfu_constants.php:148
702
  msgid ""
703
+ "Iptanus Services Server is unreachable. This may cause problems in some "
704
+ "plugin functions. Please contact info@iptanus.com for details."
705
+ msgstr ""
706
+
707
+ #: lib/wfu_constants.php:150
708
+ msgid ""
709
  "Failed to add the shortcode to the page/post. Please try again. If the "
710
  "message persists, contact administrator."
711
  msgstr ""
712
  "De shortcode toevoegen aan de pagina/post is mislukt. Probeer opnieuw. "
713
  "Contacteer de beheerder wanneer dit bericht blijft verschijnen."
714
 
715
+ #: lib/wfu_constants.php:151
716
  msgid ""
717
  "Failed to edit the shortcode because the contents of the page changed. Try "
718
  "again to edit the shortcode."
720
  "De shortcode aanpassen is mislukt omdat de inhoud van de pagina is "
721
  "veranderd. Probeer de shortcode opnieuw aan te passen."
722
 
723
+ #: lib/wfu_constants.php:152
724
  msgid ""
725
  "Failed to delete the shortcode because the contents of the page changed. Try "
726
  "again to delete it."
728
  "De shortcode aanpassen is mislukt omdat de inhoud van de pagina is "
729
  "veranderd. Probeer opnieuw te verwijderen."
730
 
731
+ #: lib/wfu_constants.php:153
732
  msgid ""
733
  "The page containing the shortcode has been modified and it is no longer "
734
  "valid. Please go back to reload the shortcode."
736
  "De pagina die de shortcode bevat werd aangepast en is daardoor niet langer "
737
  "geldig. Ga terug om de shortcode te herladen."
738
 
739
+ #: lib/wfu_constants.php:154
740
  msgid ""
741
  "Failed to update the shortcode because the contents of the page changed. Go "
742
  "back to reload the shortcode."
744
  "Het updaten van de shortcode is mislukt omdat de inhoud van de pagina werd "
745
  "gewijzigd. Ga terug om de shortcode te herladen."
746
 
747
+ #: lib/wfu_constants.php:155
748
  msgid ""
749
  "Failed to update the shortcode. Please try again. If the problem persists, "
750
  "go back and reload the shortcode."
752
  "Updaten van de shortcode is mislukt. Probeer opnieuw. Als het probleem zich "
753
  "blijft voordoen, ga dan terug en herlaadt de shortcode."
754
 
755
+ #: lib/wfu_constants.php:157
756
  msgid "This is a test message"
757
  msgstr "Dit is een testbericht"
758
 
759
+ #: lib/wfu_constants.php:158
760
  msgid "This is a test administrator message"
761
  msgstr "Dit is een test beheerdersbericht"
762
 
763
+ #: lib/wfu_constants.php:159
764
  msgid "File testfile 1 under test"
765
  msgstr "Bestand testfile 1 onder test"
766
 
767
+ #: lib/wfu_constants.php:160
768
  msgid "File testfile 1 message"
769
  msgstr "Bestand testfile 1 bericht"
770
 
771
+ #: lib/wfu_constants.php:161
772
  msgid "File testfile 1 administrator message"
773
  msgstr "Bestand testfile 1 beheerdersbericht"
774
 
775
+ #: lib/wfu_constants.php:162
776
  msgid "File testfile 2 under test"
777
  msgstr "Bestand tesfile 2 onder test"
778
 
779
+ #: lib/wfu_constants.php:163
780
  msgid "File testfile 2 message"
781
  msgstr "Bestand testfile 2 bericht"
782
 
783
+ #: lib/wfu_constants.php:164
784
  msgid "File testfile 2 administrator message"
785
  msgstr "Bestand testfile 2 beheerdersbericht"
786
 
787
+ #: lib/wfu_constants.php:166
788
  msgid ""
789
  "Insert variable %userid% inside text. It will be replaced by the id of the "
790
  "current user."
792
  "Plaats de variabele %userid% in de tekst. Het zal worden vervangen door de "
793
  "id van de huidige gebruiker."
794
 
795
+ #: lib/wfu_constants.php:167
796
  msgid ""
797
  "Insert variable %username% inside text. It will be replaced by the username "
798
  "of the current user."
800
  "Plaats de variabele %username% in de tekst. Het zal worden vervangen door de "
801
  "gebruikersnaam van de huidige gebruiker."
802
 
803
+ #: lib/wfu_constants.php:168
804
  msgid ""
805
  "Insert variable %useremail% inside text. It will be replaced by the email of "
806
  "the current user."
808
  "Plaats de variabele %usermail% in de tekst. Het zal worden vervangen door "
809
  "het e-mailadres van de huidige gebruiker."
810
 
811
+ #: lib/wfu_constants.php:169
812
  msgid ""
813
  "Insert variable %filename% inside text. It will be replaced by the filename "
814
  "of the uploaded file."
816
  "Plaats de variabele %filename% in de tekst. Het zal worden vervangen door de "
817
  "bestandsnaam van het geüploade bestand."
818
 
819
+ #: lib/wfu_constants.php:170
820
  msgid ""
821
  "Insert variable %filepath% inside text. It will be replaced by the full "
822
  "filepath of the uploaded file."
824
  "Plaats de variabele %filepath% in de tekst. Het zal worden vervangen door "
825
  "het volledige bestandspad van het geüploade bestand."
826
 
827
+ #: lib/wfu_constants.php:171
828
  msgid ""
829
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
830
  "the website."
832
  "Plaats de variabele %blogid% in de tekst. Het zal worden vervangen door de "
833
  "blog id van de website."
834
 
835
+ #: lib/wfu_constants.php:172
836
  msgid ""
837
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
838
  "current page."
840
  "Plaats de variabele %pageid% in de tekst. Het zal worden vervangen door de "
841
  "id van de huidige pagina."
842
 
843
+ #: lib/wfu_constants.php:173
844
  msgid ""
845
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
846
  "the current page."
848
  "Plaats de variabele %pagetitle% in de tekst. Het zal worden vervangen door "
849
  "de titel van de huidige pagina."
850
 
851
+ #: lib/wfu_constants.php:174
852
  msgid ""
853
  "Insert variable %userdataXXX% inside text. Select the user field from the "
854
  "drop-down list. It will be replaced by the value that the user entered in "
858
  "via het uitklaplijst. Het zal worden vervangen door de data die de gebruiker "
859
  "in dit veld heeft ingevuld."
860
 
861
+ #: lib/wfu_constants.php:175
862
  msgid "Insert variable %n% inside text to denote a line change."
863
  msgstr ""
864
  "Plaats de variabele %n% in de tekst om verder te gaan naar de volgende regel."
865
 
866
+ #: lib/wfu_constants.php:177
867
  msgid "Test Mode"
868
  msgstr "Test Modus"
869
 
870
+ #: lib/wfu_constants.php:178
871
  msgid "select dir..."
872
  msgstr "selecteer dir..."
873
 
874
+ #: lib/wfu_constants.php:179
875
  msgid "type dir"
876
  msgstr "type dir"
877
 
878
+ #: lib/wfu_constants.php:180
879
  msgid "Upload path: %filepath%"
880
  msgstr "Uploadpad: %filepath%"
881
 
882
+ #: lib/wfu_constants.php:181
883
  msgid "Failed upload path: %filepath%"
884
  msgstr "Foutief uploadpad: %filepath%"
885
 
886
+ #: lib/wfu_constants.php:182
887
  msgid " (required)"
888
  msgstr "(verplicht)"
889
 
890
+ #: lib/wfu_constants.php:183
891
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
892
  msgstr ""
893
  "Bestanden worden geüpload. Ben je zeker dat je de pagina wilt verlaten?"
894
 
895
+ #: lib/wfu_constants.php:184
896
  msgid "checking captcha..."
897
  msgstr "captcha controleren..."
898
 
899
+ #: lib/wfu_constants.php:185
900
  msgid "refreshing..."
901
  msgstr "verversen..."
902
 
903
+ #: lib/wfu_constants.php:186
904
  msgid "correct captcha"
905
  msgstr "correcte captcha"
906
 
907
+ #: lib/wfu_constants.php:187
908
  msgid "click to continue the upload"
909
  msgstr "Klik om door te gaan met uploaden"
910
 
911
+ #: lib/wfu_constants.php:188
912
  msgid "Are you sure you want to delete this file?"
913
  msgstr "Ben je zeker dat je dit bestand wilt verwijderen?"
914
 
915
+ #: lib/wfu_constants.php:189
916
  msgid "Are you sure you want to delete these files?"
917
  msgstr ""
918
 
919
+ #: lib/wfu_constants.php:190
920
  msgid "Bulk Actions"
921
  msgstr ""
922
 
923
+ #: lib/wfu_constants.php:191
924
  msgid "Apply"
925
  msgstr ""
926
 
927
+ #: lib/wfu_constants.php:192
928
  msgid "Are you sure that you want to cancel the upload?"
929
  msgstr ""
930
 
931
+ #: lib/wfu_constants.php:193
932
  msgid "cancel upload of this file"
933
  msgstr "uploaden van dit bestand annuleren"
934
 
935
+ #: lib/wfu_constants.php:194
936
  msgid "Upload in progress"
937
  msgstr "Upload is bezig"
938
 
939
+ #: lib/wfu_constants.php:195
940
  msgid "Upload in progress with warnings!"
941
  msgstr "Upload is bezig met waarschuwingen!"
942
 
943
+ #: lib/wfu_constants.php:196
944
  msgid "Upload in progress but some files already failed!"
945
  msgstr "Upload is bezig maar sommige bestanden zijn reeds mislukt!"
946
 
947
+ #: lib/wfu_constants.php:197
948
  msgid "Upload in progress but no files uploaded so far!"
949
  msgstr "Upload is bezig maar er werden tot nu toe nog geen bestanden geüpload!"
950
 
951
+ #: lib/wfu_constants.php:198
952
  msgid "All files uploaded successfully"
953
  msgstr "Alle bestanden met succes geüpload"
954
 
955
+ #: lib/wfu_constants.php:199
956
  msgid "All files uploaded successfully but there are warnings!"
957
  msgstr "Alle bestanden zijn succesvol geüpload maar er zijn waarschuwingen!"
958
 
959
+ #: lib/wfu_constants.php:200
960
  msgid "File uploaded successfully but there are warnings!"
961
  msgstr "Bestand werd succesvol geüpload maar er zijn waarschuwingen!"
962
 
963
+ #: lib/wfu_constants.php:201
964
  msgid "Some files failed to upload!"
965
  msgstr "Sommige bestanden werden niet geüpload!"
966
 
967
+ #: lib/wfu_constants.php:202
968
  msgid "All files failed to upload"
969
  msgstr "Upload mislukt voor alle bestanden"
970
 
971
+ #: lib/wfu_constants.php:203
972
  msgid "File failed to upload"
973
  msgstr "Upload mislukt voor bestand"
974
 
975
+ #: lib/wfu_constants.php:204
976
  msgid "There are no files to upload!"
977
  msgstr "Er zijn geen bestanden om te uploaden!"
978
 
979
+ #: lib/wfu_constants.php:205
980
  msgid "Test upload message"
981
  msgstr "Test upload berciht"
982
 
983
+ #: lib/wfu_constants.php:206
984
  msgid "JSON parse warning!"
985
  msgstr "JSON parseer waarschuwing!"
986
 
987
+ #: lib/wfu_constants.php:207
988
  msgid "please wait while redirecting..."
989
  msgstr "wacht a.u.b. terwijl je wordt doorverwezen..."
990
 
991
+ #: lib/wfu_constants.php:209
992
  msgid "Open visual shortcode editor in new window"
993
  msgstr "Open de visuele shortcode editor in een nieuw venster"
994
 
995
+ #: lib/wfu_constants.php:210
996
  msgid "loading visual editor"
997
  msgstr "laden visuele editor"
998
 
999
+ #: lib/wfu_constants.php:211
1000
  msgid "Clear file list?"
1001
  msgstr "Bestandenlijst wissen?"
1002
 
1003
+ #: lib/wfu_constants.php:212
1004
  msgid "DROP HERE"
1005
  msgstr "PLAATS HIER"
1006
 
1007
+ #: lib/wfu_constants.php:214
1008
  msgid "record video"
1009
  msgstr ""
1010
 
1011
+ #: lib/wfu_constants.php:215
1012
  msgid "take a picture"
1013
  msgstr ""
1014
 
1015
+ #: lib/wfu_constants.php:216
1016
  msgid "turn webcam on/off"
1017
  msgstr ""
1018
 
1019
+ #: lib/wfu_constants.php:217
1020
  msgid "go live again"
1021
  msgstr ""
1022
 
1023
+ #: lib/wfu_constants.php:218
1024
  msgid "end recording"
1025
  msgstr ""
1026
 
1027
+ #: lib/wfu_constants.php:219
1028
  msgid "play"
1029
  msgstr ""
1030
 
1031
+ #: lib/wfu_constants.php:220
1032
  msgid "pause"
1033
  msgstr ""
1034
 
1035
+ #: lib/wfu_constants.php:221
1036
  msgid "go to the beginning"
1037
  msgstr ""
1038
 
1039
+ #: lib/wfu_constants.php:222
1040
  msgid "go to the end"
1041
  msgstr ""
1042
 
1043
+ #: lib/wfu_constants.php:224
1044
  msgid "Wordpress File Upload Form"
1045
  msgstr "Wordpress File Upload Formulier"
1046
 
1047
+ #: lib/wfu_constants.php:225
1048
  msgid "Wordpress File Upload plugin uploader for sidebars"
1049
  msgstr "Wordpress File Upload plugin uploader voor zijbalken"
1050
 
1051
+ #: lib/wfu_constants.php:226
1052
  msgid "Upload Files"
1053
  msgstr "Upload Bestanden"
languages/wp-file-upload-pl_PL.mo CHANGED
Binary file
languages/wp-file-upload-pl_PL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:33+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:33+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: pl_PL\n"
@@ -302,7 +302,7 @@ msgid "Upload failed! Error occured while attemting to upload the file."
302
  msgstr ""
303
  "Wysyłanie nie powiodło się! Wystąpił błąd podczas attemting wgrać plik."
304
 
305
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
306
  msgid "Upload failed!"
307
  msgstr "BŁĄD PRZESYŁANIA!!!"
308
 
@@ -673,15 +673,27 @@ msgid ""
673
  "Thanks"
674
  msgstr ""
675
 
 
 
 
 
 
 
676
  #: lib/wfu_constants.php:148
677
  msgid ""
 
 
 
 
 
 
678
  "Failed to add the shortcode to the page/post. Please try again. If the "
679
  "message persists, contact administrator."
680
  msgstr ""
681
  "Nie można dodać shortcode do strony/post. Proszę spróbować ponownie. Jeśli "
682
  "komunikat będzie się powtarzał, skontaktuj się z administratorem."
683
 
684
- #: lib/wfu_constants.php:149
685
  msgid ""
686
  "Failed to edit the shortcode because the contents of the page changed. Try "
687
  "again to edit the shortcode."
@@ -689,7 +701,7 @@ msgstr ""
689
  "Nie można edytować shortcode, bo zmieniła się zawartość strony. Spróbuj "
690
  "ponownie."
691
 
692
- #: lib/wfu_constants.php:150
693
  msgid ""
694
  "Failed to delete the shortcode because the contents of the page changed. Try "
695
  "again to delete it."
@@ -697,7 +709,7 @@ msgstr ""
697
  "Nie można usunąć shortcode, bo zmieniła się zawartość strony. Spróbuj "
698
  "ponownie."
699
 
700
- #: lib/wfu_constants.php:151
701
  msgid ""
702
  "The page containing the shortcode has been modified and it is no longer "
703
  "valid. Please go back to reload the shortcode."
@@ -705,7 +717,7 @@ msgstr ""
705
  "Strona zawierająca shortcode został zmodyfikowana. Proszę wrócić i "
706
  "przeładować shortcode."
707
 
708
- #: lib/wfu_constants.php:152
709
  msgid ""
710
  "Failed to update the shortcode because the contents of the page changed. Go "
711
  "back to reload the shortcode."
@@ -713,7 +725,7 @@ msgstr ""
713
  "Strona zawierająca shortcode został zmodyfikowana. Proszę wrócić i "
714
  "przeładować shortcode."
715
 
716
- #: lib/wfu_constants.php:153
717
  msgid ""
718
  "Failed to update the shortcode. Please try again. If the problem persists, "
719
  "go back and reload the shortcode."
@@ -721,39 +733,39 @@ msgstr ""
721
  "Nie można zaktualizować shortcode. Proszę spróbować ponownie. Jeśli problem "
722
  "nie ustąpi, wrócić i ponownie załadować shortcode."
723
 
724
- #: lib/wfu_constants.php:155
725
  msgid "This is a test message"
726
  msgstr "To jest wiadomość testowa"
727
 
728
- #: lib/wfu_constants.php:156
729
  msgid "This is a test administrator message"
730
  msgstr "To jest wiadomość testowa administratora"
731
 
732
- #: lib/wfu_constants.php:157
733
  msgid "File testfile 1 under test"
734
  msgstr ""
735
 
736
- #: lib/wfu_constants.php:158
737
  msgid "File testfile 1 message"
738
  msgstr ""
739
 
740
- #: lib/wfu_constants.php:159
741
  msgid "File testfile 1 administrator message"
742
  msgstr ""
743
 
744
- #: lib/wfu_constants.php:160
745
  msgid "File testfile 2 under test"
746
  msgstr ""
747
 
748
- #: lib/wfu_constants.php:161
749
  msgid "File testfile 2 message"
750
  msgstr ""
751
 
752
- #: lib/wfu_constants.php:162
753
  msgid "File testfile 2 administrator message"
754
  msgstr ""
755
 
756
- #: lib/wfu_constants.php:164
757
  msgid ""
758
  "Insert variable %userid% inside text. It will be replaced by the id of the "
759
  "current user."
@@ -761,7 +773,7 @@ msgstr ""
761
  "Wstaw zmienną % userid % wewnątrz tekstu. Zostanie on zastąpiony przez "
762
  "identyfikator bieżącego użytkownika."
763
 
764
- #: lib/wfu_constants.php:165
765
  msgid ""
766
  "Insert variable %username% inside text. It will be replaced by the username "
767
  "of the current user."
@@ -769,7 +781,7 @@ msgstr ""
769
  "Wstaw zmiennej % username % wewnątrz tekstu. To będzie brzmienie nazwy "
770
  "użytkownika bieżącego użytkownika."
771
 
772
- #: lib/wfu_constants.php:166
773
  msgid ""
774
  "Insert variable %useremail% inside text. It will be replaced by the email of "
775
  "the current user."
@@ -777,7 +789,7 @@ msgstr ""
777
  "Wstaw zmiennej % useremail % wewnątrz tekstu. To zostanie zastąpiony przez e-"
778
  "mail bieżącego użytkownika."
779
 
780
- #: lib/wfu_constants.php:167
781
  msgid ""
782
  "Insert variable %filename% inside text. It will be replaced by the filename "
783
  "of the uploaded file."
@@ -785,7 +797,7 @@ msgstr ""
785
  "Wstaw nazwę zmiennej % wewnątrz tekstu. To zostanie zastąpiony przez nazwę "
786
  "pliku przesłane."
787
 
788
- #: lib/wfu_constants.php:168
789
  msgid ""
790
  "Insert variable %filepath% inside text. It will be replaced by the full "
791
  "filepath of the uploaded file."
@@ -793,7 +805,7 @@ msgstr ""
793
  "Wstaw zmienną % filepath wewnątrz tekstu. To zostanie zastąpiony przez pełną "
794
  "filepath przesy┼éanego pliku."
795
 
796
- #: lib/wfu_constants.php:169
797
  msgid ""
798
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
799
  "the website."
@@ -801,13 +813,13 @@ msgstr ""
801
  "Wstaw zmiennej % blogid % wewnątrz tekstu. To zostanie zastąpiony przez "
802
  "identyfikator blog strony internetowej."
803
 
804
- #: lib/wfu_constants.php:170
805
  msgid ""
806
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
807
  "current page."
808
  msgstr ""
809
 
810
- #: lib/wfu_constants.php:171
811
  msgid ""
812
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
813
  "the current page."
@@ -815,7 +827,7 @@ msgstr ""
815
  "Wstaw zmienną % pagetitle wewnątrz tekstu. To będzie brzmienie tytułu "
816
  "bieżącej strony."
817
 
818
- #: lib/wfu_constants.php:172
819
  msgid ""
820
  "Insert variable %userdataXXX% inside text. Select the user field from the "
821
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -825,195 +837,195 @@ msgstr ""
825
  "listy rozwijanej. To zostaną zastąpione przez wartości, które użytkownik "
826
  "wpisuje w tej dziedzinie."
827
 
828
- #: lib/wfu_constants.php:173
829
  msgid "Insert variable %n% inside text to denote a line change."
830
  msgstr "Wstaw zmienną %n % wewnątrz tekstu do oznaczenia linii zmiany."
831
 
832
- #: lib/wfu_constants.php:175
833
  msgid "Test Mode"
834
  msgstr "Tryb testowy"
835
 
836
- #: lib/wfu_constants.php:176
837
  msgid "select dir..."
838
  msgstr "Wybierz dir..."
839
 
840
- #: lib/wfu_constants.php:177
841
  msgid "type dir"
842
  msgstr "Typ dir"
843
 
844
- #: lib/wfu_constants.php:178
845
  msgid "Upload path: %filepath%"
846
  msgstr "Wgraj %filepath%"
847
 
848
- #: lib/wfu_constants.php:179
849
  msgid "Failed upload path: %filepath%"
850
  msgstr "Nieudane przesyłanie: %filepath%"
851
 
852
- #: lib/wfu_constants.php:180
853
  msgid " (required)"
854
  msgstr "*"
855
 
856
- #: lib/wfu_constants.php:181
857
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
858
  msgstr "Obecnie wysyłane są pliki. Czy na pewno chcesz zamknąć stronę?"
859
 
860
- #: lib/wfu_constants.php:182
861
  msgid "checking captcha..."
862
  msgstr ""
863
 
864
- #: lib/wfu_constants.php:183
865
  msgid "refreshing..."
866
  msgstr ""
867
 
868
- #: lib/wfu_constants.php:184
869
  msgid "correct captcha"
870
  msgstr ""
871
 
872
- #: lib/wfu_constants.php:185
873
  msgid "click to continue the upload"
874
  msgstr ""
875
 
876
- #: lib/wfu_constants.php:186
877
  msgid "Are you sure you want to delete this file?"
878
  msgstr ""
879
 
880
- #: lib/wfu_constants.php:187
881
  msgid "Are you sure you want to delete these files?"
882
  msgstr ""
883
 
884
- #: lib/wfu_constants.php:188
885
  msgid "Bulk Actions"
886
  msgstr ""
887
 
888
- #: lib/wfu_constants.php:189
889
  msgid "Apply"
890
  msgstr ""
891
 
892
- #: lib/wfu_constants.php:190
893
  msgid "Are you sure that you want to cancel the upload?"
894
  msgstr ""
895
 
896
- #: lib/wfu_constants.php:191
897
  msgid "cancel upload of this file"
898
  msgstr ""
899
 
900
- #: lib/wfu_constants.php:192
901
  msgid "Upload in progress"
902
  msgstr "Trwa przesyłanie Plików. Prosimy cierpliwie czekać."
903
 
904
- #: lib/wfu_constants.php:193
905
  msgid "Upload in progress with warnings!"
906
  msgstr "Trwa przesyłanie Plików. Prosimy cierpliwie czekać."
907
 
908
- #: lib/wfu_constants.php:194
909
  msgid "Upload in progress but some files already failed!"
910
  msgstr "Przesyłanie w toku, ale niektóre pliki zostały anulowane!"
911
 
912
- #: lib/wfu_constants.php:195
913
  msgid "Upload in progress but no files uploaded so far!"
914
  msgstr "Przesyłanie w toku, ale jeszcze nie przesłano żadnego pliku!"
915
 
916
- #: lib/wfu_constants.php:196
917
  msgid "All files uploaded successfully"
918
  msgstr "Przesyłanie plików zakończyło się powodzeniem"
919
 
920
- #: lib/wfu_constants.php:197
921
  msgid "All files uploaded successfully but there are warnings!"
922
  msgstr "Przesyłanie plików zakończyło się powodzeniem"
923
 
924
- #: lib/wfu_constants.php:198
925
  msgid "File uploaded successfully but there are warnings!"
926
  msgstr "Plik został pomyślnie przesłany, ale z ostrzeżeniem!"
927
 
928
- #: lib/wfu_constants.php:199
929
  msgid "Some files failed to upload!"
930
  msgstr "Niektóre pliki zostały anulowane!"
931
 
932
- #: lib/wfu_constants.php:200
933
  msgid "All files failed to upload"
934
  msgstr "Wszystkie pliki zostały anulowane"
935
 
936
- #: lib/wfu_constants.php:201
937
  msgid "File failed to upload"
938
  msgstr "Nie udało się przesłać pliku"
939
 
940
- #: lib/wfu_constants.php:202
941
  msgid "There are no files to upload!"
942
  msgstr "Brak plików do wysłania"
943
 
944
- #: lib/wfu_constants.php:203
945
  msgid "Test upload message"
946
  msgstr "To jest wiadomość testowa"
947
 
948
- #: lib/wfu_constants.php:204
949
  msgid "JSON parse warning!"
950
  msgstr "JSON analizować ostrzeżenie!"
951
 
952
- #: lib/wfu_constants.php:205
953
  msgid "please wait while redirecting..."
954
  msgstr "Proszę czekać, za chwilę zostaniesz przekierowany..."
955
 
956
- #: lib/wfu_constants.php:207
957
  msgid "Open visual shortcode editor in new window"
958
  msgstr "Otwórz edytor w nowym oknie"
959
 
960
- #: lib/wfu_constants.php:208
961
  msgid "loading visual editor"
962
  msgstr "Ładowanie wizualnego edytora"
963
 
964
- #: lib/wfu_constants.php:209
965
  msgid "Clear file list?"
966
  msgstr ""
967
 
968
- #: lib/wfu_constants.php:210
969
  msgid "DROP HERE"
970
  msgstr ""
971
 
972
- #: lib/wfu_constants.php:212
973
  msgid "record video"
974
  msgstr ""
975
 
976
- #: lib/wfu_constants.php:213
977
  msgid "take a picture"
978
  msgstr ""
979
 
980
- #: lib/wfu_constants.php:214
981
  msgid "turn webcam on/off"
982
  msgstr ""
983
 
984
- #: lib/wfu_constants.php:215
985
  msgid "go live again"
986
  msgstr ""
987
 
988
- #: lib/wfu_constants.php:216
989
  msgid "end recording"
990
  msgstr ""
991
 
992
- #: lib/wfu_constants.php:217
993
  msgid "play"
994
  msgstr ""
995
 
996
- #: lib/wfu_constants.php:218
997
  msgid "pause"
998
  msgstr ""
999
 
1000
- #: lib/wfu_constants.php:219
1001
  msgid "go to the beginning"
1002
  msgstr ""
1003
 
1004
- #: lib/wfu_constants.php:220
1005
  msgid "go to the end"
1006
  msgstr ""
1007
 
1008
- #: lib/wfu_constants.php:222
1009
  msgid "Wordpress File Upload Form"
1010
  msgstr "Formularz przesyłania plików WPFU"
1011
 
1012
- #: lib/wfu_constants.php:223
1013
  msgid "Wordpress File Upload plugin uploader for sidebars"
1014
  msgstr ""
1015
 
1016
- #: lib/wfu_constants.php:224
1017
  msgid "Upload Files"
1018
  msgstr ""
1019
 
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:50+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:51+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: pl_PL\n"
302
  msgstr ""
303
  "Wysyłanie nie powiodło się! Wystąpił błąd podczas attemting wgrać plik."
304
 
305
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
306
  msgid "Upload failed!"
307
  msgstr "BŁĄD PRZESYŁANIA!!!"
308
 
673
  "Thanks"
674
  msgstr ""
675
 
676
+ #: lib/wfu_constants.php:147
677
+ msgid ""
678
+ "You have activated an alternative insecure Iptanus Services Server. For "
679
+ "details please contact info@iptanus.com."
680
+ msgstr ""
681
+
682
  #: lib/wfu_constants.php:148
683
  msgid ""
684
+ "Iptanus Services Server is unreachable. This may cause problems in some "
685
+ "plugin functions. Please contact info@iptanus.com for details."
686
+ msgstr ""
687
+
688
+ #: lib/wfu_constants.php:150
689
+ msgid ""
690
  "Failed to add the shortcode to the page/post. Please try again. If the "
691
  "message persists, contact administrator."
692
  msgstr ""
693
  "Nie można dodać shortcode do strony/post. Proszę spróbować ponownie. Jeśli "
694
  "komunikat będzie się powtarzał, skontaktuj się z administratorem."
695
 
696
+ #: lib/wfu_constants.php:151
697
  msgid ""
698
  "Failed to edit the shortcode because the contents of the page changed. Try "
699
  "again to edit the shortcode."
701
  "Nie można edytować shortcode, bo zmieniła się zawartość strony. Spróbuj "
702
  "ponownie."
703
 
704
+ #: lib/wfu_constants.php:152
705
  msgid ""
706
  "Failed to delete the shortcode because the contents of the page changed. Try "
707
  "again to delete it."
709
  "Nie można usunąć shortcode, bo zmieniła się zawartość strony. Spróbuj "
710
  "ponownie."
711
 
712
+ #: lib/wfu_constants.php:153
713
  msgid ""
714
  "The page containing the shortcode has been modified and it is no longer "
715
  "valid. Please go back to reload the shortcode."
717
  "Strona zawierająca shortcode został zmodyfikowana. Proszę wrócić i "
718
  "przeładować shortcode."
719
 
720
+ #: lib/wfu_constants.php:154
721
  msgid ""
722
  "Failed to update the shortcode because the contents of the page changed. Go "
723
  "back to reload the shortcode."
725
  "Strona zawierająca shortcode został zmodyfikowana. Proszę wrócić i "
726
  "przeładować shortcode."
727
 
728
+ #: lib/wfu_constants.php:155
729
  msgid ""
730
  "Failed to update the shortcode. Please try again. If the problem persists, "
731
  "go back and reload the shortcode."
733
  "Nie można zaktualizować shortcode. Proszę spróbować ponownie. Jeśli problem "
734
  "nie ustąpi, wrócić i ponownie załadować shortcode."
735
 
736
+ #: lib/wfu_constants.php:157
737
  msgid "This is a test message"
738
  msgstr "To jest wiadomość testowa"
739
 
740
+ #: lib/wfu_constants.php:158
741
  msgid "This is a test administrator message"
742
  msgstr "To jest wiadomość testowa administratora"
743
 
744
+ #: lib/wfu_constants.php:159
745
  msgid "File testfile 1 under test"
746
  msgstr ""
747
 
748
+ #: lib/wfu_constants.php:160
749
  msgid "File testfile 1 message"
750
  msgstr ""
751
 
752
+ #: lib/wfu_constants.php:161
753
  msgid "File testfile 1 administrator message"
754
  msgstr ""
755
 
756
+ #: lib/wfu_constants.php:162
757
  msgid "File testfile 2 under test"
758
  msgstr ""
759
 
760
+ #: lib/wfu_constants.php:163
761
  msgid "File testfile 2 message"
762
  msgstr ""
763
 
764
+ #: lib/wfu_constants.php:164
765
  msgid "File testfile 2 administrator message"
766
  msgstr ""
767
 
768
+ #: lib/wfu_constants.php:166
769
  msgid ""
770
  "Insert variable %userid% inside text. It will be replaced by the id of the "
771
  "current user."
773
  "Wstaw zmienną % userid % wewnątrz tekstu. Zostanie on zastąpiony przez "
774
  "identyfikator bieżącego użytkownika."
775
 
776
+ #: lib/wfu_constants.php:167
777
  msgid ""
778
  "Insert variable %username% inside text. It will be replaced by the username "
779
  "of the current user."
781
  "Wstaw zmiennej % username % wewnątrz tekstu. To będzie brzmienie nazwy "
782
  "użytkownika bieżącego użytkownika."
783
 
784
+ #: lib/wfu_constants.php:168
785
  msgid ""
786
  "Insert variable %useremail% inside text. It will be replaced by the email of "
787
  "the current user."
789
  "Wstaw zmiennej % useremail % wewnątrz tekstu. To zostanie zastąpiony przez e-"
790
  "mail bieżącego użytkownika."
791
 
792
+ #: lib/wfu_constants.php:169
793
  msgid ""
794
  "Insert variable %filename% inside text. It will be replaced by the filename "
795
  "of the uploaded file."
797
  "Wstaw nazwę zmiennej % wewnątrz tekstu. To zostanie zastąpiony przez nazwę "
798
  "pliku przesłane."
799
 
800
+ #: lib/wfu_constants.php:170
801
  msgid ""
802
  "Insert variable %filepath% inside text. It will be replaced by the full "
803
  "filepath of the uploaded file."
805
  "Wstaw zmienną % filepath wewnątrz tekstu. To zostanie zastąpiony przez pełną "
806
  "filepath przesy┼éanego pliku."
807
 
808
+ #: lib/wfu_constants.php:171
809
  msgid ""
810
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
811
  "the website."
813
  "Wstaw zmiennej % blogid % wewnątrz tekstu. To zostanie zastąpiony przez "
814
  "identyfikator blog strony internetowej."
815
 
816
+ #: lib/wfu_constants.php:172
817
  msgid ""
818
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
819
  "current page."
820
  msgstr ""
821
 
822
+ #: lib/wfu_constants.php:173
823
  msgid ""
824
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
825
  "the current page."
827
  "Wstaw zmienną % pagetitle wewnątrz tekstu. To będzie brzmienie tytułu "
828
  "bieżącej strony."
829
 
830
+ #: lib/wfu_constants.php:174
831
  msgid ""
832
  "Insert variable %userdataXXX% inside text. Select the user field from the "
833
  "drop-down list. It will be replaced by the value that the user entered in "
837
  "listy rozwijanej. To zostaną zastąpione przez wartości, które użytkownik "
838
  "wpisuje w tej dziedzinie."
839
 
840
+ #: lib/wfu_constants.php:175
841
  msgid "Insert variable %n% inside text to denote a line change."
842
  msgstr "Wstaw zmienną %n % wewnątrz tekstu do oznaczenia linii zmiany."
843
 
844
+ #: lib/wfu_constants.php:177
845
  msgid "Test Mode"
846
  msgstr "Tryb testowy"
847
 
848
+ #: lib/wfu_constants.php:178
849
  msgid "select dir..."
850
  msgstr "Wybierz dir..."
851
 
852
+ #: lib/wfu_constants.php:179
853
  msgid "type dir"
854
  msgstr "Typ dir"
855
 
856
+ #: lib/wfu_constants.php:180
857
  msgid "Upload path: %filepath%"
858
  msgstr "Wgraj %filepath%"
859
 
860
+ #: lib/wfu_constants.php:181
861
  msgid "Failed upload path: %filepath%"
862
  msgstr "Nieudane przesyłanie: %filepath%"
863
 
864
+ #: lib/wfu_constants.php:182
865
  msgid " (required)"
866
  msgstr "*"
867
 
868
+ #: lib/wfu_constants.php:183
869
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
870
  msgstr "Obecnie wysyłane są pliki. Czy na pewno chcesz zamknąć stronę?"
871
 
872
+ #: lib/wfu_constants.php:184
873
  msgid "checking captcha..."
874
  msgstr ""
875
 
876
+ #: lib/wfu_constants.php:185
877
  msgid "refreshing..."
878
  msgstr ""
879
 
880
+ #: lib/wfu_constants.php:186
881
  msgid "correct captcha"
882
  msgstr ""
883
 
884
+ #: lib/wfu_constants.php:187
885
  msgid "click to continue the upload"
886
  msgstr ""
887
 
888
+ #: lib/wfu_constants.php:188
889
  msgid "Are you sure you want to delete this file?"
890
  msgstr ""
891
 
892
+ #: lib/wfu_constants.php:189
893
  msgid "Are you sure you want to delete these files?"
894
  msgstr ""
895
 
896
+ #: lib/wfu_constants.php:190
897
  msgid "Bulk Actions"
898
  msgstr ""
899
 
900
+ #: lib/wfu_constants.php:191
901
  msgid "Apply"
902
  msgstr ""
903
 
904
+ #: lib/wfu_constants.php:192
905
  msgid "Are you sure that you want to cancel the upload?"
906
  msgstr ""
907
 
908
+ #: lib/wfu_constants.php:193
909
  msgid "cancel upload of this file"
910
  msgstr ""
911
 
912
+ #: lib/wfu_constants.php:194
913
  msgid "Upload in progress"
914
  msgstr "Trwa przesyłanie Plików. Prosimy cierpliwie czekać."
915
 
916
+ #: lib/wfu_constants.php:195
917
  msgid "Upload in progress with warnings!"
918
  msgstr "Trwa przesyłanie Plików. Prosimy cierpliwie czekać."
919
 
920
+ #: lib/wfu_constants.php:196
921
  msgid "Upload in progress but some files already failed!"
922
  msgstr "Przesyłanie w toku, ale niektóre pliki zostały anulowane!"
923
 
924
+ #: lib/wfu_constants.php:197
925
  msgid "Upload in progress but no files uploaded so far!"
926
  msgstr "Przesyłanie w toku, ale jeszcze nie przesłano żadnego pliku!"
927
 
928
+ #: lib/wfu_constants.php:198
929
  msgid "All files uploaded successfully"
930
  msgstr "Przesyłanie plików zakończyło się powodzeniem"
931
 
932
+ #: lib/wfu_constants.php:199
933
  msgid "All files uploaded successfully but there are warnings!"
934
  msgstr "Przesyłanie plików zakończyło się powodzeniem"
935
 
936
+ #: lib/wfu_constants.php:200
937
  msgid "File uploaded successfully but there are warnings!"
938
  msgstr "Plik został pomyślnie przesłany, ale z ostrzeżeniem!"
939
 
940
+ #: lib/wfu_constants.php:201
941
  msgid "Some files failed to upload!"
942
  msgstr "Niektóre pliki zostały anulowane!"
943
 
944
+ #: lib/wfu_constants.php:202
945
  msgid "All files failed to upload"
946
  msgstr "Wszystkie pliki zostały anulowane"
947
 
948
+ #: lib/wfu_constants.php:203
949
  msgid "File failed to upload"
950
  msgstr "Nie udało się przesłać pliku"
951
 
952
+ #: lib/wfu_constants.php:204
953
  msgid "There are no files to upload!"
954
  msgstr "Brak plików do wysłania"
955
 
956
+ #: lib/wfu_constants.php:205
957
  msgid "Test upload message"
958
  msgstr "To jest wiadomość testowa"
959
 
960
+ #: lib/wfu_constants.php:206
961
  msgid "JSON parse warning!"
962
  msgstr "JSON analizować ostrzeżenie!"
963
 
964
+ #: lib/wfu_constants.php:207
965
  msgid "please wait while redirecting..."
966
  msgstr "Proszę czekać, za chwilę zostaniesz przekierowany..."
967
 
968
+ #: lib/wfu_constants.php:209
969
  msgid "Open visual shortcode editor in new window"
970
  msgstr "Otwórz edytor w nowym oknie"
971
 
972
+ #: lib/wfu_constants.php:210
973
  msgid "loading visual editor"
974
  msgstr "Ładowanie wizualnego edytora"
975
 
976
+ #: lib/wfu_constants.php:211
977
  msgid "Clear file list?"
978
  msgstr ""
979
 
980
+ #: lib/wfu_constants.php:212
981
  msgid "DROP HERE"
982
  msgstr ""
983
 
984
+ #: lib/wfu_constants.php:214
985
  msgid "record video"
986
  msgstr ""
987
 
988
+ #: lib/wfu_constants.php:215
989
  msgid "take a picture"
990
  msgstr ""
991
 
992
+ #: lib/wfu_constants.php:216
993
  msgid "turn webcam on/off"
994
  msgstr ""
995
 
996
+ #: lib/wfu_constants.php:217
997
  msgid "go live again"
998
  msgstr ""
999
 
1000
+ #: lib/wfu_constants.php:218
1001
  msgid "end recording"
1002
  msgstr ""
1003
 
1004
+ #: lib/wfu_constants.php:219
1005
  msgid "play"
1006
  msgstr ""
1007
 
1008
+ #: lib/wfu_constants.php:220
1009
  msgid "pause"
1010
  msgstr ""
1011
 
1012
+ #: lib/wfu_constants.php:221
1013
  msgid "go to the beginning"
1014
  msgstr ""
1015
 
1016
+ #: lib/wfu_constants.php:222
1017
  msgid "go to the end"
1018
  msgstr ""
1019
 
1020
+ #: lib/wfu_constants.php:224
1021
  msgid "Wordpress File Upload Form"
1022
  msgstr "Formularz przesyłania plików WPFU"
1023
 
1024
+ #: lib/wfu_constants.php:225
1025
  msgid "Wordpress File Upload plugin uploader for sidebars"
1026
  msgstr ""
1027
 
1028
+ #: lib/wfu_constants.php:226
1029
  msgid "Upload Files"
1030
  msgstr ""
1031
 
languages/wp-file-upload-sr_RS.mo CHANGED
Binary file
languages/wp-file-upload-sr_RS.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:33+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:33+0200\n"
7
  "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: sr\n"
@@ -310,7 +310,7 @@ msgstr ""
310
  "Otpremanje neuspešno! Došlo je do greške prilikom pokušaja da se otpremi "
311
  "datoteka."
312
 
313
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
314
  msgid "Upload failed!"
315
  msgstr "Otpremanje neuspešno! "
316
 
@@ -692,13 +692,25 @@ msgid ""
692
  "Thanks"
693
  msgstr ""
694
 
 
 
 
 
 
 
695
  #: lib/wfu_constants.php:148
696
  msgid ""
 
 
 
 
 
 
697
  "Failed to add the shortcode to the page/post. Please try again. If the "
698
  "message persists, contact administrator."
699
  msgstr ""
700
 
701
- #: lib/wfu_constants.php:149
702
  msgid ""
703
  "Failed to edit the shortcode because the contents of the page changed. Try "
704
  "again to edit the shortcode."
@@ -706,7 +718,7 @@ msgstr ""
706
  "Neuspešno uređivanje shortcode-a zbog izmene sadržaja stranice. Pokušajte "
707
  "ponovo da uredite shortcode."
708
 
709
- #: lib/wfu_constants.php:150
710
  msgid ""
711
  "Failed to delete the shortcode because the contents of the page changed. Try "
712
  "again to delete it."
@@ -714,7 +726,7 @@ msgstr ""
714
  "Neuspešno brisanje shortcode-a zbog izmene sadržaja stranice. Pokušajte "
715
  "ponovo da ga obrišete."
716
 
717
- #: lib/wfu_constants.php:151
718
  msgid ""
719
  "The page containing the shortcode has been modified and it is no longer "
720
  "valid. Please go back to reload the shortcode."
@@ -722,7 +734,7 @@ msgstr ""
722
  "Stranica koja sadrži shortcode je izmenjena i više nije validna. Vratite se "
723
  "da ponovo učitate shortcode."
724
 
725
- #: lib/wfu_constants.php:152
726
  msgid ""
727
  "Failed to update the shortcode because the contents of the page changed. Go "
728
  "back to reload the shortcode."
@@ -730,7 +742,7 @@ msgstr ""
730
  "Neuspešno ažuriranje shortcode-a zbog izmene sadržaja stranice. Vratite se "
731
  "da ponovo učitate shortcode."
732
 
733
- #: lib/wfu_constants.php:153
734
  msgid ""
735
  "Failed to update the shortcode. Please try again. If the problem persists, "
736
  "go back and reload the shortcode."
@@ -738,39 +750,39 @@ msgstr ""
738
  "Neuspešno ažuriranje shortcode-a. Pokušajte ponovo. Ako se problem ne reši, "
739
  "vratite se i opet učitajte shortcode."
740
 
741
- #: lib/wfu_constants.php:155
742
  msgid "This is a test message"
743
  msgstr "Ovo je poruka testa"
744
 
745
- #: lib/wfu_constants.php:156
746
  msgid "This is a test administrator message"
747
  msgstr "Ovo je poruka testa administratora "
748
 
749
- #: lib/wfu_constants.php:157
750
  msgid "File testfile 1 under test"
751
  msgstr "Datoteka testfile 1 na testiranju"
752
 
753
- #: lib/wfu_constants.php:158
754
  msgid "File testfile 1 message"
755
  msgstr "Datoteka testfile 1 poruka"
756
 
757
- #: lib/wfu_constants.php:159
758
  msgid "File testfile 1 administrator message"
759
  msgstr "Datoteka testfile 1 poruka administratora"
760
 
761
- #: lib/wfu_constants.php:160
762
  msgid "File testfile 2 under test"
763
  msgstr "Datoteka testfile 2 na testiranju"
764
 
765
- #: lib/wfu_constants.php:161
766
  msgid "File testfile 2 message"
767
  msgstr "Datoteka testfile 2 poruka"
768
 
769
- #: lib/wfu_constants.php:162
770
  msgid "File testfile 2 administrator message"
771
  msgstr "Datoteka testfile 2 poruka administratora"
772
 
773
- #: lib/wfu_constants.php:164
774
  msgid ""
775
  "Insert variable %userid% inside text. It will be replaced by the id of the "
776
  "current user."
@@ -778,7 +790,7 @@ msgstr ""
778
  "Unesite promenljivu %idkorisnika% u tekst. Biće zamenjena id-jem tekućeg "
779
  "korisnika."
780
 
781
- #: lib/wfu_constants.php:165
782
  msgid ""
783
  "Insert variable %username% inside text. It will be replaced by the username "
784
  "of the current user."
@@ -786,7 +798,7 @@ msgstr ""
786
  "Unesite promenljivu %korisničko ime% u tekst. Biće zamenjena korisničkim "
787
  "imenom tekućeg korisnika."
788
 
789
- #: lib/wfu_constants.php:166
790
  msgid ""
791
  "Insert variable %useremail% inside text. It will be replaced by the email of "
792
  "the current user."
@@ -794,7 +806,7 @@ msgstr ""
794
  "Unesite promenljivu %mailkorisnika% u tekst. Biće zamenjena mail-om tekućeg "
795
  "korisnika."
796
 
797
- #: lib/wfu_constants.php:167
798
  msgid ""
799
  "Insert variable %filename% inside text. It will be replaced by the filename "
800
  "of the uploaded file."
@@ -802,7 +814,7 @@ msgstr ""
802
  "Unesite promenljivu %nazivdatoteke% u tekst. Biće zamenjena nazivom "
803
  "otpremljene datoteke."
804
 
805
- #: lib/wfu_constants.php:168
806
  msgid ""
807
  "Insert variable %filepath% inside text. It will be replaced by the full "
808
  "filepath of the uploaded file."
@@ -810,7 +822,7 @@ msgstr ""
810
  "Unesite promenljivu %putanjadatoteke% u tekst. Biće zamenjena celom putanjom "
811
  "otpremljene datoteke."
812
 
813
- #: lib/wfu_constants.php:169
814
  msgid ""
815
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
816
  "the website."
@@ -818,7 +830,7 @@ msgstr ""
818
  "Unesite promenljivu %idbloga% u tekst. Biće zamenjena id-jem bloga web site-"
819
  "a."
820
 
821
- #: lib/wfu_constants.php:170
822
  msgid ""
823
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
824
  "current page."
@@ -826,7 +838,7 @@ msgstr ""
826
  "Unesite promenljivu %idstranice% u tekst. Biće zamenjena id-jem tekuće "
827
  "stranice."
828
 
829
- #: lib/wfu_constants.php:171
830
  msgid ""
831
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
832
  "the current page."
@@ -834,7 +846,7 @@ msgstr ""
834
  "Unesite promenljivu %naslovstranice% u tekst. Biće zamenjena naslovom tekuće "
835
  "stranice."
836
 
837
- #: lib/wfu_constants.php:172
838
  msgid ""
839
  "Insert variable %userdataXXX% inside text. Select the user field from the "
840
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -843,195 +855,195 @@ msgstr ""
843
  "Unesite promenljivu %korisnički podaciXXX%. Odaberite korisničko polje iz "
844
  "opadajuće liste. Biće zamenjena vrednošću koju je korisnik uneo u ovo polje."
845
 
846
- #: lib/wfu_constants.php:173
847
  msgid "Insert variable %n% inside text to denote a line change."
848
  msgstr "Unesite promenljivu %n% u tekst kako biste označili promenu reda."
849
 
850
- #: lib/wfu_constants.php:175
851
  msgid "Test Mode"
852
  msgstr "Režim testiranja"
853
 
854
- #: lib/wfu_constants.php:176
855
  msgid "select dir..."
856
  msgstr "odaberite dir..."
857
 
858
- #: lib/wfu_constants.php:177
859
  msgid "type dir"
860
  msgstr "vrsta direktorijuma "
861
 
862
- #: lib/wfu_constants.php:178
863
  msgid "Upload path: %filepath%"
864
  msgstr "Putanja otpremanja: %filepath%"
865
 
866
- #: lib/wfu_constants.php:179
867
  msgid "Failed upload path: %filepath%"
868
  msgstr "Putanja otpremanja neuspešna: %filepath%"
869
 
870
- #: lib/wfu_constants.php:180
871
  msgid " (required)"
872
  msgstr "(obavezna)"
873
 
874
- #: lib/wfu_constants.php:181
875
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
876
  msgstr "Datoteke su otpremljene. Da li sigurno želite da napustite stranicu?"
877
 
878
- #: lib/wfu_constants.php:182
879
  msgid "checking captcha..."
880
  msgstr "captcha se proverava..."
881
 
882
- #: lib/wfu_constants.php:183
883
  msgid "refreshing..."
884
  msgstr "osvežava se..."
885
 
886
- #: lib/wfu_constants.php:184
887
  msgid "correct captcha"
888
  msgstr "ispravi captcha"
889
 
890
- #: lib/wfu_constants.php:185
891
  msgid "click to continue the upload"
892
  msgstr "kliknite da biste nastavili otpremanje"
893
 
894
- #: lib/wfu_constants.php:186
895
  msgid "Are you sure you want to delete this file?"
896
  msgstr ""
897
 
898
- #: lib/wfu_constants.php:187
899
  msgid "Are you sure you want to delete these files?"
900
  msgstr ""
901
 
902
- #: lib/wfu_constants.php:188
903
  msgid "Bulk Actions"
904
  msgstr ""
905
 
906
- #: lib/wfu_constants.php:189
907
  msgid "Apply"
908
  msgstr ""
909
 
910
- #: lib/wfu_constants.php:190
911
  msgid "Are you sure that you want to cancel the upload?"
912
  msgstr ""
913
 
914
- #: lib/wfu_constants.php:191
915
  msgid "cancel upload of this file"
916
  msgstr ""
917
 
918
- #: lib/wfu_constants.php:192
919
  msgid "Upload in progress"
920
  msgstr "Otpremanje u toku"
921
 
922
- #: lib/wfu_constants.php:193
923
  msgid "Upload in progress with warnings!"
924
  msgstr "Otpremanje sa upozorenjima u toku!"
925
 
926
- #: lib/wfu_constants.php:194
927
  msgid "Upload in progress but some files already failed!"
928
  msgstr "Otpremanje u toku, ali neke datoteke već nisu uspešno otpremljene!"
929
 
930
- #: lib/wfu_constants.php:195
931
  msgid "Upload in progress but no files uploaded so far!"
932
  msgstr "Otpremanje u toku, ali do sada nisu otpremljene nikakve datoteke!"
933
 
934
- #: lib/wfu_constants.php:196
935
  msgid "All files uploaded successfully"
936
  msgstr "Sve datoteke uspešno su otpremljene"
937
 
938
- #: lib/wfu_constants.php:197
939
  msgid "All files uploaded successfully but there are warnings!"
940
  msgstr "Sve datoteke uspešno su otpremljene, ali postoje upozorenja!"
941
 
942
- #: lib/wfu_constants.php:198
943
  msgid "File uploaded successfully but there are warnings!"
944
  msgstr "Datoteka je uspešno otpremljena, ali postoje upozorenja!"
945
 
946
- #: lib/wfu_constants.php:199
947
  msgid "Some files failed to upload!"
948
  msgstr "Neke datoteke nisu otpremljene!"
949
 
950
- #: lib/wfu_constants.php:200
951
  msgid "All files failed to upload"
952
  msgstr "Nijedna datoteka nije otpremljena"
953
 
954
- #: lib/wfu_constants.php:201
955
  msgid "File failed to upload"
956
  msgstr "Datoteka nije uspešno otpremljena"
957
 
958
- #: lib/wfu_constants.php:202
959
  msgid "There are no files to upload!"
960
  msgstr "Nema datoteka za otpremanje"
961
 
962
- #: lib/wfu_constants.php:203
963
  msgid "Test upload message"
964
  msgstr "Testiraj poruku za otpremanje"
965
 
966
- #: lib/wfu_constants.php:204
967
  msgid "JSON parse warning!"
968
  msgstr "Upozorenje za JSON parsiranje!"
969
 
970
- #: lib/wfu_constants.php:205
971
  msgid "please wait while redirecting..."
972
  msgstr "Molimo sačekajte preusmeravanje..."
973
 
974
- #: lib/wfu_constants.php:207
975
  msgid "Open visual shortcode editor in new window"
976
  msgstr "Otvori vizuelni shortcode uređivač u novom prozoru"
977
 
978
- #: lib/wfu_constants.php:208
979
  msgid "loading visual editor"
980
  msgstr "učitavanje vizuelnog uređivača"
981
 
982
- #: lib/wfu_constants.php:209
983
  msgid "Clear file list?"
984
  msgstr "Obriši listu datoteke?"
985
 
986
- #: lib/wfu_constants.php:210
987
  msgid "DROP HERE"
988
  msgstr "POZICIONIRAJ OVDE"
989
 
990
- #: lib/wfu_constants.php:212
991
  msgid "record video"
992
  msgstr ""
993
 
994
- #: lib/wfu_constants.php:213
995
  msgid "take a picture"
996
  msgstr ""
997
 
998
- #: lib/wfu_constants.php:214
999
  msgid "turn webcam on/off"
1000
  msgstr ""
1001
 
1002
- #: lib/wfu_constants.php:215
1003
  msgid "go live again"
1004
  msgstr ""
1005
 
1006
- #: lib/wfu_constants.php:216
1007
  msgid "end recording"
1008
  msgstr ""
1009
 
1010
- #: lib/wfu_constants.php:217
1011
  msgid "play"
1012
  msgstr ""
1013
 
1014
- #: lib/wfu_constants.php:218
1015
  msgid "pause"
1016
  msgstr ""
1017
 
1018
- #: lib/wfu_constants.php:219
1019
  msgid "go to the beginning"
1020
  msgstr ""
1021
 
1022
- #: lib/wfu_constants.php:220
1023
  msgid "go to the end"
1024
  msgstr ""
1025
 
1026
- #: lib/wfu_constants.php:222
1027
  msgid "Wordpress File Upload Form"
1028
  msgstr ""
1029
 
1030
- #: lib/wfu_constants.php:223
1031
  msgid "Wordpress File Upload plugin uploader for sidebars"
1032
  msgstr ""
1033
 
1034
- #: lib/wfu_constants.php:224
1035
  msgid "Upload Files"
1036
  msgstr ""
1037
 
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:51+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:51+0200\n"
7
  "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: sr\n"
310
  "Otpremanje neuspešno! Došlo je do greške prilikom pokušaja da se otpremi "
311
  "datoteka."
312
 
313
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
314
  msgid "Upload failed!"
315
  msgstr "Otpremanje neuspešno! "
316
 
692
  "Thanks"
693
  msgstr ""
694
 
695
+ #: lib/wfu_constants.php:147
696
+ msgid ""
697
+ "You have activated an alternative insecure Iptanus Services Server. For "
698
+ "details please contact info@iptanus.com."
699
+ msgstr ""
700
+
701
  #: lib/wfu_constants.php:148
702
  msgid ""
703
+ "Iptanus Services Server is unreachable. This may cause problems in some "
704
+ "plugin functions. Please contact info@iptanus.com for details."
705
+ msgstr ""
706
+
707
+ #: lib/wfu_constants.php:150
708
+ msgid ""
709
  "Failed to add the shortcode to the page/post. Please try again. If the "
710
  "message persists, contact administrator."
711
  msgstr ""
712
 
713
+ #: lib/wfu_constants.php:151
714
  msgid ""
715
  "Failed to edit the shortcode because the contents of the page changed. Try "
716
  "again to edit the shortcode."
718
  "Neuspešno uređivanje shortcode-a zbog izmene sadržaja stranice. Pokušajte "
719
  "ponovo da uredite shortcode."
720
 
721
+ #: lib/wfu_constants.php:152
722
  msgid ""
723
  "Failed to delete the shortcode because the contents of the page changed. Try "
724
  "again to delete it."
726
  "Neuspešno brisanje shortcode-a zbog izmene sadržaja stranice. Pokušajte "
727
  "ponovo da ga obrišete."
728
 
729
+ #: lib/wfu_constants.php:153
730
  msgid ""
731
  "The page containing the shortcode has been modified and it is no longer "
732
  "valid. Please go back to reload the shortcode."
734
  "Stranica koja sadrži shortcode je izmenjena i više nije validna. Vratite se "
735
  "da ponovo učitate shortcode."
736
 
737
+ #: lib/wfu_constants.php:154
738
  msgid ""
739
  "Failed to update the shortcode because the contents of the page changed. Go "
740
  "back to reload the shortcode."
742
  "Neuspešno ažuriranje shortcode-a zbog izmene sadržaja stranice. Vratite se "
743
  "da ponovo učitate shortcode."
744
 
745
+ #: lib/wfu_constants.php:155
746
  msgid ""
747
  "Failed to update the shortcode. Please try again. If the problem persists, "
748
  "go back and reload the shortcode."
750
  "Neuspešno ažuriranje shortcode-a. Pokušajte ponovo. Ako se problem ne reši, "
751
  "vratite se i opet učitajte shortcode."
752
 
753
+ #: lib/wfu_constants.php:157
754
  msgid "This is a test message"
755
  msgstr "Ovo je poruka testa"
756
 
757
+ #: lib/wfu_constants.php:158
758
  msgid "This is a test administrator message"
759
  msgstr "Ovo je poruka testa administratora "
760
 
761
+ #: lib/wfu_constants.php:159
762
  msgid "File testfile 1 under test"
763
  msgstr "Datoteka testfile 1 na testiranju"
764
 
765
+ #: lib/wfu_constants.php:160
766
  msgid "File testfile 1 message"
767
  msgstr "Datoteka testfile 1 poruka"
768
 
769
+ #: lib/wfu_constants.php:161
770
  msgid "File testfile 1 administrator message"
771
  msgstr "Datoteka testfile 1 poruka administratora"
772
 
773
+ #: lib/wfu_constants.php:162
774
  msgid "File testfile 2 under test"
775
  msgstr "Datoteka testfile 2 na testiranju"
776
 
777
+ #: lib/wfu_constants.php:163
778
  msgid "File testfile 2 message"
779
  msgstr "Datoteka testfile 2 poruka"
780
 
781
+ #: lib/wfu_constants.php:164
782
  msgid "File testfile 2 administrator message"
783
  msgstr "Datoteka testfile 2 poruka administratora"
784
 
785
+ #: lib/wfu_constants.php:166
786
  msgid ""
787
  "Insert variable %userid% inside text. It will be replaced by the id of the "
788
  "current user."
790
  "Unesite promenljivu %idkorisnika% u tekst. Biće zamenjena id-jem tekućeg "
791
  "korisnika."
792
 
793
+ #: lib/wfu_constants.php:167
794
  msgid ""
795
  "Insert variable %username% inside text. It will be replaced by the username "
796
  "of the current user."
798
  "Unesite promenljivu %korisničko ime% u tekst. Biće zamenjena korisničkim "
799
  "imenom tekućeg korisnika."
800
 
801
+ #: lib/wfu_constants.php:168
802
  msgid ""
803
  "Insert variable %useremail% inside text. It will be replaced by the email of "
804
  "the current user."
806
  "Unesite promenljivu %mailkorisnika% u tekst. Biće zamenjena mail-om tekućeg "
807
  "korisnika."
808
 
809
+ #: lib/wfu_constants.php:169
810
  msgid ""
811
  "Insert variable %filename% inside text. It will be replaced by the filename "
812
  "of the uploaded file."
814
  "Unesite promenljivu %nazivdatoteke% u tekst. Biće zamenjena nazivom "
815
  "otpremljene datoteke."
816
 
817
+ #: lib/wfu_constants.php:170
818
  msgid ""
819
  "Insert variable %filepath% inside text. It will be replaced by the full "
820
  "filepath of the uploaded file."
822
  "Unesite promenljivu %putanjadatoteke% u tekst. Biće zamenjena celom putanjom "
823
  "otpremljene datoteke."
824
 
825
+ #: lib/wfu_constants.php:171
826
  msgid ""
827
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
828
  "the website."
830
  "Unesite promenljivu %idbloga% u tekst. Biće zamenjena id-jem bloga web site-"
831
  "a."
832
 
833
+ #: lib/wfu_constants.php:172
834
  msgid ""
835
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
836
  "current page."
838
  "Unesite promenljivu %idstranice% u tekst. Biće zamenjena id-jem tekuće "
839
  "stranice."
840
 
841
+ #: lib/wfu_constants.php:173
842
  msgid ""
843
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
844
  "the current page."
846
  "Unesite promenljivu %naslovstranice% u tekst. Biće zamenjena naslovom tekuće "
847
  "stranice."
848
 
849
+ #: lib/wfu_constants.php:174
850
  msgid ""
851
  "Insert variable %userdataXXX% inside text. Select the user field from the "
852
  "drop-down list. It will be replaced by the value that the user entered in "
855
  "Unesite promenljivu %korisnički podaciXXX%. Odaberite korisničko polje iz "
856
  "opadajuće liste. Biće zamenjena vrednošću koju je korisnik uneo u ovo polje."
857
 
858
+ #: lib/wfu_constants.php:175
859
  msgid "Insert variable %n% inside text to denote a line change."
860
  msgstr "Unesite promenljivu %n% u tekst kako biste označili promenu reda."
861
 
862
+ #: lib/wfu_constants.php:177
863
  msgid "Test Mode"
864
  msgstr "Režim testiranja"
865
 
866
+ #: lib/wfu_constants.php:178
867
  msgid "select dir..."
868
  msgstr "odaberite dir..."
869
 
870
+ #: lib/wfu_constants.php:179
871
  msgid "type dir"
872
  msgstr "vrsta direktorijuma "
873
 
874
+ #: lib/wfu_constants.php:180
875
  msgid "Upload path: %filepath%"
876
  msgstr "Putanja otpremanja: %filepath%"
877
 
878
+ #: lib/wfu_constants.php:181
879
  msgid "Failed upload path: %filepath%"
880
  msgstr "Putanja otpremanja neuspešna: %filepath%"
881
 
882
+ #: lib/wfu_constants.php:182
883
  msgid " (required)"
884
  msgstr "(obavezna)"
885
 
886
+ #: lib/wfu_constants.php:183
887
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
888
  msgstr "Datoteke su otpremljene. Da li sigurno želite da napustite stranicu?"
889
 
890
+ #: lib/wfu_constants.php:184
891
  msgid "checking captcha..."
892
  msgstr "captcha se proverava..."
893
 
894
+ #: lib/wfu_constants.php:185
895
  msgid "refreshing..."
896
  msgstr "osvežava se..."
897
 
898
+ #: lib/wfu_constants.php:186
899
  msgid "correct captcha"
900
  msgstr "ispravi captcha"
901
 
902
+ #: lib/wfu_constants.php:187
903
  msgid "click to continue the upload"
904
  msgstr "kliknite da biste nastavili otpremanje"
905
 
906
+ #: lib/wfu_constants.php:188
907
  msgid "Are you sure you want to delete this file?"
908
  msgstr ""
909
 
910
+ #: lib/wfu_constants.php:189
911
  msgid "Are you sure you want to delete these files?"
912
  msgstr ""
913
 
914
+ #: lib/wfu_constants.php:190
915
  msgid "Bulk Actions"
916
  msgstr ""
917
 
918
+ #: lib/wfu_constants.php:191
919
  msgid "Apply"
920
  msgstr ""
921
 
922
+ #: lib/wfu_constants.php:192
923
  msgid "Are you sure that you want to cancel the upload?"
924
  msgstr ""
925
 
926
+ #: lib/wfu_constants.php:193
927
  msgid "cancel upload of this file"
928
  msgstr ""
929
 
930
+ #: lib/wfu_constants.php:194
931
  msgid "Upload in progress"
932
  msgstr "Otpremanje u toku"
933
 
934
+ #: lib/wfu_constants.php:195
935
  msgid "Upload in progress with warnings!"
936
  msgstr "Otpremanje sa upozorenjima u toku!"
937
 
938
+ #: lib/wfu_constants.php:196
939
  msgid "Upload in progress but some files already failed!"
940
  msgstr "Otpremanje u toku, ali neke datoteke već nisu uspešno otpremljene!"
941
 
942
+ #: lib/wfu_constants.php:197
943
  msgid "Upload in progress but no files uploaded so far!"
944
  msgstr "Otpremanje u toku, ali do sada nisu otpremljene nikakve datoteke!"
945
 
946
+ #: lib/wfu_constants.php:198
947
  msgid "All files uploaded successfully"
948
  msgstr "Sve datoteke uspešno su otpremljene"
949
 
950
+ #: lib/wfu_constants.php:199
951
  msgid "All files uploaded successfully but there are warnings!"
952
  msgstr "Sve datoteke uspešno su otpremljene, ali postoje upozorenja!"
953
 
954
+ #: lib/wfu_constants.php:200
955
  msgid "File uploaded successfully but there are warnings!"
956
  msgstr "Datoteka je uspešno otpremljena, ali postoje upozorenja!"
957
 
958
+ #: lib/wfu_constants.php:201
959
  msgid "Some files failed to upload!"
960
  msgstr "Neke datoteke nisu otpremljene!"
961
 
962
+ #: lib/wfu_constants.php:202
963
  msgid "All files failed to upload"
964
  msgstr "Nijedna datoteka nije otpremljena"
965
 
966
+ #: lib/wfu_constants.php:203
967
  msgid "File failed to upload"
968
  msgstr "Datoteka nije uspešno otpremljena"
969
 
970
+ #: lib/wfu_constants.php:204
971
  msgid "There are no files to upload!"
972
  msgstr "Nema datoteka za otpremanje"
973
 
974
+ #: lib/wfu_constants.php:205
975
  msgid "Test upload message"
976
  msgstr "Testiraj poruku za otpremanje"
977
 
978
+ #: lib/wfu_constants.php:206
979
  msgid "JSON parse warning!"
980
  msgstr "Upozorenje za JSON parsiranje!"
981
 
982
+ #: lib/wfu_constants.php:207
983
  msgid "please wait while redirecting..."
984
  msgstr "Molimo sačekajte preusmeravanje..."
985
 
986
+ #: lib/wfu_constants.php:209
987
  msgid "Open visual shortcode editor in new window"
988
  msgstr "Otvori vizuelni shortcode uređivač u novom prozoru"
989
 
990
+ #: lib/wfu_constants.php:210
991
  msgid "loading visual editor"
992
  msgstr "učitavanje vizuelnog uređivača"
993
 
994
+ #: lib/wfu_constants.php:211
995
  msgid "Clear file list?"
996
  msgstr "Obriši listu datoteke?"
997
 
998
+ #: lib/wfu_constants.php:212
999
  msgid "DROP HERE"
1000
  msgstr "POZICIONIRAJ OVDE"
1001
 
1002
+ #: lib/wfu_constants.php:214
1003
  msgid "record video"
1004
  msgstr ""
1005
 
1006
+ #: lib/wfu_constants.php:215
1007
  msgid "take a picture"
1008
  msgstr ""
1009
 
1010
+ #: lib/wfu_constants.php:216
1011
  msgid "turn webcam on/off"
1012
  msgstr ""
1013
 
1014
+ #: lib/wfu_constants.php:217
1015
  msgid "go live again"
1016
  msgstr ""
1017
 
1018
+ #: lib/wfu_constants.php:218
1019
  msgid "end recording"
1020
  msgstr ""
1021
 
1022
+ #: lib/wfu_constants.php:219
1023
  msgid "play"
1024
  msgstr ""
1025
 
1026
+ #: lib/wfu_constants.php:220
1027
  msgid "pause"
1028
  msgstr ""
1029
 
1030
+ #: lib/wfu_constants.php:221
1031
  msgid "go to the beginning"
1032
  msgstr ""
1033
 
1034
+ #: lib/wfu_constants.php:222
1035
  msgid "go to the end"
1036
  msgstr ""
1037
 
1038
+ #: lib/wfu_constants.php:224
1039
  msgid "Wordpress File Upload Form"
1040
  msgstr ""
1041
 
1042
+ #: lib/wfu_constants.php:225
1043
  msgid "Wordpress File Upload plugin uploader for sidebars"
1044
  msgstr ""
1045
 
1046
+ #: lib/wfu_constants.php:226
1047
  msgid "Upload Files"
1048
  msgstr ""
1049
 
languages/wp-file-upload-sv_SE.mo ADDED
Binary file
languages/wp-file-upload-sv_SE.po ADDED
@@ -0,0 +1,1075 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress File Upload\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:51+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:51+0200\n"
7
+ "Last-Translator: nickboss <info@iptanus.com>\n"
8
+ "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
+ "Language: sv\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 1.7.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
19
+ "X-Poedit-SearchPathExcluded-1: minified\n"
20
+ "X-Poedit-SearchPathExcluded-2: unminified\n"
21
+
22
+ #: lib/wfu_constants.php:7
23
+ msgid "Upload files"
24
+ msgstr "Ladda upp dokument"
25
+
26
+ #: lib/wfu_constants.php:10
27
+ msgid "Select File/Select Files"
28
+ msgstr "Välj filen/Välj filer"
29
+
30
+ #: lib/wfu_constants.php:11
31
+ msgid "Upload File/Upload Files"
32
+ msgstr "Ladda upp fil/ladda upp filer"
33
+
34
+ #: lib/wfu_constants.php:15
35
+ msgid "Select File"
36
+ msgstr "Välj fil"
37
+
38
+ #: lib/wfu_constants.php:16
39
+ msgid "Upload File"
40
+ msgstr "Ladda upp Fil"
41
+
42
+ #: lib/wfu_constants.php:19
43
+ msgid "File Upload Notification"
44
+ msgstr "Fil ladda upp anmärkning"
45
+
46
+ #: lib/wfu_constants.php:20
47
+ msgid ""
48
+ "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
49
+ "that a new file has been uploaded.%n%%n%Best Regards"
50
+ msgstr ""
51
+ "Bästa mottagare,%n%%n% Detta är ett automatiskt meddelande att en ny fil "
52
+ "har blivit uppladdad.%n%%n%Vänliga hälsningar"
53
+
54
+ #: lib/wfu_constants.php:21
55
+ #, php-format
56
+ msgid "File %filename% uploaded successfully"
57
+ msgstr "Uppladdningen av fil %filename% lyckades"
58
+
59
+ #: lib/wfu_constants.php:22
60
+ #, php-format
61
+ msgid "File %filename% uploaded successfully but with warnings"
62
+ msgstr "Filen %filename% laddat upp framgångsrikt men med varningar"
63
+
64
+ #: lib/wfu_constants.php:23
65
+ msgid "File %filename% not uploaded"
66
+ msgstr "Filen %filename% laddades inte upp"
67
+
68
+ #: lib/wfu_constants.php:24
69
+ msgid "File %filename% is being uploaded"
70
+ msgstr "Filen %filename% laddades upp"
71
+
72
+ #: lib/wfu_constants.php:25
73
+ msgid "Your message"
74
+ msgstr "Ditt meddelande"
75
+
76
+ #: lib/wfu_constants.php:26
77
+ msgid "Please fill in the above words: "
78
+ msgstr ""
79
+
80
+ #: lib/wfu_constants.php:27
81
+ msgid "Upload Media"
82
+ msgstr "Ladda upp"
83
+
84
+ #: lib/wfu_constants.php:28
85
+ msgid "videostream"
86
+ msgstr "videostream"
87
+
88
+ #: lib/wfu_constants.php:29
89
+ msgid "screenshot"
90
+ msgstr "Skärmdump"
91
+
92
+ #: lib/wfu_constants.php:31
93
+ msgid "File"
94
+ msgstr "Fil"
95
+
96
+ #: lib/wfu_constants.php:32
97
+ msgid "Date"
98
+ msgstr "Datum"
99
+
100
+ #: lib/wfu_constants.php:33
101
+ msgid "Size"
102
+ msgstr "Storlek"
103
+
104
+ #: lib/wfu_constants.php:34
105
+ msgid "User"
106
+ msgstr "Användare"
107
+
108
+ #: lib/wfu_constants.php:35
109
+ msgid "Page"
110
+ msgstr "Sida"
111
+
112
+ #: lib/wfu_constants.php:36
113
+ msgid "User Fields"
114
+ msgstr "Användarfält:"
115
+
116
+ #: lib/wfu_constants.php:37
117
+ msgid "Download"
118
+ msgstr "Ladda ner"
119
+
120
+ #: lib/wfu_constants.php:38
121
+ msgid "Download this file"
122
+ msgstr "Ladda ner denna fil"
123
+
124
+ #: lib/wfu_constants.php:39
125
+ msgid "Delete"
126
+ msgstr "Radera"
127
+
128
+ #: lib/wfu_constants.php:40
129
+ msgid "Delete this file"
130
+ msgstr "Ta bort denna fil"
131
+
132
+ #: lib/wfu_constants.php:41
133
+ msgid "Sort list based on this column"
134
+ msgstr "Sortera listan utifrån denna kolumn"
135
+
136
+ #: lib/wfu_constants.php:42
137
+ msgid "guest"
138
+ msgstr "gäst"
139
+
140
+ #: lib/wfu_constants.php:43
141
+ msgid "unknown"
142
+ msgstr "okänd"
143
+
144
+ #: lib/wfu_constants.php:45
145
+ msgid ""
146
+ "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
147
+ "attribute."
148
+ msgstr ""
149
+ "Fel. Gick inte att matcha ftp mål filmappen. Kontrollera domänen i 'ftpinfo'-"
150
+ "attribut."
151
+
152
+ #: lib/wfu_constants.php:46
153
+ msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
154
+ msgstr "Fel. Ogiltig ftp information. Kontrollera 'ftpinfo'-attribut."
155
+
156
+ #: lib/wfu_constants.php:47
157
+ msgid ""
158
+ "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
159
+ "syntax."
160
+ msgstr ""
161
+ "Fel. Kunde inte packa upp ftp informationen från 'ftpinfo'-attribut. "
162
+ "Kontrollera dess syntax."
163
+
164
+ #: lib/wfu_constants.php:48
165
+ msgid ""
166
+ "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
167
+ "attribute."
168
+ msgstr ""
169
+ "Fel. Gick inte att matcha ftp målfilnamn. Kontrollera domänen i 'ftpinfo'-"
170
+ "attribut."
171
+
172
+ #: lib/wfu_constants.php:49
173
+ msgid ""
174
+ "Error. The upload size limit of PHP directive upload_max_filesize is "
175
+ "preventing the upload of big files.\n"
176
+ "PHP directive upload_max_filesize limit is: "
177
+ msgstr ""
178
+ "Fel. Upload storleksgränsen på PHP direktivet upload_max_filesize hindrar "
179
+ "överföringen av stora filer.\n"
180
+ "PHP direktivet upload_max_filesize gräns är: "
181
+
182
+ #: lib/wfu_constants.php:50
183
+ msgid ""
184
+ "The upload time limit of PHP directive max_input_time is preventing the "
185
+ "upload of big files.\n"
186
+ "PHP directive max_input_time limit is: "
187
+ msgstr ""
188
+ "Tidsfristen som uppladdning av PHP direktiv max_input_time hindrar "
189
+ "överföringen av stora filer.\n"
190
+ "PHP direktiv max_input_time gräns är:"
191
+
192
+ #: lib/wfu_constants.php:51
193
+ msgid ""
194
+ "Error. Permission denied to write to target folder.\n"
195
+ "Check and correct read/write permissions of target folder."
196
+ msgstr ""
197
+ "Fel. Åtkomst nekad att skriva till målmappen.\n"
198
+ "Kontrollera och korrigera Läs-och skrivbehörighet för målmappen."
199
+
200
+ #: lib/wfu_constants.php:52
201
+ msgid ""
202
+ "Error. This file was rejected because its extension is not correct. Its "
203
+ "proper filename is: "
204
+ msgstr ""
205
+ "Fel. Den här filen avvisades eftersom filändelsen inte är korrekt. Dess "
206
+ "korrekt filnamn är: "
207
+
208
+ #: lib/wfu_constants.php:53
209
+ msgid ""
210
+ "Too many files are uploaded in a short period of time. This may be a Denial-"
211
+ "Of-Service attack, so file was rejected. Please check the upload log for "
212
+ "suspicious behaviour."
213
+ msgstr ""
214
+ "För många filer överförs i en kort tidsperiod. Detta kan vara en Denial-Of-"
215
+ "Service attack, så filen avslogs. Kontrollera loggen uppladdning för "
216
+ "misstänkt beteende."
217
+
218
+ #: lib/wfu_constants.php:54
219
+ msgid ""
220
+ "File not uploaded in order to prevent overflow of the website. Please "
221
+ "contact administrator."
222
+ msgstr ""
223
+ "Filen inte laddas upp för att förhindra spill av webbplatsen. Kontakta "
224
+ "administratören."
225
+
226
+ #: lib/wfu_constants.php:55
227
+ msgid "Targer folder doesn't exist."
228
+ msgstr "Targer mappen finns inte."
229
+
230
+ #: lib/wfu_constants.php:56
231
+ msgid "Upload failed! Missing a temporary folder."
232
+ msgstr "Det gick inte att ladda upp! Saknas en tillfällig mapp."
233
+
234
+ #: lib/wfu_constants.php:57
235
+ msgid "Upload failed! Permission denied to write to target folder."
236
+ msgstr "Det gick inte att ladda upp! Åtkomst nekad att skriva till målmappen."
237
+
238
+ #: lib/wfu_constants.php:58
239
+ msgid "File not allowed."
240
+ msgstr "Filtyp inte tillåten."
241
+
242
+ #: lib/wfu_constants.php:59
243
+ msgid "File is suspicious and was rejected."
244
+ msgstr "Filen är misstänksam och avvisades."
245
+
246
+ #: lib/wfu_constants.php:60
247
+ msgid "The uploaded file exceeds the file size limit."
248
+ msgstr "Den uppladdade filen överskrider filstorleksgränsen."
249
+
250
+ #: lib/wfu_constants.php:61
251
+ msgid "The uploaded file exceeds 2GB and is not supported by this server."
252
+ msgstr ""
253
+ "Den uppladdade filen överskrider 2GB och stöds inte av den här servern."
254
+
255
+ #: lib/wfu_constants.php:62
256
+ msgid ""
257
+ "Upload failed! The uploaded file exceeds the file size limit of the server. "
258
+ "Please contact the administrator."
259
+ msgstr ""
260
+ "Det gick inte att ladda upp! Den uppladdade filen överskrider "
261
+ "Filstorleksgränsen för servern. Vänligen kontakta administratören."
262
+
263
+ #: lib/wfu_constants.php:63
264
+ msgid ""
265
+ "Upload failed! The duration of the upload exceeded the time limit of the "
266
+ "server. Please contact the administrator."
267
+ msgstr ""
268
+ "Det gick inte att ladda upp! Varaktigheten av uppladdningen överskridit "
269
+ "tidsgränsen för servern. Vänligen kontakta administratören."
270
+
271
+ #: lib/wfu_constants.php:64
272
+ msgid ""
273
+ "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
274
+ "was specified in the HTML form."
275
+ msgstr ""
276
+ "Den uppladdade filen överstiger MAX_FILE_SIZE som angavs i HTML-formuläret."
277
+
278
+ #: lib/wfu_constants.php:65
279
+ msgid "Upload failed! The uploaded file was only partially uploaded."
280
+ msgstr ""
281
+ "Det gick inte att ladda upp! Den uppladdade filen laddades bara delvis."
282
+
283
+ #: lib/wfu_constants.php:66
284
+ msgid "Upload failed! No file was uploaded."
285
+ msgstr "Uppladdning misslyckades."
286
+
287
+ #: lib/wfu_constants.php:67
288
+ msgid "Upload failed! Failed to write file to disk."
289
+ msgstr "Det gick inte att ladda upp! Misslyckades att skriva fil till disk."
290
+
291
+ #: lib/wfu_constants.php:68
292
+ msgid ""
293
+ "Upload failed! Error occured while moving temporary file. Please contact "
294
+ "administrator."
295
+ msgstr ""
296
+ "Det gick inte att ladda upp! Fel uppstod när flytta temporär fil. Kontakta "
297
+ "administratören."
298
+
299
+ #: lib/wfu_constants.php:69
300
+ msgid "Upload cancelled!"
301
+ msgstr "Ladda upp fil/ladda upp filer"
302
+
303
+ #: lib/wfu_constants.php:70
304
+ msgid ""
305
+ "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
306
+ "a way to ascertain which extension caused the file upload to stop; examining "
307
+ "the list of loaded extensions with phpinfo() may help."
308
+ msgstr ""
309
+ "Det gick inte att ladda upp! Ett PHP-tillägg stannade filuppladdning. PHP "
310
+ "ger inte ett sätt att fastställa vilka förlängning orsakade filuppladdning "
311
+ "att stoppa; Granska listan över inlästa tillägg med phpinfo() kan hjälpa."
312
+
313
+ #: lib/wfu_constants.php:71
314
+ msgid "Upload failed! Error occured while attemting to upload the file."
315
+ msgstr ""
316
+ "Det gick inte att ladda upp! Fel uppstod när attemting Ladda upp filen."
317
+
318
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
319
+ msgid "Upload failed!"
320
+ msgstr "Uppladdning misslyckades"
321
+
322
+ #: lib/wfu_constants.php:73
323
+ msgid "No file!"
324
+ msgstr "Ingen fil"
325
+
326
+ #: lib/wfu_constants.php:74
327
+ msgid ""
328
+ "Upload failed! The upload has been canceled by the user or the browser "
329
+ "dropped the connection."
330
+ msgstr ""
331
+ "Det gick inte att ladda upp! Uppladdningen har avbrutits av användaren eller "
332
+ "webbläsaren tappade anslutningen."
333
+
334
+ #: lib/wfu_constants.php:75
335
+ msgid "Upload failed! Unknown error."
336
+ msgstr "Det gick inte att ladda upp! Okänt fel."
337
+
338
+ #: lib/wfu_constants.php:76
339
+ msgid "Please contact the administrator."
340
+ msgstr "Vänligen kontakta administratören."
341
+
342
+ #: lib/wfu_constants.php:77
343
+ msgid "No result from remote server!"
344
+ msgstr "Inget resultat från fjärrservern!"
345
+
346
+ #: lib/wfu_constants.php:78
347
+ msgid " but with warnings"
348
+ msgstr " men med varningar"
349
+
350
+ #: lib/wfu_constants.php:79 lib/wfu_constants.php:81
351
+ msgid "Warning: JSON parse error."
352
+ msgstr "Varning: JSON parse error."
353
+
354
+ #: lib/wfu_constants.php:80
355
+ msgid ""
356
+ "Upload parameters of this file, passed as JSON string to the handler, could "
357
+ "not be parsed."
358
+ msgstr ""
359
+ "Ladda upp parametrarna för denna fil, passerade som JSON-sträng till "
360
+ "hanteraren, kunde inte parsas."
361
+
362
+ #: lib/wfu_constants.php:82
363
+ msgid ""
364
+ "UploadStates, passed as JSON string to the handler, could not be parsed."
365
+ msgstr ""
366
+ "UploadStates, passerade som JSON-sträng till hanteraren, kunde inte parsas."
367
+
368
+ #: lib/wfu_constants.php:83
369
+ msgid ""
370
+ "Redirection to classic form functionality occurred due to unknown error."
371
+ msgstr ""
372
+ "Omdirigering till klassiska formulärfunktioner uppstod på grund av okänt fel."
373
+
374
+ #: lib/wfu_constants.php:84
375
+ msgid ""
376
+ "Redirection to classic form functionality occurred because AJAX is not "
377
+ "supported."
378
+ msgstr ""
379
+ "Omdirigering till klassiska formulärfunktioner uppstod eftersom AJAX inte "
380
+ "stöds."
381
+
382
+ #: lib/wfu_constants.php:85
383
+ msgid ""
384
+ "Redirection to classic form functionality occurred because HTML5 is not "
385
+ "supported."
386
+ msgstr ""
387
+ "Omdirigering till klassiska formulärfunktioner uppstod eftersom HTML5 inte "
388
+ "stöds."
389
+
390
+ #: lib/wfu_constants.php:86
391
+ msgid ""
392
+ "Redirection to classic form functionality occurred due to JSON parse error."
393
+ msgstr ""
394
+ "Omdirigering till klassiska formulärfunktioner uppstod på grund av JSON "
395
+ "parse error."
396
+
397
+ #: lib/wfu_constants.php:87
398
+ msgid "Please enable popup windows from the browser's settings!"
399
+ msgstr "Vänligen aktivera popupfönster från webbläsarens inställningar!"
400
+
401
+ #: lib/wfu_constants.php:88
402
+ msgid "cannot be empty!"
403
+ msgstr "kan inte vara tom!"
404
+
405
+ #: lib/wfu_constants.php:89
406
+ msgid "number not valid!"
407
+ msgstr "nummer inte giltig!"
408
+
409
+ #: lib/wfu_constants.php:90
410
+ msgid "email not valid!"
411
+ msgstr "E-postadressen är inte giltig!"
412
+
413
+ #: lib/wfu_constants.php:91
414
+ msgid "emails do not match!"
415
+ msgstr "e-post stämmer inte!"
416
+
417
+ #: lib/wfu_constants.php:92
418
+ msgid "no base email field in group!"
419
+ msgstr "ingen bas e-fältet i gruppen!"
420
+
421
+ #: lib/wfu_constants.php:93
422
+ msgid "passwords do not match!"
423
+ msgstr "De två lösenorden matchar inte."
424
+
425
+ #: lib/wfu_constants.php:94
426
+ msgid "no base password field in group!"
427
+ msgstr "ingen bas lösenordsfältet i grupp!"
428
+
429
+ #: lib/wfu_constants.php:95
430
+ msgid "checkbox unchecked!"
431
+ msgstr "kryssrutan avmarkerad!"
432
+
433
+ #: lib/wfu_constants.php:96
434
+ msgid "no option selected!"
435
+ msgstr "Inget alternativ valt"
436
+
437
+ #: lib/wfu_constants.php:97
438
+ msgid "no item selected!"
439
+ msgstr "Inget objekt valt."
440
+
441
+ #: lib/wfu_constants.php:98
442
+ msgid ""
443
+ "There are more than one instances of the plugin in this page with the same "
444
+ "id. Please change it."
445
+ msgstr ""
446
+ "I området i närheten finns det flera instanser av plugin i sidan med samma "
447
+ "id. Ändra det."
448
+
449
+ #: lib/wfu_constants.php:99
450
+ msgid ""
451
+ "Cannot edit the shortcode because the page has been modified. Please reload "
452
+ "the page."
453
+ msgstr ""
454
+ "Kan inte redigera kortkoden eftersom sidan har ändrats. Vänligen ladda om "
455
+ "sidan."
456
+
457
+ #: lib/wfu_constants.php:100
458
+ msgid "Your browser does not support webcam capture!"
459
+ msgstr "Din webbläsare stöder inte webbkamerainspelning!"
460
+
461
+ #: lib/wfu_constants.php:101
462
+ msgid "Your browser does not support video recording from the webcam!"
463
+ msgstr "Din webbläsare stöder inte videoinspelning från webbkameran!"
464
+
465
+ #: lib/wfu_constants.php:102
466
+ msgid "No video was recorded!"
467
+ msgstr "Ingen video spelades in!"
468
+
469
+ #: lib/wfu_constants.php:103
470
+ msgid ""
471
+ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP "
472
+ "or use RecaptchaV2 (no account)."
473
+ msgstr ""
474
+ "FEL: Captcha stöds inte! Du har en gammal PHP-version. Uppgradera din PHP "
475
+ "eller använda RecaptchaV2 (inget konto)."
476
+
477
+ #: lib/wfu_constants.php:104
478
+ msgid ""
479
+ "ERROR: Only one instance of RecaptchaV1 can exist on the same page. Please "
480
+ "notify administrator."
481
+ msgstr ""
482
+ "FEL: Endast en koduppladdning av RecaptchaV1 kan finnas på samma sida. "
483
+ "Vänligen meddela administratören."
484
+
485
+ #: lib/wfu_constants.php:105
486
+ msgid ""
487
+ "ERROR: Only one instance of RecaptchaV1 can exist on the same page. Please "
488
+ "use RecaptchaV1 (no account)."
489
+ msgstr ""
490
+ "FEL: Endast en koduppladdning av RecaptchaV1 kan finnas på samma sida. "
491
+ "Vänligen använd RecaptchaV1 (inget konto)."
492
+
493
+ #: lib/wfu_constants.php:106
494
+ msgid "ERROR: No site key. Please contact administrator!"
495
+ msgstr "FEL: Ingen webbplats nyckel. Vänligen kontakta administratören!"
496
+
497
+ #: lib/wfu_constants.php:107
498
+ msgid ""
499
+ "ERROR: No site key defined! Please go to the plugin settings in Dashboard to "
500
+ "define Google Recaptcha keys."
501
+ msgstr ""
502
+ "FEL: Ingen webbplats nyckel definierad! Vänligen gå till plugin "
503
+ "inställningar i kontrollpanelen för att definiera Google Recaptcha nycklar."
504
+
505
+ #: lib/wfu_constants.php:108
506
+ msgid "Bad captcha image!"
507
+ msgstr "Dåliga captcha-bild!"
508
+
509
+ #: lib/wfu_constants.php:109
510
+ msgid "No input!"
511
+ msgstr ""
512
+ "aria-required är en form input WAI ARIA tag. Screen readers använder detta "
513
+ "för att avgöra vilka fält som är obligatoriska. Att aktivera denna är bra "
514
+ "för tillgängligheten, men kommer att orsaka HTML fallerar i W3C Validation "
515
+ "(där finns ingen attribut \"aria-required\"). WAI ARIA attributer kommer "
516
+ "snart att accepteras av HTML validator, så du kan utan risk ignorera de "
517
+ "valideringsfel som den kommer att orsaka."
518
+
519
+ #: lib/wfu_constants.php:110
520
+ msgid "Captcha not completed!"
521
+ msgstr "CAPTCHA inte klar!"
522
+
523
+ #: lib/wfu_constants.php:111
524
+ msgid "Wrong captcha!"
525
+ msgstr "Fel captcha!"
526
+
527
+ #: lib/wfu_constants.php:112
528
+ msgid "Error refreshing captcha!"
529
+ msgstr "Fel uppdaterar captcha!"
530
+
531
+ #: lib/wfu_constants.php:113
532
+ msgid "Unknown captcha error!"
533
+ msgstr "Okänd captcha fel!"
534
+
535
+ #: lib/wfu_constants.php:114
536
+ msgid "Captcha not supported by your browser!"
537
+ msgstr "CAPTCHA stöds inte av din webbläsare!"
538
+
539
+ #: lib/wfu_constants.php:115
540
+ msgid "the secret parameter is missing"
541
+ msgstr "den hemliga parametern saknas"
542
+
543
+ #: lib/wfu_constants.php:116
544
+ msgid "the secret parameter is invalid or malformed"
545
+ msgstr "hemliga parametern är ogiltig eller felaktig"
546
+
547
+ #: lib/wfu_constants.php:117
548
+ msgid "the response parameter is missing"
549
+ msgstr "Parametern saknas."
550
+
551
+ #: lib/wfu_constants.php:118
552
+ msgid "the response parameter is invalid or malformed"
553
+ msgstr "Parameterns svar är ogiltigt eller har felaktigt format."
554
+
555
+ #: lib/wfu_constants.php:119
556
+ msgid "Please do not use drag drop due to an internal problem."
557
+ msgstr "Vänligen Använd inte dra på grund av ett internt problem."
558
+
559
+ #: lib/wfu_constants.php:120
560
+ #, php-format
561
+ msgid "Error during chunked upload. Unique ID empty in chunk %d"
562
+ msgstr "Fel under segmenterad uppladdning. Unikt ID saknas i segmentet %d"
563
+
564
+ #: lib/wfu_constants.php:121
565
+ msgid "Chunked upload is not allowed!"
566
+ msgstr "Segmentuppladdning är inte tillåtet!"
567
+
568
+ #: lib/wfu_constants.php:122
569
+ msgid "Chunked upload aborted due to error in previous chunk!"
570
+ msgstr "Gruppuppladdning avbröts på grund av fel i tidigare segment!"
571
+
572
+ #: lib/wfu_constants.php:123
573
+ msgid "Chunked upload failed, final file could not be created!"
574
+ msgstr "Uppladdningen av segmentet misslyckades, filen kunde inte skapas!"
575
+
576
+ #: lib/wfu_constants.php:124
577
+ #, php-format
578
+ msgid "Could not write file chuck to destination on chunk %d"
579
+ msgstr "Kunde inte skriva filensegmentet till destination på segment %d"
580
+
581
+ #: lib/wfu_constants.php:125
582
+ #, php-format
583
+ msgid "Could not enlarge destination file on chunk %d"
584
+ msgstr "Kunde inte förstora målfilen på segment %d"
585
+
586
+ #: lib/wfu_constants.php:126
587
+ #, php-format
588
+ msgid "Could not open file handles on chunk %d"
589
+ msgstr "Kunde inte öppna filreferenser på segment %d"
590
+
591
+ #: lib/wfu_constants.php:127
592
+ msgid "You are not allowed to download this file!"
593
+ msgstr "Du har inte tillgång till den här filen."
594
+
595
+ #: lib/wfu_constants.php:128
596
+ msgid "File does not exist!"
597
+ msgstr "Filen finns inte"
598
+
599
+ #: lib/wfu_constants.php:129
600
+ msgid "Could not download file!"
601
+ msgstr "Kunde inte ladda ner fil!"
602
+
603
+ #: lib/wfu_constants.php:130
604
+ msgid "You are not allowed to delete this file!"
605
+ msgstr "Du får inte ta bort denna fil!"
606
+
607
+ #: lib/wfu_constants.php:131
608
+ msgid "File was not deleted!"
609
+ msgstr "Filen var inte bort!"
610
+
611
+ #: lib/wfu_constants.php:132
612
+ msgid "No file was deleted!"
613
+ msgstr "Ingen fil har tagits bort!"
614
+
615
+ #: lib/wfu_constants.php:133
616
+ msgid "Some files were not deleted!"
617
+ msgstr "Vissa filer raderas inte!"
618
+
619
+ #: lib/wfu_constants.php:135
620
+ msgid "Upload skipped! File already exists."
621
+ msgstr "Ladda upp överhoppade! Filen finns redan."
622
+
623
+ #: lib/wfu_constants.php:136
624
+ msgid "The extension of the file does not match its contents."
625
+ msgstr ""
626
+
627
+ #: lib/wfu_constants.php:137
628
+ msgid ""
629
+ "Upload succeeded but the file is suspicious because its contents do not "
630
+ "match its extension. Its proper filename is: "
631
+ msgstr ""
632
+ "Ladda upp lyckades men filen är misstänksam eftersom innehållet inte matchar "
633
+ "dess förlängning. Dess korrekt filnamn är:"
634
+
635
+ #: lib/wfu_constants.php:138
636
+ msgid "No files have been selected!"
637
+ msgstr "Inga filer har valts!"
638
+
639
+ #: lib/wfu_constants.php:139
640
+ msgid "WPFilebase Plugin not updated because there were no files uploaded."
641
+ msgstr ""
642
+ "WPFilebase Plugin uppdaterad inte eftersom det fanns inga filer som laddas "
643
+ "upp."
644
+
645
+ #: lib/wfu_constants.php:140
646
+ msgid "Notification email was not sent because there were no files uploaded."
647
+ msgstr ""
648
+ "E-postmeddelande skickades inte eftersom det fanns inga filer som laddas upp."
649
+
650
+ #: lib/wfu_constants.php:141
651
+ msgid ""
652
+ "Notification email was not sent because no recipients were defined. Please "
653
+ "check notifyrecipients attribute in the shortcode."
654
+ msgstr ""
655
+ "E-postmeddelande skickades inte eftersom inga mottagare definierades. "
656
+ "Vänligen kontrollera notifyrecipients attribut i kortkod."
657
+
658
+ #: lib/wfu_constants.php:142
659
+ msgid ""
660
+ "Notification email was not sent due to an error. Please check "
661
+ "notifyrecipients, notifysubject and notifymessage attributes for errors."
662
+ msgstr ""
663
+ "E-postmeddelande skickades inte på grund av ett fel. Kontrollera "
664
+ "notifyrecipients, notifysubject och notifymessage attribut för fel."
665
+
666
+ #: lib/wfu_constants.php:143
667
+ msgid ""
668
+ "Redirection not executed because redirection link is empty. Please check "
669
+ "redirectlink attribute."
670
+ msgstr ""
671
+ "Omdirigering inte köras eftersom omdirigering länk är tom. Vänligen "
672
+ "kontrollera redirectlink attribut."
673
+
674
+ #: lib/wfu_constants.php:144
675
+ msgid ""
676
+ "Redirection not executed because not all files were successfully uploaded."
677
+ msgstr "Omdirigering av kördes inte eftersom inte alla filer har laddats."
678
+
679
+ #: lib/wfu_constants.php:145
680
+ msgid "Potential Denial-Of-Service Attack on {SITE}"
681
+ msgstr "Potentiell Denial-Of-Service Attack på {SIDA}"
682
+
683
+ #: lib/wfu_constants.php:146
684
+ msgid ""
685
+ "Hello admin\n"
686
+ "\n"
687
+ "This is a message from Wordpress File Upload Plugin to notify you that a "
688
+ "potential Denial-Of-Service attack has been detected on {SITE}.\n"
689
+ "\n"
690
+ "The plugin detected more than {FILENUM} uploads within {INTERVAL} seconds.\n"
691
+ "\n"
692
+ "All file uploads that exceed this limit are rejected to protect the website "
693
+ "from overflowing.\n"
694
+ "\n"
695
+ "Please check the upload history log in the plugin's area in Dashboard for "
696
+ "any suspicious behaviour.\n"
697
+ "\n"
698
+ "A new message will follow if the situation remains.\n"
699
+ "\n"
700
+ "Thanks"
701
+ msgstr ""
702
+ "Hej admin detta är ett meddelande från Wordpress filöverföring Plugin att "
703
+ "meddela dig att en potentiell Denial-Of-Service attack har upptäckts på "
704
+ "{SIDA}.\n"
705
+ "\n"
706
+ "Den plugin upptäckt mer än {FILENUM} uppladdningar inom {INTERVALLET} "
707
+ "sekunder.\n"
708
+ "\n"
709
+ "Alla filöverföringar som överskrider denna gräns avvisas för att skydda "
710
+ "webbplatsen från överfyllda.\n"
711
+ "\n"
712
+ "Vänligen kontrollera uppladdning historikloggen i plugin område i "
713
+ "instrumentpanelen för någon misstänkt beteende.\n"
714
+ "\n"
715
+ "Ett nytt meddelande kommer att följa situationen kvarstår.\n"
716
+ "\n"
717
+ "Tack"
718
+
719
+ #: lib/wfu_constants.php:147
720
+ msgid ""
721
+ "You have activated an alternative insecure Iptanus Services Server. For "
722
+ "details please contact info@iptanus.com."
723
+ msgstr ""
724
+
725
+ #: lib/wfu_constants.php:148
726
+ msgid ""
727
+ "Iptanus Services Server is unreachable. This may cause problems in some "
728
+ "plugin functions. Please contact info@iptanus.com for details."
729
+ msgstr ""
730
+
731
+ #: lib/wfu_constants.php:150
732
+ msgid ""
733
+ "Failed to add the shortcode to the page/post. Please try again. If the "
734
+ "message persists, contact administrator."
735
+ msgstr ""
736
+ "Det gick inte att lägga till kortkoden till denna sida/inlägget. Vänligen "
737
+ "försök igen. Om meddelandet kvarstår, kontakta administratören."
738
+
739
+ #: lib/wfu_constants.php:151
740
+ msgid ""
741
+ "Failed to edit the shortcode because the contents of the page changed. Try "
742
+ "again to edit the shortcode."
743
+ msgstr ""
744
+ "Det gick inte att redigera kortkod eftersom innehållet på sidan har ändrats. "
745
+ "Försök igen att redigera kortkod."
746
+
747
+ #: lib/wfu_constants.php:152
748
+ msgid ""
749
+ "Failed to delete the shortcode because the contents of the page changed. Try "
750
+ "again to delete it."
751
+ msgstr ""
752
+ "Kunde inte ta bort kortkod eftersom innehållet på sidan är ändrat. Försök "
753
+ "att ta bort den igen."
754
+
755
+ #: lib/wfu_constants.php:153
756
+ msgid ""
757
+ "The page containing the shortcode has been modified and it is no longer "
758
+ "valid. Please go back to reload the shortcode."
759
+ msgstr ""
760
+ "Sidan som innehåller kortkod har ändrats och det är inte längre giltig. Gå "
761
+ "tillbaka till Ladda kortkod."
762
+
763
+ #: lib/wfu_constants.php:154
764
+ msgid ""
765
+ "Failed to update the shortcode because the contents of the page changed. Go "
766
+ "back to reload the shortcode."
767
+ msgstr ""
768
+ "Det gick inte att uppdatera kortkod eftersom innehållet på sidan ändrats. Gå "
769
+ "tillbaka till Ladda kortkod."
770
+
771
+ #: lib/wfu_constants.php:155
772
+ msgid ""
773
+ "Failed to update the shortcode. Please try again. If the problem persists, "
774
+ "go back and reload the shortcode."
775
+ msgstr ""
776
+ "Det gick inte att uppdatera kortkod. Vänligen försök igen. Om problemet "
777
+ "kvarstår, gå tillbaka och ladda kortkod."
778
+
779
+ #: lib/wfu_constants.php:157
780
+ msgid "This is a test message"
781
+ msgstr "Testmeddelande skickat"
782
+
783
+ #: lib/wfu_constants.php:158
784
+ msgid "This is a test administrator message"
785
+ msgstr "Detta är ett testmeddelande för administratör"
786
+
787
+ #: lib/wfu_constants.php:159
788
+ msgid "File testfile 1 under test"
789
+ msgstr "Fil testfile 1 under test"
790
+
791
+ #: lib/wfu_constants.php:160
792
+ msgid "File testfile 1 message"
793
+ msgstr "Fil testfile 1 meddelande"
794
+
795
+ #: lib/wfu_constants.php:161
796
+ msgid "File testfile 1 administrator message"
797
+ msgstr "Fil testfile 1 administratör meddelande"
798
+
799
+ #: lib/wfu_constants.php:162
800
+ msgid "File testfile 2 under test"
801
+ msgstr "Fil testfile 2 under test"
802
+
803
+ #: lib/wfu_constants.php:163
804
+ msgid "File testfile 2 message"
805
+ msgstr "Fil testfile 2 meddelande"
806
+
807
+ #: lib/wfu_constants.php:164
808
+ msgid "File testfile 2 administrator message"
809
+ msgstr "Fil testfile 2 administratör meddelande"
810
+
811
+ #: lib/wfu_constants.php:166
812
+ msgid ""
813
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
814
+ "current user."
815
+ msgstr ""
816
+ "Infoga variabeln %userid% inuti texten. Det kommer att ersättas av id för "
817
+ "den aktuella användaren."
818
+
819
+ #: lib/wfu_constants.php:167
820
+ msgid ""
821
+ "Insert variable %username% inside text. It will be replaced by the username "
822
+ "of the current user."
823
+ msgstr ""
824
+ "Infoga miljövariabeln %username% inuti texten. Det kommer att ersättas av "
825
+ "användarnamnet för den aktuella användaren."
826
+
827
+ #: lib/wfu_constants.php:168
828
+ msgid ""
829
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
830
+ "the current user."
831
+ msgstr ""
832
+ "Infoga variabeln %useremail% inuti texten. Det kommer att ersättas av e-post "
833
+ "för den aktuella användaren."
834
+
835
+ #: lib/wfu_constants.php:169
836
+ msgid ""
837
+ "Insert variable %filename% inside text. It will be replaced by the filename "
838
+ "of the uploaded file."
839
+ msgstr ""
840
+ "Infoga variabeln %filnamn% inuti texten. Det kommer att ersättas av "
841
+ "filnamnet för den överförda filen."
842
+
843
+ #: lib/wfu_constants.php:170
844
+ msgid ""
845
+ "Insert variable %filepath% inside text. It will be replaced by the full "
846
+ "filepath of the uploaded file."
847
+ msgstr ""
848
+ "Infoga variabeln %filepath% inuti texten. Det kommer att ersättas av den "
849
+ "fullständiga sökvägen för den överförda filen."
850
+
851
+ #: lib/wfu_constants.php:171
852
+ msgid ""
853
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
854
+ "the website."
855
+ msgstr ""
856
+ "Infoga variabeln %blogid% inuti texten. Det kommer att ersättas av blogg id "
857
+ "för webbplatsen."
858
+
859
+ #: lib/wfu_constants.php:172
860
+ msgid ""
861
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
862
+ "current page."
863
+ msgstr ""
864
+ "Infoga variabeln %pageid% inuti texten. Det kommer att ersättas av id för "
865
+ "den aktuella sidan."
866
+
867
+ #: lib/wfu_constants.php:173
868
+ msgid ""
869
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
870
+ "the current page."
871
+ msgstr ""
872
+ "Infoga variabeln %pagetitle% inuti texten. Det kommer att ersättas av titeln "
873
+ "på den aktuella sidan."
874
+
875
+ #: lib/wfu_constants.php:174
876
+ msgid ""
877
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
878
+ "drop-down list. It will be replaced by the value that the user entered in "
879
+ "this field."
880
+ msgstr ""
881
+ "Infoga variabeln %userdataXXX% inuti texten. Markera fältet från det drop-"
882
+ "down listan. Det kommer att ersättas av det värde som användaren har angett "
883
+ "i fältet."
884
+
885
+ #: lib/wfu_constants.php:175
886
+ msgid "Insert variable %n% inside text to denote a line change."
887
+ msgstr "Infoga variabeln %n% inuti texten betecknar en radändring."
888
+
889
+ #: lib/wfu_constants.php:177
890
+ msgid "Test Mode"
891
+ msgstr "Testmod"
892
+
893
+ #: lib/wfu_constants.php:178
894
+ msgid "select dir..."
895
+ msgstr "Välj katalog"
896
+
897
+ #: lib/wfu_constants.php:179
898
+ msgid "type dir"
899
+ msgstr "Typ"
900
+
901
+ #: lib/wfu_constants.php:180
902
+ msgid "Upload path: %filepath%"
903
+ msgstr "Ladda sökväg: %filepath%"
904
+
905
+ #: lib/wfu_constants.php:181
906
+ msgid "Failed upload path: %filepath%"
907
+ msgstr "Misslyckades att ladda upp sökväg: %filepath%"
908
+
909
+ #: lib/wfu_constants.php:182
910
+ msgid " (required)"
911
+ msgstr "(obligatoriskt)"
912
+
913
+ #: lib/wfu_constants.php:183
914
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
915
+ msgstr "Filer överförs. Är du säker på att du vill stänga sidan?"
916
+
917
+ #: lib/wfu_constants.php:184
918
+ msgid "checking captcha..."
919
+ msgstr "kontrollerar captcha..."
920
+
921
+ #: lib/wfu_constants.php:185
922
+ msgid "refreshing..."
923
+ msgstr "Förnyar..."
924
+
925
+ #: lib/wfu_constants.php:186
926
+ msgid "correct captcha"
927
+ msgstr "rätt captcha"
928
+
929
+ #: lib/wfu_constants.php:187
930
+ msgid "click to continue the upload"
931
+ msgstr "klicka för att fortsätta uppladdningen"
932
+
933
+ #: lib/wfu_constants.php:188
934
+ msgid "Are you sure you want to delete this file?"
935
+ msgstr "Är du säker på att du vill radera denna fil?"
936
+
937
+ #: lib/wfu_constants.php:189
938
+ msgid "Are you sure you want to delete these files?"
939
+ msgstr "Är du säker på att du vill radera dessa filer?"
940
+
941
+ #: lib/wfu_constants.php:190
942
+ msgid "Bulk Actions"
943
+ msgstr "Massåtgärder"
944
+
945
+ #: lib/wfu_constants.php:191
946
+ msgid "Apply"
947
+ msgstr "Utför"
948
+
949
+ #: lib/wfu_constants.php:192
950
+ msgid "Are you sure that you want to cancel the upload?"
951
+ msgstr "Är du säker på att du vill avbryta uppladdningen?"
952
+
953
+ #: lib/wfu_constants.php:193
954
+ msgid "cancel upload of this file"
955
+ msgstr "avbryt överföringen av denna fil"
956
+
957
+ #: lib/wfu_constants.php:194
958
+ msgid "Upload in progress"
959
+ msgstr "Ladda upp pågår"
960
+
961
+ #: lib/wfu_constants.php:195
962
+ msgid "Upload in progress with warnings!"
963
+ msgstr "Ladda upp fil/ladda upp filer"
964
+
965
+ #: lib/wfu_constants.php:196
966
+ msgid "Upload in progress but some files already failed!"
967
+ msgstr "Uppladdning pågår men vissa filer redan misslyckats!"
968
+
969
+ #: lib/wfu_constants.php:197
970
+ msgid "Upload in progress but no files uploaded so far!"
971
+ msgstr "Uppladdning pågår men inga filer uppladdade hittills!"
972
+
973
+ #: lib/wfu_constants.php:198
974
+ msgid "All files uploaded successfully"
975
+ msgstr "Uppladdningen lyckades"
976
+
977
+ #: lib/wfu_constants.php:199
978
+ msgid "All files uploaded successfully but there are warnings!"
979
+ msgstr "Alla filer som laddas upp korrekt men det finns varningar!"
980
+
981
+ #: lib/wfu_constants.php:200
982
+ msgid "File uploaded successfully but there are warnings!"
983
+ msgstr "Filen laddas upp korrekt men det finns varningar!"
984
+
985
+ #: lib/wfu_constants.php:201
986
+ msgid "Some files failed to upload!"
987
+ msgstr "Vissa filer misslyckades att ladda upp!"
988
+
989
+ #: lib/wfu_constants.php:202
990
+ msgid "All files failed to upload"
991
+ msgstr "Uppladdning misslyckades."
992
+
993
+ #: lib/wfu_constants.php:203
994
+ msgid "File failed to upload"
995
+ msgstr "Det gick inte att ladda upp filen"
996
+
997
+ #: lib/wfu_constants.php:204
998
+ msgid "There are no files to upload!"
999
+ msgstr "Släpp filer för att ladda upp"
1000
+
1001
+ #: lib/wfu_constants.php:205
1002
+ msgid "Test upload message"
1003
+ msgstr "Test uppladdning meddelande"
1004
+
1005
+ #: lib/wfu_constants.php:206
1006
+ msgid "JSON parse warning!"
1007
+ msgstr "JSON syntax varning!"
1008
+
1009
+ #: lib/wfu_constants.php:207
1010
+ msgid "please wait while redirecting..."
1011
+ msgstr "Vänta medan omdirigerar..."
1012
+
1013
+ #: lib/wfu_constants.php:209
1014
+ msgid "Open visual shortcode editor in new window"
1015
+ msgstr "Öppna visual kortkod editor i nytt fönster"
1016
+
1017
+ #: lib/wfu_constants.php:210
1018
+ msgid "loading visual editor"
1019
+ msgstr "lastning visuell redigerare"
1020
+
1021
+ #: lib/wfu_constants.php:211
1022
+ msgid "Clear file list?"
1023
+ msgstr "Rensa fil-lista?"
1024
+
1025
+ #: lib/wfu_constants.php:212
1026
+ msgid "DROP HERE"
1027
+ msgstr "Släpp filen här"
1028
+
1029
+ #: lib/wfu_constants.php:214
1030
+ msgid "record video"
1031
+ msgstr "spela in video"
1032
+
1033
+ #: lib/wfu_constants.php:215
1034
+ msgid "take a picture"
1035
+ msgstr "ta en bild"
1036
+
1037
+ #: lib/wfu_constants.php:216
1038
+ msgid "turn webcam on/off"
1039
+ msgstr "vända webcam på/av"
1040
+
1041
+ #: lib/wfu_constants.php:217
1042
+ msgid "go live again"
1043
+ msgstr "gå live igen"
1044
+
1045
+ #: lib/wfu_constants.php:218
1046
+ msgid "end recording"
1047
+ msgstr "avsluta inspelning"
1048
+
1049
+ #: lib/wfu_constants.php:219
1050
+ msgid "play"
1051
+ msgstr "Spela"
1052
+
1053
+ #: lib/wfu_constants.php:220
1054
+ msgid "pause"
1055
+ msgstr "Paus"
1056
+
1057
+ #: lib/wfu_constants.php:221
1058
+ msgid "go to the beginning"
1059
+ msgstr "Gå till början"
1060
+
1061
+ #: lib/wfu_constants.php:222
1062
+ msgid "go to the end"
1063
+ msgstr "Gå till slutet"
1064
+
1065
+ #: lib/wfu_constants.php:224
1066
+ msgid "Wordpress File Upload Form"
1067
+ msgstr "WordPress filöverföringsformuläret"
1068
+
1069
+ #: lib/wfu_constants.php:225
1070
+ msgid "Wordpress File Upload plugin uploader for sidebars"
1071
+ msgstr "WordPress-fil ladda upp plugin uploader för sidofält"
1072
+
1073
+ #: lib/wfu_constants.php:226
1074
+ msgid "Upload Files"
1075
+ msgstr "Ladda upp filer"
languages/wp-file-upload-zh_CN.mo CHANGED
Binary file
languages/wp-file-upload-zh_CN.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:33+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:33+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: zh_CN\n"
@@ -287,7 +287,7 @@ msgstr ""
287
  msgid "Upload failed! Error occured while attemting to upload the file."
288
  msgstr "上传失败!试图加载文件时出现错误。"
289
 
290
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
291
  msgid "Upload failed!"
292
  msgstr "上传失败!"
293
 
@@ -638,123 +638,135 @@ msgid ""
638
  "Thanks"
639
  msgstr ""
640
 
 
 
 
 
 
 
641
  #: lib/wfu_constants.php:148
642
  msgid ""
 
 
 
 
 
 
643
  "Failed to add the shortcode to the page/post. Please try again. If the "
644
  "message persists, contact administrator."
645
  msgstr "添加短码到 page/post 失败。请重新试一下。 如果仍有错误, 联系管理员。"
646
 
647
- #: lib/wfu_constants.php:149
648
  msgid ""
649
  "Failed to edit the shortcode because the contents of the page changed. Try "
650
  "again to edit the shortcode."
651
  msgstr "因为页面内容改变,编辑短码失败。再重新编辑该短码。"
652
 
653
- #: lib/wfu_constants.php:150
654
  msgid ""
655
  "Failed to delete the shortcode because the contents of the page changed. Try "
656
  "again to delete it."
657
  msgstr "因为页面内容改变,删除短码失败。再重新删除。"
658
 
659
- #: lib/wfu_constants.php:151
660
  msgid ""
661
  "The page containing the shortcode has been modified and it is no longer "
662
  "valid. Please go back to reload the shortcode."
663
  msgstr "含有短码的页面已经被修改,它不再有效。请回到重新加载该短码。"
664
 
665
- #: lib/wfu_constants.php:152
666
  msgid ""
667
  "Failed to update the shortcode because the contents of the page changed. Go "
668
  "back to reload the shortcode."
669
  msgstr "因为页面内容被修改,更新短码失败。回到重新加载该短码。"
670
 
671
- #: lib/wfu_constants.php:153
672
  msgid ""
673
  "Failed to update the shortcode. Please try again. If the problem persists, "
674
  "go back and reload the shortcode."
675
  msgstr "更新短码失败。请重新再试。如果问题仍存在,返回查询加载该短码。"
676
 
677
- #: lib/wfu_constants.php:155
678
  msgid "This is a test message"
679
  msgstr "这是一个测试信息"
680
 
681
- #: lib/wfu_constants.php:156
682
  msgid "This is a test administrator message"
683
  msgstr "这是一个测试管理员信息"
684
 
685
- #: lib/wfu_constants.php:157
686
  msgid "File testfile 1 under test"
687
  msgstr "测试中的文件 testfile 1"
688
 
689
- #: lib/wfu_constants.php:158
690
  msgid "File testfile 1 message"
691
  msgstr "文件 testfile 1 信息"
692
 
693
- #: lib/wfu_constants.php:159
694
  msgid "File testfile 1 administrator message"
695
  msgstr "文件 testfile 1 管理员信息"
696
 
697
- #: lib/wfu_constants.php:160
698
  msgid "File testfile 2 under test"
699
  msgstr "测试中的文件 testfile 2"
700
 
701
- #: lib/wfu_constants.php:161
702
  msgid "File testfile 2 message"
703
  msgstr "文件 testfile 2 信息"
704
 
705
- #: lib/wfu_constants.php:162
706
  msgid "File testfile 2 administrator message"
707
  msgstr "文件 testfile 2 管理员信息"
708
 
709
- #: lib/wfu_constants.php:164
710
  msgid ""
711
  "Insert variable %userid% inside text. It will be replaced by the id of the "
712
  "current user."
713
  msgstr "在文本中插入变量 %userid%。 它将被当前用户的 ID 替换。"
714
 
715
- #: lib/wfu_constants.php:165
716
  msgid ""
717
  "Insert variable %username% inside text. It will be replaced by the username "
718
  "of the current user."
719
  msgstr "在文本中插入变量 %username%。 它将被当前用户的用户名替换。"
720
 
721
- #: lib/wfu_constants.php:166
722
  msgid ""
723
  "Insert variable %useremail% inside text. It will be replaced by the email of "
724
  "the current user."
725
  msgstr "在文本中插入变量 %useremail%。 它将被当前用户的邮替换。"
726
 
727
- #: lib/wfu_constants.php:167
728
  msgid ""
729
  "Insert variable %filename% inside text. It will be replaced by the filename "
730
  "of the uploaded file."
731
  msgstr "在文本中插入变量 %filename%。 它将被上传文件的文件名替换。"
732
 
733
- #: lib/wfu_constants.php:168
734
  msgid ""
735
  "Insert variable %filepath% inside text. It will be replaced by the full "
736
  "filepath of the uploaded file."
737
  msgstr "在文本中插入变量 %filepath%。 它将被上传文件的文件路径替换。"
738
 
739
- #: lib/wfu_constants.php:169
740
  msgid ""
741
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
742
  "the website."
743
  msgstr "在文本中插入变量 %blogid%。 它将被该网站的blog ID替换。"
744
 
745
- #: lib/wfu_constants.php:170
746
  msgid ""
747
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
748
  "current page."
749
  msgstr "在文本中插入变量 %pageid%。 它将被当前页面的 ID 替换。"
750
 
751
- #: lib/wfu_constants.php:171
752
  msgid ""
753
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
754
  "the current page."
755
  msgstr "在文本中插入变量 %pagetitle%。 它将被上传文件的名称替换。"
756
 
757
- #: lib/wfu_constants.php:172
758
  msgid ""
759
  "Insert variable %userdataXXX% inside text. Select the user field from the "
760
  "drop-down list. It will be replaced by the value that the user entered in "
@@ -763,194 +775,194 @@ msgstr ""
763
  "在文本中插入变量 %userdataXXX%。从下拉表中选择该用户区域。它将被用户在此区域"
764
  "输入的值替换。"
765
 
766
- #: lib/wfu_constants.php:173
767
  msgid "Insert variable %n% inside text to denote a line change."
768
  msgstr "在文本中插入变量 %n%。表明一行变化。"
769
 
770
- #: lib/wfu_constants.php:175
771
  msgid "Test Mode"
772
  msgstr "测试模式"
773
 
774
- #: lib/wfu_constants.php:176
775
  msgid "select dir..."
776
  msgstr "选择 dir ..."
777
 
778
- #: lib/wfu_constants.php:177
779
  msgid "type dir"
780
  msgstr "键入 dir"
781
 
782
- #: lib/wfu_constants.php:178
783
  msgid "Upload path: %filepath%"
784
  msgstr "加载路径:%filepath%"
785
 
786
- #: lib/wfu_constants.php:179
787
  msgid "Failed upload path: %filepath%"
788
  msgstr "加载路径失败: %filepath%"
789
 
790
- #: lib/wfu_constants.php:180
791
  msgid " (required)"
792
  msgstr "(必需)"
793
 
794
- #: lib/wfu_constants.php:181
795
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
796
  msgstr "文件正在加载中,你确定要退出这个页面吗?"
797
 
798
- #: lib/wfu_constants.php:182
799
  msgid "checking captcha..."
800
  msgstr "正在检查 captcha ..."
801
 
802
- #: lib/wfu_constants.php:183
803
  msgid "refreshing..."
804
  msgstr "正在更新 ..."
805
 
806
- #: lib/wfu_constants.php:184
807
  msgid "correct captcha"
808
  msgstr "正确的 captcha"
809
 
810
- #: lib/wfu_constants.php:185
811
  msgid "click to continue the upload"
812
  msgstr "点击继续上传"
813
 
814
- #: lib/wfu_constants.php:186
815
  msgid "Are you sure you want to delete this file?"
816
  msgstr "确定要删除这个文件吗?"
817
 
818
- #: lib/wfu_constants.php:187
819
  msgid "Are you sure you want to delete these files?"
820
  msgstr ""
821
 
822
- #: lib/wfu_constants.php:188
823
  msgid "Bulk Actions"
824
  msgstr ""
825
 
826
- #: lib/wfu_constants.php:189
827
  msgid "Apply"
828
  msgstr ""
829
 
830
- #: lib/wfu_constants.php:190
831
  msgid "Are you sure that you want to cancel the upload?"
832
  msgstr ""
833
 
834
- #: lib/wfu_constants.php:191
835
  msgid "cancel upload of this file"
836
  msgstr ""
837
 
838
- #: lib/wfu_constants.php:192
839
  msgid "Upload in progress"
840
  msgstr "上传正在进行中"
841
 
842
- #: lib/wfu_constants.php:193
843
  msgid "Upload in progress with warnings!"
844
  msgstr "上传正在进行中,有警告提示!"
845
 
846
- #: lib/wfu_constants.php:194
847
  msgid "Upload in progress but some files already failed!"
848
  msgstr "上传正在进行中,有些文件已经加载失败!"
849
 
850
- #: lib/wfu_constants.php:195
851
  msgid "Upload in progress but no files uploaded so far!"
852
  msgstr "上传正在进行中,还没有文件载入!"
853
 
854
- #: lib/wfu_constants.php:196
855
  msgid "All files uploaded successfully"
856
  msgstr "所有危机上传成功"
857
 
858
- #: lib/wfu_constants.php:197
859
  msgid "All files uploaded successfully but there are warnings!"
860
  msgstr "所有文件上传成功,但有警告提示!"
861
 
862
- #: lib/wfu_constants.php:198
863
  msgid "File uploaded successfully but there are warnings!"
864
  msgstr "文件上传成功,但有警告提示!"
865
 
866
- #: lib/wfu_constants.php:199
867
  msgid "Some files failed to upload!"
868
  msgstr "部分文件上传失败!"
869
 
870
- #: lib/wfu_constants.php:200
871
  msgid "All files failed to upload"
872
  msgstr "所以我就上传失败"
873
 
874
- #: lib/wfu_constants.php:201
875
  msgid "File failed to upload"
876
  msgstr "文件上传失败"
877
 
878
- #: lib/wfu_constants.php:202
879
  msgid "There are no files to upload!"
880
  msgstr "没有要上传的文件!"
881
 
882
- #: lib/wfu_constants.php:203
883
  msgid "Test upload message"
884
  msgstr "测试上传信息"
885
 
886
- #: lib/wfu_constants.php:204
887
  msgid "JSON parse warning!"
888
  msgstr "JSON语法分析警告!"
889
 
890
- #: lib/wfu_constants.php:205
891
  msgid "please wait while redirecting..."
892
  msgstr "请等候,正在重新定位 ..."
893
 
894
- #: lib/wfu_constants.php:207
895
  msgid "Open visual shortcode editor in new window"
896
  msgstr "在新窗口打开视频 shortcode 编辑器"
897
 
898
- #: lib/wfu_constants.php:208
899
  msgid "loading visual editor"
900
  msgstr "加载视频编辑器"
901
 
902
- #: lib/wfu_constants.php:209
903
  msgid "Clear file list?"
904
  msgstr "清除文件列表?"
905
 
906
- #: lib/wfu_constants.php:210
907
  msgid "DROP HERE"
908
  msgstr "放在这里"
909
 
910
- #: lib/wfu_constants.php:212
911
  msgid "record video"
912
  msgstr ""
913
 
914
- #: lib/wfu_constants.php:213
915
  msgid "take a picture"
916
  msgstr ""
917
 
918
- #: lib/wfu_constants.php:214
919
  msgid "turn webcam on/off"
920
  msgstr ""
921
 
922
- #: lib/wfu_constants.php:215
923
  msgid "go live again"
924
  msgstr ""
925
 
926
- #: lib/wfu_constants.php:216
927
  msgid "end recording"
928
  msgstr ""
929
 
930
- #: lib/wfu_constants.php:217
931
  msgid "play"
932
  msgstr ""
933
 
934
- #: lib/wfu_constants.php:218
935
  msgid "pause"
936
  msgstr ""
937
 
938
- #: lib/wfu_constants.php:219
939
  msgid "go to the beginning"
940
  msgstr ""
941
 
942
- #: lib/wfu_constants.php:220
943
  msgid "go to the end"
944
  msgstr ""
945
 
946
- #: lib/wfu_constants.php:222
947
  msgid "Wordpress File Upload Form"
948
  msgstr "Wordpress 文件上传格式"
949
 
950
- #: lib/wfu_constants.php:223
951
  msgid "Wordpress File Upload plugin uploader for sidebars"
952
  msgstr "针对sidebars 的 Wordpress 文件上传插件工具"
953
 
954
- #: lib/wfu_constants.php:224
955
  msgid "Upload Files"
956
  msgstr "上传文件"
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:51+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:51+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: zh_CN\n"
287
  msgid "Upload failed! Error occured while attemting to upload the file."
288
  msgstr "上传失败!试图加载文件时出现错误。"
289
 
290
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
291
  msgid "Upload failed!"
292
  msgstr "上传失败!"
293
 
638
  "Thanks"
639
  msgstr ""
640
 
641
+ #: lib/wfu_constants.php:147
642
+ msgid ""
643
+ "You have activated an alternative insecure Iptanus Services Server. For "
644
+ "details please contact info@iptanus.com."
645
+ msgstr ""
646
+
647
  #: lib/wfu_constants.php:148
648
  msgid ""
649
+ "Iptanus Services Server is unreachable. This may cause problems in some "
650
+ "plugin functions. Please contact info@iptanus.com for details."
651
+ msgstr ""
652
+
653
+ #: lib/wfu_constants.php:150
654
+ msgid ""
655
  "Failed to add the shortcode to the page/post. Please try again. If the "
656
  "message persists, contact administrator."
657
  msgstr "添加短码到 page/post 失败。请重新试一下。 如果仍有错误, 联系管理员。"
658
 
659
+ #: lib/wfu_constants.php:151
660
  msgid ""
661
  "Failed to edit the shortcode because the contents of the page changed. Try "
662
  "again to edit the shortcode."
663
  msgstr "因为页面内容改变,编辑短码失败。再重新编辑该短码。"
664
 
665
+ #: lib/wfu_constants.php:152
666
  msgid ""
667
  "Failed to delete the shortcode because the contents of the page changed. Try "
668
  "again to delete it."
669
  msgstr "因为页面内容改变,删除短码失败。再重新删除。"
670
 
671
+ #: lib/wfu_constants.php:153
672
  msgid ""
673
  "The page containing the shortcode has been modified and it is no longer "
674
  "valid. Please go back to reload the shortcode."
675
  msgstr "含有短码的页面已经被修改,它不再有效。请回到重新加载该短码。"
676
 
677
+ #: lib/wfu_constants.php:154
678
  msgid ""
679
  "Failed to update the shortcode because the contents of the page changed. Go "
680
  "back to reload the shortcode."
681
  msgstr "因为页面内容被修改,更新短码失败。回到重新加载该短码。"
682
 
683
+ #: lib/wfu_constants.php:155
684
  msgid ""
685
  "Failed to update the shortcode. Please try again. If the problem persists, "
686
  "go back and reload the shortcode."
687
  msgstr "更新短码失败。请重新再试。如果问题仍存在,返回查询加载该短码。"
688
 
689
+ #: lib/wfu_constants.php:157
690
  msgid "This is a test message"
691
  msgstr "这是一个测试信息"
692
 
693
+ #: lib/wfu_constants.php:158
694
  msgid "This is a test administrator message"
695
  msgstr "这是一个测试管理员信息"
696
 
697
+ #: lib/wfu_constants.php:159
698
  msgid "File testfile 1 under test"
699
  msgstr "测试中的文件 testfile 1"
700
 
701
+ #: lib/wfu_constants.php:160
702
  msgid "File testfile 1 message"
703
  msgstr "文件 testfile 1 信息"
704
 
705
+ #: lib/wfu_constants.php:161
706
  msgid "File testfile 1 administrator message"
707
  msgstr "文件 testfile 1 管理员信息"
708
 
709
+ #: lib/wfu_constants.php:162
710
  msgid "File testfile 2 under test"
711
  msgstr "测试中的文件 testfile 2"
712
 
713
+ #: lib/wfu_constants.php:163
714
  msgid "File testfile 2 message"
715
  msgstr "文件 testfile 2 信息"
716
 
717
+ #: lib/wfu_constants.php:164
718
  msgid "File testfile 2 administrator message"
719
  msgstr "文件 testfile 2 管理员信息"
720
 
721
+ #: lib/wfu_constants.php:166
722
  msgid ""
723
  "Insert variable %userid% inside text. It will be replaced by the id of the "
724
  "current user."
725
  msgstr "在文本中插入变量 %userid%。 它将被当前用户的 ID 替换。"
726
 
727
+ #: lib/wfu_constants.php:167
728
  msgid ""
729
  "Insert variable %username% inside text. It will be replaced by the username "
730
  "of the current user."
731
  msgstr "在文本中插入变量 %username%。 它将被当前用户的用户名替换。"
732
 
733
+ #: lib/wfu_constants.php:168
734
  msgid ""
735
  "Insert variable %useremail% inside text. It will be replaced by the email of "
736
  "the current user."
737
  msgstr "在文本中插入变量 %useremail%。 它将被当前用户的邮替换。"
738
 
739
+ #: lib/wfu_constants.php:169
740
  msgid ""
741
  "Insert variable %filename% inside text. It will be replaced by the filename "
742
  "of the uploaded file."
743
  msgstr "在文本中插入变量 %filename%。 它将被上传文件的文件名替换。"
744
 
745
+ #: lib/wfu_constants.php:170
746
  msgid ""
747
  "Insert variable %filepath% inside text. It will be replaced by the full "
748
  "filepath of the uploaded file."
749
  msgstr "在文本中插入变量 %filepath%。 它将被上传文件的文件路径替换。"
750
 
751
+ #: lib/wfu_constants.php:171
752
  msgid ""
753
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
754
  "the website."
755
  msgstr "在文本中插入变量 %blogid%。 它将被该网站的blog ID替换。"
756
 
757
+ #: lib/wfu_constants.php:172
758
  msgid ""
759
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
760
  "current page."
761
  msgstr "在文本中插入变量 %pageid%。 它将被当前页面的 ID 替换。"
762
 
763
+ #: lib/wfu_constants.php:173
764
  msgid ""
765
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
766
  "the current page."
767
  msgstr "在文本中插入变量 %pagetitle%。 它将被上传文件的名称替换。"
768
 
769
+ #: lib/wfu_constants.php:174
770
  msgid ""
771
  "Insert variable %userdataXXX% inside text. Select the user field from the "
772
  "drop-down list. It will be replaced by the value that the user entered in "
775
  "在文本中插入变量 %userdataXXX%。从下拉表中选择该用户区域。它将被用户在此区域"
776
  "输入的值替换。"
777
 
778
+ #: lib/wfu_constants.php:175
779
  msgid "Insert variable %n% inside text to denote a line change."
780
  msgstr "在文本中插入变量 %n%。表明一行变化。"
781
 
782
+ #: lib/wfu_constants.php:177
783
  msgid "Test Mode"
784
  msgstr "测试模式"
785
 
786
+ #: lib/wfu_constants.php:178
787
  msgid "select dir..."
788
  msgstr "选择 dir ..."
789
 
790
+ #: lib/wfu_constants.php:179
791
  msgid "type dir"
792
  msgstr "键入 dir"
793
 
794
+ #: lib/wfu_constants.php:180
795
  msgid "Upload path: %filepath%"
796
  msgstr "加载路径:%filepath%"
797
 
798
+ #: lib/wfu_constants.php:181
799
  msgid "Failed upload path: %filepath%"
800
  msgstr "加载路径失败: %filepath%"
801
 
802
+ #: lib/wfu_constants.php:182
803
  msgid " (required)"
804
  msgstr "(必需)"
805
 
806
+ #: lib/wfu_constants.php:183
807
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
808
  msgstr "文件正在加载中,你确定要退出这个页面吗?"
809
 
810
+ #: lib/wfu_constants.php:184
811
  msgid "checking captcha..."
812
  msgstr "正在检查 captcha ..."
813
 
814
+ #: lib/wfu_constants.php:185
815
  msgid "refreshing..."
816
  msgstr "正在更新 ..."
817
 
818
+ #: lib/wfu_constants.php:186
819
  msgid "correct captcha"
820
  msgstr "正确的 captcha"
821
 
822
+ #: lib/wfu_constants.php:187
823
  msgid "click to continue the upload"
824
  msgstr "点击继续上传"
825
 
826
+ #: lib/wfu_constants.php:188
827
  msgid "Are you sure you want to delete this file?"
828
  msgstr "确定要删除这个文件吗?"
829
 
830
+ #: lib/wfu_constants.php:189
831
  msgid "Are you sure you want to delete these files?"
832
  msgstr ""
833
 
834
+ #: lib/wfu_constants.php:190
835
  msgid "Bulk Actions"
836
  msgstr ""
837
 
838
+ #: lib/wfu_constants.php:191
839
  msgid "Apply"
840
  msgstr ""
841
 
842
+ #: lib/wfu_constants.php:192
843
  msgid "Are you sure that you want to cancel the upload?"
844
  msgstr ""
845
 
846
+ #: lib/wfu_constants.php:193
847
  msgid "cancel upload of this file"
848
  msgstr ""
849
 
850
+ #: lib/wfu_constants.php:194
851
  msgid "Upload in progress"
852
  msgstr "上传正在进行中"
853
 
854
+ #: lib/wfu_constants.php:195
855
  msgid "Upload in progress with warnings!"
856
  msgstr "上传正在进行中,有警告提示!"
857
 
858
+ #: lib/wfu_constants.php:196
859
  msgid "Upload in progress but some files already failed!"
860
  msgstr "上传正在进行中,有些文件已经加载失败!"
861
 
862
+ #: lib/wfu_constants.php:197
863
  msgid "Upload in progress but no files uploaded so far!"
864
  msgstr "上传正在进行中,还没有文件载入!"
865
 
866
+ #: lib/wfu_constants.php:198
867
  msgid "All files uploaded successfully"
868
  msgstr "所有危机上传成功"
869
 
870
+ #: lib/wfu_constants.php:199
871
  msgid "All files uploaded successfully but there are warnings!"
872
  msgstr "所有文件上传成功,但有警告提示!"
873
 
874
+ #: lib/wfu_constants.php:200
875
  msgid "File uploaded successfully but there are warnings!"
876
  msgstr "文件上传成功,但有警告提示!"
877
 
878
+ #: lib/wfu_constants.php:201
879
  msgid "Some files failed to upload!"
880
  msgstr "部分文件上传失败!"
881
 
882
+ #: lib/wfu_constants.php:202
883
  msgid "All files failed to upload"
884
  msgstr "所以我就上传失败"
885
 
886
+ #: lib/wfu_constants.php:203
887
  msgid "File failed to upload"
888
  msgstr "文件上传失败"
889
 
890
+ #: lib/wfu_constants.php:204
891
  msgid "There are no files to upload!"
892
  msgstr "没有要上传的文件!"
893
 
894
+ #: lib/wfu_constants.php:205
895
  msgid "Test upload message"
896
  msgstr "测试上传信息"
897
 
898
+ #: lib/wfu_constants.php:206
899
  msgid "JSON parse warning!"
900
  msgstr "JSON语法分析警告!"
901
 
902
+ #: lib/wfu_constants.php:207
903
  msgid "please wait while redirecting..."
904
  msgstr "请等候,正在重新定位 ..."
905
 
906
+ #: lib/wfu_constants.php:209
907
  msgid "Open visual shortcode editor in new window"
908
  msgstr "在新窗口打开视频 shortcode 编辑器"
909
 
910
+ #: lib/wfu_constants.php:210
911
  msgid "loading visual editor"
912
  msgstr "加载视频编辑器"
913
 
914
+ #: lib/wfu_constants.php:211
915
  msgid "Clear file list?"
916
  msgstr "清除文件列表?"
917
 
918
+ #: lib/wfu_constants.php:212
919
  msgid "DROP HERE"
920
  msgstr "放在这里"
921
 
922
+ #: lib/wfu_constants.php:214
923
  msgid "record video"
924
  msgstr ""
925
 
926
+ #: lib/wfu_constants.php:215
927
  msgid "take a picture"
928
  msgstr ""
929
 
930
+ #: lib/wfu_constants.php:216
931
  msgid "turn webcam on/off"
932
  msgstr ""
933
 
934
+ #: lib/wfu_constants.php:217
935
  msgid "go live again"
936
  msgstr ""
937
 
938
+ #: lib/wfu_constants.php:218
939
  msgid "end recording"
940
  msgstr ""
941
 
942
+ #: lib/wfu_constants.php:219
943
  msgid "play"
944
  msgstr ""
945
 
946
+ #: lib/wfu_constants.php:220
947
  msgid "pause"
948
  msgstr ""
949
 
950
+ #: lib/wfu_constants.php:221
951
  msgid "go to the beginning"
952
  msgstr ""
953
 
954
+ #: lib/wfu_constants.php:222
955
  msgid "go to the end"
956
  msgstr ""
957
 
958
+ #: lib/wfu_constants.php:224
959
  msgid "Wordpress File Upload Form"
960
  msgstr "Wordpress 文件上传格式"
961
 
962
+ #: lib/wfu_constants.php:225
963
  msgid "Wordpress File Upload plugin uploader for sidebars"
964
  msgstr "针对sidebars 的 Wordpress 文件上传插件工具"
965
 
966
+ #: lib/wfu_constants.php:226
967
  msgid "Upload Files"
968
  msgstr "上传文件"
languages/wp-file-upload.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-10-27 23:19+0200\n"
6
- "PO-Revision-Date: 2016-10-27 23:19+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: en\n"
@@ -279,7 +279,7 @@ msgstr ""
279
  msgid "Upload failed! Error occured while attemting to upload the file."
280
  msgstr ""
281
 
282
- #: lib/wfu_constants.php:72 lib/wfu_constants.php:206
283
  msgid "Upload failed!"
284
  msgstr ""
285
 
@@ -623,317 +623,329 @@ msgid ""
623
  "Thanks"
624
  msgstr ""
625
 
 
 
 
 
 
 
626
  #: lib/wfu_constants.php:148
627
  msgid ""
 
 
 
 
 
 
628
  "Failed to add the shortcode to the page/post. Please try again. If the "
629
  "message persists, contact administrator."
630
  msgstr ""
631
 
632
- #: lib/wfu_constants.php:149
633
  msgid ""
634
  "Failed to edit the shortcode because the contents of the page changed. Try "
635
  "again to edit the shortcode."
636
  msgstr ""
637
 
638
- #: lib/wfu_constants.php:150
639
  msgid ""
640
  "Failed to delete the shortcode because the contents of the page changed. Try "
641
  "again to delete it."
642
  msgstr ""
643
 
644
- #: lib/wfu_constants.php:151
645
  msgid ""
646
  "The page containing the shortcode has been modified and it is no longer "
647
  "valid. Please go back to reload the shortcode."
648
  msgstr ""
649
 
650
- #: lib/wfu_constants.php:152
651
  msgid ""
652
  "Failed to update the shortcode because the contents of the page changed. Go "
653
  "back to reload the shortcode."
654
  msgstr ""
655
 
656
- #: lib/wfu_constants.php:153
657
  msgid ""
658
  "Failed to update the shortcode. Please try again. If the problem persists, "
659
  "go back and reload the shortcode."
660
  msgstr ""
661
 
662
- #: lib/wfu_constants.php:155
663
  msgid "This is a test message"
664
  msgstr ""
665
 
666
- #: lib/wfu_constants.php:156
667
  msgid "This is a test administrator message"
668
  msgstr ""
669
 
670
- #: lib/wfu_constants.php:157
671
  msgid "File testfile 1 under test"
672
  msgstr ""
673
 
674
- #: lib/wfu_constants.php:158
675
  msgid "File testfile 1 message"
676
  msgstr ""
677
 
678
- #: lib/wfu_constants.php:159
679
  msgid "File testfile 1 administrator message"
680
  msgstr ""
681
 
682
- #: lib/wfu_constants.php:160
683
  msgid "File testfile 2 under test"
684
  msgstr ""
685
 
686
- #: lib/wfu_constants.php:161
687
  msgid "File testfile 2 message"
688
  msgstr ""
689
 
690
- #: lib/wfu_constants.php:162
691
  msgid "File testfile 2 administrator message"
692
  msgstr ""
693
 
694
- #: lib/wfu_constants.php:164
695
  msgid ""
696
  "Insert variable %userid% inside text. It will be replaced by the id of the "
697
  "current user."
698
  msgstr ""
699
 
700
- #: lib/wfu_constants.php:165
701
  msgid ""
702
  "Insert variable %username% inside text. It will be replaced by the username "
703
  "of the current user."
704
  msgstr ""
705
 
706
- #: lib/wfu_constants.php:166
707
  msgid ""
708
  "Insert variable %useremail% inside text. It will be replaced by the email of "
709
  "the current user."
710
  msgstr ""
711
 
712
- #: lib/wfu_constants.php:167
713
  msgid ""
714
  "Insert variable %filename% inside text. It will be replaced by the filename "
715
  "of the uploaded file."
716
  msgstr ""
717
 
718
- #: lib/wfu_constants.php:168
719
  msgid ""
720
  "Insert variable %filepath% inside text. It will be replaced by the full "
721
  "filepath of the uploaded file."
722
  msgstr ""
723
 
724
- #: lib/wfu_constants.php:169
725
  msgid ""
726
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
727
  "the website."
728
  msgstr ""
729
 
730
- #: lib/wfu_constants.php:170
731
  msgid ""
732
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
733
  "current page."
734
  msgstr ""
735
 
736
- #: lib/wfu_constants.php:171
737
  msgid ""
738
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
739
  "the current page."
740
  msgstr ""
741
 
742
- #: lib/wfu_constants.php:172
743
  msgid ""
744
  "Insert variable %userdataXXX% inside text. Select the user field from the "
745
  "drop-down list. It will be replaced by the value that the user entered in "
746
  "this field."
747
  msgstr ""
748
 
749
- #: lib/wfu_constants.php:173
750
  msgid "Insert variable %n% inside text to denote a line change."
751
  msgstr ""
752
 
753
- #: lib/wfu_constants.php:175
754
  msgid "Test Mode"
755
  msgstr ""
756
 
757
- #: lib/wfu_constants.php:176
758
  msgid "select dir..."
759
  msgstr ""
760
 
761
- #: lib/wfu_constants.php:177
762
  msgid "type dir"
763
  msgstr ""
764
 
765
- #: lib/wfu_constants.php:178
766
  msgid "Upload path: %filepath%"
767
  msgstr ""
768
 
769
- #: lib/wfu_constants.php:179
770
  msgid "Failed upload path: %filepath%"
771
  msgstr ""
772
 
773
- #: lib/wfu_constants.php:180
774
  msgid " (required)"
775
  msgstr ""
776
 
777
- #: lib/wfu_constants.php:181
778
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
779
  msgstr ""
780
 
781
- #: lib/wfu_constants.php:182
782
  msgid "checking captcha..."
783
  msgstr ""
784
 
785
- #: lib/wfu_constants.php:183
786
  msgid "refreshing..."
787
  msgstr ""
788
 
789
- #: lib/wfu_constants.php:184
790
  msgid "correct captcha"
791
  msgstr ""
792
 
793
- #: lib/wfu_constants.php:185
794
  msgid "click to continue the upload"
795
  msgstr ""
796
 
797
- #: lib/wfu_constants.php:186
798
  msgid "Are you sure you want to delete this file?"
799
  msgstr ""
800
 
801
- #: lib/wfu_constants.php:187
802
  msgid "Are you sure you want to delete these files?"
803
  msgstr ""
804
 
805
- #: lib/wfu_constants.php:188
806
  msgid "Bulk Actions"
807
  msgstr ""
808
 
809
- #: lib/wfu_constants.php:189
810
  msgid "Apply"
811
  msgstr ""
812
 
813
- #: lib/wfu_constants.php:190
814
  msgid "Are you sure that you want to cancel the upload?"
815
  msgstr ""
816
 
817
- #: lib/wfu_constants.php:191
818
  msgid "cancel upload of this file"
819
  msgstr ""
820
 
821
- #: lib/wfu_constants.php:192
822
  msgid "Upload in progress"
823
  msgstr ""
824
 
825
- #: lib/wfu_constants.php:193
826
  msgid "Upload in progress with warnings!"
827
  msgstr ""
828
 
829
- #: lib/wfu_constants.php:194
830
  msgid "Upload in progress but some files already failed!"
831
  msgstr ""
832
 
833
- #: lib/wfu_constants.php:195
834
  msgid "Upload in progress but no files uploaded so far!"
835
  msgstr ""
836
 
837
- #: lib/wfu_constants.php:196
838
  msgid "All files uploaded successfully"
839
  msgstr ""
840
 
841
- #: lib/wfu_constants.php:197
842
  msgid "All files uploaded successfully but there are warnings!"
843
  msgstr ""
844
 
845
- #: lib/wfu_constants.php:198
846
  msgid "File uploaded successfully but there are warnings!"
847
  msgstr ""
848
 
849
- #: lib/wfu_constants.php:199
850
  msgid "Some files failed to upload!"
851
  msgstr ""
852
 
853
- #: lib/wfu_constants.php:200
854
  msgid "All files failed to upload"
855
  msgstr ""
856
 
857
- #: lib/wfu_constants.php:201
858
  msgid "File failed to upload"
859
  msgstr ""
860
 
861
- #: lib/wfu_constants.php:202
862
  msgid "There are no files to upload!"
863
  msgstr ""
864
 
865
- #: lib/wfu_constants.php:203
866
  msgid "Test upload message"
867
  msgstr ""
868
 
869
- #: lib/wfu_constants.php:204
870
  msgid "JSON parse warning!"
871
  msgstr ""
872
 
873
- #: lib/wfu_constants.php:205
874
  msgid "please wait while redirecting..."
875
  msgstr ""
876
 
877
- #: lib/wfu_constants.php:207
878
  msgid "Open visual shortcode editor in new window"
879
  msgstr ""
880
 
881
- #: lib/wfu_constants.php:208
882
  msgid "loading visual editor"
883
  msgstr ""
884
 
885
- #: lib/wfu_constants.php:209
886
  msgid "Clear file list?"
887
  msgstr ""
888
 
889
- #: lib/wfu_constants.php:210
890
  msgid "DROP HERE"
891
  msgstr ""
892
 
893
- #: lib/wfu_constants.php:212
894
  msgid "record video"
895
  msgstr ""
896
 
897
- #: lib/wfu_constants.php:213
898
  msgid "take a picture"
899
  msgstr ""
900
 
901
- #: lib/wfu_constants.php:214
902
  msgid "turn webcam on/off"
903
  msgstr ""
904
 
905
- #: lib/wfu_constants.php:215
906
  msgid "go live again"
907
  msgstr ""
908
 
909
- #: lib/wfu_constants.php:216
910
  msgid "end recording"
911
  msgstr ""
912
 
913
- #: lib/wfu_constants.php:217
914
  msgid "play"
915
  msgstr ""
916
 
917
- #: lib/wfu_constants.php:218
918
  msgid "pause"
919
  msgstr ""
920
 
921
- #: lib/wfu_constants.php:219
922
  msgid "go to the beginning"
923
  msgstr ""
924
 
925
- #: lib/wfu_constants.php:220
926
  msgid "go to the end"
927
  msgstr ""
928
 
929
- #: lib/wfu_constants.php:222
930
  msgid "Wordpress File Upload Form"
931
  msgstr ""
932
 
933
- #: lib/wfu_constants.php:223
934
  msgid "Wordpress File Upload plugin uploader for sidebars"
935
  msgstr ""
936
 
937
- #: lib/wfu_constants.php:224
938
  msgid "Upload Files"
939
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-06 09:46+0200\n"
6
+ "PO-Revision-Date: 2017-03-06 09:46+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: en\n"
279
  msgid "Upload failed! Error occured while attemting to upload the file."
280
  msgstr ""
281
 
282
+ #: lib/wfu_constants.php:72 lib/wfu_constants.php:208
283
  msgid "Upload failed!"
284
  msgstr ""
285
 
623
  "Thanks"
624
  msgstr ""
625
 
626
+ #: lib/wfu_constants.php:147
627
+ msgid ""
628
+ "You have activated an alternative insecure Iptanus Services Server. For "
629
+ "details please contact info@iptanus.com."
630
+ msgstr ""
631
+
632
  #: lib/wfu_constants.php:148
633
  msgid ""
634
+ "Iptanus Services Server is unreachable. This may cause problems in some "
635
+ "plugin functions. Please contact info@iptanus.com for details."
636
+ msgstr ""
637
+
638
+ #: lib/wfu_constants.php:150
639
+ msgid ""
640
  "Failed to add the shortcode to the page/post. Please try again. If the "
641
  "message persists, contact administrator."
642
  msgstr ""
643
 
644
+ #: lib/wfu_constants.php:151
645
  msgid ""
646
  "Failed to edit the shortcode because the contents of the page changed. Try "
647
  "again to edit the shortcode."
648
  msgstr ""
649
 
650
+ #: lib/wfu_constants.php:152
651
  msgid ""
652
  "Failed to delete the shortcode because the contents of the page changed. Try "
653
  "again to delete it."
654
  msgstr ""
655
 
656
+ #: lib/wfu_constants.php:153
657
  msgid ""
658
  "The page containing the shortcode has been modified and it is no longer "
659
  "valid. Please go back to reload the shortcode."
660
  msgstr ""
661
 
662
+ #: lib/wfu_constants.php:154
663
  msgid ""
664
  "Failed to update the shortcode because the contents of the page changed. Go "
665
  "back to reload the shortcode."
666
  msgstr ""
667
 
668
+ #: lib/wfu_constants.php:155
669
  msgid ""
670
  "Failed to update the shortcode. Please try again. If the problem persists, "
671
  "go back and reload the shortcode."
672
  msgstr ""
673
 
674
+ #: lib/wfu_constants.php:157
675
  msgid "This is a test message"
676
  msgstr ""
677
 
678
+ #: lib/wfu_constants.php:158
679
  msgid "This is a test administrator message"
680
  msgstr ""
681
 
682
+ #: lib/wfu_constants.php:159
683
  msgid "File testfile 1 under test"
684
  msgstr ""
685
 
686
+ #: lib/wfu_constants.php:160
687
  msgid "File testfile 1 message"
688
  msgstr ""
689
 
690
+ #: lib/wfu_constants.php:161
691
  msgid "File testfile 1 administrator message"
692
  msgstr ""
693
 
694
+ #: lib/wfu_constants.php:162
695
  msgid "File testfile 2 under test"
696
  msgstr ""
697
 
698
+ #: lib/wfu_constants.php:163
699
  msgid "File testfile 2 message"
700
  msgstr ""
701
 
702
+ #: lib/wfu_constants.php:164
703
  msgid "File testfile 2 administrator message"
704
  msgstr ""
705
 
706
+ #: lib/wfu_constants.php:166
707
  msgid ""
708
  "Insert variable %userid% inside text. It will be replaced by the id of the "
709
  "current user."
710
  msgstr ""
711
 
712
+ #: lib/wfu_constants.php:167
713
  msgid ""
714
  "Insert variable %username% inside text. It will be replaced by the username "
715
  "of the current user."
716
  msgstr ""
717
 
718
+ #: lib/wfu_constants.php:168
719
  msgid ""
720
  "Insert variable %useremail% inside text. It will be replaced by the email of "
721
  "the current user."
722
  msgstr ""
723
 
724
+ #: lib/wfu_constants.php:169
725
  msgid ""
726
  "Insert variable %filename% inside text. It will be replaced by the filename "
727
  "of the uploaded file."
728
  msgstr ""
729
 
730
+ #: lib/wfu_constants.php:170
731
  msgid ""
732
  "Insert variable %filepath% inside text. It will be replaced by the full "
733
  "filepath of the uploaded file."
734
  msgstr ""
735
 
736
+ #: lib/wfu_constants.php:171
737
  msgid ""
738
  "Insert variable %blogid% inside text. It will be replaced by the blog id of "
739
  "the website."
740
  msgstr ""
741
 
742
+ #: lib/wfu_constants.php:172
743
  msgid ""
744
  "Insert variable %pageid% inside text. It will be replaced by the id of the "
745
  "current page."
746
  msgstr ""
747
 
748
+ #: lib/wfu_constants.php:173
749
  msgid ""
750
  "Insert variable %pagetitle% inside text. It will be replaced by the title of "
751
  "the current page."
752
  msgstr ""
753
 
754
+ #: lib/wfu_constants.php:174
755
  msgid ""
756
  "Insert variable %userdataXXX% inside text. Select the user field from the "
757
  "drop-down list. It will be replaced by the value that the user entered in "
758
  "this field."
759
  msgstr ""
760
 
761
+ #: lib/wfu_constants.php:175
762
  msgid "Insert variable %n% inside text to denote a line change."
763
  msgstr ""
764
 
765
+ #: lib/wfu_constants.php:177
766
  msgid "Test Mode"
767
  msgstr ""
768
 
769
+ #: lib/wfu_constants.php:178
770
  msgid "select dir..."
771
  msgstr ""
772
 
773
+ #: lib/wfu_constants.php:179
774
  msgid "type dir"
775
  msgstr ""
776
 
777
+ #: lib/wfu_constants.php:180
778
  msgid "Upload path: %filepath%"
779
  msgstr ""
780
 
781
+ #: lib/wfu_constants.php:181
782
  msgid "Failed upload path: %filepath%"
783
  msgstr ""
784
 
785
+ #: lib/wfu_constants.php:182
786
  msgid " (required)"
787
  msgstr ""
788
 
789
+ #: lib/wfu_constants.php:183
790
  msgid "Files are being uploaded. Are you sure you want to exit the page?"
791
  msgstr ""
792
 
793
+ #: lib/wfu_constants.php:184
794
  msgid "checking captcha..."
795
  msgstr ""
796
 
797
+ #: lib/wfu_constants.php:185
798
  msgid "refreshing..."
799
  msgstr ""
800
 
801
+ #: lib/wfu_constants.php:186
802
  msgid "correct captcha"
803
  msgstr ""
804
 
805
+ #: lib/wfu_constants.php:187
806
  msgid "click to continue the upload"
807
  msgstr ""
808
 
809
+ #: lib/wfu_constants.php:188
810
  msgid "Are you sure you want to delete this file?"
811
  msgstr ""
812
 
813
+ #: lib/wfu_constants.php:189
814
  msgid "Are you sure you want to delete these files?"
815
  msgstr ""
816
 
817
+ #: lib/wfu_constants.php:190
818
  msgid "Bulk Actions"
819
  msgstr ""
820
 
821
+ #: lib/wfu_constants.php:191
822
  msgid "Apply"
823
  msgstr ""
824
 
825
+ #: lib/wfu_constants.php:192
826
  msgid "Are you sure that you want to cancel the upload?"
827
  msgstr ""
828
 
829
+ #: lib/wfu_constants.php:193
830
  msgid "cancel upload of this file"
831
  msgstr ""
832
 
833
+ #: lib/wfu_constants.php:194
834
  msgid "Upload in progress"
835
  msgstr ""
836
 
837
+ #: lib/wfu_constants.php:195
838
  msgid "Upload in progress with warnings!"
839
  msgstr ""
840
 
841
+ #: lib/wfu_constants.php:196
842
  msgid "Upload in progress but some files already failed!"
843
  msgstr ""
844
 
845
+ #: lib/wfu_constants.php:197
846
  msgid "Upload in progress but no files uploaded so far!"
847
  msgstr ""
848
 
849
+ #: lib/wfu_constants.php:198
850
  msgid "All files uploaded successfully"
851
  msgstr ""
852
 
853
+ #: lib/wfu_constants.php:199
854
  msgid "All files uploaded successfully but there are warnings!"
855
  msgstr ""
856
 
857
+ #: lib/wfu_constants.php:200
858
  msgid "File uploaded successfully but there are warnings!"
859
  msgstr ""
860
 
861
+ #: lib/wfu_constants.php:201
862
  msgid "Some files failed to upload!"
863
  msgstr ""
864
 
865
+ #: lib/wfu_constants.php:202
866
  msgid "All files failed to upload"
867
  msgstr ""
868
 
869
+ #: lib/wfu_constants.php:203
870
  msgid "File failed to upload"
871
  msgstr ""
872
 
873
+ #: lib/wfu_constants.php:204
874
  msgid "There are no files to upload!"
875
  msgstr ""
876
 
877
+ #: lib/wfu_constants.php:205
878
  msgid "Test upload message"
879
  msgstr ""
880
 
881
+ #: lib/wfu_constants.php:206
882
  msgid "JSON parse warning!"
883
  msgstr ""
884
 
885
+ #: lib/wfu_constants.php:207
886
  msgid "please wait while redirecting..."
887
  msgstr ""
888
 
889
+ #: lib/wfu_constants.php:209
890
  msgid "Open visual shortcode editor in new window"
891
  msgstr ""
892
 
893
+ #: lib/wfu_constants.php:210
894
  msgid "loading visual editor"
895
  msgstr ""
896
 
897
+ #: lib/wfu_constants.php:211
898
  msgid "Clear file list?"
899
  msgstr ""
900
 
901
+ #: lib/wfu_constants.php:212
902
  msgid "DROP HERE"
903
  msgstr ""
904
 
905
+ #: lib/wfu_constants.php:214
906
  msgid "record video"
907
  msgstr ""
908
 
909
+ #: lib/wfu_constants.php:215
910
  msgid "take a picture"
911
  msgstr ""
912
 
913
+ #: lib/wfu_constants.php:216
914
  msgid "turn webcam on/off"
915
  msgstr ""
916
 
917
+ #: lib/wfu_constants.php:217
918
  msgid "go live again"
919
  msgstr ""
920
 
921
+ #: lib/wfu_constants.php:218
922
  msgid "end recording"
923
  msgstr ""
924
 
925
+ #: lib/wfu_constants.php:219
926
  msgid "play"
927
  msgstr ""
928
 
929
+ #: lib/wfu_constants.php:220
930
  msgid "pause"
931
  msgstr ""
932
 
933
+ #: lib/wfu_constants.php:221
934
  msgid "go to the beginning"
935
  msgstr ""
936
 
937
+ #: lib/wfu_constants.php:222
938
  msgid "go to the end"
939
  msgstr ""
940
 
941
+ #: lib/wfu_constants.php:224
942
  msgid "Wordpress File Upload Form"
943
  msgstr ""
944
 
945
+ #: lib/wfu_constants.php:225
946
  msgid "Wordpress File Upload plugin uploader for sidebars"
947
  msgstr ""
948
 
949
+ #: lib/wfu_constants.php:226
950
  msgid "Upload Files"
951
  msgstr ""
lib/wfu_admin.php CHANGED
@@ -272,7 +272,11 @@ function wfu_manage_mainmenu($message = '') {
272
  }
273
  $echo_str .= "\n\t".'<div style="margin-top:20px;">';
274
  $echo_str .= wfu_generate_dashboard_menu("\n\t\t", "Main");
275
- $echo_str .= "\n\t\t".'<h3 style="margin-bottom: 10px;">Status</h3>';
 
 
 
 
276
  $echo_str .= "\n\t\t".'<table class="form-table">';
277
  $echo_str .= "\n\t\t\t".'<tbody>';
278
  //plugin edition
@@ -306,7 +310,13 @@ function wfu_manage_mainmenu($message = '') {
306
  $echo_str .= "\n\t\t\t\t\t".'<td>';
307
  $lat_version = wfu_get_latest_version();
308
  $ret = wfu_compare_versions($cur_version, $lat_version);
309
- if ( $ret['status'] && $ret['result'] == 'lower' ) {
 
 
 
 
 
 
310
  $echo_str .= "\n\t\t\t\t\t\t".'<div style="display:inline-block; background-color:bisque; padding:0 0 0 4px; border-left:3px solid lightcoral;">';
311
  $echo_str .= "\n\t\t\t\t\t\t\t".'<label style="cursor:default;">Version <strong>'.$lat_version.'</strong> of the plugin is available. Go to Plugins page of your Dashboard to update to the latest version.</label>';
312
  if ( $ret['custom'] ) $echo_str .= '<label style="cursor:default; color: purple;"> <em>Please note that you are using a custom version of the plugin. If you upgrade to the newest version, custom changes will be lost.</em></label>';
272
  }
273
  $echo_str .= "\n\t".'<div style="margin-top:20px;">';
274
  $echo_str .= wfu_generate_dashboard_menu("\n\t\t", "Main");
275
+ $echo_str .= "\n\t\t".'<h3 style="margin-bottom: 10px;">Status';
276
+ if ( $plugin_options["altserver"] == "1" && substr(trim(WFU_VAR("WFU_ALT_IPTANUS_SERVER")), 0, 5) == "http:" ) {
277
+ $echo_str .= '<div style="display: inline-block; margin-left:20px;" title="'.WFU_WARNING_ALT_IPTANUS_SERVER_ACTIVATED.'"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 200 800" version="1.1" style="background:darkorange; border-radius:13px; padding:2px; vertical-align:middle; border: 1px solid silver;"><path d="M 110,567 L 90,567 L 42,132 C 40,114 40,100 40,90 C 40,70 45,49 56,35 C 70,22 83,15 100,15 C 117,15 130,22 144,35 C 155,49 160,70 160,90 C 160,100 160,114 158,132 z M 100,640 A 60,60 0 1,1 100,760 A 60,60 0 1,1 100,640 z"/></svg></div>';
278
+ }
279
+ $echo_str .= '</h3>';
280
  $echo_str .= "\n\t\t".'<table class="form-table">';
281
  $echo_str .= "\n\t\t\t".'<tbody>';
282
  //plugin edition
310
  $echo_str .= "\n\t\t\t\t\t".'<td>';
311
  $lat_version = wfu_get_latest_version();
312
  $ret = wfu_compare_versions($cur_version, $lat_version);
313
+ if ( $lat_version == "" && WFU_VAR("WFU_DISABLE_VERSION_CHECK") != "true" ) {
314
+ $echo_str .= "\n\t\t\t\t\t\t".'<div style="display:inline-block; background-color:transparent; padding:0 0 0 4px; color:red;">';
315
+ $echo_str .= "\n\t\t\t\t\t\t\t".'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 200 800" version="1.1" style="background:transparent; border-radius:13px; padding:2px; vertical-align:middle; border: 2px solid red; fill:red;"><path d="M 110,567 L 90,567 L 42,132 C 40,114 40,100 40,90 C 40,70 45,49 56,35 C 70,22 83,15 100,15 C 117,15 130,22 144,35 C 155,49 160,70 160,90 C 160,100 160,114 158,132 z M 100,640 A 60,60 0 1,1 100,760 A 60,60 0 1,1 100,640 z"/></svg>';
316
+ $echo_str .= "\n\t\t\t\t\t\t\t".'<label style="cursor:default;">'.WFU_WARNING_IPTANUS_SERVER_UNREACHABLE.'</label>';
317
+ $echo_str .= "\n\t\t\t\t\t\t".'</div>';
318
+ }
319
+ elseif ( $ret['status'] && $ret['result'] == 'lower' ) {
320
  $echo_str .= "\n\t\t\t\t\t\t".'<div style="display:inline-block; background-color:bisque; padding:0 0 0 4px; border-left:3px solid lightcoral;">';
321
  $echo_str .= "\n\t\t\t\t\t\t\t".'<label style="cursor:default;">Version <strong>'.$lat_version.'</strong> of the plugin is available. Go to Plugins page of your Dashboard to update to the latest version.</label>';
322
  if ( $ret['custom'] ) $echo_str .= '<label style="cursor:default; color: purple;"> <em>Please note that you are using a custom version of the plugin. If you upgrade to the newest version, custom changes will be lost.</em></label>';
lib/wfu_admin_browser.php CHANGED
@@ -956,7 +956,7 @@ function wfu_edit_filedetails($file_code) {
956
  }
957
  if ( $userdata_count > 0 ) wfu_log_action('modify:'.$now_date, $dec_file, $user->ID, '', 0, 0, '', null);
958
  }
959
- if ( $_POST['wfu_filedetails_userid'] != $filedata->uploaduserid ) {
960
  wfu_log_action('changeuser:'.$_POST['wfu_filedetails_userid'], $dec_file, $user->ID, '', 0, 0, '', null);
961
  }
962
  }
956
  }
957
  if ( $userdata_count > 0 ) wfu_log_action('modify:'.$now_date, $dec_file, $user->ID, '', 0, 0, '', null);
958
  }
959
+ if ( isset($_POST['wfu_filedetails_userid']) && $_POST['wfu_filedetails_userid'] != $filedata->uploaduserid ) {
960
  wfu_log_action('changeuser:'.$_POST['wfu_filedetails_userid'], $dec_file, $user->ID, '', 0, 0, '', null);
961
  }
962
  }
lib/wfu_admin_settings.php CHANGED
@@ -87,6 +87,15 @@ function wfu_manage_settings($message = '') {
87
  $echo_str .= "\n\t\t\t\t\t\t\t".'<p style="cursor: text; font-size:9px; padding: 0px; margin: 0px; width: 95%; color: #AAAAAA;">Current value: <strong>'.($plugin_options['includeotherfiles'] == '1' ? 'Yes' : 'No' ).'</strong></p>';
88
  $echo_str .= "\n\t\t\t\t\t\t".'</td>';
89
  $echo_str .= "\n\t\t\t\t\t".'</tr>';
 
 
 
 
 
 
 
 
 
90
  $echo_str .= "\n\t\t\t\t".'</tbody>';
91
  $echo_str .= "\n\t\t\t".'</table>';
92
  $echo_str .= "\n\t\t\t".'<p class="submit">';
@@ -111,6 +120,7 @@ function wfu_update_settings() {
111
  $relaxcss = ( isset($_POST['wfu_relaxcss']) ? ( $_POST['wfu_relaxcss'] == "on" ? 1 : 0 ) : 0 );
112
  $mediacustom = ( isset($_POST['wfu_mediacustom']) ? ( $_POST['wfu_mediacustom'] == "on" ? 1 : 0 ) : 0 );
113
  $includeotherfiles = ( isset($_POST['wfu_includeotherfiles']) ? ( $_POST['wfu_includeotherfiles'] == "on" ? 1 : 0 ) : 0 );
 
114
  if ( isset($_POST['wfu_basedir']) && isset($_POST['wfu_postmethod']) && isset($_POST['wfu_admindomain']) && isset($_POST['submitform']) ) {
115
  if ( $_POST['submitform'] == "Update" ) {
116
  $new_plugin_options['version'] = '1.0';
@@ -122,6 +132,7 @@ function wfu_update_settings() {
122
  $new_plugin_options['admindomain'] = $_POST['wfu_admindomain'];
123
  $new_plugin_options['mediacustom'] = $mediacustom;
124
  $new_plugin_options['includeotherfiles'] = $includeotherfiles;
 
125
  $encoded_options = wfu_encode_plugin_options($new_plugin_options);
126
  update_option( "wordpress_file_upload_options", $encoded_options );
127
  if ( $new_plugin_options['hashfiles'] == '1' && $plugin_options['hashfiles'] != '1' )
87
  $echo_str .= "\n\t\t\t\t\t\t\t".'<p style="cursor: text; font-size:9px; padding: 0px; margin: 0px; width: 95%; color: #AAAAAA;">Current value: <strong>'.($plugin_options['includeotherfiles'] == '1' ? 'Yes' : 'No' ).'</strong></p>';
88
  $echo_str .= "\n\t\t\t\t\t\t".'</td>';
89
  $echo_str .= "\n\t\t\t\t\t".'</tr>';
90
+ $echo_str .= "\n\t\t\t\t\t".'<tr>';
91
+ $echo_str .= "\n\t\t\t\t\t\t".'<th scope="row">';
92
+ $echo_str .= "\n\t\t\t\t\t\t\t".'<label for="wfu_altserver">Use Alternative Iptanus Server</label>';
93
+ $echo_str .= "\n\t\t\t\t\t\t".'</th>';
94
+ $echo_str .= "\n\t\t\t\t\t\t".'<td>';
95
+ $echo_str .= "\n\t\t\t\t\t\t\t".'<input name="wfu_altserver" id="wfu_altserver" type="checkbox"'.($plugin_options['altserver'] == '1' ? ' checked="checked"' : '' ).' style="width:auto;" /> Switches to the alternative Iptanus server, residing on Google Cloud, for getting information such as latest version number.';
96
+ $echo_str .= "\n\t\t\t\t\t\t\t".'<p style="cursor: text; font-size:9px; padding: 0px; margin: 0px; width: 95%; color: #AAAAAA;">Current value: <strong>'.($plugin_options['altserver'] == '1' ? 'Yes' : 'No' ).'</strong></p>';
97
+ $echo_str .= "\n\t\t\t\t\t\t".'</td>';
98
+ $echo_str .= "\n\t\t\t\t\t".'</tr>';
99
  $echo_str .= "\n\t\t\t\t".'</tbody>';
100
  $echo_str .= "\n\t\t\t".'</table>';
101
  $echo_str .= "\n\t\t\t".'<p class="submit">';
120
  $relaxcss = ( isset($_POST['wfu_relaxcss']) ? ( $_POST['wfu_relaxcss'] == "on" ? 1 : 0 ) : 0 );
121
  $mediacustom = ( isset($_POST['wfu_mediacustom']) ? ( $_POST['wfu_mediacustom'] == "on" ? 1 : 0 ) : 0 );
122
  $includeotherfiles = ( isset($_POST['wfu_includeotherfiles']) ? ( $_POST['wfu_includeotherfiles'] == "on" ? 1 : 0 ) : 0 );
123
+ $altserver = ( isset($_POST['wfu_altserver']) ? ( $_POST['wfu_altserver'] == "on" ? 1 : 0 ) : 0 );
124
  if ( isset($_POST['wfu_basedir']) && isset($_POST['wfu_postmethod']) && isset($_POST['wfu_admindomain']) && isset($_POST['submitform']) ) {
125
  if ( $_POST['submitform'] == "Update" ) {
126
  $new_plugin_options['version'] = '1.0';
132
  $new_plugin_options['admindomain'] = $_POST['wfu_admindomain'];
133
  $new_plugin_options['mediacustom'] = $mediacustom;
134
  $new_plugin_options['includeotherfiles'] = $includeotherfiles;
135
+ $new_plugin_options['altserver'] = $altserver;
136
  $encoded_options = wfu_encode_plugin_options($new_plugin_options);
137
  update_option( "wordpress_file_upload_options", $encoded_options );
138
  if ( $new_plugin_options['hashfiles'] == '1' && $plugin_options['hashfiles'] != '1' )
lib/wfu_constants.php CHANGED
@@ -135,6 +135,8 @@ DEFINE("WFU_WARNING_REDIRECT_NOTEXECUTED_EMPTY", __("Redirection not executed be
135
  DEFINE("WFU_WARNING_REDIRECT_NOTEXECUTED_FILESFAILED", __("Redirection not executed because not all files were successfully uploaded.", "wp-file-upload"));
136
  DEFINE("WFU_WARNING_POTENTIAL_DOS_EMAIL_SUBJECT", __("Potential Denial-Of-Service Attack on {SITE}", "wp-file-upload"));
137
  DEFINE("WFU_WARNING_POTENTIAL_DOS_EMAIL_MESSAGE", __("Hello admin\n\nThis is a message from Wordpress File Upload Plugin to notify you that a potential Denial-Of-Service attack has been detected on {SITE}.\n\nThe plugin detected more than {FILENUM} uploads within {INTERVAL} seconds.\n\nAll file uploads that exceed this limit are rejected to protect the website from overflowing.\n\nPlease check the upload history log in the plugin's area in Dashboard for any suspicious behaviour.\n\nA new message will follow if the situation remains.\n\nThanks", "wp-file-upload"));
 
 
138
  //admin area messages
139
  DEFINE("WFU_DASHBOARD_ADD_SHORTCODE_REJECTED", __("Failed to add the shortcode to the page/post. Please try again. If the message persists, contact administrator.", "wp-file-upload"));
140
  DEFINE("WFU_DASHBOARD_EDIT_SHORTCODE_REJECTED", __("Failed to edit the shortcode because the contents of the page changed. Try again to edit the shortcode.", "wp-file-upload"));
@@ -284,9 +286,13 @@ $GLOBALS["WFU_GLOBALS"] += array(
284
  "WFU_DASHBOARD_PROTECTED" => array( "Dashboard Is Protected", "string", "false", "If /wp-admin folder is password protected then this variable should be set to 'true' so that internal operations of the plugin can work. The username and password should also be set." ),
285
  "WFU_DASHBOARD_USERNAME" => array( "Protected Dashboard Username", "string", "", "Username entry for accessing protected /wp-admin folder." ),
286
  "WFU_DASHBOARD_PASSWORD" => array( "Protected Dashboard Password", "string", "", "Password entry for accessing protected /wp-admin folder." ),
287
- "WFU_DISABLE_VERSION_CHECK" => array( "Disable Version Check", "string", "false", "If it is set to 'true' then the plugin will not check if there are any new versions available. This is a temporary solution to problems having some users accessing Iptanus Services server causing the plugin to stall. It can be 'true' or 'false'." ),
288
  "WFU_EXPORT_DATA_SEPARATOR" => array( "Export Data Separator", "string", ",", "This is the delimiter of the exported file data columns. It can be any symbol. Default value is comma (,)." ),
289
- "WFU_EXPORT_USERDATA_SEPARATOR" => array( "Export User Data Separator", "string", ";", "This is the delimiter of the exported user data of each file. It can be any symbol. Default value is semicolon (;)." )
 
 
 
 
 
290
  );
291
  //color definitions
292
  $GLOBALS["WFU_GLOBALS"] += array(
@@ -315,8 +321,14 @@ foreach ( $GLOBALS["WFU_GLOBALS"] as $ind => $envar ) {
315
  }
316
  else $saved = $envar[2];
317
  array_splice($GLOBALS["WFU_GLOBALS"][$ind], 3, 0, array( $saved ));
 
 
318
  }
319
 
 
 
 
 
320
  /************** Constant Values ***************/
321
  //other plugin values
322
  DEFINE("WFU_SUCCESSMESSAGECOLOR", "green");
@@ -327,6 +339,9 @@ DEFINE("WFU_SERVICES_SERVER_URL", 'https://services2.iptanus.com');
327
  DEFINE("WFU_VERSION_SERVER_URL", WFU_SERVICES_SERVER_URL.'/wp-admin/admin-ajax.php');
328
  DEFINE("WFU_VERSION_HASH", '9npWpXMhAQ5e6AGJ5zqbaPxLk9ePD3eSu3WKeN9p89E9wmgL2PHtrqXPzBVpStzh');
329
  DEFINE("WFU_DOWNLOADER_URL", $siteurl.WPFILEUPLOAD_DIR."wfu_file_downloader.php");
 
 
 
330
  DEFINE("WFU_PRO_VERSION_URL", 'http://www.iptanus.com/product/wordpress-file-upload-pro/');
331
  //define images
332
  DEFINE("WFU_IMAGE_ADMIN_HELP", $siteurl.WPFILEUPLOAD_DIR.'images/help_16.png');
135
  DEFINE("WFU_WARNING_REDIRECT_NOTEXECUTED_FILESFAILED", __("Redirection not executed because not all files were successfully uploaded.", "wp-file-upload"));
136
  DEFINE("WFU_WARNING_POTENTIAL_DOS_EMAIL_SUBJECT", __("Potential Denial-Of-Service Attack on {SITE}", "wp-file-upload"));
137
  DEFINE("WFU_WARNING_POTENTIAL_DOS_EMAIL_MESSAGE", __("Hello admin\n\nThis is a message from Wordpress File Upload Plugin to notify you that a potential Denial-Of-Service attack has been detected on {SITE}.\n\nThe plugin detected more than {FILENUM} uploads within {INTERVAL} seconds.\n\nAll file uploads that exceed this limit are rejected to protect the website from overflowing.\n\nPlease check the upload history log in the plugin's area in Dashboard for any suspicious behaviour.\n\nA new message will follow if the situation remains.\n\nThanks", "wp-file-upload"));
138
+ DEFINE("WFU_WARNING_ALT_IPTANUS_SERVER_ACTIVATED", __("You have activated an alternative insecure Iptanus Services Server. For details please contact info@iptanus.com.", "wp-file-upload"));
139
+ DEFINE("WFU_WARNING_IPTANUS_SERVER_UNREACHABLE", __("Iptanus Services Server is unreachable. This may cause problems in some plugin functions. Please contact info@iptanus.com for details.", "wp-file-upload"));
140
  //admin area messages
141
  DEFINE("WFU_DASHBOARD_ADD_SHORTCODE_REJECTED", __("Failed to add the shortcode to the page/post. Please try again. If the message persists, contact administrator.", "wp-file-upload"));
142
  DEFINE("WFU_DASHBOARD_EDIT_SHORTCODE_REJECTED", __("Failed to edit the shortcode because the contents of the page changed. Try again to edit the shortcode.", "wp-file-upload"));
286
  "WFU_DASHBOARD_PROTECTED" => array( "Dashboard Is Protected", "string", "false", "If /wp-admin folder is password protected then this variable should be set to 'true' so that internal operations of the plugin can work. The username and password should also be set." ),
287
  "WFU_DASHBOARD_USERNAME" => array( "Protected Dashboard Username", "string", "", "Username entry for accessing protected /wp-admin folder." ),
288
  "WFU_DASHBOARD_PASSWORD" => array( "Protected Dashboard Password", "string", "", "Password entry for accessing protected /wp-admin folder." ),
 
289
  "WFU_EXPORT_DATA_SEPARATOR" => array( "Export Data Separator", "string", ",", "This is the delimiter of the exported file data columns. It can be any symbol. Default value is comma (,)." ),
290
+ "WFU_EXPORT_USERDATA_SEPARATOR" => array( "Export User Data Separator", "string", ";", "This is the delimiter of the exported user data of each file. It can be any symbol. Default value is semicolon (;)." ),
291
+ "WFU_DISABLE_VERSION_CHECK" => array( "Disable Version Check", "string", "false", "If it is set to 'true' then the plugin will not check if there are any new versions available. This is a temporary solution to problems having some users accessing Iptanus Services server causing the plugin to stall. It can be 'true' or 'false'." ),
292
+ "WFU_RELAX_CURL_VERIFY_HOST" => array( "Relax cURL Host Verification", "string", "false", "If it is set to 'true' then CURLOPT_SSL_VERIFYHOST will be disabled when executing a cURL POST request. This is required in some cases so that the plugin can reach https://services2.iptanus.com, because on some servers it fails with a file_get_contents warning. It can be 'true' or 'false'." ),
293
+ "WFU_USE_ALT_IPTANUS_SERVER" => array( "Use Alternative Iptanus Server", "string", "false", "If it is set to 'true' then the alternative Iptanus server will be used. This is a work-around in some cases where the website cannot reach https://services2.iptanus.com. It can be 'true' or 'false'." ),
294
+ "WFU_ALT_IPTANUS_SERVER" => array( "Alternative Iptanus Server", "string", "https://iptanusservices.appspot.com", "If it is set then this is the URL of the alternative Iptanus server." ),
295
+ "WFU_ALT_VERSION_SERVER" => array( "Alternative Version Server", "string", "https://iptanusservices.appspot.com/g79xo30q8s", "If the alternative Iptanus server is used and this variable is not empty, then it will be used as the alternative Version Server URL." )
296
  );
297
  //color definitions
298
  $GLOBALS["WFU_GLOBALS"] += array(
321
  }
322
  else $saved = $envar[2];
323
  array_splice($GLOBALS["WFU_GLOBALS"][$ind], 3, 0, array( $saved ));
324
+ //add visibility
325
+ $GLOBALS["WFU_GLOBALS"][$ind][5] = true;
326
  }
327
 
328
+ //hide unwanted environment variables
329
+ $GLOBALS["WFU_GLOBALS"]["WFU_RELAX_CURL_VERIFY_HOST"][5] = false;
330
+ $GLOBALS["WFU_GLOBALS"]["WFU_USE_ALT_IPTANUS_SERVER"][5] = false;
331
+
332
  /************** Constant Values ***************/
333
  //other plugin values
334
  DEFINE("WFU_SUCCESSMESSAGECOLOR", "green");
339
  DEFINE("WFU_VERSION_SERVER_URL", WFU_SERVICES_SERVER_URL.'/wp-admin/admin-ajax.php');
340
  DEFINE("WFU_VERSION_HASH", '9npWpXMhAQ5e6AGJ5zqbaPxLk9ePD3eSu3WKeN9p89E9wmgL2PHtrqXPzBVpStzh');
341
  DEFINE("WFU_DOWNLOADER_URL", $siteurl.WPFILEUPLOAD_DIR."wfu_file_downloader.php");
342
+ //alternative insecure server
343
+ DEFINE("WFU_SERVICES_SERVER_ALT_URL", 'http://services.iptanus.com');
344
+ DEFINE("WFU_VERSION_SERVER_ALT_URL", WFU_SERVICES_SERVER_ALT_URL.'/wp-admin/admin-ajax.php');
345
  DEFINE("WFU_PRO_VERSION_URL", 'http://www.iptanus.com/product/wordpress-file-upload-pro/');
346
  //define images
347
  DEFINE("WFU_IMAGE_ADMIN_HELP", $siteurl.WPFILEUPLOAD_DIR.'images/help_16.png');
lib/wfu_functions.php CHANGED
@@ -373,6 +373,7 @@ function wfu_encode_plugin_options($plugin_options) {
373
  $encoded_options .= 'admindomain='.( isset($plugin_options['admindomain']) ? $plugin_options['admindomain'] : "" ).';';
374
  $encoded_options .= 'mediacustom='.( isset($plugin_options['mediacustom']) ? $plugin_options['mediacustom'] : "" ).';';
375
  $encoded_options .= 'includeotherfiles='.( isset($plugin_options['includeotherfiles']) ? $plugin_options['includeotherfiles'] : "" ).';';
 
376
  $encoded_options .= 'captcha_sitekey='.( isset($plugin_options['captcha_sitekey']) ? wfu_plugin_encode_string($plugin_options['captcha_sitekey']) : "" ).';';
377
  $encoded_options .= 'captcha_secretkey='.( isset($plugin_options['captcha_secretkey']) ? wfu_plugin_encode_string($plugin_options['captcha_secretkey']) : "" ).';';
378
  $encoded_options .= 'dropbox_accesstoken='.( isset($plugin_options['dropbox_accesstoken']) ? wfu_plugin_encode_string($plugin_options['dropbox_accesstoken']) : "" ).';';
@@ -392,6 +393,7 @@ function wfu_decode_plugin_options($encoded_options) {
392
  $plugin_options['admindomain'] = "";
393
  $plugin_options['mediacustom'] = "";
394
  $plugin_options['includeotherfiles'] = "";
 
395
  $plugin_options['captcha_sitekey'] = "";
396
  $plugin_options['captcha_secretkey'] = "";
397
  $plugin_options['dropbox_accesstoken'] = "";
@@ -415,7 +417,9 @@ function wfu_decode_plugin_options($encoded_options) {
415
 
416
  function WFU_VAR($varname) {
417
  if ( !isset($GLOBALS["WFU_GLOBALS"][$varname]) ) return false;
418
- return $GLOBALS["WFU_GLOBALS"][$varname][3];
 
 
419
  }
420
 
421
  function wfu_get_plugin_version() {
@@ -424,10 +428,11 @@ function wfu_get_plugin_version() {
424
  }
425
 
426
  function wfu_get_latest_version() {
 
427
  $postfields = array();
428
  $postfields['action'] = 'wfuca_check_latest_version_free';
429
  $postfields['version_hash'] = WFU_VERSION_HASH;
430
- $url = WFU_VERSION_SERVER_URL;
431
  $result = null;
432
  if ( WFU_VAR("WFU_DISABLE_VERSION_CHECK") != "true" )
433
  $result = wfu_post_request($url, $postfields, false, false, 10);
@@ -1988,6 +1993,29 @@ function wfu_get_browser_params_from_safe($code) {
1988
 
1989
  //********************* POST/GET Requests Functions ****************************************************************************************************
1990
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1991
  function wfu_post_request($url, $params, $verifypeer = false, $internal_request = false, $timeout = 0) {
1992
  $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
1993
  if ( isset($plugin_options['postmethod']) && $plugin_options['postmethod'] == 'curl' ) {
@@ -2011,6 +2039,7 @@ function wfu_post_request($url, $params, $verifypeer = false, $internal_request
2011
  $options[CURLOPT_HTTPAUTH] = CURLAUTH_ANY;
2012
  $options[CURLOPT_USERPWD] = WFU_VAR("WFU_DASHBOARD_USERNAME").":".WFU_VAR("WFU_DASHBOARD_PASSWORD");
2013
  }
 
2014
  curl_setopt_array($ch, $options);
2015
  $result = curl_exec($ch);
2016
  curl_close ($ch);
@@ -2022,6 +2051,7 @@ function wfu_post_request($url, $params, $verifypeer = false, $internal_request
2022
  $port = 80;
2023
  $errno = 0;
2024
  $errstr = '';
 
2025
  $url = parse_url($url);
2026
  $host = $url['host'];
2027
  $path = $url['path'];
@@ -2052,13 +2082,9 @@ function wfu_post_request($url, $params, $verifypeer = false, $internal_request
2052
  $response .= fgets($handle, 4096);
2053
  }
2054
  fclose($handle);
2055
- if (0 === strpos($response, 'HTTP/1.1 200 OK')) {
2056
- $parts = preg_split("#\n\s*\n#Uis", $response);
2057
- return $parts[1];
2058
- }
2059
- return '';
2060
  }
2061
- return '';
2062
  }
2063
  else {
2064
  // POST request using file_get_contents
373
  $encoded_options .= 'admindomain='.( isset($plugin_options['admindomain']) ? $plugin_options['admindomain'] : "" ).';';
374
  $encoded_options .= 'mediacustom='.( isset($plugin_options['mediacustom']) ? $plugin_options['mediacustom'] : "" ).';';
375
  $encoded_options .= 'includeotherfiles='.( isset($plugin_options['includeotherfiles']) ? $plugin_options['includeotherfiles'] : "" ).';';
376
+ $encoded_options .= 'altserver='.( isset($plugin_options['altserver']) ? $plugin_options['altserver'] : "" ).';';
377
  $encoded_options .= 'captcha_sitekey='.( isset($plugin_options['captcha_sitekey']) ? wfu_plugin_encode_string($plugin_options['captcha_sitekey']) : "" ).';';
378
  $encoded_options .= 'captcha_secretkey='.( isset($plugin_options['captcha_secretkey']) ? wfu_plugin_encode_string($plugin_options['captcha_secretkey']) : "" ).';';
379
  $encoded_options .= 'dropbox_accesstoken='.( isset($plugin_options['dropbox_accesstoken']) ? wfu_plugin_encode_string($plugin_options['dropbox_accesstoken']) : "" ).';';
393
  $plugin_options['admindomain'] = "";
394
  $plugin_options['mediacustom'] = "";
395
  $plugin_options['includeotherfiles'] = "";
396
+ $plugin_options['altserver'] = "";
397
  $plugin_options['captcha_sitekey'] = "";
398
  $plugin_options['captcha_secretkey'] = "";
399
  $plugin_options['dropbox_accesstoken'] = "";
417
 
418
  function WFU_VAR($varname) {
419
  if ( !isset($GLOBALS["WFU_GLOBALS"][$varname]) ) return false;
420
+ if ( $GLOBALS["WFU_GLOBALS"][$varname][5] ) return $GLOBALS["WFU_GLOBALS"][$varname][3];
421
+ //in case the environment variable is hidden then return the default value
422
+ else return $GLOBALS["WFU_GLOBALS"][$varname][2];
423
  }
424
 
425
  function wfu_get_plugin_version() {
428
  }
429
 
430
  function wfu_get_latest_version() {
431
+ $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
432
  $postfields = array();
433
  $postfields['action'] = 'wfuca_check_latest_version_free';
434
  $postfields['version_hash'] = WFU_VERSION_HASH;
435
+ $url = ( $plugin_options["altserver"] == "1" && trim(WFU_VAR("WFU_ALT_IPTANUS_SERVER")) != "" ? ( trim(WFU_VAR("WFU_ALT_VERSION_SERVER")) != "" ? trim(WFU_VAR("WFU_ALT_VERSION_SERVER")) : trim(WFU_VAR("WFU_ALT_IPTANUS_SERVER")).'/wp-admin/admin-ajax.php' ) : WFU_VERSION_SERVER_URL );
436
  $result = null;
437
  if ( WFU_VAR("WFU_DISABLE_VERSION_CHECK") != "true" )
438
  $result = wfu_post_request($url, $postfields, false, false, 10);
1993
 
1994
  //********************* POST/GET Requests Functions ****************************************************************************************************
1995
 
1996
+ function wfu_decode_socket_response($response) {
1997
+ $ret = "";
1998
+ if (0 === strpos($response, 'HTTP/1.1 200 OK')) {
1999
+ $parts = preg_split("#\n\s*\n#Uis", $response);
2000
+ if ( count($parts) > 1 ) {
2001
+ $rawheader = strtolower(preg_replace("/\s/", "", $parts[0]));
2002
+ if ( strpos($rawheader, 'transfer-encoding:chunked') !== false ) {
2003
+ $ret = "";
2004
+ $pos = 0;
2005
+ while ( $pos < strlen($parts[1]) ) {
2006
+ $next = strpos($parts[1], "\r\n", $pos);
2007
+ $len = ( $next === false || $next == $pos ? 0 : hexdec(substr($parts[1], $pos, $next - $pos)) );
2008
+ if ( $len <= 0 ) break;
2009
+ $ret .= substr($parts[1], $next + 2, $len);
2010
+ $pos = $next + $len + 4;
2011
+ }
2012
+ }
2013
+ else $ret = $parts[1];
2014
+ }
2015
+ }
2016
+ return $ret;
2017
+ }
2018
+
2019
  function wfu_post_request($url, $params, $verifypeer = false, $internal_request = false, $timeout = 0) {
2020
  $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
2021
  if ( isset($plugin_options['postmethod']) && $plugin_options['postmethod'] == 'curl' ) {
2039
  $options[CURLOPT_HTTPAUTH] = CURLAUTH_ANY;
2040
  $options[CURLOPT_USERPWD] = WFU_VAR("WFU_DASHBOARD_USERNAME").":".WFU_VAR("WFU_DASHBOARD_PASSWORD");
2041
  }
2042
+ if ( WFU_VAR("WFU_RELAX_CURL_VERIFY_HOST") == "true" ) $options[CURLOPT_SSL_VERIFYHOST] = false;
2043
  curl_setopt_array($ch, $options);
2044
  $result = curl_exec($ch);
2045
  curl_close ($ch);
2051
  $port = 80;
2052
  $errno = 0;
2053
  $errstr = '';
2054
+ $ret = '';
2055
  $url = parse_url($url);
2056
  $host = $url['host'];
2057
  $path = $url['path'];
2082
  $response .= fgets($handle, 4096);
2083
  }
2084
  fclose($handle);
2085
+ $ret = wfu_decode_socket_response($response);
 
 
 
 
2086
  }
2087
+ return $ret;
2088
  }
2089
  else {
2090
  // POST request using file_get_contents
lib/wfu_io.php CHANGED
@@ -1,5 +1,17 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  function wfu_create_directory($path, $method, $ftpdata) {
4
  $ret_message = "";
5
  if ( $method == "" || $method == "normal" ) {
@@ -23,8 +35,7 @@ function wfu_create_directory($path, $method, $ftpdata) {
23
  $pos1 = strpos($path, $flat_host);
24
  if ( $pos1 ) {
25
  $path = substr($path, $pos1 + strlen($flat_host));
26
- ftp_mkdir($conn_id, $path);
27
- ftp_chmod($conn_id, 493, $path);
28
  }
29
  else {
30
  $ret_message = WFU_ERROR_ADMIN_FTPDIR_RESOLVE;
@@ -45,7 +56,6 @@ function wfu_create_directory($path, $method, $ftpdata) {
45
  return $ret_message;
46
  }
47
 
48
-
49
  function wfu_upload_file($source, $target, $method, $ftpdata, $passive, $fileperms) {
50
  $ret_array = "";
51
  $ret_array["uploaded"] = false;
1
  <?php
2
 
3
+ function wfu_mk_dir_deep($conn_id, $basepath, $path) {
4
+ @ftp_chdir($conn_id, $basepath);
5
+ $parts = explode('/', $path);
6
+ foreach ( $parts as $part ) {
7
+ if( !@ftp_chdir($conn_id, $part) ) {
8
+ ftp_mkdir($conn_id, $part);
9
+ ftp_chdir($conn_id, $part);
10
+ ftp_chmod($conn_id, 493, $part);
11
+ }
12
+ }
13
+ }
14
+
15
  function wfu_create_directory($path, $method, $ftpdata) {
16
  $ret_message = "";
17
  if ( $method == "" || $method == "normal" ) {
35
  $pos1 = strpos($path, $flat_host);
36
  if ( $pos1 ) {
37
  $path = substr($path, $pos1 + strlen($flat_host));
38
+ wfu_mk_dir_deep($conn_id, '/', $path);
 
39
  }
40
  else {
41
  $ret_message = WFU_ERROR_ADMIN_FTPDIR_RESOLVE;
56
  return $ret_message;
57
  }
58
 
 
59
  function wfu_upload_file($source, $target, $method, $ftpdata, $passive, $fileperms) {
60
  $ret_array = "";
61
  $ret_array["uploaded"] = false;
readme.txt CHANGED
@@ -139,6 +139,17 @@ There is an option in plugin's settings in Dashboard to relax the CSS rules, so
139
 
140
  == Changelog ==
141
 
 
 
 
 
 
 
 
 
 
 
 
142
  = 3.9.6 =
143
  * added internal filter _wfu_file_upload_output before echoing uploader shortcode html
144
  * added ability to change the order of additional user fields in shortcode visual editor
139
 
140
  == Changelog ==
141
 
142
+ = 3.10.0 =
143
+ * an alternative Iptanus server is launched in Google Cloud for resolving the notorious error "file_get_contents(https://services2.iptanus.com/wp-admin/admin-ajax.php): failed to open stream: Connection timed out."
144
+ * added option 'Use Alternative Iptanus Server' in Settings to switch to the alternative Iptanus Server
145
+ * added advanced option 'Alternative Iptanus Server' that points to an alternative Iptanus Server
146
+ * added advanced option 'Alternative Iptanus Version Server' that points to the alternative Iptanus Server URL returning the latest plugin version
147
+ * an error is shown in the Main page of the plugin in Dashboard if Iptanus Server is unreachable
148
+ * a warning is shown in the Main page of the plugin in Dashboard if an alternative insecure (http) Iptanus Server is used
149
+ * alternative fix of error accessing https://services2.iptanus.com for cURL (by disabling CURLOPT_SSL_VERIFYHOST) and for sockets by employing a better parser of socket response
150
+ * added Swedish translation, kindly provided by Leif Persson
151
+ * improved ftp functionality so that ftp folders can be created recursively
152
+
153
  = 3.9.6 =
154
  * added internal filter _wfu_file_upload_output before echoing uploader shortcode html
155
  * added ability to change the order of additional user fields in shortcode visual editor
release_notes.txt CHANGED
@@ -1,3 +1,3 @@
1
- <!-- --><span><strong>Latest release notes: </strong>This is a regular release that introduces a new feature in the shortcode visual editor after user requests. When editing <strong>additional user fields</strong>, users are able to </span><span style="text-decoration: underline;">change the order</span><span> of the fields by moving them up or down. Some additional improvements are included in the Professional version of the plugin.</span><!-- --><!-- --><br /><br /><span>
2
 
3
  For more details about this version's changes please visit the Release Notes of the plugin's </span><a href="http://www.iptanus.com/wordpress-plugins/wordpress-file-upload/">support page</a><span>.</span>
1
+ <!-- --><span><strong>Latest release notes: </strong>This release aims to provide a permanent solution to a problem that appeared six months ago. Some users were getting the warning <span><span style="color:chocolate">"file_get_contents(https://services2.iptanus.com/wp-admin/admin-ajax.php): failed to open stream: Connection timed out."</span><span> when they were trying to open the <strong>Main</strong> tab of plugin's area in Dashboard. This warning was causing delays opening Main tab, inability to get the latest version of the plugin and some more serious problems in Professional version (e.g. Dropbox feature was not working). After several months of troubleshooting, we found out that the company that hosts Iptanus server is blocking some IP addresses. For this reason we launched an alternative server on <strong>Google Cloud</strong>. This server is identical to the primary one, however it seems that it is not blocking IP addresses. It is also better protected against DDOS attacks and hackers, it is faster and can handle more traffic. To enable this server just activate option <strong>Use Alternative Iptanus Server</strong> from plugin's <strong>Settings</strong>. If after a testing period of 3 months this server works well, then it will become the primary one.</span><!-- --><!-- --><br /><br /><span>
2
 
3
  For more details about this version's changes please visit the Release Notes of the plugin's </span><a href="http://www.iptanus.com/wordpress-plugins/wordpress-file-upload/">support page</a><span>.</span>
vendor/datetimepicker/jquery-ui-timepicker-addon.min.js CHANGED
@@ -1,2 +1,83 @@
1
- !function(e){"function"==typeof define&&define.amd?define(["jquery","jquery.ui"],e):e(jQuery)}(function($){if($.ui.timepicker=$.ui.timepicker||{},!$.ui.timepicker.version){$.extend($.ui,{timepicker:{version:"1.5.5"}});var Timepicker=function(){this.regional=[],this.regional[""]={currentText:"Now",closeText:"Done",amNames:["AM","A"],pmNames:["PM","P"],timeFormat:"HH:mm",timeSuffix:"",timeOnlyTitle:"Choose Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",millisecText:"Millisecond",microsecText:"Microsecond",timezoneText:"Time Zone",isRTL:!1},this._defaults={showButtonPanel:!0,timeOnly:!1,timeOnlyShowDate:!1,showHour:null,showMinute:null,showSecond:null,showMillisec:null,showMicrosec:null,showTimezone:null,showTime:!0,stepHour:1,stepMinute:1,stepSecond:1,stepMillisec:1,stepMicrosec:1,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMin:0,minuteMin:0,secondMin:0,millisecMin:0,microsecMin:0,hourMax:23,minuteMax:59,secondMax:59,millisecMax:999,microsecMax:999,minDateTime:null,maxDateTime:null,maxTime:null,minTime:null,onSelect:null,hourGrid:0,minuteGrid:0,secondGrid:0,millisecGrid:0,microsecGrid:0,alwaysSetTime:!0,separator:" ",altFieldTimeOnly:!0,altTimeFormat:null,altSeparator:null,altTimeSuffix:null,altRedirectFocus:!0,pickerTimeFormat:null,pickerTimeSuffix:null,showTimepicker:!0,timezoneList:null,addSliderAccess:!1,sliderAccessArgs:null,controlType:"slider",oneLine:!1,defaultValue:null,parse:"strict",afterInject:null},$.extend(this._defaults,this.regional[""])};$.extend(Timepicker.prototype,{$input:null,$altInput:null,$timeObj:null,inst:null,hour_slider:null,minute_slider:null,second_slider:null,millisec_slider:null,microsec_slider:null,timezone_select:null,maxTime:null,minTime:null,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMinOriginal:null,minuteMinOriginal:null,secondMinOriginal:null,millisecMinOriginal:null,microsecMinOriginal:null,hourMaxOriginal:null,minuteMaxOriginal:null,secondMaxOriginal:null,millisecMaxOriginal:null,microsecMaxOriginal:null,ampm:"",formattedDate:"",formattedTime:"",formattedDateTime:"",timezoneList:null,units:["hour","minute","second","millisec","microsec"],support:{},control:null,setDefaults:function(e){return extendRemove(this._defaults,e||{}),this},_newInst:function($input,opts){var tp_inst=new Timepicker,inlineSettings={},fns={},overrides,i;for(var attrName in this._defaults)if(this._defaults.hasOwnProperty(attrName)){var attrValue=$input.attr("time:"+attrName);if(attrValue)try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}overrides={beforeShow:function(e,t){return $.isFunction(tp_inst._defaults.evnts.beforeShow)?tp_inst._defaults.evnts.beforeShow.call($input[0],e,t,tp_inst):void 0},onChangeMonthYear:function(e,t,i){$.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)&&tp_inst._defaults.evnts.onChangeMonthYear.call($input[0],e,t,i,tp_inst)},onClose:function(e,t){tp_inst.timeDefined===!0&&""!==$input.val()&&tp_inst._updateDateTime(t),$.isFunction(tp_inst._defaults.evnts.onClose)&&tp_inst._defaults.evnts.onClose.call($input[0],e,t,tp_inst)}};for(i in overrides)overrides.hasOwnProperty(i)&&(fns[i]=opts[i]||this._defaults[i]||null);tp_inst._defaults=$.extend({},this._defaults,inlineSettings,opts,overrides,{evnts:fns,timepicker:tp_inst}),tp_inst.amNames=$.map(tp_inst._defaults.amNames,function(e){return e.toUpperCase()}),tp_inst.pmNames=$.map(tp_inst._defaults.pmNames,function(e){return e.toUpperCase()}),tp_inst.support=detectSupport(tp_inst._defaults.timeFormat+(tp_inst._defaults.pickerTimeFormat?tp_inst._defaults.pickerTimeFormat:"")+(tp_inst._defaults.altTimeFormat?tp_inst._defaults.altTimeFormat:"")),"string"==typeof tp_inst._defaults.controlType?("slider"===tp_inst._defaults.controlType&&void 0===$.ui.slider&&(tp_inst._defaults.controlType="select"),tp_inst.control=tp_inst._controls[tp_inst._defaults.controlType]):tp_inst.control=tp_inst._defaults.controlType;var timezoneList=[-720,-660,-600,-570,-540,-480,-420,-360,-300,-270,-240,-210,-180,-120,-60,0,60,120,180,210,240,270,300,330,345,360,390,420,480,525,540,570,600,630,660,690,720,765,780,840];null!==tp_inst._defaults.timezoneList&&(timezoneList=tp_inst._defaults.timezoneList);var tzl=timezoneList.length,tzi=0,tzv=null;if(tzl>0&&"object"!=typeof timezoneList[0])for(;tzl>tzi;tzi++)tzv=timezoneList[tzi],timezoneList[tzi]={value:tzv,label:$.timepicker.timezoneOffsetString(tzv,tp_inst.support.iso8601)};return tp_inst._defaults.timezoneList=timezoneList,tp_inst.timezone=null!==tp_inst._defaults.timezone?$.timepicker.timezoneOffsetNumber(tp_inst._defaults.timezone):-1*(new Date).getTimezoneOffset(),tp_inst.hour=tp_inst._defaults.hour<tp_inst._defaults.hourMin?tp_inst._defaults.hourMin:tp_inst._defaults.hour>tp_inst._defaults.hourMax?tp_inst._defaults.hourMax:tp_inst._defaults.hour,tp_inst.minute=tp_inst._defaults.minute<tp_inst._defaults.minuteMin?tp_inst._defaults.minuteMin:tp_inst._defaults.minute>tp_inst._defaults.minuteMax?tp_inst._defaults.minuteMax:tp_inst._defaults.minute,tp_inst.second=tp_inst._defaults.second<tp_inst._defaults.secondMin?tp_inst._defaults.secondMin:tp_inst._defaults.second>tp_inst._defaults.secondMax?tp_inst._defaults.secondMax:tp_inst._defaults.second,tp_inst.millisec=tp_inst._defaults.millisec<tp_inst._defaults.millisecMin?tp_inst._defaults.millisecMin:tp_inst._defaults.millisec>tp_inst._defaults.millisecMax?tp_inst._defaults.millisecMax:tp_inst._defaults.millisec,tp_inst.microsec=tp_inst._defaults.microsec<tp_inst._defaults.microsecMin?tp_inst._defaults.microsecMin:tp_inst._defaults.microsec>tp_inst._defaults.microsecMax?tp_inst._defaults.microsecMax:tp_inst._defaults.microsec,tp_inst.ampm="",tp_inst.$input=$input,tp_inst._defaults.altField&&(tp_inst.$altInput=$(tp_inst._defaults.altField),tp_inst._defaults.altRedirectFocus===!0&&tp_inst.$altInput.css({cursor:"pointer"}).focus(function(){$input.trigger("focus")})),(0===tp_inst._defaults.minDate||0===tp_inst._defaults.minDateTime)&&(tp_inst._defaults.minDate=new Date),(0===tp_inst._defaults.maxDate||0===tp_inst._defaults.maxDateTime)&&(tp_inst._defaults.maxDate=new Date),void 0!==tp_inst._defaults.minDate&&tp_inst._defaults.minDate instanceof Date&&(tp_inst._defaults.minDateTime=new Date(tp_inst._defaults.minDate.getTime())),void 0!==tp_inst._defaults.minDateTime&&tp_inst._defaults.minDateTime instanceof Date&&(tp_inst._defaults.minDate=new Date(tp_inst._defaults.minDateTime.getTime())),void 0!==tp_inst._defaults.maxDate&&tp_inst._defaults.maxDate instanceof Date&&(tp_inst._defaults.maxDateTime=new Date(tp_inst._defaults.maxDate.getTime())),void 0!==tp_inst._defaults.maxDateTime&&tp_inst._defaults.maxDateTime instanceof Date&&(tp_inst._defaults.maxDate=new Date(tp_inst._defaults.maxDateTime.getTime())),tp_inst.$input.bind("focus",function(){tp_inst._onFocus()}),tp_inst},_addTimePicker:function(e){var t=$.trim(this.$altInput&&this._defaults.altFieldTimeOnly?this.$input.val()+" "+this.$altInput.val():this.$input.val());this.timeDefined=this._parseTime(t),this._limitMinMaxDateTime(e,!1),this._injectTimePicker(),this._afterInject()},_parseTime:function(e,t){if(this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),t||!this._defaults.timeOnly){var i=$.datepicker._get(this.inst,"dateFormat");try{var s=parseDateTimeInternal(i,this._defaults.timeFormat,e,$.datepicker._getFormatConfig(this.inst),this._defaults);if(!s.timeObj)return!1;$.extend(this,s.timeObj)}catch(a){return $.timepicker.log("Error parsing the date/time string: "+a+"\ndate/time string = "+e+"\ntimeFormat = "+this._defaults.timeFormat+"\ndateFormat = "+i),!1}return!0}var n=$.datepicker.parseTime(this._defaults.timeFormat,e,this._defaults);return n?($.extend(this,n),!0):!1},_afterInject:function(){var e=this.inst.settings;$.isFunction(e.afterInject)&&e.afterInject.call(this)},_injectTimePicker:function(){var e=this.inst.dpDiv,t=this.inst.settings,i=this,s="",a="",n=null,r={},l={},o=null,c=0,u=0;if(0===e.find("div.ui-timepicker-div").length&&t.showTimepicker){var m=" ui_tpicker_unit_hide",d='<div class="ui-timepicker-div'+(t.isRTL?" ui-timepicker-rtl":"")+(t.oneLine&&"select"===t.controlType?" ui-timepicker-oneLine":"")+'"><dl><dt class="ui_tpicker_time_label'+(t.showTime?"":m)+'">'+t.timeText+'</dt><dd class="ui_tpicker_time '+(t.showTime?"":m)+'"></dd>';for(c=0,u=this.units.length;u>c;c++){if(s=this.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],r[s]=parseInt(t[s+"Max"]-(t[s+"Max"]-t[s+"Min"])%t["step"+a],10),l[s]=0,d+='<dt class="ui_tpicker_'+s+"_label"+(n?"":m)+'">'+t[s+"Text"]+'</dt><dd class="ui_tpicker_'+s+(n?"":m)+'"><div class="ui_tpicker_'+s+"_slider"+(n?"":m)+'"></div>',n&&t[s+"Grid"]>0){if(d+='<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>',"hour"===s)for(var h=t[s+"Min"];r[s]>=h;h+=parseInt(t[s+"Grid"],10)){l[s]++;var p=$.datepicker.formatTime(this.support.ampm?"hht":"HH",{hour:h},t);d+='<td data-for="'+s+'">'+p+"</td>"}else for(var _=t[s+"Min"];r[s]>=_;_+=parseInt(t[s+"Grid"],10))l[s]++,d+='<td data-for="'+s+'">'+(10>_?"0":"")+_+"</td>";d+="</tr></table></div>"}d+="</dd>"}var f=null!==t.showTimezone?t.showTimezone:this.support.timezone;d+='<dt class="ui_tpicker_timezone_label'+(f?"":m)+'">'+t.timezoneText+"</dt>",d+='<dd class="ui_tpicker_timezone'+(f?"":m)+'"></dd>',d+="</dl></div>";var g=$(d);for(t.timeOnly===!0&&(g.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all"><div class="ui-datepicker-title">'+t.timeOnlyTitle+"</div></div>"),e.find(".ui-datepicker-header, .ui-datepicker-calendar").hide()),c=0,u=i.units.length;u>c;c++)s=i.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],i[s+"_slider"]=i.control.create(i,g.find(".ui_tpicker_"+s+"_slider"),s,i[s],t[s+"Min"],r[s],t["step"+a]),n&&t[s+"Grid"]>0&&(o=100*l[s]*t[s+"Grid"]/(r[s]-t[s+"Min"]),g.find(".ui_tpicker_"+s+" table").css({width:o+"%",marginLeft:t.isRTL?"0":o/(-2*l[s])+"%",marginRight:t.isRTL?o/(-2*l[s])+"%":"0",borderCollapse:"collapse"}).find("td").click(function(){var e=$(this),t=e.html(),a=parseInt(t.replace(/[^0-9]/g),10),n=t.replace(/[^apm]/gi),r=e.data("for");"hour"===r&&(-1!==n.indexOf("p")&&12>a?a+=12:-1!==n.indexOf("a")&&12===a&&(a=0)),i.control.value(i,i[r+"_slider"],s,a),i._onTimeChange(),i._onSelectHandler()}).css({cursor:"pointer",width:100/l[s]+"%",textAlign:"center",overflow:"hidden"}));if(this.timezone_select=g.find(".ui_tpicker_timezone").append("<select></select>").find("select"),$.fn.append.apply(this.timezone_select,$.map(t.timezoneList,function(e){return $("<option />").val("object"==typeof e?e.value:e).text("object"==typeof e?e.label:e)})),void 0!==this.timezone&&null!==this.timezone&&""!==this.timezone){var M=-1*new Date(this.inst.selectedYear,this.inst.selectedMonth,this.inst.selectedDay,12).getTimezoneOffset();M===this.timezone?selectLocalTimezone(i):this.timezone_select.val(this.timezone)}else void 0!==this.hour&&null!==this.hour&&""!==this.hour?this.timezone_select.val(t.timezone):selectLocalTimezone(i);this.timezone_select.change(function(){i._onTimeChange(),i._onSelectHandler(),i._afterInject()});var v=e.find(".ui-datepicker-buttonpane");if(v.length?v.before(g):e.append(g),this.$timeObj=g.find(".ui_tpicker_time"),null!==this.inst){var k=this.timeDefined;this._onTimeChange(),this.timeDefined=k}if(this._defaults.addSliderAccess){var T=this._defaults.sliderAccessArgs,D=this._defaults.isRTL;T.isRTL=D,setTimeout(function(){if(0===g.find(".ui-slider-access").length){g.find(".ui-slider:visible").sliderAccess(T);var e=g.find(".ui-slider-access:eq(0)").outerWidth(!0);e&&g.find("table:visible").each(function(){var t=$(this),i=t.outerWidth(),s=(""+t.css(D?"marginRight":"marginLeft")).replace("%",""),a=i-e,n=s*a/i+"%",r={width:a,marginRight:0,marginLeft:0};r[D?"marginRight":"marginLeft"]=n,t.css(r)})}},10)}i._limitMinMaxDateTime(this.inst,!0)}},_limitMinMaxDateTime:function(e,t){var i=this._defaults,s=new Date(e.selectedYear,e.selectedMonth,e.selectedDay);if(this._defaults.showTimepicker){if(null!==$.datepicker._get(e,"minDateTime")&&void 0!==$.datepicker._get(e,"minDateTime")&&s){var a=$.datepicker._get(e,"minDateTime"),n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0);(null===this.hourMinOriginal||null===this.minuteMinOriginal||null===this.secondMinOriginal||null===this.millisecMinOriginal||null===this.microsecMinOriginal)&&(this.hourMinOriginal=i.hourMin,this.minuteMinOriginal=i.minuteMin,this.secondMinOriginal=i.secondMin,this.millisecMinOriginal=i.millisecMin,this.microsecMinOriginal=i.microsecMin),e.settings.timeOnly||n.getTime()===s.getTime()?(this._defaults.hourMin=a.getHours(),this.hour<=this._defaults.hourMin?(this.hour=this._defaults.hourMin,this._defaults.minuteMin=a.getMinutes(),this.minute<=this._defaults.minuteMin?(this.minute=this._defaults.minuteMin,this._defaults.secondMin=a.getSeconds(),this.second<=this._defaults.secondMin?(this.second=this._defaults.secondMin,this._defaults.millisecMin=a.getMilliseconds(),this.millisec<=this._defaults.millisecMin?(this.millisec=this._defaults.millisecMin,this._defaults.microsecMin=a.getMicroseconds()):(this.microsec<this._defaults.microsecMin&&(this.microsec=this._defaults.microsecMin),this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.hourMin=this.hourMinOriginal,this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)}if(null!==$.datepicker._get(e,"maxDateTime")&&void 0!==$.datepicker._get(e,"maxDateTime")&&s){var r=$.datepicker._get(e,"maxDateTime"),l=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0);(null===this.hourMaxOriginal||null===this.minuteMaxOriginal||null===this.secondMaxOriginal||null===this.millisecMaxOriginal)&&(this.hourMaxOriginal=i.hourMax,this.minuteMaxOriginal=i.minuteMax,this.secondMaxOriginal=i.secondMax,this.millisecMaxOriginal=i.millisecMax,this.microsecMaxOriginal=i.microsecMax),e.settings.timeOnly||l.getTime()===s.getTime()?(this._defaults.hourMax=r.getHours(),this.hour>=this._defaults.hourMax?(this.hour=this._defaults.hourMax,this._defaults.minuteMax=r.getMinutes(),this.minute>=this._defaults.minuteMax?(this.minute=this._defaults.minuteMax,this._defaults.secondMax=r.getSeconds(),this.second>=this._defaults.secondMax?(this.second=this._defaults.secondMax,this._defaults.millisecMax=r.getMilliseconds(),this.millisec>=this._defaults.millisecMax?(this.millisec=this._defaults.millisecMax,this._defaults.microsecMax=r.getMicroseconds()):(this.microsec>this._defaults.microsecMax&&(this.microsec=this._defaults.microsecMax),this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.hourMax=this.hourMaxOriginal,this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)}if(null!==e.settings.minTime){var o=new Date("01/01/1970 "+e.settings.minTime);this.hour<o.getHours()?(this.hour=this._defaults.hourMin=o.getHours(),this.minute=this._defaults.minuteMin=o.getMinutes()):this.hour===o.getHours()&&this.minute<o.getMinutes()?this.minute=this._defaults.minuteMin=o.getMinutes():this._defaults.hourMin<o.getHours()?(this._defaults.hourMin=o.getHours(),this._defaults.minuteMin=o.getMinutes()):this._defaults.minuteMin=this._defaults.hourMin===o.getHours()===this.hour&&this._defaults.minuteMin<o.getMinutes()?o.getMinutes():0}if(null!==e.settings.maxTime){var c=new Date("01/01/1970 "+e.settings.maxTime);this.hour>c.getHours()?(this.hour=this._defaults.hourMax=c.getHours(),this.minute=this._defaults.minuteMax=c.getMinutes()):this.hour===c.getHours()&&this.minute>c.getMinutes()?this.minute=this._defaults.minuteMax=c.getMinutes():this._defaults.hourMax>c.getHours()?(this._defaults.hourMax=c.getHours(),this._defaults.minuteMax=c.getMinutes()):this._defaults.minuteMax=this._defaults.hourMax===c.getHours()===this.hour&&this._defaults.minuteMax>c.getMinutes()?c.getMinutes():59}if(void 0!==t&&t===!0){var u=parseInt(this._defaults.hourMax-(this._defaults.hourMax-this._defaults.hourMin)%this._defaults.stepHour,10),m=parseInt(this._defaults.minuteMax-(this._defaults.minuteMax-this._defaults.minuteMin)%this._defaults.stepMinute,10),d=parseInt(this._defaults.secondMax-(this._defaults.secondMax-this._defaults.secondMin)%this._defaults.stepSecond,10),h=parseInt(this._defaults.millisecMax-(this._defaults.millisecMax-this._defaults.millisecMin)%this._defaults.stepMillisec,10),p=parseInt(this._defaults.microsecMax-(this._defaults.microsecMax-this._defaults.microsecMin)%this._defaults.stepMicrosec,10);this.hour_slider&&(this.control.options(this,this.hour_slider,"hour",{min:this._defaults.hourMin,max:u,step:this._defaults.stepHour}),this.control.value(this,this.hour_slider,"hour",this.hour-this.hour%this._defaults.stepHour)),this.minute_slider&&(this.control.options(this,this.minute_slider,"minute",{min:this._defaults.minuteMin,max:m,step:this._defaults.stepMinute}),this.control.value(this,this.minute_slider,"minute",this.minute-this.minute%this._defaults.stepMinute)),this.second_slider&&(this.control.options(this,this.second_slider,"second",{min:this._defaults.secondMin,max:d,step:this._defaults.stepSecond}),this.control.value(this,this.second_slider,"second",this.second-this.second%this._defaults.stepSecond)),this.millisec_slider&&(this.control.options(this,this.millisec_slider,"millisec",{min:this._defaults.millisecMin,max:h,step:this._defaults.stepMillisec}),this.control.value(this,this.millisec_slider,"millisec",this.millisec-this.millisec%this._defaults.stepMillisec)),this.microsec_slider&&(this.control.options(this,this.microsec_slider,"microsec",{min:this._defaults.microsecMin,max:p,step:this._defaults.stepMicrosec}),this.control.value(this,this.microsec_slider,"microsec",this.microsec-this.microsec%this._defaults.stepMicrosec))}}},_onTimeChange:function(){if(this._defaults.showTimepicker){var e=this.hour_slider?this.control.value(this,this.hour_slider,"hour"):!1,t=this.minute_slider?this.control.value(this,this.minute_slider,"minute"):!1,i=this.second_slider?this.control.value(this,this.second_slider,"second"):!1,s=this.millisec_slider?this.control.value(this,this.millisec_slider,"millisec"):!1,a=this.microsec_slider?this.control.value(this,this.microsec_slider,"microsec"):!1,n=this.timezone_select?this.timezone_select.val():!1,r=this._defaults,l=r.pickerTimeFormat||r.timeFormat,o=r.pickerTimeSuffix||r.timeSuffix;"object"==typeof e&&(e=!1),"object"==typeof t&&(t=!1),"object"==typeof i&&(i=!1),"object"==typeof s&&(s=!1),"object"==typeof a&&(a=!1),"object"==typeof n&&(n=!1),e!==!1&&(e=parseInt(e,10)),t!==!1&&(t=parseInt(t,10)),i!==!1&&(i=parseInt(i,10)),s!==!1&&(s=parseInt(s,10)),a!==!1&&(a=parseInt(a,10)),n!==!1&&(n=""+n);var c=r[12>e?"amNames":"pmNames"][0],u=e!==parseInt(this.hour,10)||t!==parseInt(this.minute,10)||i!==parseInt(this.second,10)||s!==parseInt(this.millisec,10)||a!==parseInt(this.microsec,10)||this.ampm.length>0&&12>e!=(-1!==$.inArray(this.ampm.toUpperCase(),this.amNames))||null!==this.timezone&&n!==""+this.timezone;u&&(e!==!1&&(this.hour=e),t!==!1&&(this.minute=t),i!==!1&&(this.second=i),s!==!1&&(this.millisec=s),a!==!1&&(this.microsec=a),n!==!1&&(this.timezone=n),this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),this._limitMinMaxDateTime(this.inst,!0)),this.support.ampm&&(this.ampm=c),this.formattedTime=$.datepicker.formatTime(r.timeFormat,this,r),this.$timeObj&&(l===r.timeFormat?this.$timeObj.text(this.formattedTime+o):this.$timeObj.text($.datepicker.formatTime(l,this,r)+o)),this.timeDefined=!0,u&&this._updateDateTime()}},_onSelectHandler:function(){var e=this._defaults.onSelect||this.inst.settings.onSelect,t=this.$input?this.$input[0]:null;e&&t&&e.apply(t,[this.formattedDateTime,this])},_updateDateTime:function(e){e=this.inst||e;var t=e.currentYear>0?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(e.selectedYear,e.selectedMonth,e.selectedDay),i=$.datepicker._daylightSavingAdjust(t),s=$.datepicker._get(e,"dateFormat"),a=$.datepicker._getFormatConfig(e),n=null!==i&&this.timeDefined;this.formattedDate=$.datepicker.formatDate(s,null===i?new Date:i,a);var r=this.formattedDate;if(""===e.lastVal&&(e.currentYear=e.selectedYear,e.currentMonth=e.selectedMonth,e.currentDay=e.selectedDay),this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!1?r=this.formattedTime:(this._defaults.timeOnly!==!0&&(this._defaults.alwaysSetTime||n)||this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!0)&&(r+=this._defaults.separator+this.formattedTime+this._defaults.timeSuffix),this.formattedDateTime=r,this._defaults.showTimepicker)if(this.$altInput&&this._defaults.timeOnly===!1&&this._defaults.altFieldTimeOnly===!0)this.$altInput.val(this.formattedTime),this.$input.val(this.formattedDate);else if(this.$altInput){this.$input.val(r);var l="",o=null!==this._defaults.altSeparator?this._defaults.altSeparator:this._defaults.separator,c=null!==this._defaults.altTimeSuffix?this._defaults.altTimeSuffix:this._defaults.timeSuffix;this._defaults.timeOnly||(l=this._defaults.altFormat?$.datepicker.formatDate(this._defaults.altFormat,null===i?new Date:i,a):this.formattedDate,l&&(l+=o)),l+=null!==this._defaults.altTimeFormat?$.datepicker.formatTime(this._defaults.altTimeFormat,this,this._defaults)+c:this.formattedTime+c,this.$altInput.val(l)}else this.$input.val(r);else this.$input.val(this.formattedDate);this.$input.trigger("change")},_onFocus:function(){if(!this.$input.val()&&this._defaults.defaultValue){this.$input.val(this._defaults.defaultValue);var e=$.datepicker._getInst(this.$input.get(0)),t=$.datepicker._get(e,"timepicker");if(t&&t._defaults.timeOnly&&e.input.val()!==e.lastVal)try{$.datepicker._updateDatepicker(e)}catch(i){$.timepicker.log(i)}}},_controls:{slider:{create:function(e,t,i,s,a,n,r){var l=e._defaults.isRTL;return t.prop("slide",null).slider({orientation:"horizontal",value:l?-1*s:s,min:l?-1*n:a,max:l?-1*a:n,step:r,slide:function(t,s){e.control.value(e,$(this),i,l?-1*s.value:s.value),e._onTimeChange()},stop:function(){e._onSelectHandler()}})},options:function(e,t,i,s,a){if(e._defaults.isRTL){if("string"==typeof s)return"min"===s||"max"===s?void 0!==a?t.slider(s,-1*a):Math.abs(t.slider(s)):t.slider(s);var n=s.min,r=s.max;return s.min=s.max=null,void 0!==n&&(s.max=-1*n),void 0!==r&&(s.min=-1*r),t.slider(s)}return"string"==typeof s&&void 0!==a?t.slider(s,a):t.slider(s)},value:function(e,t,i,s){return e._defaults.isRTL?void 0!==s?t.slider("value",-1*s):Math.abs(t.slider("value")):void 0!==s?t.slider("value",s):t.slider("value")}},select:{create:function(e,t,i,s,a,n,r){for(var l='<select class="ui-timepicker-select ui-state-default ui-corner-all" data-unit="'+i+'" data-min="'+a+'" data-max="'+n+'" data-step="'+r+'">',o=e._defaults.pickerTimeFormat||e._defaults.timeFormat,c=a;n>=c;c+=r)l+='<option value="'+c+'"'+(c===s?" selected":"")+">",l+="hour"===i?$.datepicker.formatTime($.trim(o.replace(/[^ht ]/gi,"")),{hour:c},e._defaults):"millisec"===i||"microsec"===i||c>=10?c:"0"+c,l+="</option>";return l+="</select>",t.children("select").remove(),$(l).appendTo(t).change(function(){e._onTimeChange(),e._onSelectHandler(),e._afterInject()}),t},options:function(e,t,i,s,a){var n={},r=t.children("select");if("string"==typeof s){if(void 0===a)return r.data(s);n[s]=a}else n=s;return e.control.create(e,t,r.data("unit"),r.val(),n.min>=0?n.min:r.data("min"),n.max||r.data("max"),n.step||r.data("step"))},value:function(e,t,i,s){var a=t.children("select");return void 0!==s?a.val(s):a.val()}}}}),$.fn.extend({timepicker:function(e){e=e||{};var t=Array.prototype.slice.call(arguments);return"object"==typeof e&&(t[0]=$.extend(e,{timeOnly:!0})),$(this).each(function(){$.fn.datetimepicker.apply($(this),t)})},datetimepicker:function(e){e=e||{};var t=arguments;return"string"==typeof e?"getDate"===e||"option"===e&&2===t.length&&"string"==typeof t[1]?$.fn.datepicker.apply($(this[0]),t):this.each(function(){var e=$(this);e.datepicker.apply(e,t)}):this.each(function(){var t=$(this);t.datepicker($.timepicker._newInst(t,e)._defaults)})}}),$.datepicker.parseDateTime=function(e,t,i,s,a){var n=parseDateTimeInternal(e,t,i,s,a);if(n.timeObj){var r=n.timeObj;n.date.setHours(r.hour,r.minute,r.second,r.millisec),n.date.setMicroseconds(r.microsec)}return n.date},$.datepicker.parseTime=function(e,t,i){var s=extendRemove(extendRemove({},$.timepicker._defaults),i||{});-1!==e.replace(/\'.*?\'/g,"").indexOf("Z");var a=function(e,t,i){var s,a=function(e,t){var i=[];return e&&$.merge(i,e),t&&$.merge(i,t),i=$.map(i,function(e){return e.replace(/[.*+?|()\[\]{}\\]/g,"\\$&")}),"("+i.join("|")+")?"},n=function(e){var t=e.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),i={h:-1,m:-1,s:-1,l:-1,c:-1,t:-1,z:-1};if(t)for(var s=0;t.length>s;s++)-1===i[(""+t[s]).charAt(0)]&&(i[(""+t[s]).charAt(0)]=s+1);return i},r="^"+(""+e).replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){var t=e.length;switch(e.charAt(0).toLowerCase()){case"h":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"m":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"s":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"l":return"(\\d?\\d?\\d)";case"c":return"(\\d?\\d?\\d)";case"z":return"(z|[-+]\\d\\d:?\\d\\d|\\S+)?";case"t":return a(i.amNames,i.pmNames);default:return"("+e.replace(/\'/g,"").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g,function(e){return"\\"+e})+")?"}}).replace(/\s/g,"\\s?")+i.timeSuffix+"$",l=n(e),o="";s=t.match(RegExp(r,"i"));var c={hour:0,minute:0,second:0,millisec:0,microsec:0};return s?(-1!==l.t&&(void 0===s[l.t]||0===s[l.t].length?(o="",c.ampm=""):(o=-1!==$.inArray(s[l.t].toUpperCase(),$.map(i.amNames,function(e){return e.toUpperCase()}))?"AM":"PM",c.ampm=i["AM"===o?"amNames":"pmNames"][0])),-1!==l.h&&(c.hour="AM"===o&&"12"===s[l.h]?0:"PM"===o&&"12"!==s[l.h]?parseInt(s[l.h],10)+12:Number(s[l.h])),-1!==l.m&&(c.minute=Number(s[l.m])),-1!==l.s&&(c.second=Number(s[l.s])),-1!==l.l&&(c.millisec=Number(s[l.l])),-1!==l.c&&(c.microsec=Number(s[l.c])),-1!==l.z&&void 0!==s[l.z]&&(c.timezone=$.timepicker.timezoneOffsetNumber(s[l.z])),c):!1},n=function(e,t,i){try{var s=new Date("2012-01-01 "+t);if(isNaN(s.getTime())&&(s=new Date("2012-01-01T"+t),isNaN(s.getTime())&&(s=new Date("01/01/2012 "+t),isNaN(s.getTime()))))throw"Unable to parse time with native Date: "+t;return{hour:s.getHours(),minute:s.getMinutes(),second:s.getSeconds(),millisec:s.getMilliseconds(),microsec:s.getMicroseconds(),timezone:-1*s.getTimezoneOffset()}}catch(n){try{return a(e,t,i)}catch(r){$.timepicker.log("Unable to parse \ntimeString: "+t+"\ntimeFormat: "+e)}}return!1};return"function"==typeof s.parse?s.parse(e,t,s):"loose"===s.parse?n(e,t,s):a(e,t,s)},$.datepicker.formatTime=function(e,t,i){i=i||{},i=$.extend({},$.timepicker._defaults,i),t=$.extend({hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null},t);var s=e,a=i.amNames[0],n=parseInt(t.hour,10);return n>11&&(a=i.pmNames[0]),s=s.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){switch(e){case"HH":return("0"+n).slice(-2);case"H":return n;case"hh":return("0"+convert24to12(n)).slice(-2);case"h":return convert24to12(n);case"mm":return("0"+t.minute).slice(-2);case"m":return t.minute;case"ss":return("0"+t.second).slice(-2);case"s":return t.second;case"l":return("00"+t.millisec).slice(-3);case"c":return("00"+t.microsec).slice(-3);case"z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!1);case"Z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!0);case"T":return a.charAt(0).toUpperCase();case"TT":return a.toUpperCase();case"t":return a.charAt(0).toLowerCase();case"tt":return a.toLowerCase();default:return e.replace(/'/g,"")}})},$.datepicker._base_selectDate=$.datepicker._selectDate,$.datepicker._selectDate=function(e,t){var i,s=this._getInst($(e)[0]),a=this._get(s,"timepicker");a&&s.settings.showTimepicker?(a._limitMinMaxDateTime(s,!0),i=s.inline,s.inline=s.stay_open=!0,this._base_selectDate(e,t),s.inline=i,s.stay_open=!1,this._notifyChange(s),this._updateDatepicker(s)):this._base_selectDate(e,t)},$.datepicker._base_updateDatepicker=$.datepicker._updateDatepicker,$.datepicker._updateDatepicker=function(e){var t=e.input[0];if(!($.datepicker._curInst&&$.datepicker._curInst!==e&&$.datepicker._datepickerShowing&&$.datepicker._lastInput!==t||"boolean"==typeof e.stay_open&&e.stay_open!==!1)){this._base_updateDatepicker(e);var i=this._get(e,"timepicker");i&&i._addTimePicker(e)}},$.datepicker._base_doKeyPress=$.datepicker._doKeyPress,$.datepicker._doKeyPress=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&$.datepicker._get(t,"constrainInput")){var s=i.support.ampm,a=null!==i._defaults.showTimezone?i._defaults.showTimezone:i.support.timezone,n=$.datepicker._possibleChars($.datepicker._get(t,"dateFormat")),r=(""+i._defaults.timeFormat).replace(/[hms]/g,"").replace(/TT/g,s?"APM":"").replace(/Tt/g,s?"AaPpMm":"").replace(/tT/g,s?"AaPpMm":"").replace(/T/g,s?"AP":"").replace(/tt/g,s?"apm":"").replace(/t/g,s?"ap":"")+" "+i._defaults.separator+i._defaults.timeSuffix+(a?i._defaults.timezoneList.join(""):"")+i._defaults.amNames.join("")+i._defaults.pmNames.join("")+n,l=String.fromCharCode(void 0===e.charCode?e.keyCode:e.charCode);return e.ctrlKey||" ">l||!n||r.indexOf(l)>-1}return $.datepicker._base_doKeyPress(e)},$.datepicker._base_updateAlternate=$.datepicker._updateAlternate,$.datepicker._updateAlternate=function(e){var t=this._get(e,"timepicker");if(t){var i=t._defaults.altField;if(i){var s=(t._defaults.altFormat||t._defaults.dateFormat,this._getDate(e)),a=$.datepicker._getFormatConfig(e),n="",r=t._defaults.altSeparator?t._defaults.altSeparator:t._defaults.separator,l=t._defaults.altTimeSuffix?t._defaults.altTimeSuffix:t._defaults.timeSuffix,o=null!==t._defaults.altTimeFormat?t._defaults.altTimeFormat:t._defaults.timeFormat;n+=$.datepicker.formatTime(o,t,t._defaults)+l,t._defaults.timeOnly||t._defaults.altFieldTimeOnly||null===s||(n=t._defaults.altFormat?$.datepicker.formatDate(t._defaults.altFormat,s,a)+r+n:t.formattedDate+r+n),$(i).val(e.input.val()?n:"")}}else $.datepicker._base_updateAlternate(e)},$.datepicker._base_doKeyUp=$.datepicker._doKeyUp,$.datepicker._doKeyUp=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&i._defaults.timeOnly&&t.input.val()!==t.lastVal)try{$.datepicker._updateDatepicker(t)}catch(s){$.timepicker.log(s)}return $.datepicker._base_doKeyUp(e)},$.datepicker._base_gotoToday=$.datepicker._gotoToday,$.datepicker._gotoToday=function(e){var t=this._getInst($(e)[0]);t.dpDiv;var i=this._get(t,"timepicker");selectLocalTimezone(i);var s=new Date;this._setTime(t,s),this._setDate(t,s),this._base_gotoToday(e)},$.datepicker._disableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!1,
2
- i._defaults.showTimepicker=!1,i._updateDateTime(t))}},$.datepicker._enableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!0,i._defaults.showTimepicker=!0,i._addTimePicker(t),i._updateDateTime(t))}},$.datepicker._setTime=function(e,t){var i=this._get(e,"timepicker");if(i){var s=i._defaults;i.hour=t?t.getHours():s.hour,i.minute=t?t.getMinutes():s.minute,i.second=t?t.getSeconds():s.second,i.millisec=t?t.getMilliseconds():s.millisec,i.microsec=t?t.getMicroseconds():s.microsec,i._limitMinMaxDateTime(e,!0),i._onTimeChange(),i._updateDateTime(e)}},$.datepicker._setTimeDatepicker=function(e,t,i){var s=this._getInst(e);if(s){var a=this._get(s,"timepicker");if(a){this._setDateFromField(s);var n;t&&("string"==typeof t?(a._parseTime(t,i),n=new Date,n.setHours(a.hour,a.minute,a.second,a.millisec),n.setMicroseconds(a.microsec)):(n=new Date(t.getTime()),n.setMicroseconds(t.getMicroseconds())),"Invalid Date"==""+n&&(n=void 0),this._setTime(s,n))}}},$.datepicker._base_setDateDatepicker=$.datepicker._setDateDatepicker,$.datepicker._setDateDatepicker=function(e,t){var i=this._getInst(e),s=t;if(i){"string"==typeof t&&(s=new Date(t),s.getTime()||(this._base_setDateDatepicker.apply(this,arguments),s=$(e).datepicker("getDate")));var a,n=this._get(i,"timepicker");s instanceof Date?(a=new Date(s.getTime()),a.setMicroseconds(s.getMicroseconds())):a=s,n&&a&&(n.support.timezone||null!==n._defaults.timezone||(n.timezone=-1*a.getTimezoneOffset()),s=$.timepicker.timezoneAdjust(s,n.timezone),a=$.timepicker.timezoneAdjust(a,n.timezone)),this._updateDatepicker(i),this._base_setDateDatepicker.apply(this,arguments),this._setTimeDatepicker(e,a,!0)}},$.datepicker._base_getDateDatepicker=$.datepicker._getDateDatepicker,$.datepicker._getDateDatepicker=function(e,t){var i=this._getInst(e);if(i){var s=this._get(i,"timepicker");if(s){void 0===i.lastVal&&this._setDateFromField(i,t);var a=this._getDate(i),n=$.trim(s.$altInput&&s._defaults.altFieldTimeOnly?s.$input.val()+" "+s.$altInput.val():s.$input.val());return a&&s._parseTime(n,!i.settings.timeOnly)&&(a.setHours(s.hour,s.minute,s.second,s.millisec),a.setMicroseconds(s.microsec),null!=s.timezone&&(s.support.timezone||null!==s._defaults.timezone||(s.timezone=-1*a.getTimezoneOffset()),a=$.timepicker.timezoneAdjust(a,s.timezone))),a}return this._base_getDateDatepicker(e,t)}},$.datepicker._base_parseDate=$.datepicker.parseDate,$.datepicker.parseDate=function(e,t,i){var s;try{s=this._base_parseDate(e,t,i)}catch(a){if(!(a.indexOf(":")>=0))throw a;s=this._base_parseDate(e,t.substring(0,t.length-(a.length-a.indexOf(":")-2)),i),$.timepicker.log("Error parsing the date string: "+a+"\ndate string = "+t+"\ndate format = "+e)}return s},$.datepicker._base_formatDate=$.datepicker._formatDate,$.datepicker._formatDate=function(e){var t=this._get(e,"timepicker");return t?(t._updateDateTime(e),t.$input.val()):this._base_formatDate(e)},$.datepicker._base_optionDatepicker=$.datepicker._optionDatepicker,$.datepicker._optionDatepicker=function(e,t,i){var s,a=this._getInst(e);if(!a)return null;var n=this._get(a,"timepicker");if(n){var r,l,o,c,u=null,m=null,d=null,h=n._defaults.evnts,p={};if("string"==typeof t){if("minDate"===t||"minDateTime"===t)u=i;else if("maxDate"===t||"maxDateTime"===t)m=i;else if("onSelect"===t)d=i;else if(h.hasOwnProperty(t)){if(void 0===i)return h[t];p[t]=i,s={}}}else if("object"==typeof t){t.minDate?u=t.minDate:t.minDateTime?u=t.minDateTime:t.maxDate?m=t.maxDate:t.maxDateTime&&(m=t.maxDateTime);for(r in h)h.hasOwnProperty(r)&&t[r]&&(p[r]=t[r])}for(r in p)p.hasOwnProperty(r)&&(h[r]=p[r],s||(s=$.extend({},t)),delete s[r]);if(s&&isEmptyObject(s))return;if(u?(u=0===u?new Date:new Date(u),n._defaults.minDate=u,n._defaults.minDateTime=u):m?(m=0===m?new Date:new Date(m),n._defaults.maxDate=m,n._defaults.maxDateTime=m):d&&(n._defaults.onSelect=d),u||m)return c=$(e),o=c.datetimepicker("getDate"),l=this._base_optionDatepicker.call($.datepicker,e,s||t,i),c.datetimepicker("setDate",o),l}return void 0===i?this._base_optionDatepicker.call($.datepicker,e,t):this._base_optionDatepicker.call($.datepicker,e,s||t,i)};var isEmptyObject=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0},extendRemove=function(e,t){$.extend(e,t);for(var i in t)(null===t[i]||void 0===t[i])&&(e[i]=t[i]);return e},detectSupport=function(e){var t=e.replace(/'.*?'/g,"").toLowerCase(),i=function(e,t){return-1!==e.indexOf(t)?!0:!1};return{hour:i(t,"h"),minute:i(t,"m"),second:i(t,"s"),millisec:i(t,"l"),microsec:i(t,"c"),timezone:i(t,"z"),ampm:i(t,"t")&&i(e,"h"),iso8601:i(e,"Z")}},convert24to12=function(e){return e%=12,0===e&&(e=12),e+""},computeEffectiveSetting=function(e,t){return e&&e[t]?e[t]:$.timepicker._defaults[t]},splitDateTime=function(e,t){var i=computeEffectiveSetting(t,"separator"),s=computeEffectiveSetting(t,"timeFormat"),a=s.split(i),n=a.length,r=e.split(i),l=r.length;return l>1?{dateString:r.splice(0,l-n).join(i),timeString:r.splice(0,n).join(i)}:{dateString:e,timeString:""}},parseDateTimeInternal=function(e,t,i,s,a){var n,r,l;if(r=splitDateTime(i,a),n=$.datepicker._base_parseDate(e,r.dateString,s),""===r.timeString)return{date:n};if(l=$.datepicker.parseTime(t,r.timeString,a),!l)throw"Wrong time format";return{date:n,timeObj:l}},selectLocalTimezone=function(e,t){if(e&&e.timezone_select){var i=t||new Date;e.timezone_select.val(-i.getTimezoneOffset())}};$.timepicker=new Timepicker,$.timepicker.timezoneOffsetString=function(e,t){if(isNaN(e)||e>840||-720>e)return e;var i=e,s=i%60,a=(i-s)/60,n=t?":":"",r=(i>=0?"+":"-")+("0"+Math.abs(a)).slice(-2)+n+("0"+Math.abs(s)).slice(-2);return"+00:00"===r?"Z":r},$.timepicker.timezoneOffsetNumber=function(e){var t=(""+e).replace(":","");return"Z"===t.toUpperCase()?0:/^(\-|\+)\d{4}$/.test(t)?("-"===t.substr(0,1)?-1:1)*(60*parseInt(t.substr(1,2),10)+parseInt(t.substr(3,2),10)):e},$.timepicker.timezoneAdjust=function(e,t){var i=$.timepicker.timezoneOffsetNumber(t);return isNaN(i)||e.setMinutes(e.getMinutes()+-e.getTimezoneOffset()-i),e},$.timepicker.timeRange=function(e,t,i){return $.timepicker.handleRange("timepicker",e,t,i)},$.timepicker.datetimeRange=function(e,t,i){$.timepicker.handleRange("datetimepicker",e,t,i)},$.timepicker.dateRange=function(e,t,i){$.timepicker.handleRange("datepicker",e,t,i)},$.timepicker.handleRange=function(e,t,i,s){function a(a,n){var r=t[e]("getDate"),l=i[e]("getDate"),o=a[e]("getDate");if(null!==r){var c=new Date(r.getTime()),u=new Date(r.getTime());c.setMilliseconds(c.getMilliseconds()+s.minInterval),u.setMilliseconds(u.getMilliseconds()+s.maxInterval),s.minInterval>0&&c>l?i[e]("setDate",c):s.maxInterval>0&&l>u?i[e]("setDate",u):r>l&&n[e]("setDate",o)}}function n(t,i,a){if(t.val()){var n=t[e].call(t,"getDate");null!==n&&s.minInterval>0&&("minDate"===a&&n.setMilliseconds(n.getMilliseconds()+s.minInterval),"maxDate"===a&&n.setMilliseconds(n.getMilliseconds()-s.minInterval)),n.getTime&&i[e].call(i,"option",a,n)}}s=$.extend({},{minInterval:0,maxInterval:0,start:{},end:{}},s);var r=!1;return"timepicker"===e&&(r=!0,e="datetimepicker"),$.fn[e].call(t,$.extend({timeOnly:r,onClose:function(){a($(this),i)},onSelect:function(){n($(this),i,"minDate")}},s,s.start)),$.fn[e].call(i,$.extend({timeOnly:r,onClose:function(){a($(this),t)},onSelect:function(){n($(this),t,"maxDate")}},s,s.end)),a(t,i),n(t,i,"minDate"),n(i,t,"maxDate"),$([t.get(0),i.get(0)])},$.timepicker.log=function(){window.console&&window.console.log.apply(window.console,Array.prototype.slice.call(arguments))},$.timepicker._util={_extendRemove:extendRemove,_isEmptyObject:isEmptyObject,_convert24to12:convert24to12,_detectSupport:detectSupport,_selectLocalTimezone:selectLocalTimezone,_computeEffectiveSetting:computeEffectiveSetting,_splitDateTime:splitDateTime,_parseDateTimeInternal:parseDateTimeInternal},Date.prototype.getMicroseconds||(Date.prototype.microseconds=0,Date.prototype.getMicroseconds=function(){return this.microseconds},Date.prototype.setMicroseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+Math.floor(e/1e3)),this.microseconds=e%1e3,this}),$.timepicker.version="1.5.5"}});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ jQuery Timepicker Addon - v1.5.5 - 2015-05-24
3
+ http://trentrichardson.com/examples/timepicker
4
+ Copyright (c) 2015 Trent Richardson; Licensed MIT */
5
+ (function(e){"function"==typeof define&&define.amd?define(["jquery","jquery.ui"],e):e(jQuery)})(function($){if($.ui.timepicker=$.ui.timepicker||{},!$.ui.timepicker.version){$.extend($.ui,{timepicker:{version:"1.5.5"}});var Timepicker=function(){this.regional=[],this.regional[""]={currentText:"Now",closeText:"Done",amNames:["AM","A"],pmNames:["PM","P"],timeFormat:"HH:mm",timeSuffix:"",timeOnlyTitle:"Choose Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",millisecText:"Millisecond",
6
+ microsecText:"Microsecond",timezoneText:"Time Zone",isRTL:!1},this._defaults={showButtonPanel:!0,timeOnly:!1,timeOnlyShowDate:!1,showHour:null,showMinute:null,showSecond:null,showMillisec:null,showMicrosec:null,showTimezone:null,showTime:!0,stepHour:1,stepMinute:1,stepSecond:1,stepMillisec:1,stepMicrosec:1,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMin:0,minuteMin:0,secondMin:0,millisecMin:0,microsecMin:0,hourMax:23,minuteMax:59,secondMax:59,millisecMax:999,microsecMax:999,minDateTime:null,
7
+ maxDateTime:null,maxTime:null,minTime:null,onSelect:null,hourGrid:0,minuteGrid:0,secondGrid:0,millisecGrid:0,microsecGrid:0,alwaysSetTime:!0,separator:" ",altFieldTimeOnly:!0,altTimeFormat:null,altSeparator:null,altTimeSuffix:null,altRedirectFocus:!0,pickerTimeFormat:null,pickerTimeSuffix:null,showTimepicker:!0,timezoneList:null,addSliderAccess:!1,sliderAccessArgs:null,controlType:"slider",oneLine:!1,defaultValue:null,parse:"strict",afterInject:null},$.extend(this._defaults,this.regional[""])};$.extend(Timepicker.prototype,
8
+ {$input:null,$altInput:null,$timeObj:null,inst:null,hour_slider:null,minute_slider:null,second_slider:null,millisec_slider:null,microsec_slider:null,timezone_select:null,maxTime:null,minTime:null,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMinOriginal:null,minuteMinOriginal:null,secondMinOriginal:null,millisecMinOriginal:null,microsecMinOriginal:null,hourMaxOriginal:null,minuteMaxOriginal:null,secondMaxOriginal:null,millisecMaxOriginal:null,microsecMaxOriginal:null,ampm:"",formattedDate:"",
9
+ formattedTime:"",formattedDateTime:"",timezoneList:null,units:["hour","minute","second","millisec","microsec"],support:{},control:null,setDefaults:function(e){return extendRemove(this._defaults,e||{}),this},_newInst:function($input,opts){var tp_inst=new Timepicker,inlineSettings={},fns={},overrides,i;for(var attrName in this._defaults)if(this._defaults.hasOwnProperty(attrName)){var attrValue=$input.attr("time:"+attrName);if(attrValue)try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=
10
+ attrValue}}overrides={beforeShow:function(e,t){return $.isFunction(tp_inst._defaults.evnts.beforeShow)?tp_inst._defaults.evnts.beforeShow.call($input[0],e,t,tp_inst):void 0},onChangeMonthYear:function(e,t,i){$.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)&&tp_inst._defaults.evnts.onChangeMonthYear.call($input[0],e,t,i,tp_inst)},onClose:function(e,t){tp_inst.timeDefined===!0&&""!==$input.val()&&tp_inst._updateDateTime(t),$.isFunction(tp_inst._defaults.evnts.onClose)&&tp_inst._defaults.evnts.onClose.call($input[0],
11
+ e,t,tp_inst)}};for(i in overrides)overrides.hasOwnProperty(i)&&(fns[i]=opts[i]||this._defaults[i]||null);tp_inst._defaults=$.extend({},this._defaults,inlineSettings,opts,overrides,{evnts:fns,timepicker:tp_inst}),tp_inst.amNames=$.map(tp_inst._defaults.amNames,function(e){return e.toUpperCase()}),tp_inst.pmNames=$.map(tp_inst._defaults.pmNames,function(e){return e.toUpperCase()}),tp_inst.support=detectSupport(tp_inst._defaults.timeFormat+(tp_inst._defaults.pickerTimeFormat?tp_inst._defaults.pickerTimeFormat:
12
+ "")+(tp_inst._defaults.altTimeFormat?tp_inst._defaults.altTimeFormat:"")),"string"==typeof tp_inst._defaults.controlType?("slider"===tp_inst._defaults.controlType&&$.ui.slider===void 0&&(tp_inst._defaults.controlType="select"),tp_inst.control=tp_inst._controls[tp_inst._defaults.controlType]):tp_inst.control=tp_inst._defaults.controlType;var timezoneList=[-720,-660,-600,-570,-540,-480,-420,-360,-300,-270,-240,-210,-180,-120,-60,0,60,120,180,210,240,270,300,330,345,360,390,420,480,525,540,570,600,630,
13
+ 660,690,720,765,780,840];null!==tp_inst._defaults.timezoneList&&(timezoneList=tp_inst._defaults.timezoneList);var tzl=timezoneList.length,tzi=0,tzv=null;if(tzl>0&&"object"!=typeof timezoneList[0])for(;tzl>tzi;tzi++)tzv=timezoneList[tzi],timezoneList[tzi]={value:tzv,label:$.timepicker.timezoneOffsetString(tzv,tp_inst.support.iso8601)};return tp_inst._defaults.timezoneList=timezoneList,tp_inst.timezone=null!==tp_inst._defaults.timezone?$.timepicker.timezoneOffsetNumber(tp_inst._defaults.timezone):-1*
14
+ (new Date).getTimezoneOffset(),tp_inst.hour=tp_inst._defaults.hour<tp_inst._defaults.hourMin?tp_inst._defaults.hourMin:tp_inst._defaults.hour>tp_inst._defaults.hourMax?tp_inst._defaults.hourMax:tp_inst._defaults.hour,tp_inst.minute=tp_inst._defaults.minute<tp_inst._defaults.minuteMin?tp_inst._defaults.minuteMin:tp_inst._defaults.minute>tp_inst._defaults.minuteMax?tp_inst._defaults.minuteMax:tp_inst._defaults.minute,tp_inst.second=tp_inst._defaults.second<tp_inst._defaults.secondMin?tp_inst._defaults.secondMin:
15
+ tp_inst._defaults.second>tp_inst._defaults.secondMax?tp_inst._defaults.secondMax:tp_inst._defaults.second,tp_inst.millisec=tp_inst._defaults.millisec<tp_inst._defaults.millisecMin?tp_inst._defaults.millisecMin:tp_inst._defaults.millisec>tp_inst._defaults.millisecMax?tp_inst._defaults.millisecMax:tp_inst._defaults.millisec,tp_inst.microsec=tp_inst._defaults.microsec<tp_inst._defaults.microsecMin?tp_inst._defaults.microsecMin:tp_inst._defaults.microsec>tp_inst._defaults.microsecMax?tp_inst._defaults.microsecMax:
16
+ tp_inst._defaults.microsec,tp_inst.ampm="",tp_inst.$input=$input,tp_inst._defaults.altField&&(tp_inst.$altInput=$(tp_inst._defaults.altField),tp_inst._defaults.altRedirectFocus===!0&&tp_inst.$altInput.css({cursor:"pointer"}).focus(function(){$input.trigger("focus")})),(0===tp_inst._defaults.minDate||0===tp_inst._defaults.minDateTime)&&(tp_inst._defaults.minDate=new Date),(0===tp_inst._defaults.maxDate||0===tp_inst._defaults.maxDateTime)&&(tp_inst._defaults.maxDate=new Date),void 0!==tp_inst._defaults.minDate&&
17
+ tp_inst._defaults.minDate instanceof Date&&(tp_inst._defaults.minDateTime=new Date(tp_inst._defaults.minDate.getTime())),void 0!==tp_inst._defaults.minDateTime&&tp_inst._defaults.minDateTime instanceof Date&&(tp_inst._defaults.minDate=new Date(tp_inst._defaults.minDateTime.getTime())),void 0!==tp_inst._defaults.maxDate&&tp_inst._defaults.maxDate instanceof Date&&(tp_inst._defaults.maxDateTime=new Date(tp_inst._defaults.maxDate.getTime())),void 0!==tp_inst._defaults.maxDateTime&&tp_inst._defaults.maxDateTime instanceof
18
+ Date&&(tp_inst._defaults.maxDate=new Date(tp_inst._defaults.maxDateTime.getTime())),tp_inst.$input.bind("focus",function(){tp_inst._onFocus()}),tp_inst},_addTimePicker:function(e){var t=$.trim(this.$altInput&&this._defaults.altFieldTimeOnly?this.$input.val()+" "+this.$altInput.val():this.$input.val());this.timeDefined=this._parseTime(t),this._limitMinMaxDateTime(e,!1),this._injectTimePicker(),this._afterInject()},_parseTime:function(e,t){if(this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),
19
+ t||!this._defaults.timeOnly){var i=$.datepicker._get(this.inst,"dateFormat");try{var s=parseDateTimeInternal(i,this._defaults.timeFormat,e,$.datepicker._getFormatConfig(this.inst),this._defaults);if(!s.timeObj)return!1;$.extend(this,s.timeObj)}catch(a){return $.timepicker.log("Error parsing the date/time string: "+a+"\ndate/time string = "+e+"\ntimeFormat = "+this._defaults.timeFormat+"\ndateFormat = "+i),!1}return!0}var n=$.datepicker.parseTime(this._defaults.timeFormat,e,this._defaults);return n?
20
+ ($.extend(this,n),!0):!1},_afterInject:function(){var e=this.inst.settings;$.isFunction(e.afterInject)&&e.afterInject.call(this)},_injectTimePicker:function(){var e=this.inst.dpDiv,t=this.inst.settings,i=this,s="",a="",n=null,r={},l={},o=null,c=0,u=0;if(0===e.find("div.ui-timepicker-div").length&&t.showTimepicker){var m=" ui_tpicker_unit_hide",d='<div class="ui-timepicker-div'+(t.isRTL?" ui-timepicker-rtl":"")+(t.oneLine&&"select"===t.controlType?" ui-timepicker-oneLine":"")+'"><dl>'+'<dt class="ui_tpicker_time_label'+
21
+ (t.showTime?"":m)+'">'+t.timeText+"</dt>"+'<dd class="ui_tpicker_time '+(t.showTime?"":m)+'"></dd>';for(c=0,u=this.units.length;u>c;c++){if(s=this.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],r[s]=parseInt(t[s+"Max"]-(t[s+"Max"]-t[s+"Min"])%t["step"+a],10),l[s]=0,d+='<dt class="ui_tpicker_'+s+"_label"+(n?"":m)+'">'+t[s+"Text"]+"</dt>"+'<dd class="ui_tpicker_'+s+(n?"":m)+'"><div class="ui_tpicker_'+s+"_slider"+(n?"":m)+'"></div>',n&&t[s+"Grid"]>
22
+ 0){if(d+='<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>',"hour"===s)for(var h=t[s+"Min"];r[s]>=h;h+=parseInt(t[s+"Grid"],10)){l[s]++;var p=$.datepicker.formatTime(this.support.ampm?"hht":"HH",{hour:h},t);d+='<td data-for="'+s+'">'+p+"</td>"}else for(var _=t[s+"Min"];r[s]>=_;_+=parseInt(t[s+"Grid"],10))l[s]++,d+='<td data-for="'+s+'">'+(10>_?"0":"")+_+"</td>";d+="</tr></table></div>"}d+="</dd>"}var f=null!==t.showTimezone?t.showTimezone:this.support.timezone;d+='<dt class="ui_tpicker_timezone_label'+
23
+ (f?"":m)+'">'+t.timezoneText+"</dt>",d+='<dd class="ui_tpicker_timezone'+(f?"":m)+'"></dd>',d+="</dl></div>";var g=$(d);for(t.timeOnly===!0&&(g.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all"><div class="ui-datepicker-title">'+t.timeOnlyTitle+"</div>"+"</div>"),e.find(".ui-datepicker-header, .ui-datepicker-calendar").hide()),c=0,u=i.units.length;u>c;c++)s=i.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],i[s+"_slider"]=i.control.create(i,
24
+ g.find(".ui_tpicker_"+s+"_slider"),s,i[s],t[s+"Min"],r[s],t["step"+a]),n&&t[s+"Grid"]>0&&(o=100*l[s]*t[s+"Grid"]/(r[s]-t[s+"Min"]),g.find(".ui_tpicker_"+s+" table").css({width:o+"%",marginLeft:t.isRTL?"0":o/(-2*l[s])+"%",marginRight:t.isRTL?o/(-2*l[s])+"%":"0",borderCollapse:"collapse"}).find("td").click(function(){var e=$(this),t=e.html(),a=parseInt(t.replace(/[^0-9]/g),10),n=t.replace(/[^apm]/gi),r=e.data("for");"hour"===r&&(-1!==n.indexOf("p")&&12>a?a+=12:-1!==n.indexOf("a")&&12===a&&(a=0)),i.control.value(i,
25
+ i[r+"_slider"],s,a),i._onTimeChange(),i._onSelectHandler()}).css({cursor:"pointer",width:100/l[s]+"%",textAlign:"center",overflow:"hidden"}));if(this.timezone_select=g.find(".ui_tpicker_timezone").append("<select></select>").find("select"),$.fn.append.apply(this.timezone_select,$.map(t.timezoneList,function(e){return $("<option />").val("object"==typeof e?e.value:e).text("object"==typeof e?e.label:e)})),this.timezone!==void 0&&null!==this.timezone&&""!==this.timezone){var M=-1*(new Date(this.inst.selectedYear,
26
+ this.inst.selectedMonth,this.inst.selectedDay,12)).getTimezoneOffset();M===this.timezone?selectLocalTimezone(i):this.timezone_select.val(this.timezone)}else this.hour!==void 0&&null!==this.hour&&""!==this.hour?this.timezone_select.val(t.timezone):selectLocalTimezone(i);this.timezone_select.change(function(){i._onTimeChange(),i._onSelectHandler(),i._afterInject()});var v=e.find(".ui-datepicker-buttonpane");if(v.length?v.before(g):e.append(g),this.$timeObj=g.find(".ui_tpicker_time"),null!==this.inst){var k=
27
+ this.timeDefined;this._onTimeChange(),this.timeDefined=k}if(this._defaults.addSliderAccess){var T=this._defaults.sliderAccessArgs,D=this._defaults.isRTL;T.isRTL=D,setTimeout(function(){if(0===g.find(".ui-slider-access").length){g.find(".ui-slider:visible").sliderAccess(T);var e=g.find(".ui-slider-access:eq(0)").outerWidth(!0);e&&g.find("table:visible").each(function(){var t=$(this),i=t.outerWidth(),s=(""+t.css(D?"marginRight":"marginLeft")).replace("%",""),a=i-e,n=s*a/i+"%",r={width:a,marginRight:0,
28
+ marginLeft:0};r[D?"marginRight":"marginLeft"]=n,t.css(r)})}},10)}i._limitMinMaxDateTime(this.inst,!0)}},_limitMinMaxDateTime:function(e,t){var i=this._defaults,s=new Date(e.selectedYear,e.selectedMonth,e.selectedDay);if(this._defaults.showTimepicker){if(null!==$.datepicker._get(e,"minDateTime")&&void 0!==$.datepicker._get(e,"minDateTime")&&s){var a=$.datepicker._get(e,"minDateTime"),n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0);(null===this.hourMinOriginal||null===this.minuteMinOriginal||
29
+ null===this.secondMinOriginal||null===this.millisecMinOriginal||null===this.microsecMinOriginal)&&(this.hourMinOriginal=i.hourMin,this.minuteMinOriginal=i.minuteMin,this.secondMinOriginal=i.secondMin,this.millisecMinOriginal=i.millisecMin,this.microsecMinOriginal=i.microsecMin),e.settings.timeOnly||n.getTime()===s.getTime()?(this._defaults.hourMin=a.getHours(),this.hour<=this._defaults.hourMin?(this.hour=this._defaults.hourMin,this._defaults.minuteMin=a.getMinutes(),this.minute<=this._defaults.minuteMin?
30
+ (this.minute=this._defaults.minuteMin,this._defaults.secondMin=a.getSeconds(),this.second<=this._defaults.secondMin?(this.second=this._defaults.secondMin,this._defaults.millisecMin=a.getMilliseconds(),this.millisec<=this._defaults.millisecMin?(this.millisec=this._defaults.millisecMin,this._defaults.microsecMin=a.getMicroseconds()):(this.microsec<this._defaults.microsecMin&&(this.microsec=this._defaults.microsecMin),this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.millisecMin=
31
+ this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.hourMin=this.hourMinOriginal,this._defaults.minuteMin=
32
+ this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)}if(null!==$.datepicker._get(e,"maxDateTime")&&void 0!==$.datepicker._get(e,"maxDateTime")&&s){var r=$.datepicker._get(e,"maxDateTime"),l=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0);(null===this.hourMaxOriginal||null===this.minuteMaxOriginal||null===this.secondMaxOriginal||null===this.millisecMaxOriginal)&&(this.hourMaxOriginal=
33
+ i.hourMax,this.minuteMaxOriginal=i.minuteMax,this.secondMaxOriginal=i.secondMax,this.millisecMaxOriginal=i.millisecMax,this.microsecMaxOriginal=i.microsecMax),e.settings.timeOnly||l.getTime()===s.getTime()?(this._defaults.hourMax=r.getHours(),this.hour>=this._defaults.hourMax?(this.hour=this._defaults.hourMax,this._defaults.minuteMax=r.getMinutes(),this.minute>=this._defaults.minuteMax?(this.minute=this._defaults.minuteMax,this._defaults.secondMax=r.getSeconds(),this.second>=this._defaults.secondMax?
34
+ (this.second=this._defaults.secondMax,this._defaults.millisecMax=r.getMilliseconds(),this.millisec>=this._defaults.millisecMax?(this.millisec=this._defaults.millisecMax,this._defaults.microsecMax=r.getMicroseconds()):(this.microsec>this._defaults.microsecMax&&(this.microsec=this._defaults.microsecMax),this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.secondMax=this.secondMaxOriginal,
35
+ this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.hourMax=this.hourMaxOriginal,this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,
36
+ this._defaults.microsecMax=this.microsecMaxOriginal)}if(null!==e.settings.minTime){var o=new Date("01/01/1970 "+e.settings.minTime);this.hour<o.getHours()?(this.hour=this._defaults.hourMin=o.getHours(),this.minute=this._defaults.minuteMin=o.getMinutes()):this.hour===o.getHours()&&this.minute<o.getMinutes()?this.minute=this._defaults.minuteMin=o.getMinutes():this._defaults.hourMin<o.getHours()?(this._defaults.hourMin=o.getHours(),this._defaults.minuteMin=o.getMinutes()):this._defaults.minuteMin=this._defaults.hourMin===
37
+ o.getHours()===this.hour&&this._defaults.minuteMin<o.getMinutes()?o.getMinutes():0}if(null!==e.settings.maxTime){var c=new Date("01/01/1970 "+e.settings.maxTime);this.hour>c.getHours()?(this.hour=this._defaults.hourMax=c.getHours(),this.minute=this._defaults.minuteMax=c.getMinutes()):this.hour===c.getHours()&&this.minute>c.getMinutes()?this.minute=this._defaults.minuteMax=c.getMinutes():this._defaults.hourMax>c.getHours()?(this._defaults.hourMax=c.getHours(),this._defaults.minuteMax=c.getMinutes()):
38
+ this._defaults.minuteMax=this._defaults.hourMax===c.getHours()===this.hour&&this._defaults.minuteMax>c.getMinutes()?c.getMinutes():59}if(void 0!==t&&t===!0){var u=parseInt(this._defaults.hourMax-(this._defaults.hourMax-this._defaults.hourMin)%this._defaults.stepHour,10),m=parseInt(this._defaults.minuteMax-(this._defaults.minuteMax-this._defaults.minuteMin)%this._defaults.stepMinute,10),d=parseInt(this._defaults.secondMax-(this._defaults.secondMax-this._defaults.secondMin)%this._defaults.stepSecond,
39
+ 10),h=parseInt(this._defaults.millisecMax-(this._defaults.millisecMax-this._defaults.millisecMin)%this._defaults.stepMillisec,10),p=parseInt(this._defaults.microsecMax-(this._defaults.microsecMax-this._defaults.microsecMin)%this._defaults.stepMicrosec,10);this.hour_slider&&(this.control.options(this,this.hour_slider,"hour",{min:this._defaults.hourMin,max:u,step:this._defaults.stepHour}),this.control.value(this,this.hour_slider,"hour",this.hour-this.hour%this._defaults.stepHour)),this.minute_slider&&
40
+ (this.control.options(this,this.minute_slider,"minute",{min:this._defaults.minuteMin,max:m,step:this._defaults.stepMinute}),this.control.value(this,this.minute_slider,"minute",this.minute-this.minute%this._defaults.stepMinute)),this.second_slider&&(this.control.options(this,this.second_slider,"second",{min:this._defaults.secondMin,max:d,step:this._defaults.stepSecond}),this.control.value(this,this.second_slider,"second",this.second-this.second%this._defaults.stepSecond)),this.millisec_slider&&(this.control.options(this,
41
+ this.millisec_slider,"millisec",{min:this._defaults.millisecMin,max:h,step:this._defaults.stepMillisec}),this.control.value(this,this.millisec_slider,"millisec",this.millisec-this.millisec%this._defaults.stepMillisec)),this.microsec_slider&&(this.control.options(this,this.microsec_slider,"microsec",{min:this._defaults.microsecMin,max:p,step:this._defaults.stepMicrosec}),this.control.value(this,this.microsec_slider,"microsec",this.microsec-this.microsec%this._defaults.stepMicrosec))}}},_onTimeChange:function(){if(this._defaults.showTimepicker){var e=
42
+ this.hour_slider?this.control.value(this,this.hour_slider,"hour"):!1,t=this.minute_slider?this.control.value(this,this.minute_slider,"minute"):!1,i=this.second_slider?this.control.value(this,this.second_slider,"second"):!1,s=this.millisec_slider?this.control.value(this,this.millisec_slider,"millisec"):!1,a=this.microsec_slider?this.control.value(this,this.microsec_slider,"microsec"):!1,n=this.timezone_select?this.timezone_select.val():!1,r=this._defaults,l=r.pickerTimeFormat||r.timeFormat,o=r.pickerTimeSuffix||
43
+ r.timeSuffix;"object"==typeof e&&(e=!1),"object"==typeof t&&(t=!1),"object"==typeof i&&(i=!1),"object"==typeof s&&(s=!1),"object"==typeof a&&(a=!1),"object"==typeof n&&(n=!1),e!==!1&&(e=parseInt(e,10)),t!==!1&&(t=parseInt(t,10)),i!==!1&&(i=parseInt(i,10)),s!==!1&&(s=parseInt(s,10)),a!==!1&&(a=parseInt(a,10)),n!==!1&&(n=""+n);var c=r[12>e?"amNames":"pmNames"][0],u=e!==parseInt(this.hour,10)||t!==parseInt(this.minute,10)||i!==parseInt(this.second,10)||s!==parseInt(this.millisec,10)||a!==parseInt(this.microsec,
44
+ 10)||this.ampm.length>0&&12>e!=(-1!==$.inArray(this.ampm.toUpperCase(),this.amNames))||null!==this.timezone&&n!==""+this.timezone;u&&(e!==!1&&(this.hour=e),t!==!1&&(this.minute=t),i!==!1&&(this.second=i),s!==!1&&(this.millisec=s),a!==!1&&(this.microsec=a),n!==!1&&(this.timezone=n),this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),this._limitMinMaxDateTime(this.inst,!0)),this.support.ampm&&(this.ampm=c),this.formattedTime=$.datepicker.formatTime(r.timeFormat,this,r),this.$timeObj&&(l===
45
+ r.timeFormat?this.$timeObj.text(this.formattedTime+o):this.$timeObj.text($.datepicker.formatTime(l,this,r)+o)),this.timeDefined=!0,u&&this._updateDateTime()}},_onSelectHandler:function(){var e=this._defaults.onSelect||this.inst.settings.onSelect,t=this.$input?this.$input[0]:null;e&&t&&e.apply(t,[this.formattedDateTime,this])},_updateDateTime:function(e){e=this.inst||e;var t=e.currentYear>0?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(e.selectedYear,e.selectedMonth,e.selectedDay),i=
46
+ $.datepicker._daylightSavingAdjust(t),s=$.datepicker._get(e,"dateFormat"),a=$.datepicker._getFormatConfig(e),n=null!==i&&this.timeDefined;this.formattedDate=$.datepicker.formatDate(s,null===i?new Date:i,a);var r=this.formattedDate;if(""===e.lastVal&&(e.currentYear=e.selectedYear,e.currentMonth=e.selectedMonth,e.currentDay=e.selectedDay),this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!1?r=this.formattedTime:(this._defaults.timeOnly!==!0&&(this._defaults.alwaysSetTime||n)||this._defaults.timeOnly===
47
+ !0&&this._defaults.timeOnlyShowDate===!0)&&(r+=this._defaults.separator+this.formattedTime+this._defaults.timeSuffix),this.formattedDateTime=r,this._defaults.showTimepicker)if(this.$altInput&&this._defaults.timeOnly===!1&&this._defaults.altFieldTimeOnly===!0)this.$altInput.val(this.formattedTime),this.$input.val(this.formattedDate);else if(this.$altInput){this.$input.val(r);var l="",o=null!==this._defaults.altSeparator?this._defaults.altSeparator:this._defaults.separator,c=null!==this._defaults.altTimeSuffix?
48
+ this._defaults.altTimeSuffix:this._defaults.timeSuffix;this._defaults.timeOnly||(l=this._defaults.altFormat?$.datepicker.formatDate(this._defaults.altFormat,null===i?new Date:i,a):this.formattedDate,l&&(l+=o)),l+=null!==this._defaults.altTimeFormat?$.datepicker.formatTime(this._defaults.altTimeFormat,this,this._defaults)+c:this.formattedTime+c,this.$altInput.val(l)}else this.$input.val(r);else this.$input.val(this.formattedDate);this.$input.trigger("change")},_onFocus:function(){if(!this.$input.val()&&
49
+ this._defaults.defaultValue){this.$input.val(this._defaults.defaultValue);var e=$.datepicker._getInst(this.$input.get(0)),t=$.datepicker._get(e,"timepicker");if(t&&t._defaults.timeOnly&&e.input.val()!==e.lastVal)try{$.datepicker._updateDatepicker(e)}catch(i){$.timepicker.log(i)}}},_controls:{slider:{create:function(e,t,i,s,a,n,r){var l=e._defaults.isRTL;return t.prop("slide",null).slider({orientation:"horizontal",value:l?-1*s:s,min:l?-1*n:a,max:l?-1*a:n,step:r,slide:function(t,s){e.control.value(e,
50
+ $(this),i,l?-1*s.value:s.value),e._onTimeChange()},stop:function(){e._onSelectHandler()}})},options:function(e,t,i,s,a){if(e._defaults.isRTL){if("string"==typeof s)return"min"===s||"max"===s?void 0!==a?t.slider(s,-1*a):Math.abs(t.slider(s)):t.slider(s);var n=s.min,r=s.max;return s.min=s.max=null,void 0!==n&&(s.max=-1*n),void 0!==r&&(s.min=-1*r),t.slider(s)}return"string"==typeof s&&void 0!==a?t.slider(s,a):t.slider(s)},value:function(e,t,i,s){return e._defaults.isRTL?void 0!==s?t.slider("value",-1*
51
+ s):Math.abs(t.slider("value")):void 0!==s?t.slider("value",s):t.slider("value")}},select:{create:function(e,t,i,s,a,n,r){for(var l='<select class="ui-timepicker-select ui-state-default ui-corner-all" data-unit="'+i+'" data-min="'+a+'" data-max="'+n+'" data-step="'+r+'">',o=e._defaults.pickerTimeFormat||e._defaults.timeFormat,c=a;n>=c;c+=r)l+='<option value="'+c+'"'+(c===s?" selected":"")+">",l+="hour"===i?$.datepicker.formatTime($.trim(o.replace(/[^ht ]/gi,"")),{hour:c},e._defaults):"millisec"===
52
+ i||"microsec"===i||c>=10?c:"0"+(""+c),l+="</option>";return l+="</select>",t.children("select").remove(),$(l).appendTo(t).change(function(){e._onTimeChange(),e._onSelectHandler(),e._afterInject()}),t},options:function(e,t,i,s,a){var n={},r=t.children("select");if("string"==typeof s){if(void 0===a)return r.data(s);n[s]=a}else n=s;return e.control.create(e,t,r.data("unit"),r.val(),n.min>=0?n.min:r.data("min"),n.max||r.data("max"),n.step||r.data("step"))},value:function(e,t,i,s){var a=t.children("select");
53
+ return void 0!==s?a.val(s):a.val()}}}}),$.fn.extend({timepicker:function(e){e=e||{};var t=Array.prototype.slice.call(arguments);return"object"==typeof e&&(t[0]=$.extend(e,{timeOnly:!0})),$(this).each(function(){$.fn.datetimepicker.apply($(this),t)})},datetimepicker:function(e){e=e||{};var t=arguments;return"string"==typeof e?"getDate"===e||"option"===e&&2===t.length&&"string"==typeof t[1]?$.fn.datepicker.apply($(this[0]),t):this.each(function(){var e=$(this);e.datepicker.apply(e,t)}):this.each(function(){var t=
54
+ $(this);t.datepicker($.timepicker._newInst(t,e)._defaults)})}}),$.datepicker.parseDateTime=function(e,t,i,s,a){var n=parseDateTimeInternal(e,t,i,s,a);if(n.timeObj){var r=n.timeObj;n.date.setHours(r.hour,r.minute,r.second,r.millisec),n.date.setMicroseconds(r.microsec)}return n.date},$.datepicker.parseTime=function(e,t,i){var s=extendRemove(extendRemove({},$.timepicker._defaults),i||{});-1!==e.replace(/\'.*?\'/g,"").indexOf("Z");var a=function(e,t,i){var s,a=function(e,t){var i=[];return e&&$.merge(i,
55
+ e),t&&$.merge(i,t),i=$.map(i,function(e){return e.replace(/[.*+?|()\[\]{}\\]/g,"\\$&")}),"("+i.join("|")+")?"},n=function(e){var t=e.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),i={h:-1,m:-1,s:-1,l:-1,c:-1,t:-1,z:-1};if(t)for(var s=0;t.length>s;s++)-1===i[(""+t[s]).charAt(0)]&&(i[(""+t[s]).charAt(0)]=s+1);return i},r="^"+(""+e).replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){var t=e.length;switch(e.charAt(0).toLowerCase()){case "h":return 1===t?"(\\d?\\d)":
56
+ "(\\d{"+t+"})";case "m":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case "s":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case "l":return"(\\d?\\d?\\d)";case "c":return"(\\d?\\d?\\d)";case "z":return"(z|[-+]\\d\\d:?\\d\\d|\\S+)?";case "t":return a(i.amNames,i.pmNames);default:return"("+e.replace(/\'/g,"").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g,function(e){return"\\"+e})+")?"}}).replace(/\s/g,"\\s?")+i.timeSuffix+"$",l=n(e),o="";s=t.match(RegExp(r,"i"));var c={hour:0,minute:0,second:0,millisec:0,
57
+ microsec:0};return s?(-1!==l.t&&(void 0===s[l.t]||0===s[l.t].length?(o="",c.ampm=""):(o=-1!==$.inArray(s[l.t].toUpperCase(),$.map(i.amNames,function(e){return e.toUpperCase()}))?"AM":"PM",c.ampm=i["AM"===o?"amNames":"pmNames"][0])),-1!==l.h&&(c.hour="AM"===o&&"12"===s[l.h]?0:"PM"===o&&"12"!==s[l.h]?parseInt(s[l.h],10)+12:Number(s[l.h])),-1!==l.m&&(c.minute=Number(s[l.m])),-1!==l.s&&(c.second=Number(s[l.s])),-1!==l.l&&(c.millisec=Number(s[l.l])),-1!==l.c&&(c.microsec=Number(s[l.c])),-1!==l.z&&void 0!==
58
+ s[l.z]&&(c.timezone=$.timepicker.timezoneOffsetNumber(s[l.z])),c):!1},n=function(e,t,i){try{var s=new Date("2012-01-01 "+t);if(isNaN(s.getTime())&&(s=new Date("2012-01-01T"+t),isNaN(s.getTime())&&(s=new Date("01/01/2012 "+t),isNaN(s.getTime()))))throw"Unable to parse time with native Date: "+t;return{hour:s.getHours(),minute:s.getMinutes(),second:s.getSeconds(),millisec:s.getMilliseconds(),microsec:s.getMicroseconds(),timezone:-1*s.getTimezoneOffset()}}catch(n$0){try{return a(e,t,i)}catch(r){$.timepicker.log("Unable to parse \ntimeString: "+
59
+ t+"\ntimeFormat: "+e)}}return!1};return"function"==typeof s.parse?s.parse(e,t,s):"loose"===s.parse?n(e,t,s):a(e,t,s)},$.datepicker.formatTime=function(e,t,i){i=i||{},i=$.extend({},$.timepicker._defaults,i),t=$.extend({hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null},t);var s=e,a=i.amNames[0],n=parseInt(t.hour,10);return n>11&&(a=i.pmNames[0]),s=s.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){switch(e){case "HH":return("0"+n).slice(-2);case "H":return n;case "hh":return("0"+
60
+ convert24to12(n)).slice(-2);case "h":return convert24to12(n);case "mm":return("0"+t.minute).slice(-2);case "m":return t.minute;case "ss":return("0"+t.second).slice(-2);case "s":return t.second;case "l":return("00"+t.millisec).slice(-3);case "c":return("00"+t.microsec).slice(-3);case "z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!1);case "Z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!0);case "T":return a.charAt(0).toUpperCase();
61
+ case "TT":return a.toUpperCase();case "t":return a.charAt(0).toLowerCase();case "tt":return a.toLowerCase();default:return e.replace(/'/g,"")}})},$.datepicker._base_selectDate=$.datepicker._selectDate,$.datepicker._selectDate=function(e,t){var i,s=this._getInst($(e)[0]),a=this._get(s,"timepicker");a&&s.settings.showTimepicker?(a._limitMinMaxDateTime(s,!0),i=s.inline,s.inline=s.stay_open=!0,this._base_selectDate(e,t),s.inline=i,s.stay_open=!1,this._notifyChange(s),this._updateDatepicker(s)):this._base_selectDate(e,
62
+ t)},$.datepicker._base_updateDatepicker=$.datepicker._updateDatepicker,$.datepicker._updateDatepicker=function(e){var t=e.input[0];if(!($.datepicker._curInst&&$.datepicker._curInst!==e&&$.datepicker._datepickerShowing&&$.datepicker._lastInput!==t||"boolean"==typeof e.stay_open&&e.stay_open!==!1)){this._base_updateDatepicker(e);var i=this._get(e,"timepicker");i&&i._addTimePicker(e)}},$.datepicker._base_doKeyPress=$.datepicker._doKeyPress,$.datepicker._doKeyPress=function(e){var t=$.datepicker._getInst(e.target),
63
+ i=$.datepicker._get(t,"timepicker");if(i&&$.datepicker._get(t,"constrainInput")){var s=i.support.ampm,a=null!==i._defaults.showTimezone?i._defaults.showTimezone:i.support.timezone,n=$.datepicker._possibleChars($.datepicker._get(t,"dateFormat")),r=(""+i._defaults.timeFormat).replace(/[hms]/g,"").replace(/TT/g,s?"APM":"").replace(/Tt/g,s?"AaPpMm":"").replace(/tT/g,s?"AaPpMm":"").replace(/T/g,s?"AP":"").replace(/tt/g,s?"apm":"").replace(/t/g,s?"ap":"")+" "+i._defaults.separator+i._defaults.timeSuffix+
64
+ (a?i._defaults.timezoneList.join(""):"")+i._defaults.amNames.join("")+i._defaults.pmNames.join("")+n,l=String.fromCharCode(void 0===e.charCode?e.keyCode:e.charCode);return e.ctrlKey||" ">l||!n||r.indexOf(l)>-1}return $.datepicker._base_doKeyPress(e)},$.datepicker._base_updateAlternate=$.datepicker._updateAlternate,$.datepicker._updateAlternate=function(e){var t=this._get(e,"timepicker");if(t){var i=t._defaults.altField;if(i){var s=(t._defaults.altFormat||t._defaults.dateFormat,this._getDate(e)),a=
65
+ $.datepicker._getFormatConfig(e),n="",r=t._defaults.altSeparator?t._defaults.altSeparator:t._defaults.separator,l=t._defaults.altTimeSuffix?t._defaults.altTimeSuffix:t._defaults.timeSuffix,o=null!==t._defaults.altTimeFormat?t._defaults.altTimeFormat:t._defaults.timeFormat;n+=$.datepicker.formatTime(o,t,t._defaults)+l,t._defaults.timeOnly||t._defaults.altFieldTimeOnly||null===s||(n=t._defaults.altFormat?$.datepicker.formatDate(t._defaults.altFormat,s,a)+r+n:t.formattedDate+r+n),$(i).val(e.input.val()?
66
+ n:"")}}else $.datepicker._base_updateAlternate(e)},$.datepicker._base_doKeyUp=$.datepicker._doKeyUp,$.datepicker._doKeyUp=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&i._defaults.timeOnly&&t.input.val()!==t.lastVal)try{$.datepicker._updateDatepicker(t)}catch(s){$.timepicker.log(s)}return $.datepicker._base_doKeyUp(e)},$.datepicker._base_gotoToday=$.datepicker._gotoToday,$.datepicker._gotoToday=function(e){var t=this._getInst($(e)[0]);t.dpDiv;var i=this._get(t,
67
+ "timepicker");selectLocalTimezone(i);var s=new Date;this._setTime(t,s),this._setDate(t,s),this._base_gotoToday(e)},$.datepicker._disableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!1,i._defaults.showTimepicker=!1,i._updateDateTime(t))}},$.datepicker._enableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=
68
+ !0,i._defaults.showTimepicker=!0,i._addTimePicker(t),i._updateDateTime(t))}},$.datepicker._setTime=function(e,t){var i=this._get(e,"timepicker");if(i){var s=i._defaults;i.hour=t?t.getHours():s.hour,i.minute=t?t.getMinutes():s.minute,i.second=t?t.getSeconds():s.second,i.millisec=t?t.getMilliseconds():s.millisec,i.microsec=t?t.getMicroseconds():s.microsec,i._limitMinMaxDateTime(e,!0),i._onTimeChange(),i._updateDateTime(e)}},$.datepicker._setTimeDatepicker=function(e,t,i){var s=this._getInst(e);if(s){var a=
69
+ this._get(s,"timepicker");if(a){this._setDateFromField(s);var n;t&&("string"==typeof t?(a._parseTime(t,i),n=new Date,n.setHours(a.hour,a.minute,a.second,a.millisec),n.setMicroseconds(a.microsec)):(n=new Date(t.getTime()),n.setMicroseconds(t.getMicroseconds())),"Invalid Date"==""+n&&(n=void 0),this._setTime(s,n))}}},$.datepicker._base_setDateDatepicker=$.datepicker._setDateDatepicker,$.datepicker._setDateDatepicker=function(e,t){var i=this._getInst(e),s=t;if(i){"string"==typeof t&&(s=new Date(t),s.getTime()||
70
+ (this._base_setDateDatepicker.apply(this,arguments),s=$(e).datepicker("getDate")));var a,n=this._get(i,"timepicker");s instanceof Date?(a=new Date(s.getTime()),a.setMicroseconds(s.getMicroseconds())):a=s,n&&a&&(n.support.timezone||null!==n._defaults.timezone||(n.timezone=-1*a.getTimezoneOffset()),s=$.timepicker.timezoneAdjust(s,n.timezone),a=$.timepicker.timezoneAdjust(a,n.timezone)),this._updateDatepicker(i),this._base_setDateDatepicker.apply(this,arguments),this._setTimeDatepicker(e,a,!0)}},$.datepicker._base_getDateDatepicker=
71
+ $.datepicker._getDateDatepicker,$.datepicker._getDateDatepicker=function(e,t){var i=this._getInst(e);if(i){var s=this._get(i,"timepicker");if(s){void 0===i.lastVal&&this._setDateFromField(i,t);var a=this._getDate(i),n=$.trim(s.$altInput&&s._defaults.altFieldTimeOnly?s.$input.val()+" "+s.$altInput.val():s.$input.val());return a&&s._parseTime(n,!i.settings.timeOnly)&&(a.setHours(s.hour,s.minute,s.second,s.millisec),a.setMicroseconds(s.microsec),null!=s.timezone&&(s.support.timezone||null!==s._defaults.timezone||
72
+ (s.timezone=-1*a.getTimezoneOffset()),a=$.timepicker.timezoneAdjust(a,s.timezone))),a}return this._base_getDateDatepicker(e,t)}},$.datepicker._base_parseDate=$.datepicker.parseDate,$.datepicker.parseDate=function(e,t,i){var s;try{s=this._base_parseDate(e,t,i)}catch(a){if(!(a.indexOf(":")>=0))throw a;s=this._base_parseDate(e,t.substring(0,t.length-(a.length-a.indexOf(":")-2)),i),$.timepicker.log("Error parsing the date string: "+a+"\ndate string = "+t+"\ndate format = "+e)}return s},$.datepicker._base_formatDate=
73
+ $.datepicker._formatDate,$.datepicker._formatDate=function(e){var t=this._get(e,"timepicker");return t?(t._updateDateTime(e),t.$input.val()):this._base_formatDate(e)},$.datepicker._base_optionDatepicker=$.datepicker._optionDatepicker,$.datepicker._optionDatepicker=function(e,t,i){var s,a=this._getInst(e);if(!a)return null;var n=this._get(a,"timepicker");if(n){var r,l,o,c,u=null,m=null,d=null,h=n._defaults.evnts,p={};if("string"==typeof t)if("minDate"===t||"minDateTime"===t)u=i;else if("maxDate"===
74
+ t||"maxDateTime"===t)m=i;else if("onSelect"===t)d=i;else{if(h.hasOwnProperty(t)){if(i===void 0)return h[t];p[t]=i,s={}}}else if("object"==typeof t){t.minDate?u=t.minDate:t.minDateTime?u=t.minDateTime:t.maxDate?m=t.maxDate:t.maxDateTime&&(m=t.maxDateTime);for(r in h)h.hasOwnProperty(r)&&t[r]&&(p[r]=t[r])}for(r in p)p.hasOwnProperty(r)&&(h[r]=p[r],s||(s=$.extend({},t)),delete s[r]);if(s&&isEmptyObject(s))return;if(u?(u=0===u?new Date:new Date(u),n._defaults.minDate=u,n._defaults.minDateTime=u):m?(m=
75
+ 0===m?new Date:new Date(m),n._defaults.maxDate=m,n._defaults.maxDateTime=m):d&&(n._defaults.onSelect=d),u||m)return c=$(e),o=c.datetimepicker("getDate"),l=this._base_optionDatepicker.call($.datepicker,e,s||t,i),c.datetimepicker("setDate",o),l}return void 0===i?this._base_optionDatepicker.call($.datepicker,e,t):this._base_optionDatepicker.call($.datepicker,e,s||t,i)};var isEmptyObject=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0},extendRemove=function(e,t){$.extend(e,t);for(var i in t)(null===
76
+ t[i]||void 0===t[i])&&(e[i]=t[i]);return e},detectSupport=function(e){var t=e.replace(/'.*?'/g,"").toLowerCase(),i=function(e,t){return-1!==e.indexOf(t)?!0:!1};return{hour:i(t,"h"),minute:i(t,"m"),second:i(t,"s"),millisec:i(t,"l"),microsec:i(t,"c"),timezone:i(t,"z"),ampm:i(t,"t")&&i(e,"h"),iso8601:i(e,"Z")}},convert24to12=function(e){return e%=12,0===e&&(e=12),e+""},computeEffectiveSetting=function(e,t){return e&&e[t]?e[t]:$.timepicker._defaults[t]},splitDateTime=function(e,t){var i=computeEffectiveSetting(t,
77
+ "separator"),s=computeEffectiveSetting(t,"timeFormat"),a=s.split(i),n=a.length,r=e.split(i),l=r.length;return l>1?{dateString:r.splice(0,l-n).join(i),timeString:r.splice(0,n).join(i)}:{dateString:e,timeString:""}},parseDateTimeInternal=function(e,t,i,s,a){var n,r,l;if(r=splitDateTime(i,a),n=$.datepicker._base_parseDate(e,r.dateString,s),""===r.timeString)return{date:n};if(l=$.datepicker.parseTime(t,r.timeString,a),!l)throw"Wrong time format";return{date:n,timeObj:l}},selectLocalTimezone=function(e,
78
+ t){if(e&&e.timezone_select){var i=t||new Date;e.timezone_select.val(-i.getTimezoneOffset())}};$.timepicker=new Timepicker,$.timepicker.timezoneOffsetString=function(e,t){if(isNaN(e)||e>840||-720>e)return e;var i=e,s=i%60,a=(i-s)/60,n=t?":":"",r=(i>=0?"+":"-")+("0"+Math.abs(a)).slice(-2)+n+("0"+Math.abs(s)).slice(-2);return"+00:00"===r?"Z":r},$.timepicker.timezoneOffsetNumber=function(e){var t=(""+e).replace(":","");return"Z"===t.toUpperCase()?0:/^(\-|\+)\d{4}$/.test(t)?("-"===t.substr(0,1)?-1:1)*
79
+ (60*parseInt(t.substr(1,2),10)+parseInt(t.substr(3,2),10)):e},$.timepicker.timezoneAdjust=function(e,t){var i=$.timepicker.timezoneOffsetNumber(t);return isNaN(i)||e.setMinutes(e.getMinutes()+-e.getTimezoneOffset()-i),e},$.timepicker.timeRange=function(e,t,i){return $.timepicker.handleRange("timepicker",e,t,i)},$.timepicker.datetimeRange=function(e,t,i){$.timepicker.handleRange("datetimepicker",e,t,i)},$.timepicker.dateRange=function(e,t,i){$.timepicker.handleRange("datepicker",e,t,i)},$.timepicker.handleRange=
80
+ function(e,t,i,s){function a(a,n){var r=t[e]("getDate"),l=i[e]("getDate"),o=a[e]("getDate");if(null!==r){var c=new Date(r.getTime()),u=new Date(r.getTime());c.setMilliseconds(c.getMilliseconds()+s.minInterval),u.setMilliseconds(u.getMilliseconds()+s.maxInterval),s.minInterval>0&&c>l?i[e]("setDate",c):s.maxInterval>0&&l>u?i[e]("setDate",u):r>l&&n[e]("setDate",o)}}function n(t,i,a){if(t.val()){var n=t[e].call(t,"getDate");null!==n&&s.minInterval>0&&("minDate"===a&&n.setMilliseconds(n.getMilliseconds()+
81
+ s.minInterval),"maxDate"===a&&n.setMilliseconds(n.getMilliseconds()-s.minInterval)),n.getTime&&i[e].call(i,"option",a,n)}}s=$.extend({},{minInterval:0,maxInterval:0,start:{},end:{}},s);var r=!1;return"timepicker"===e&&(r=!0,e="datetimepicker"),$.fn[e].call(t,$.extend({timeOnly:r,onClose:function(){a($(this),i)},onSelect:function(){n($(this),i,"minDate")}},s,s.start)),$.fn[e].call(i,$.extend({timeOnly:r,onClose:function(){a($(this),t)},onSelect:function(){n($(this),t,"maxDate")}},s,s.end)),a(t,i),
82
+ n(t,i,"minDate"),n(i,t,"maxDate"),$([t.get(0),i.get(0)])},$.timepicker.log=function(){window.console&&window.console.log.apply(window.console,Array.prototype.slice.call(arguments))},$.timepicker._util={_extendRemove:extendRemove,_isEmptyObject:isEmptyObject,_convert24to12:convert24to12,_detectSupport:detectSupport,_selectLocalTimezone:selectLocalTimezone,_computeEffectiveSetting:computeEffectiveSetting,_splitDateTime:splitDateTime,_parseDateTimeInternal:parseDateTimeInternal},Date.prototype.getMicroseconds||
83
+ (Date.prototype.microseconds=0,Date.prototype.getMicroseconds=function(){return this.microseconds},Date.prototype.setMicroseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+Math.floor(e/1E3)),this.microseconds=e%1E3,this}),$.timepicker.version="1.5.5"}});
wordpress_file_upload.php CHANGED
@@ -4,7 +4,7 @@ if( !session_id() ) { session_start(); }
4
  /*
5
  Plugin URI: http://www.iptanus.com/support/wordpress-file-upload
6
  Description: Simple interface to upload files from a page.
7
- Version: 3.9.6
8
  Author: Nickolas Bossinas
9
  Author URI: http://www.iptanus.com
10
  */
@@ -162,6 +162,7 @@ function wordpress_file_upload_browser_handler($incomingfrompost) {
162
  function wordpress_file_upload_function($incomingfromhandler) {
163
  global $post;
164
  global $blog_id;
 
165
  $shortcode_tag = 'wordpress_file_upload';
166
  $params = wfu_plugin_parse_array($incomingfromhandler);
167
  $sid = $params["uploadid"];
4
  /*
5
  Plugin URI: http://www.iptanus.com/support/wordpress-file-upload
6
  Description: Simple interface to upload files from a page.
7
+ Version: 3.10.0
8
  Author: Nickolas Bossinas
9
  Author URI: http://www.iptanus.com
10
  */
162
  function wordpress_file_upload_function($incomingfromhandler) {
163
  global $post;
164
  global $blog_id;
165
+ $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
166
  $shortcode_tag = 'wordpress_file_upload';
167
  $params = wfu_plugin_parse_array($incomingfromhandler);
168
  $sid = $params["uploadid"];