diff options
Diffstat (limited to 'tlrobinson/JSON Diff_files/upload.html')
-rw-r--r-- | tlrobinson/JSON Diff_files/upload.html | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/tlrobinson/JSON Diff_files/upload.html b/tlrobinson/JSON Diff_files/upload.html deleted file mode 100644 index 0fe843f..0000000 --- a/tlrobinson/JSON Diff_files/upload.html +++ /dev/null @@ -1,90 +0,0 @@ -<html><head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> - <meta charset="utf-8"> - <title></title> - <script>document.domain = 'disqus.com';</script> - - - <style type="text/css"> - html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;line-height:inherit}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal}form legend{display:none}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}ol,ul{list-style:none}hr{display:none;visibility:hidden}:focus{outline:0}html{margin:0;padding:0;height:100%}body{font-size:13px;height:100%;background-color:transparent;margin:0;padding:0}div#comment,textarea{font-size:13px;background:transparent}div#comment.placeholder,textarea.placeholder{color:#666}span.disqus{font-family:Trebuchet MS,Trebuchet,Verdana,Arial,sans-serif;font-size:90%;text-transform:uppercase;font-weight:bold}form{margin:0;padding:0}a.forgot-password{margin-left:15px;font-size:95%;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.form-text-label{font-weight:bold}.input-block{float:left}.input-block label{display:block}label img{margin-bottom:-1px;margin-left:3px}input{margin:0;padding:0}input.form-text{padding:2px;margin-right:10px;margin-bottom:7px;font-size:100%;display:block}input.placeholder{-moz-opacity:.6;opacity:.60;filter:alpha(opacity=60)}input.submit{margin-right:5px}input#custom-submit{border:0;display:none;cursor:pointer}.submit-footer{margin:10px 0 0 0;clear:left}label span.error{color:#c03000;font-weight:bold}ul.errorlist{margin:0;padding:0}ul.errorlist li{font-size:90%;color:#c03000;list-style:none}#post-choices{padding:5px 0;width:99%}#post-choices input{vertical-align:top}#post-choices label{vertical-align:baseline;margin-right:12px}#post-choices span.help{margin-left:10px;font-size:.85em}#post-choices span.help a{cursor:help;text-decoration:none;border-style:dotted;border-width:0 0 1px 0}.login-register-copy{margin:5px 0 20px 0;font-size:14px;color:#333}.login-register-copy span.copy{background-color:#e8f0f7;border:1px solid #cdd6dd;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px;padding:5px}.form-login-register{font-size:14px}.form-login-register input{font-size:16px}.form-login-register .form-field{margin-bottom:10px}.form-login-register .form-text-label{color:#333;display:block;margin-bottom:3px;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.login-register-toggle{display:block;margin-top:20px}.login-register-toggle span{border-width:0 0 1px 0;border-style:dotted;cursor:pointer;color:#333}.overlay{display:block;position:absolute;top:0;left:0;width:100%;height:100%;z-index:5000;background-color:#000;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.overlay[id]{position:fixed}.lightbox{display:block;position:fixed;background-color:#fff;color:#333;z-index:9999;padding:10px;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px}.lightbox a{color:#333}.lightbox .lightbox-status{margin-bottom:10px;padding:4px}.lightbox .lightbox-status .lightbox-status-text{vertical-align:bottom}.lightbox .lightbox-status .lightbox-status-text strong{vertical-align:bottom}.lightbox .lightbox-status .lightbox-avatar{width:24px;height:24px;margin-right:5px;vertical-align:middle}.lightbox span.dsq-badge{font-size:10px;margin-right:10px}span.dsq-badge{font-family:Optima,Lucida Grande,Lucida Sans,Helvetica,Arial,sans-serif;padding:2px 4px;-moz-border-radius:0 5px 0 5px;-webkit-border-top-right-radius:5px;-webkit-border-bottom-left-radius:5px;vertical-align:middle}span.dsq-badge.dsq-badge-verified{background-color:#92c72a;border:1px solid #6ca300;color:#fff}span.dsq-badge.dsq-badge-registered{background-color:#fffe98;border:1px solid #eae800;color:#000}span.badge-facebook,span.badge-twitter{padding:2px;color:#fff}span.badge-facebook{background-color:#46639d}span.badge-twitter{background-color:#31ceff}.dsq-popup .dsq-profile-services span.dsq-profile-badge.dsq-badge-guest{background-color:#ddd;border:1px solid #ccc}.lightbox .lightbox-form,.lightbox .lightbox-learnmore{margin:10px;padding:10px;background-color:#e8f0f7;border:1px solid #cdd6dd;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px}.lightbox .lightbox-copy{margin-bottom:10px;padding-bottom:5px;border-bottom:1px solid #cdd6dd}.lightbox .lightbox-copy a.why{cursor:help;white-space:nowrap;text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted}.lightbox .lightbox-learnmore ul{padding:0 15px}.lightbox .lightbox-learnmore ul li{list-style:none inside url('../../images/tick.png');margin:5px 0}.lightbox .lightbox-fields{width:200px;margin:0 auto}.lightbox .lightbox-field input.text{font-size:110%;padding:2px;width:100%}.lightbox .lightbox-field label.text{margin:0 0 3px 0;display:block;font-size:95%;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.lightbox .error{color:#c03000;font-weight:bold}.lightbox .ok{color:#92c72a;font-weight:bold}.lightbox .lightbox-field{margin-bottom:8px}.lightbox a.lightbox-email-block{display:block;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80);font-size:90%;text-align:right;color:inherit;text-decoration:none;position:relative}.lightbox .lightbox-email-block .lightbox-email-change{font-style:italic;font-weight:bold;display:none}.lightbox a.lightbox-email-block:hover .lightbox-email-change{background-color:#e8f0f7;display:inline;position:absolute;top:0;left:0}.lightbox .lightbox-email-field{font-size:90%}.lightbox .lightbox-submit{text-align:center}.lightbox .lightbox-submit input.button{font-size:100%}.lightbox .lightbox-footer{text-align:center;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}#choose-subscription{-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80);border:0;margin:10px 0 0 0;padding-left:5px;background:transparent url(../../images/small-tick.png) no-repeat 0 2px}#choose-subscription.no-subscribe{background:transparent url(../../images/small-off.png) no-repeat 0 2px}#choose-subscription:hover{-moz-opacity:1.0;opacity:1.0;filter:alpha(opacity=100)}button{position:relative;border:0;padding:0;cursor:pointer;overflow:visible}button::-moz-focus-inner{border:0}button span{position:relative;display:block;white-space:nowrap}@media screen and (-webkit-min-device-pixel-ratio:0){button span{margin-top:-1px}}button.button{padding:0 8px 0 0;font-size:13px;text-align:center;background:transparent url('../../images/v3/btn/button-large.gif') no-repeat right -104px}button.button span{padding:9px 0 0 8px;height:23px;background:transparent url('../../images/v3/btn/button-large.gif') no-repeat left top;color:#333;font-family:Arial,Helvetica,Calibri,sans-serif;font-weight:bold;text-shadow:0 1px 0 #fff}button.button img{vertical-align:middle;position:relative;top:-2px}button.button:hover{background-position:right -156px}button.button:hover span{background-position:0 -52px}button.button.small{padding:0 5px 0 0;font-size:11px;background:transparent url('../../images/v3/btn/button-small.gif') no-repeat right -84px}button.button.small span{float:none;padding:5px 0 0 6px;height:17px;width:auto;background:transparent url('../../images/v3/btn/button-small.gif') no-repeat left top;font-weight:normal}button.button.small:hover{background-position:right -126px}button.button.small:hover span{background-position:0 -42px}#remote-settings form div{margin-bottom:20px}#remote-settings label{display:block}#remote-settings ul{margin:0;padding:0;margin-bottom:20px}#remote-settings h3{font-size:14px;margin:0;margin-bottom:15px}#remote-settings li{list-style:none;margin:0;margin-bottom:3px}textarea{margin:0;padding:2px 0;font-size:13px;width:99%;height:120px}.form-info{margin-top:10px;width:190px}.form-block{position:relative}span.tooltip{position:absolute;display:block;margin:0 0 0 3px}span.tooltip .tt-arrow{color:#5b87a5;font-size:14px;vertical-align:middle}span.tooltip .tt-message{background-color:#5b87a5;color:#fff;margin:0 0 0 -3px;padding:5px;-moz-border-radius:3px;-webkit-border-radius:3px;vertical-align:middle}#form-block-username{display:none}#form-block-password{display:none}.dsq-post-avatar{width:24px;height:24px;margin-bottom:-6px;border:0}#dsq-post-retweet{margin:0 3px 0 5px;vertical-align:text-bottom;-webkit-vertical-align:baseline}@media screen and (-webkit-min-device-pixel-ratio:0){#dsq-post-retweet{vertical-align:baseline}}#dsq-label-retweet{font-size:90%;vertical-align:text-bottom}#dsq-label-retweet a{color:inherit}div#loader{text-align:right;padding:3px 1px}div#loader span{background-color:#f00;color:#fff;padding:2px 3px;-webkit-border-radius:2px;-moz-border-radius:3px;border-radius:3px}span.mention{color:inherit;opacity:.9;filter:alpha(opacity=90);background-image:url(../../images/themes/houdini/backgrounds-sprite.png);background-repeat:repeat-x;border-width:1px;border-style:solid;border-color:rgba(0,0,0,.15);border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;padding-top:0;padding-right:4px;padding-bottom:0;padding-left:4px;text-shadow:0 1px 0 rgba(255,255,255,.9);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.9);-moz-box-shadow:0 1px 1px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.9)} - </style> - - - <style type="text/css"> - *, html, body, form, textarea { - outline: 0; - margin: 0; - padding: 0; - border: 0; - vertical-align: baseline; - font-size: 100%; - font: inherit; - } - body { - background-color: transparent; - } - form { - /* HACK to overcome padding */ - margin: -4px 0 0 -4px; - } - form input { - opacity: 0; - -moz-opacity: 0; - filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); - filter:alpha(opacity=0); - margin-left: -190px; - cursor: pointer; - /* cursor pointer doesn't work */ - } - iframe { - display: none; - } - </style> - - - <script src="reply_data/lib.js"></script> - - - - - <script> - DISQUS.extend(DISQUS.host,{parseQuery:function(a){var a=(a||window.location.search||"").replace(/^\?/,""),b={};DISQUS.each(a.split("&"),function(c){c=c.split("=");b.hasOwnProperty(c[0])?b[c[0]].constructor.toString().indexOf("Array")==-1?b[c[0]]=[b[c[0]],c[1]]:b[c[0]].push(c[1]):b[c[0]]=c[1]});return b}}); -var equal=function(a,b){function c(b,c){for(var a in b)if(b.hasOwnProperty(a)&&c.hasOwnProperty(a)){if(b[a]!=c[a])switch(b[a].constructor){case Object:return equal(b[a],c[a]);case Function:if(b[a].toString()!=c[a].toString())return!1;break;default:return!1}}else return!1;return!0}return c(a,b)&&c(b,a)},MediaUploadCache=function(a,b,c){this.key=["disqus.media",a,b,c].join(".");this.store=DISQUS.storage;if(DISQUS.storage.disabled)this.store=function(){var b={};return{get:function(a){return b[a]},set:function(a, -c){b[a]=c}}}()};MediaUploadCache.prototype.all=function(){return this.store.get(this.key)||[]};MediaUploadCache.prototype.set=function(a,b){return this.store.set(this.key,b)};MediaUploadCache.prototype.add=function(a){var b=this.all();b.push(a);return this.store.set(this.key,b)};MediaUploadCache.prototype.remove=function(a){for(var b=this.all(),c=[],d;d=b.shift();)equal(a,d)||c.push(d);this.set(this.key,c)}; -MediaUploadCache.prototype.has=function(a){return function(b,a){for(var d=a.length-1;d>=0;--d)if(equal(b,a[d]))return!0;return!1}(a,this.all())};MediaUploadCache.prototype.clear=function(){try{this.store.clear()}catch(a){this.store.set(this.key,null)}}; -DISQUS.extend(DISQUS.host,{setupMediaUploadBox:function(a){var b={};a.urls.upload&&document.getElementsByTagName("form")[0].setAttribute("action",a.urls.upload);var c=null;return c=DISQUS.net.rpc({local:a.urls.helper,swf:a.urls.swf,hash:!a.debug,onReady:function(){}},{local:{setupUpload:function(a,e,f){b.id=document.forms[0].id.value=a;b.cache=new MediaUploadCache(e,f,a);c.onUpload(b.cache.all())},media:function(a,c){switch(a){case "set":b.cache.has(c.media)||b.cache.add(c.media);break;case "remove":b.cache.remove(c.media); -break;case "clear":b.cache.clear()}}},remote:{onUploadStart:{},onUpload:{}}})}}); - </script> - - - </head> - <body> - <!-- upload input, basically a big clickable area --> - <form enctype="multipart/form-data" target="iframe_async_upload" method="POST" action="http://tlrobinson.disqus.com/thread/thread_80/async_media_upload/"> - <!-- dynamic --> - <input name="attachment" onchange="mediaUploadRpc.onUploadStart();this.parentNode.submit();" type="file"> - <input name="id" value="" type="hidden"> - </form> - <!-- iframe for the asynchronously post --> - <iframe name="iframe_async_upload" src="upload_data/a.html"></iframe> - - <script> - var args = DISQUS.host.parseQuery(window.location.href.replace(/^.*#/, '')); - var options = { - debug: false, - urls: { - swf: "http://mediacdn.disqus.com/1317948585/xdm.swf", - helper: 'http://mediacdn.disqus.com/1317948585/html/xdm.html', - upload: "http://_FORUM_.disqus.com/thread/_THREAD_/async_media_upload/" - } - }; - - options.urls.upload = options.urls.upload - .replace(/_FORUM_/, args.f) - .replace(/_THREAD_/, args.t); - - var mediaUploadRpc = DISQUS.host.setupMediaUploadBox(options); - </script> - - -</body></html>
\ No newline at end of file |