[Xfce4-commits] <www:xfce-4.10> Include javascript in cdata section.
Nick Schermer
noreply at xfce.org
Mon Apr 9 20:36:01 CEST 2012
Updating branch refs/heads/xfce-4.10
to 28f72d0fd402b26d1551f8983657773df72a0768 (commit)
from 94a20e7e69d3ad6e8d8e4993684e93bc8dcad1c1 (commit)
commit 28f72d0fd402b26d1551f8983657773df72a0768
Author: Nick Schermer <nick at xfce.org>
Date: Mon Apr 9 20:34:20 2012 +0200
Include javascript in cdata section.
pages/frontpage.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pages/frontpage.php b/pages/frontpage.php
index 5ecc325..d364d1c 100644
--- a/pages/frontpage.php
+++ b/pages/frontpage.php
@@ -51,7 +51,9 @@ $head['pagediv'] = false;
</div>
<script type="text/javascript">
-<?php include ('style/tinyslider.js'); ?>;
+//<![CDATA[
+<?php include ('style/tinyslider.js'); ?>
+//]]>
var slideshow=new TINY.slider.slide('slideshow',{
id:'slide',
More information about the Xfce4-commits
mailing list