summaryrefslogtreecommitdiffstats
path: root/pts-core/functions
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-26 17:18:58 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-26 17:18:58 -0500
commitb5b270c8d249828f77d1d7d954aace31f2a6578f (patch)
tree05b6f0aa298f193181dc0a3a51fcaab8ca584142 /pts-core/functions
parentce8f38fbc73f5d1def3d22cf1b4a4fb3ea3f026b (diff)
downloadphoronix-test-suite-upstream-b5b270c8d249828f77d1d7d954aace31f2a6578f.tar.gz
phoronix-test-suite-upstream-b5b270c8d249828f77d1d7d954aace31f2a6578f.tar.xz
phoronix-test-suite-upstream-b5b270c8d249828f77d1d7d954aace31f2a6578f.zip
bilde_renderer: Add experimental Adobe Flash / SWF renderer with partial
support
Diffstat (limited to 'pts-core/functions')
-rw-r--r--pts-core/functions/pts-functions_tests.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_tests.php b/pts-core/functions/pts-functions_tests.php
index 2b61ce0..2f37c7d 100644
--- a/pts-core/functions/pts-functions_tests.php
+++ b/pts-core/functions/pts-functions_tests.php
@@ -219,6 +219,10 @@ function pts_get_results_viewer_xsl_formatted($format_type = "PNG")
{
$graph_string = "<object type=\"image/svg+xml\"><xsl:attribute name=\"data\">result-graphs/<xsl:number value=\"position()\" />.svg</xsl:attribute></object>";
}
+ else if($format_type == "SWF")
+ {
+ $graph_string = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0\" id=\"objects\" width=\"580\" height=\"500\"><param name=\"movie\"><xsl:attribute name=\"value\">result-graphs/<xsl:number value=\"position()\" />.swf</xsl:attribute></param><embed width=\"580\" height=\"500\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"><xsl:attribute name=\"src\">result-graphs/<xsl:number value=\"position()\" />.swf</xsl:attribute></embed></object>";
+ }
else
{
// Default to PNG