Added version to js/css assets URLs.

(in order to prevent some abusive caches to serve an obsolete version of
these files when ZeroBin is upgraded.)

(cherry picked from commit 889eba47962771c612692d1d8028258804605563)

Conflicts:
	tpl/page.html
This commit is contained in:
Sebastien SAUVAGE 2013-02-23 23:00:26 +01:00 committed by El RIDO
parent c7c5dd6f4e
commit 8435b9ab3a

View File

@ -6,12 +6,12 @@
<title>ZeroBin</title> <title>ZeroBin</title>
<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" /> <link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" />
<link type="text/css" rel="stylesheet" href="css/prettify.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/jquery.js?{$VERSION|rawurlencode}#"></script>
<script type="text/javascript" src="js/sjcl.js#"></script> <script type="text/javascript" src="js/sjcl.js?{$VERSION|rawurlencode}#"></script>
<script type="text/javascript" src="js/base64.js#"></script> <script type="text/javascript" src="js/base64.js?{$VERSION|rawurlencode}#"></script>
<script type="text/javascript" src="js/rawdeflate.js#"></script> <script type="text/javascript" src="js/rawdeflate.js?{$VERSION|rawurlencode}#"></script>
<script type="text/javascript" src="js/rawinflate.js#"></script>{if="$SYNTAXHIGHLIGHTING"} <script type="text/javascript" src="js/rawinflate.js?{$VERSION|rawurlencode}#"></script>{if="$SYNTAXHIGHLIGHTING"}
<script type="text/javascript" src="js/prettify.js#"></script>{/if} <script type="text/javascript" src="js/prettify.js?{$VERSION|rawurlencode}#"></script>{/if}
<script type="text/javascript" src="js/zerobin.js?{$VERSION|rawurlencode}#"></script> <script type="text/javascript" src="js/zerobin.js?{$VERSION|rawurlencode}#"></script>
<!--[if lt IE 10]> <!--[if lt IE 10]>
<style> body {padding-left:60px;padding-right:60px;} div#ienotice {display:block;} </style> <style> body {padding-left:60px;padding-right:60px;} div#ienotice {display:block;} </style>