5b253cf77c
* added deletion link. * small refactoring. * improved regex checks. * larger server alt on installation.
92 lines
4.6 KiB
HTML
92 lines
4.6 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="robots" content="noindex" />
|
|
<title>ZeroBin</title>
|
|
<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" />
|
|
<link type="text/css" rel="stylesheet" href="css/prettify.css?{$VERSION|rawurlencode}#" />
|
|
<script type="text/javascript" src="js/jquery.js#"></script>
|
|
<script type="text/javascript" src="js/sjcl.js#"></script>
|
|
<script type="text/javascript" src="js/base64.js#"></script>
|
|
<script type="text/javascript" src="js/rawdeflate.js#"></script>
|
|
<script type="text/javascript" src="js/rawinflate.js#"></script>{if="$SYNTAXHIGHLIGHTING"}
|
|
<script type="text/javascript" src="js/prettify.js#"></script>{/if}
|
|
<script type="text/javascript" src="js/zerobin.js?{$VERSION|rawurlencode}#"></script>
|
|
<!--[if lt IE 10]>
|
|
<style> body {padding-left:60px;padding-right:60px;} div#ienotice {display:block;} </style>
|
|
<![endif]-->
|
|
<!--[if lt IE 10]>
|
|
<style> div#ienotice {display:block; } div#oldienotice {display:block; } </style>
|
|
<![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.
|
|
More information on the <a href="http://sebsauvage.net/wiki/doku.php?id=php:zerobin">project page</a>.<br />
|
|
<span class="blink">▶</span> Note: This is a test service:
|
|
Data may be deleted anytime. Kittens will die if you abuse this service.
|
|
</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>
|
|
<div id="ienotice">Still using Internet Explorer ? Do yourself a favor, switch to a modern browser:
|
|
<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>
|
|
<div id="status">{$STATUS|htmlspecialchars}</div>
|
|
<div id="errormessage" class="hidden">{$ERROR|htmlspecialchars}</div>
|
|
<div id="toolbar">
|
|
<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>
|
|
<div id="expiration" class="hidden">Expire:
|
|
<select id="pasteExpiration" name="pasteExpiration">
|
|
<option value="burn"{if="$BURNAFTERREADINGSELECTED"} selected="selected"{/if}>Burn after reading</option>{loop="EXPIRE"}
|
|
<option value="{$key}"{if="!$BURNAFTERREADINGSELECTED && $key == $EXPIREDEFAULT"} selected="selected"{/if}>{$value}</option>{/loop}
|
|
</select>
|
|
</div>
|
|
<div id="remainingtime" class="hidden"></div>
|
|
<div id="language" class="hidden">
|
|
<select name="language">
|
|
<option value="language" selected="selected">Language</option>
|
|
<option value="C/C++">C/C++</option>
|
|
<option value="php">php</option>
|
|
<option value="python">Python</option>
|
|
</select>
|
|
</div>
|
|
<input id="password" value="Optional password..." class="hidden" />
|
|
<div id="opendisc" class="button hidden">
|
|
<input type="checkbox" id="opendiscussion" name="opendiscussion" {if="!$OPENDISCUSSION"} disabled="disabled"{/if} />
|
|
<label for="opendiscussion">Open discussion</label>
|
|
</div>
|
|
</div>
|
|
<div id="pasteresult" style="display:none;">
|
|
<div id="deletelink"></div>
|
|
<div id="pastelink"></div>
|
|
</div>
|
|
<div id="prettymessage" class="hidden">
|
|
<pre id="prettyprint" class="prettyprint linenums:1"></pre>
|
|
</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>
|
|
</body>
|
|
</html>
|