2012-08-26 06:49:11 +08:00
|
|
|
<!DOCTYPE html>
|
2015-08-18 05:19:15 +08:00
|
|
|
<html lang="en">
|
2012-08-26 06:49:11 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
2012-09-08 19:24:39 +08:00
|
|
|
<meta name="robots" content="noindex" />
|
2012-08-26 06:49:11 +08:00
|
|
|
<title>ZeroBin</title>
|
2015-08-16 18:27:06 +08:00
|
|
|
<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}" />{if="$SYNTAXHIGHLIGHTING"}
|
2015-08-18 05:19:15 +08:00
|
|
|
<link type="text/css" rel="stylesheet" href="css/prettify/prettify.css?{$VERSION|rawurlencode}" />{if="strlen($SYNTAXHIGHLIGHTINGTHEME)"}
|
|
|
|
<link type="text/css" rel="stylesheet" href="css/prettify/{$SYNTAXHIGHLIGHTINGTHEME}.css?{$VERSION|rawurlencode}" />{/if}{/if}
|
2015-08-16 18:27:06 +08:00
|
|
|
<script type="text/javascript" src="js/jquery-1.11.3.js"></script>
|
|
|
|
<script type="text/javascript" src="js/sjcl-1.0.2.js"></script>
|
|
|
|
<script type="text/javascript" src="js/base64-{$BASE64JSVERSION}.js"></script>
|
2015-08-16 19:02:27 +08:00
|
|
|
<script type="text/javascript" src="js/rawdeflate-0.5.js"></script>
|
|
|
|
<script type="text/javascript" src="js/rawinflate-0.3.js"></script>{if="$SYNTAXHIGHLIGHTING"}
|
2015-08-16 18:27:06 +08:00
|
|
|
<script type="text/javascript" src="js/prettify.js?{$VERSION|rawurlencode}"></script>{/if}
|
|
|
|
<script type="text/javascript" src="js/zerobin.js?{$VERSION|rawurlencode}"></script>
|
2012-08-26 06:49:11 +08:00
|
|
|
<!--[if lt IE 10]>
|
2015-08-18 05:19:15 +08:00
|
|
|
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
|
2012-08-26 06:49:11 +08:00
|
|
|
<![endif]-->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<div id="aboutbox">
|
|
|
|
ZeroBin is a minimalist, opensource online pastebin where the server has zero knowledge of pasted data.
|
|
|
|
Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES.
|
2015-09-04 05:51:42 +08:00
|
|
|
More information on the <a href="https://github.com/elrido/ZeroBin/wiki">project page</a>.<br />{if="strlen($NOTICE)"}
|
2015-08-18 05:19:15 +08:00
|
|
|
<span class="blink">▶</span> {$NOTICE}{/if}
|
2012-08-26 06:49:11 +08:00
|
|
|
</div>
|
|
|
|
<h1 title="ZeroBin" onclick="window.location.href=scriptLocation();return false;">ZeroBin</h1><br />
|
|
|
|
<h2>Because ignorance is bliss</h2><br />
|
|
|
|
<h3>{$VERSION}</h3>
|
|
|
|
<div id="noscript" class="nonworking">Javascript is required for ZeroBin to work.<br />Sorry for the inconvenience.</div>
|
|
|
|
<div id="oldienotice" class="nonworking">ZeroBin requires a modern browser to work.</div>
|
2013-02-24 21:33:51 +08:00
|
|
|
<div id="ienotice">Still using Internet Explorer ? Do yourself a favor, switch to a modern browser:
|
2012-08-26 06:49:11 +08:00
|
|
|
<a href="http://www.mozilla.org/firefox/">Firefox</a>,
|
|
|
|
<a href="http://www.opera.com/">Opera</a>,
|
|
|
|
<a href="http://www.google.com/chrome">Chrome</a>,
|
|
|
|
<a href="http://www.apple.com/safari">Safari</a>...
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<section>
|
|
|
|
<article>
|
2013-11-01 08:15:14 +08:00
|
|
|
<div id="status">{$STATUS|htmlspecialchars}</div>
|
|
|
|
<div id="errormessage" class="hidden">{$ERROR|htmlspecialchars}</div>
|
2012-08-26 06:49:11 +08:00
|
|
|
<div id="toolbar">
|
2013-02-24 23:29:13 +08:00
|
|
|
<button id="newbutton" onclick="window.location.href=scriptLocation();return false;" class="hidden"><img src="img/icon_new.png" width="11" height="15" alt="" />New</button>
|
|
|
|
<button id="sendbutton" onclick="send_data();return false;" class="hidden"><img src="img/icon_send.png" width="18" height="15" alt="" />Send</button>
|
|
|
|
<button id="clonebutton" onclick="clonePaste();return false;" class="hidden"><img src="img/icon_clone.png" width="15" height="17" alt="" />Clone</button>
|
|
|
|
<button id="rawtextbutton" onclick="rawText();return false;" class="hidden"><img src="img/icon_raw.png" width="15" height="15" alt="" />Raw text</button>
|
2013-02-24 21:33:51 +08:00
|
|
|
<div id="expiration" class="hidden">Expires:
|
2013-11-01 08:15:14 +08:00
|
|
|
<select id="pasteExpiration" name="pasteExpiration">
|
2013-02-24 21:33:51 +08:00
|
|
|
{loop="EXPIRE"}
|
|
|
|
<option value="{$key}"{if="$key == $EXPIREDEFAULT"} selected="selected"{/if}>{$value}</option>{/loop}
|
2012-08-26 06:49:11 +08:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div id="remainingtime" class="hidden"></div>
|
2015-08-16 03:39:08 +08:00
|
|
|
<div id="burnafterreadingoption" class="button hidden">
|
2013-02-24 21:33:51 +08:00
|
|
|
<input type="checkbox" id="burnafterreading" name="burnafterreading" {if="$BURNAFTERREADINGSELECTED"} checked="checked"{/if} />
|
|
|
|
<label for="burnafterreading">Burn after reading</label>
|
2015-08-31 06:01:35 +08:00
|
|
|
</div>{if="$DISCUSSION"}
|
2012-08-29 05:28:41 +08:00
|
|
|
<div id="opendisc" class="button hidden">
|
2015-08-31 06:01:35 +08:00
|
|
|
<input type="checkbox" id="opendiscussion" name="opendiscussion" {if="$OPENDISCUSSION"} checked="checked"{/if} />
|
2015-08-22 23:01:14 +08:00
|
|
|
<label for="opendiscussion" {if="!$OPENDISCUSSION"} style="color: #BBBBBB;"{/if}>Open discussion</label>
|
2015-08-31 06:01:35 +08:00
|
|
|
</div>{/if}{if="$PASSWORD"}
|
|
|
|
<div id="password" class="hidden">
|
|
|
|
<input id="passwordinput" placeholder="Optional password (recommended)" size="32" />
|
|
|
|
</div>{/if}
|
2012-08-26 06:49:11 +08:00
|
|
|
</div>
|
2015-08-16 03:39:08 +08:00
|
|
|
<div id="pasteresult" class="hidden">
|
2013-11-01 08:15:14 +08:00
|
|
|
<div id="deletelink"></div>
|
|
|
|
<div id="pastelink"></div>
|
|
|
|
</div>
|
2012-08-26 06:49:11 +08:00
|
|
|
<div id="prettymessage" class="hidden">
|
2012-08-29 05:28:41 +08:00
|
|
|
<pre id="prettyprint" class="prettyprint linenums:1"></pre>
|
2012-08-26 06:49:11 +08:00
|
|
|
</div>
|
|
|
|
<div id="cleartext" class="hidden"></div>
|
|
|
|
<textarea id="message" name="message" cols="80" rows="25" class="hidden"></textarea>
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<div id="discussion" class="hidden">
|
|
|
|
<h4>Discussion</h4>
|
|
|
|
<div id="comments"></div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<div id="cipherdata" class="hidden">{$CIPHERDATA}</div>
|
2013-11-01 08:15:14 +08:00
|
|
|
</body>
|
2012-04-22 03:59:45 +08:00
|
|
|
</html>
|