Преглед изворни кода

refactoring files and directory structure

Thierry Poinot пре 14 година
родитељ
комит
6083c7a23c
13 измењених фајлова са 10 додато и 10 уклоњено
  1. 0 0
      css/zerobin.css
  2. 0 0
      img/busy.gif
  3. 0 0
      img/icon_clone.png
  4. 0 0
      img/icon_new.png
  5. 0 0
      img/icon_send.png
  6. 0 0
      img/icon_shorten.png
  7. 0 0
      js/base64.js
  8. 0 0
      js/jquery.js
  9. 0 0
      js/rawdeflate.js
  10. 0 0
      js/rawinflate.js
  11. 0 0
      js/sjcl.js
  12. 0 0
      js/zerobin.js
  13. 10 10
      tpl/page.html

+ 0 - 0
lib/zerobin.css → css/zerobin.css


+ 0 - 0
lib/busy.gif → img/busy.gif


+ 0 - 0
lib/icon_clone.png → img/icon_clone.png


+ 0 - 0
lib/icon_new.png → img/icon_new.png


+ 0 - 0
lib/icon_send.png → img/icon_send.png


+ 0 - 0
lib/icon_shorten.png → img/icon_shorten.png


+ 0 - 0
lib/base64.js → js/base64.js


+ 0 - 0
lib/jquery.js → js/jquery.js


+ 0 - 0
lib/rawdeflate.js → js/rawdeflate.js


+ 0 - 0
lib/rawinflate.js → js/rawinflate.js


+ 0 - 0
lib/sjcl.js → js/sjcl.js


+ 0 - 0
lib/zerobin.js → js/zerobin.js


+ 10 - 10
tpl/page.html

@@ -1,13 +1,13 @@
 <html>
 <head>
 <title>ZeroBin</title>
-<link type="text/css" rel="stylesheet" href="lib/zerobin.css?{$VERSION|rawurlencode}#" /> 
-<script src="lib/jquery.js#"></script>
-<script src="lib/sjcl.js#"></script>
-<script src="lib/base64.js#"></script>
-<script src="lib/rawdeflate.js#"></script>
-<script src="lib/rawinflate.js#"></script>
-<script src="lib/zerobin.js?{$VERSION|rawurlencode}#"></script>
+<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" /> 
+<script src="js/jquery.js#"></script>
+<script src="js/sjcl.js#"></script>
+<script src="js/base64.js#"></script>
+<script src="js/rawdeflate.js#"></script>
+<script src="js/rawinflate.js#"></script>
+<script src="js/zerobin.js?{$VERSION|rawurlencode}#"></script>
 
 <!--[if lt IE 10]>
 <style> body {padding-left:60px;padding-right:60px;} div#ienotice {display:block;} </style>
@@ -40,9 +40,9 @@
     <div id="status">&nbsp;</div>
     <div id="errormessage" style="display:none">{$ERRORMESSAGE|htmlspecialchars}</div>
     <div id="toolbar">
-    <button id="newbutton" onclick="window.location.href=scriptLocation();return false;" style="display:none;"><img src="lib/icon_new.png#" width="11" height="15" />New</button>
-    <button id="sendbutton" onclick="send_data();return false;" style="display:none;"><img src="lib/icon_send.png#" width="18" height="15" />Send</button>
-    <button id="clonebutton" onclick="clonePaste();return false;" style="display:none;"><img src="lib/icon_clone.png#" width="15" height="17" />Clone</button>
+    <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>
+    <button id="sendbutton" onclick="send_data();return false;" style="display:none;"><img src="img/icon_send.png#" width="18" height="15" />Send</button>
+    <button id="clonebutton" onclick="clonePaste();return false;" style="display:none;"><img src="img/icon_clone.png#" width="15" height="17" />Clone</button>
       <div id="expiration" style="display:none;">Expire: 
       <select id="pasteExpiration" name="pasteExpiration">
         <option value="burn">Burn after reading</option>