page.html 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <html>
  2. <head>
  3. <title>ZeroBin</title>
  4. <link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" />
  5. <link type="text/css" rel="stylesheet" href="css/prettify.css?{$VERSION|rawurlencode}#" />
  6. <script src="js/jquery.js#"></script>
  7. <script src="js/sjcl.js#"></script>
  8. <script src="js/base64.js#"></script>
  9. <script src="js/rawdeflate.js#"></script>
  10. <script src="js/rawinflate.js#"></script>
  11. <script src="js/prettify.js#"></script>
  12. <script src="js/zerobin.js?{$VERSION|rawurlencode}#"></script>
  13. <!--[if lt IE 10]>
  14. <style> body {padding-left:60px;padding-right:60px;} div#ienotice {display:block;} </style>
  15. <![endif]-->
  16. <!--[if lt IE 10]>
  17. <style> div#ienotice {display:block; } div#oldienotice {display:block; } </style>
  18. <![endif]-->
  19. </head>
  20. <body>
  21. <div id="aboutbox">
  22. ZeroBin is a minimalist, opensource online pastebin where the server has zero knowledge of pasted data.
  23. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES.
  24. More information on the <a href="http://sebsauvage.net/wiki/doku.php?id=php:zerobin">project page</a>.<br />
  25. <span style="text-decoration:blink;font-size:10pt;color:#a4b3c4;">&#9654;</span> Note: This is a test service:
  26. Data may be deleted anytime. Kittens will die if you abuse this service.
  27. </div>
  28. <h1 title="ZeroBin" onclick="window.location.href=scriptLocation();return false;">ZeroBin</h1><br>
  29. <h2>Because ignorance is bliss</h2><br>
  30. <h3>{$VERSION}</h3>
  31. <noscript><div class="nonworking">Javascript is required for ZeroBin to work.<br>Sorry for the inconvenience.</div></noscript>
  32. <div id="oldienotice" class="nonworking">ZeroBin requires a modern browser to work.</div>
  33. <div id="ienotice">Still using Internet Explorer ? &nbsp;Do yourself a favor, switch to a modern browser:
  34. <a href="http://www.mozilla.org/firefox/">Firefox</a>,
  35. <a href="http://www.opera.com/">Opera</a>,
  36. <a href="http://www.google.com/chrome">Chrome</a>,
  37. <a href="http://www.apple.com/safari">Safari</a>...
  38. </div>
  39. <div id="status">&nbsp;</div>
  40. <div id="errormessage" style="display:none">{$ERRORMESSAGE|htmlspecialchars}</div>
  41. <div id="toolbar">
  42. <button id="newbutton" onclick="window.location.href=scriptLocation();return false;" style="display:none;"><img src="img/icon_new.png#" width="11" height="15" />New</button>
  43. <button id="sendbutton" onclick="send_data();return false;" style="display:none;"><img src="img/icon_send.png#" width="18" height="15" />Send</button>
  44. <button id="clonebutton" onclick="clonePaste();return false;" style="display:none;"><img src="img/icon_clone.png#" width="15" height="17" />Clone</button>
  45. <div id="expiration" style="display:none;">Expire:
  46. <select id="pasteExpiration" name="pasteExpiration">
  47. <option value="burn">Burn after reading</option>
  48. <option value="5min">5 minutes</option>
  49. <option value="10min">10 minutes</option>
  50. <option value="1hour">1 hour</option>
  51. <option value="1day">1 day</option>
  52. <option value="1week">1 week</option>
  53. <option value="1month" selected="selected">1 month</option>
  54. <option value="1year">1 year</option>
  55. <option value="never">Never</option>
  56. </select>
  57. </div>
  58. <div id="remainingtime" style="display:none;"></div>
  59. <div id="language" style="display:none;">
  60. <select name="language">
  61. <option value="language" selected="selected">Language</option>
  62. <option value="C/C++">C/C++</option>
  63. <option value="php">php</option>
  64. <option value="python">Python</option>
  65. </select>
  66. </div>
  67. <input id="password" value="Optional password..." style="display:none;" />
  68. <div id="opendisc" class="button" style="display:none;">
  69. <input type="checkbox" id="opendiscussion" name="opendiscussion" {if="!$OPENDISCUSSION"} disabled="disabled"{/if} />
  70. <label for="opendiscussion">Open discussion</label>
  71. </div>
  72. </div>
  73. <div id="pastelink" style="display:none;"></div>
  74. <div id="prettymessage" style="display:none;">
  75. <pre id="prettyprint" class="prettyprint linenums:1"></pre>
  76. </div>
  77. <div id="cleartext" style="display:none;"></div>
  78. <textarea id="message" name="message" cols="80" rows="25" style="display:none;"></textarea>
  79. <div id="discussion" style="display:none;">
  80. <h4>Discussion</h4>
  81. <div id="comments"></div>
  82. </div>
  83. <div id="cipherdata" style="display:none;">{$CIPHERDATA}</div>
  84. </body>
  85. </html>