[Piwik-svn] r358 - in trunk: modules/ViewDataTable plugins/Home/templates
svnmaster at piwik.org
svnmaster at piwik.org
Tue Mar 11 10:32:32 CET 2008
Author: matt
Date: 2008-03-11 10:32:30 +0100 (Tue, 11 Mar 2008)
New Revision: 358
Modified:
trunk/modules/ViewDataTable/Graph.php
trunk/plugins/Home/templates/index.tpl
Log:
- trying to fix crossdomain
Modified: trunk/modules/ViewDataTable/Graph.php
===================================================================
--- trunk/modules/ViewDataTable/Graph.php 2008-03-10 22:49:21 UTC (rev 357)
+++ trunk/modules/ViewDataTable/Graph.php 2008-03-11 09:32:30 UTC (rev 358)
@@ -115,7 +115,8 @@
$this->codeEmbed .= "<div><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='" . $width . "' height='" . $height . "' id='". $obj_id ."' >".
"<param name='movie' value='".$urlGraph."' />".
- "<embed src='$urlGraph' quality='high' bgcolor='#FFFFFF' width='". $width ."' height='". $height ."' name='open-flash-chart' type='application/x-shockwave-flash' id='". $obj_id ."' />".
+ "<param name='allowScriptAccess' value='sameDomain' /> ".
+ "<embed src='$urlGraph' allowScriptAccess='sameDomain' quality='high' bgcolor='#FFFFFF' width='". $width ."' height='". $height ."' name='open-flash-chart' type='application/x-shockwave-flash' id='". $obj_id ."' />".
"</object></div>";
$return .= $this->codeEmbed;
Modified: trunk/plugins/Home/templates/index.tpl
===================================================================
--- trunk/plugins/Home/templates/index.tpl 2008-03-10 22:49:21 UTC (rev 357)
+++ trunk/plugins/Home/templates/index.tpl 2008-03-11 09:32:30 UTC (rev 358)
@@ -33,6 +33,8 @@
<script type="text/javascript" src="libs/jquery/ui.mouse.js"></script>
<script type="text/javascript" src="libs/jquery/ui.sortable_modif.js"></script>
+
+
<link rel="stylesheet" href="plugins/Home/templates/datatable.css">
<link rel="stylesheet" href="plugins/Dashboard/templates/dashboard.css">
More information about the Piwik-svn
mailing list