[Scummvm-cvs-logs] SF.net SVN: scummvm:[52927] web/trunk/templates/index.tpl

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Sep 28 15:27:26 CEST 2010


Revision: 52927
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52927&view=rev
Author:   fingolfin
Date:     2010-09-28 13:27:25 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
WEB: Properly quote JavaScript content in Smarty template

Modified Paths:
--------------
    web/trunk/templates/index.tpl

Modified: web/trunk/templates/index.tpl
===================================================================
--- web/trunk/templates/index.tpl	2010-09-28 13:01:54 UTC (rev 52926)
+++ web/trunk/templates/index.tpl	2010-09-28 13:27:25 UTC (rev 52927)
@@ -120,6 +120,7 @@
 	</script>
 {* End Google analytics javascript. *}
 {* Piwik javascript. *}
+{literal}
 	<script type="text/javascript">
 	var pkBaseURL = (("https:" == document.location.protocol) ? "https://sourceforge.net/apps/piwik/scummvm/" : "http://sourceforge.net/apps/piwik/scummvm/");
 	document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
@@ -130,6 +131,7 @@
 	piwikTracker.enableLinkTracking();
 	} catch( err ) {}
 	</script><noscript><p><img src="http://sourceforge.net/apps/piwik/scummvm/piwik.php?idsite=3" style="border:0" alt=""/></p></noscript>
+{/literal}
 {* End Piwik javascript. *}
 </body>
 </html>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list