page.html 4.1 KB

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