From 05963796f6e67dbb86d848ebb84bdd59cdb91e7e Mon Sep 17 00:00:00 2001
From: mattpiwik <matthieu.aubry@gmail.com>
Date: Tue, 29 Jun 2010 07:41:26 +0000
Subject: [PATCH] minor updates

git-svn-id: http://dev.piwik.org/svn/trunk@2394 59fd770c-687e-43c8-a1e3-f5a4ff64c105
---
 core/API/DocumentationGenerator.php                        | 1 +
 ...rameWidget_localhost.htm => iframeWidget_localhost.php} | 7 ++++++-
 tests/README.txt                                           | 4 +++-
 3 files changed, 10 insertions(+), 2 deletions(-)
 rename misc/{iframeWidget_localhost.htm => iframeWidget_localhost.php} (57%)

diff --git a/core/API/DocumentationGenerator.php b/core/API/DocumentationGenerator.php
index d2e701df98..fba55a112e 100644
--- a/core/API/DocumentationGenerator.php
+++ b/core/API/DocumentationGenerator.php
@@ -85,6 +85,7 @@ class Piwik_API_DocumentationGenerator
 									<a target=_blank href='$exampleUrl&format=PHP&prettyDisplay=true$token_auth'>PHP</a>, 
 									<a target=_blank href='$exampleUrl&format=JSON$token_auth'>Json</a>, 
 									<a target=_blank href='$exampleUrl&format=Csv$token_auth'>Csv</a>, 
+									<a target=_blank href='$exampleUrl&format=Tsv$token_auth'>Tsv (Excel)</a>, 
 									<a target=_blank href='$exampleUrl&format=Html$token_auth'>Basic html</a> 
 									$lastNUrls
 									]";
diff --git a/misc/iframeWidget_localhost.htm b/misc/iframeWidget_localhost.php
similarity index 57%
rename from misc/iframeWidget_localhost.htm
rename to misc/iframeWidget_localhost.php
index 615888d9a1..970b65261e 100644
--- a/misc/iframeWidget_localhost.htm
+++ b/misc/iframeWidget_localhost.php
@@ -1,7 +1,12 @@
+<?php
+$date = date('Y-m-d');
+$period = 'month';
+$idSite = 1;
+?>
 <html>
 <body>
 <h3 style="color:#143974">Embedding the Piwik Country widget in an Iframe</h3>
 <div id="widgetIframe"><iframe width="500" height="350" 
-src="http://localhost/trunk/index.php?module=Widgetize&action=iframe&moduleToWidgetize=UserCountry&actionToWidgetize=getCountry&idSite=1&period=day&date=2008-11-17&disableLink=1" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe></div>
+src="http://localhost/trunk/index.php?module=Widgetize&action=iframe&moduleToWidgetize=UserCountry&actionToWidgetize=getCountry&idSite=<?=$idSite;?>&period=<?=$period;?>&date=<?=$date;?>&disableLink=1" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe></div>
 
 </body></html>
diff --git a/tests/README.txt b/tests/README.txt
index 1003593aa9..c1660bc8f2 100644
--- a/tests/README.txt
+++ b/tests/README.txt
@@ -9,6 +9,8 @@ http://dev.piwik.org/svn/trunk/tests/core/DataTable.test.php
 
 Piwik tests use the Simpletest Unit Testing framework.
 
+piwik.js is unit tested and you can run tests in piwik/tests/javascript/
+
 If you want to help, we are always looking to improve the Piwik code coverage!  
 Please contact us at hello@piwik.org
- 
+ 
\ No newline at end of file
-- 
GitLab